on 2005 Aug 12 10:15 AM
Hi,
I got a situation. I need to handle the checkboxes, which are the internal table fields.
I need to check them, when I click the push button.
Using the event sy-ucomm, I tried to do. But, normally in a screen, we use to check the checkbox, whereas here I need to check them with the push button.
Kindly, guys help me out.
Thanks.
when you click the pushbutton, move 'X' to the field in the itab.
Regards
Raja
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
In PAI of the screen,
module USER_COMMAND_9001 input.
....
when 'SALL'.
...
PERFORM USER_COMMAND_9002.
... Display the ouput
...
endmodule. " USER_COMMAND_9001 INPUT.
form USER_COMMAND_9002.
LOOP AT I_OUTPUT INTO W_OUTPUT.
W_OUTPUT-X = 'X'.
MODIFY I_OUTPUT FROM W_OUTPUT.
ENDLOOP.
endform. " USER_COMMAND_9002
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
How do you show your checkbox in the module pool ? Is it part of a table control ?
If it is part of the table control, then there is a field called Selection and you need to put the field of the internal table, which you are trying to display on the screen. If the user selects it, the value in the checkbox is 'X'.
Let me know if I am offtrack here.
Regards,
Subramanian V.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
8 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
2 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.