<?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 Re: Icon in Table Control in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/icon-in-table-control/m-p/7176676#M1517988</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Friend,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this thread: [&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="858357"&gt;&lt;/A&gt;|&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="858357"&gt;&lt;/A&gt;]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Duy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Aug 2010 16:06:32 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-08-30T16:06:32Z</dc:date>
    <item>
      <title>Icon in Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/icon-in-table-control/m-p/7176675#M1517987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have designed a table Control with module pool. Depending on some Condition i need to display different ICON on the Bush button of the table control. I have done the following code in PBO of the Screen, but Still the ICONS are not displayed. Please help me what am i missing ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;    IF wa_base-matkl = '' AND screen-name = 'WA_BASE-ICON'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      icon_name = 'ICON_REJECT' . &lt;/P&gt;&lt;P&gt;    ELSE.&lt;/P&gt;&lt;P&gt;      icon_name = 'ICON_ALLOW' . &lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'ICON_CREATE'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        name                  = icon_name  &lt;/P&gt;&lt;P&gt;        add_stdinf            = ' '&lt;/P&gt;&lt;P&gt;      IMPORTING&lt;/P&gt;&lt;P&gt;        RESULT                = wa_base-icon&lt;/P&gt;&lt;P&gt;      EXCEPTIONS&lt;/P&gt;&lt;P&gt;        icon_not_found        = 1&lt;/P&gt;&lt;P&gt;        outputfield_too_short = 2&lt;/P&gt;&lt;P&gt;        OTHERS                = 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Aug 2010 07:27:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/icon-in-table-control/m-p/7176675#M1517987</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-30T07:27:27Z</dc:date>
    </item>
    <item>
      <title>Re: Icon in Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/icon-in-table-control/m-p/7176676#M1517988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Friend,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this thread: [&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="858357"&gt;&lt;/A&gt;|&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="858357"&gt;&lt;/A&gt;]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Duy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Aug 2010 16:06:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/icon-in-table-control/m-p/7176676#M1517988</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-30T16:06:32Z</dc:date>
    </item>
    <item>
      <title>Re: Icon in Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/icon-in-table-control/m-p/7176677#M1517989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is no need of any icon_create fm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just make the icon field disabled( should not be in editable mode ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Decalre the field as character 4, just pass the icon value like '@8Y@'.&lt;/P&gt;&lt;P&gt;Then modify your internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then icons will appear in the TBC.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Aug 2010 18:14:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/icon-in-table-control/m-p/7176677#M1517989</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2010-08-30T18:14:25Z</dc:date>
    </item>
  </channel>
</rss>

