<?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: Dynamic Text for a push button in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-text-for-a-push-button/m-p/3281313#M784694</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use this code&lt;/P&gt;&lt;P&gt;data:CLICK(10) type c(This si name of pushbuton.).&lt;/P&gt;&lt;P&gt;call screen 9000.&lt;/P&gt;&lt;P&gt;MODULE STATUS_9000 OUTPUT.&lt;/P&gt;&lt;P&gt; IF CLICK IS INITIAL.&lt;/P&gt;&lt;P&gt;  CLICK = 'CLICK'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE USER_COMMAND_9000 INPUT.&lt;/P&gt;&lt;P&gt;  CLICK = 'CLICKED'.&lt;/P&gt;&lt;P&gt;endmodule.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Jan 2008 04:51:56 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-17T04:51:56Z</dc:date>
    <item>
      <title>Dynamic Text for a push button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-text-for-a-push-button/m-p/3281306#M784687</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 have a screen which has a push button with some text 'XXXXX'.&lt;/P&gt;&lt;P&gt;Now if I click on the push button,the text in the push button has to change to 'YYYYY'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly provide some code or a step by step procedure for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kashyap&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jan 2008 11:11:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-text-for-a-push-button/m-p/3281306#M784687</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-16T11:11:25Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Text for a push button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-text-for-a-push-button/m-p/3281307#M784688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kashyap,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you design the input/output fields in reference to dictionary fields, you should have the F4 help automatically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need to go to screen by pressing the pushbutton:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE USER_COMMAND.&lt;/P&gt;&lt;P&gt;CASE OK_CODE.&lt;/P&gt;&lt;P&gt;WHEN &amp;lt;.....&amp;gt;. LEAVE TO SCREEN &amp;lt;NEW SCREEN&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you enter the details in the input screen and press the push button,inorder to navigate to the output screen, you need to write a code for this in a PAI module of the input screen.The code for this would be.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;case SY-UCOMM.&lt;/P&gt;&lt;P&gt;when 'DISPLAY'.&lt;/P&gt;&lt;P&gt;call screen 100. *** 100 is the screen number of the output screen***&lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are the input fields fetched from standard tables?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kindly reward if found helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;Hema.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jan 2008 11:16:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-text-for-a-push-button/m-p/3281307#M784688</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-16T11:16:26Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Text for a push button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-text-for-a-push-button/m-p/3281308#M784689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hema,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the quick reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But my quesion is to change the text on the push button dynamically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example,&lt;/P&gt;&lt;P&gt;If the text on the push button is 'click'.&lt;/P&gt;&lt;P&gt;After clicking the push button, the text on the same push button has to be changed to 'clicked'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kashyap Ivaturi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jan 2008 11:21:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-text-for-a-push-button/m-p/3281308#M784689</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-16T11:21:19Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Text for a push button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-text-for-a-push-button/m-p/3281309#M784690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;      Try this code,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES sscrfields.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN PUSHBUTTON /10(20) charly USER-COMMAND abcd.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INITIALIZATION.&lt;/P&gt;&lt;P&gt;  MOVE 'My text' TO charly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN.&lt;/P&gt;&lt;P&gt;  IF sscrfields-ucomm = 'ABCD'.&lt;/P&gt;&lt;P&gt;    MOVE 'New Text' TO charly.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Niyaz&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jan 2008 11:22:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-text-for-a-push-button/m-p/3281309#M784690</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-16T11:22:39Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Text for a push button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-text-for-a-push-button/m-p/3281310#M784691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Niyaz,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This code is working fine for a push button in selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually I have created a push button in a screeen in SE51 and I am calling the screen in my report program.&lt;/P&gt;&lt;P&gt;So I need to change the text of the push button in that screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly help me out in this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kashyap&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jan 2008 11:30:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-text-for-a-push-button/m-p/3281310#M784691</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-16T11:30:20Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Text for a push button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-text-for-a-push-button/m-p/3281311#M784692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;try this..&lt;/P&gt;&lt;P&gt;In pbo.&lt;/P&gt;&lt;P&gt;if ok-code = 'push'.&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;screen-name = ' name of push button in capital letters(XXXX)'.&lt;/P&gt;&lt;P&gt;screen-name = 'YYYY'.&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jan 2008 11:33:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-text-for-a-push-button/m-p/3281311#M784692</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-16T11:33:41Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Text for a push button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-text-for-a-push-button/m-p/3281312#M784693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;see this link..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/sdn/forums" target="test_blank"&gt;https://www.sdn.sap.com/irj/sdn/forums&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jan 2008 12:38:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-text-for-a-push-button/m-p/3281312#M784693</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-16T12:38:23Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Text for a push button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-text-for-a-push-button/m-p/3281313#M784694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use this code&lt;/P&gt;&lt;P&gt;data:CLICK(10) type c(This si name of pushbuton.).&lt;/P&gt;&lt;P&gt;call screen 9000.&lt;/P&gt;&lt;P&gt;MODULE STATUS_9000 OUTPUT.&lt;/P&gt;&lt;P&gt; IF CLICK IS INITIAL.&lt;/P&gt;&lt;P&gt;  CLICK = 'CLICK'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE USER_COMMAND_9000 INPUT.&lt;/P&gt;&lt;P&gt;  CLICK = 'CLICKED'.&lt;/P&gt;&lt;P&gt;endmodule.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2008 04:51:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-text-for-a-push-button/m-p/3281313#M784694</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-17T04:51:56Z</dc:date>
    </item>
  </channel>
</rss>

