‎2007 Mar 01 4:54 PM
‎2007 Mar 01 5:10 PM
Hi ,
Go through this report surelt it will help you.
report zcheckbox.
parameters: p_cat8 as checkbox user-command chk.
parameters: p_lifnr type lfa1-lifnr modif id chk.
parameters: p_belnr type bsak-belnr modif id chk.
at selection-screen output.
if p_cat8 ne 'X'."p_cat8 = space.
loop at screen.
if screen-group1 = 'CHK'.
screen-input = '0'.
modify screen.
endif.
endloop.
endif.
at selection-screen.
check sy-ucomm <> 'CHK'.
if p_cat8 = 'X'.
if p_lifnr is initial.
message e001(00) with 'Please fill in the LIFNR field'.
endif.
if p_belnr is initial.
message e001(00) with 'Please fill in the BELNR field'.
endif.
endif.
Regards,
Sheethal
‎2007 Mar 01 4:57 PM
Go to XK02 Transaction to change Vendors. There you see the check box which is a best example for you.
Reward with points if it helps you.
‎2007 Mar 01 4:59 PM
Hi,
You can check the program DEMO_SEL_SCREEN_PARAM_CHECKBOX
Thanks
Naren
‎2007 Mar 01 5:10 PM
Hi ,
Go through this report surelt it will help you.
report zcheckbox.
parameters: p_cat8 as checkbox user-command chk.
parameters: p_lifnr type lfa1-lifnr modif id chk.
parameters: p_belnr type bsak-belnr modif id chk.
at selection-screen output.
if p_cat8 ne 'X'."p_cat8 = space.
loop at screen.
if screen-group1 = 'CHK'.
screen-input = '0'.
modify screen.
endif.
endloop.
endif.
at selection-screen.
check sy-ucomm <> 'CHK'.
if p_cat8 = 'X'.
if p_lifnr is initial.
message e001(00) with 'Please fill in the LIFNR field'.
endif.
if p_belnr is initial.
message e001(00) with 'Please fill in the BELNR field'.
endif.
endif.
Regards,
Sheethal