Skip to Content
0
Former Member
Oct 07, 2013 at 10:02 AM

Need HELP IN CHECK box in alv

49 Views

Hi All,

i have a small query .

i have kept a checkbox in my selection screen when i check that check box and press enter . 2 parameters are getting default values

which is fine.

now my requirement is when i check the checkbox without pressing the Enter button i need to populate the default values .

please see the attached doc with screenshots and the code i have written ..

IF cb_adw IS INITIAL.
LOOP AT SCREEN.
IF screen-name = 'P_AFFIL' OR
screen-name = 'P_AFFTY'.
CLEAR p_affil.
CLEAR p_affty.
MODIFY SCREEN.

ENDIF.
ENDLOOP.
ENDIF.
IF NOT cb_adw IS INITIAL.
p_affil = gc_adw.
p_affty = gc_a.
MODIFY SCREEN.
ENDIF.

please guide...

Attachments

checkbox.png (32.8 kB)