<?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: Push button in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/push-button/m-p/9173302#M1712253</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kaushik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can change the text on a pushbutton dynamically. To do this, you must have set the Output field attribute in the Screen Painter to active, and created a global field with the same name in your ABAP program. Because the Screen &lt;SPAN class="goog_qs-tidbit goog_qs-tidbit-0"&gt;Painter field and the program field have the same name, any changes to the field&lt;/SPAN&gt; contents will be immediately visible on the screen (similarly to input/output fields).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can write similar code in ur PBO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;button = 'ABC'. &lt;/P&gt;&lt;P&gt;if v_click eq 'X'. &lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;if screen-name eq 'BUTTON'.&lt;/P&gt;&lt;P&gt;g_button1 = 'XYZ'.&lt;/P&gt;&lt;P&gt;clear v_click.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;modify screen.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the below link also if needed....&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/9f/dba9a635c111d1829f0000e829fbfe/content.htm"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/9f/dba9a635c111d1829f0000e829fbfe/content.htm&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;Debopriya Ghosh &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Dec 2012 04:35:34 GMT</pubDate>
    <dc:creator>reachdebopriya</dc:creator>
    <dc:date>2012-12-18T04:35:34Z</dc:date>
    <item>
      <title>Push button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/push-button/m-p/9173301#M1712252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a req i need a pushbutton name abc when the user clicks it shud allow to validate ...after it passes all validation the name shud change to xyz.&lt;/P&gt;&lt;P&gt;pls help me on dis...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000;"&gt;Moderator message: please do more research before posting, do not use SMS speak&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Thomas Zloch&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Dec 2012 03:38:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/push-button/m-p/9173301#M1712252</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-12-18T03:38:01Z</dc:date>
    </item>
    <item>
      <title>Re: Push button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/push-button/m-p/9173302#M1712253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kaushik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can change the text on a pushbutton dynamically. To do this, you must have set the Output field attribute in the Screen Painter to active, and created a global field with the same name in your ABAP program. Because the Screen &lt;SPAN class="goog_qs-tidbit goog_qs-tidbit-0"&gt;Painter field and the program field have the same name, any changes to the field&lt;/SPAN&gt; contents will be immediately visible on the screen (similarly to input/output fields).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can write similar code in ur PBO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;button = 'ABC'. &lt;/P&gt;&lt;P&gt;if v_click eq 'X'. &lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;if screen-name eq 'BUTTON'.&lt;/P&gt;&lt;P&gt;g_button1 = 'XYZ'.&lt;/P&gt;&lt;P&gt;clear v_click.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;modify screen.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the below link also if needed....&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/9f/dba9a635c111d1829f0000e829fbfe/content.htm"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/9f/dba9a635c111d1829f0000e829fbfe/content.htm&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;Debopriya Ghosh &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Dec 2012 04:35:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/push-button/m-p/9173302#M1712253</guid>
      <dc:creator>reachdebopriya</dc:creator>
      <dc:date>2012-12-18T04:35:34Z</dc:date>
    </item>
  </channel>
</rss>

