Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

If screen-group1 = '012' is active, then screen-group1 = '14' is also active?

Former Member
0 Kudos

Hello,

Please is this logic possible to do? If so please how do I do the then statement in ABAP.

Thank you.

1 REPLY 1

former_member210541
Active Participant
0 Kudos

data : set_active type c.

loop at screen.

if screen-group1 = 'g1'.

if screen-active = '1'.

set_active = 'X'.

endif.

endif.

endloop.

loop     at screen.

if screen-group1 = g2'.

if set_active = 'X'.

screen-active = 1.

modify screen.

endif.

endif.

endloop.