‎2007 Jun 20 5:29 AM
gdmrng experts,
cud u plz tell me how to handle checkboxes in the module pool screen ,plz send me the logic,,,,,,if i enable the checkbox then what will i write,,,, as i new to module pool....thnx in advance.
‎2007 Jun 20 5:34 AM
Hi,
Do something like this in your PBO section.
loop at itab with tc...
module modify_tc.
endloop.
in the main program.
module modify_tc.
loop at itab where mark = 'X'.
endloop.
if sy-subrc = 0.
loop at screen.
screen-input = 0.
modify screen.
endloop.
endif.
endmodule.
Thanks
Ashu
‎2007 Jun 20 5:33 AM
Hi,
goto abapdocu tcode.ther u can find good examples for module pool programs.
for check boxes goto abapdocu tcode and select
ABAP User Dialogs ->Screens ->Processing Screens ->Checkboxes and radio buttons
reward points if helpful.
rgds,
bharat.
‎2007 Jun 20 5:34 AM
Hi,
Do something like this in your PBO section.
loop at itab with tc...
module modify_tc.
endloop.
in the main program.
module modify_tc.
loop at itab where mark = 'X'.
endloop.
if sy-subrc = 0.
loop at screen.
screen-input = 0.
modify screen.
endloop.
endif.
endmodule.
Thanks
Ashu