Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9091

Re: Display Pushbuttons in Table Control Dynamically

$
0
0

Hi

 

You need to insert a pushbutton as colunm of your internal table as following images:

 

tab_pushbutton2.jpg

 

 

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)

 

tab_pushbutton3.jpg

 

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


Viewing all articles
Browse latest Browse all 9091

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>