<?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: Change Button Icon name in Module Pool in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-button-icon-name-in-module-pool/m-p/6926848#M1485135</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is possible to display dynamic button in a TABLE CONTROL. I am not sure we can do it in other area of the screen.&lt;/P&gt;&lt;P&gt;If it has to be  done in the table control,change that particular field to be displayed as PUSHBUTTON display.&lt;/P&gt;&lt;P&gt;In the PBO for the table control  for ICON_ENTER_MORE move  &lt;STRONG&gt;@1F@&lt;/STRONG&gt;  to that particular field of length 4,for ICON_DISPLAY_MORE move &lt;STRONG&gt;@1E@&lt;/STRONG&gt; .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Smart&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 May 2010 06:33:56 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-05-14T06:33:56Z</dc:date>
    <item>
      <title>Change Button Icon name in Module Pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-button-icon-name-in-module-pool/m-p/6926846#M1485133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working on a module pool program. In some condition it needs to display button Icon ICON_ENTER_MORE, and in some condition it needs to display Icon ICON_DISPLAY_MORE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am wondering whether this can be done in module pool. If yes, please guide me how/what should I do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your help are greatly appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 May 2010 05:59:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-button-icon-name-in-module-pool/m-p/6926846#M1485133</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-14T05:59:42Z</dc:date>
    </item>
    <item>
      <title>Re: Change Button Icon name in Module Pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-button-icon-name-in-module-pool/m-p/6926847#M1485134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hy myahsam,&lt;/P&gt;&lt;P&gt;one approach could be:&lt;/P&gt;&lt;P&gt;- create a status bar with both buttons: ICON_ENTER_MORE and ICON_DISPLAY_MORE, just one next to each other. Assign an okcode for each button&lt;/P&gt;&lt;P&gt;- as a default, in your ABAP code, exclude the okcode for ...DISPLAY...&lt;/P&gt;&lt;P&gt;- if the conditions meet, include the okcode for ...DISPLAY... and exclude the okcode for ...ENTER...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps. Kind regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alvaro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 May 2010 06:23:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-button-icon-name-in-module-pool/m-p/6926847#M1485134</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-14T06:23:20Z</dc:date>
    </item>
    <item>
      <title>Re: Change Button Icon name in Module Pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-button-icon-name-in-module-pool/m-p/6926848#M1485135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is possible to display dynamic button in a TABLE CONTROL. I am not sure we can do it in other area of the screen.&lt;/P&gt;&lt;P&gt;If it has to be  done in the table control,change that particular field to be displayed as PUSHBUTTON display.&lt;/P&gt;&lt;P&gt;In the PBO for the table control  for ICON_ENTER_MORE move  &lt;STRONG&gt;@1F@&lt;/STRONG&gt;  to that particular field of length 4,for ICON_DISPLAY_MORE move &lt;STRONG&gt;@1E@&lt;/STRONG&gt; .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Smart&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 May 2010 06:33:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-button-icon-name-in-module-pool/m-p/6926848#M1485135</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-14T06:33:56Z</dc:date>
    </item>
    <item>
      <title>Re: Change Button Icon name in Module Pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-button-icon-name-in-module-pool/m-p/6926849#M1485136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One method is as specified above by Alvaro. The other approach u can try is invisble the button based on the condition using below logic-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;      IF screen-group1 = c_display.&lt;/P&gt;&lt;P&gt;        screen-invisible  = c_0.&lt;/P&gt;&lt;P&gt;        MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;    ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 May 2010 06:36:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-button-icon-name-in-module-pool/m-p/6926849#M1485136</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-14T06:36:25Z</dc:date>
    </item>
    <item>
      <title>Re: Change Button Icon name in Module Pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-button-icon-name-in-module-pool/m-p/6926850#M1485137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi myahsam,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your query is very much possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have done it. Use the Icon code @1F@ and @1E@.&lt;/P&gt;&lt;P&gt;Its a simple logic:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Give the name and function code for Pushbutton and in property make it as output only.&lt;/P&gt;&lt;P&gt;Check the checkbox with icon in pushbutton property. &lt;/P&gt;&lt;P&gt;In PBO according to Logic assign the Icon code to the button name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just follow the below link &lt;/P&gt;&lt;P&gt;Link:http://wiki.sdn.sap.com/wiki/display/Snippets/Sample&lt;EM&gt;code&lt;/EM&gt;for&lt;EM&gt;icon&lt;/EM&gt;change&lt;EM&gt;like&lt;/EM&gt;N&lt;EM&gt;series&lt;/EM&gt;transactions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this solves your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kiruba&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: kirubakaran.t38 on May 14, 2010 12:39 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 May 2010 06:52:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-button-icon-name-in-module-pool/m-p/6926850#M1485137</guid>
      <dc:creator>I066686</dc:creator>
      <dc:date>2010-05-14T06:52:35Z</dc:date>
    </item>
    <item>
      <title>Re: Change Button Icon name in Module Pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-button-icon-name-in-module-pool/m-p/6926851#M1485138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Wong,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the below link,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="8612036"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheerz&lt;/P&gt;&lt;P&gt;Ram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 May 2010 06:58:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-button-icon-name-in-module-pool/m-p/6926851#M1485138</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-14T06:58:30Z</dc:date>
    </item>
    <item>
      <title>Re: Change Button Icon name in Module Pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-button-icon-name-in-module-pool/m-p/6926852#M1485139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for all the replies. &lt;/P&gt;&lt;P&gt;However I cannot understand this statement, "In the PBO for the table control for ICON_ENTER_MORE move @1F@ to that particular field of length 4,for ICON_DISPLAY_MORE move @1E@". What is @1F@ and @1E@" ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am now using the show and hide method to display the button with icon. When condition 1, then it will display button 1, then condition 2 then it will display button 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem now is, the button cannot display in the fixed position. Does anyone have any idea on this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 May 2010 08:29:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-button-icon-name-in-module-pool/m-p/6926852#M1485139</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-14T08:29:14Z</dc:date>
    </item>
    <item>
      <title>Re: Change Button Icon name in Module Pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-button-icon-name-in-module-pool/m-p/6926853#M1485140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Wong,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No Need to use 2 buttons, if you follow the method what i said , just one button is enough&lt;/P&gt;&lt;P&gt;@1F@ and @1E@" were the Icon Codes for the ICON.&lt;/P&gt;&lt;P&gt;Follow simple steps:&lt;/P&gt;&lt;P&gt;1)Give the name and function code for Pushbutton and in property make it as output only.&lt;/P&gt;&lt;P&gt;eg: PSH_BTN.&lt;/P&gt;&lt;P&gt;2) Check the checkbox with icon in pushbutton property.&lt;/P&gt;&lt;P&gt;3) In PBOMODULE of the screen ,  according to your Logic assign the Icon code to the button name.&lt;/P&gt;&lt;P&gt;eg: &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;   if cond1 .
      PSH_BTN = '@1F@'.---&amp;gt; ICON_ENTER_MORE 
    elseif cond2.
      PSH_BTN = '@1E@ '.---&amp;gt;ICON_DISPLAY_MORE 
    endif.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now you can get my point i think.It worked for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kiruba&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 May 2010 08:46:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-button-icon-name-in-module-pool/m-p/6926853#M1485140</guid>
      <dc:creator>I066686</dc:creator>
      <dc:date>2010-05-14T08:46:09Z</dc:date>
    </item>
    <item>
      <title>Re: Change Button Icon name in Module Pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-button-icon-name-in-module-pool/m-p/6926854#M1485141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kiruba,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your tips. It works for me now. &lt;/P&gt;&lt;P&gt;By the way, how do you know the icon code from?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where can I get the icon code list?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 May 2010 09:10:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-button-icon-name-in-module-pool/m-p/6926854#M1485141</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-14T09:10:47Z</dc:date>
    </item>
    <item>
      <title>Re: Change Button Icon name in Module Pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-button-icon-name-in-module-pool/m-p/6926855#M1485142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi myahsam.&lt;/P&gt;&lt;P&gt;please have a look at the type-pool ICON. To do so, enter into transaction SE12, select "type group", enter ICON and display. This will yield an ABAP-like editor, with the name of the icon (i.e.ICON_ENTER_MORE) and the ID (i.e. '@1F@').&lt;/P&gt;&lt;P&gt;I hope it helps. Best regards,&lt;/P&gt;&lt;P&gt;Alvaro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 May 2010 12:53:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-button-icon-name-in-module-pool/m-p/6926855#M1485142</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-14T12:53:58Z</dc:date>
    </item>
  </channel>
</rss>

