Hi
You need to insert a pushbutton as colunm of your internal table as following images:
and then you need to change the attribute:
- The Name has to be the same of your internal table field (red circle)
- Field for Output has to be checked (blue circle)
- With Icon has to be checked (green circle)
In PBO you can move the data from internal table to table control
PROCESS BEFORE OUTPUT.
* MODULE STATUS_0100.
LOOP WITH CONTROL T_CTRL.
MODULE READ_ITAB.
ENDLOOP.
*
PROCESS AFTER INPUT.
* MODULE USER_COMMAND_0100.
LOOP WITH CONTROL T_CTRL.
ENDLOOP.
MODULE READ_ITAB OUTPUT.
READ TABLE ITAB INDEX T_CTRL-CURRENT_LINE.
IF SY-SUBRC <> 0.
CLEAR ITAB.
ENDIF.
ENDMODULE. " READ_ITAB OUTPUT
Max

