<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Pushbutton Icon in Table Control in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-icon-in-table-control/m-p/6881651#M1478685</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a table control that contains a push button in each row.  How can I place and remove an icon for a specific row?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 May 2010 09:42:15 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-05-04T09:42:15Z</dc:date>
    <item>
      <title>Pushbutton Icon in Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-icon-in-table-control/m-p/6881651#M1478685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a table control that contains a push button in each row.  How can I place and remove an icon for a specific row?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 May 2010 09:42:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-icon-in-table-control/m-p/6881651#M1478685</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-04T09:42:15Z</dc:date>
    </item>
    <item>
      <title>Re: Pushbutton Icon in Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-icon-in-table-control/m-p/6881652#M1478686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try something like this&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
* In your dynpro, after PBO
 LOOP AT t_output WITH CONTROL itab_ctrl
                              CURSOR  itab_ctrl-current_line.

    MODULE screen.
  ENDLOOP.
.....
.....
.....
MODULE screen OUTPUT.

  base = itab_ctrl-current_line.
loop at screen.
icon_name = 'ICON_RED_LIGHT'. "This is an example: use your icon
 CALL FUNCTION 'ICON_CREATE'
      EXPORTING
        name                  = icon_name
        add_stdinf            = ' '
      IMPORTING
        RESULT                = t_output-icon "This is the field you use as pushbutton
      EXCEPTIONS
        icon_not_found        = 1
        outputfield_too_short = 2
        OTHERS                = 3.
modify screen.
endloop.
ENDMODULE.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Simone Milesi on May 4, 2010 2:40 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 May 2010 12:40:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-icon-in-table-control/m-p/6881652#M1478686</guid>
      <dc:creator>SimoneMilesi</dc:creator>
      <dc:date>2010-05-04T12:40:29Z</dc:date>
    </item>
  </channel>
</rss>

