<?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 (urgent) in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/push-button-urgent/m-p/3221492#M768263</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ,&lt;/P&gt;&lt;P&gt;in  ur  screen layout (se51) . GO to  element list tab . write down OK_CODE for the last entered element (type ok).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now in the screen create three buttons with okcode PUSH1,PUSH2,PUSH3 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the PAI module :&lt;/P&gt;&lt;P&gt;PROCESS AFTER INPUT.&lt;/P&gt;&lt;P&gt;MODULE USER_COMMAND_0120.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;click on it to create a module in ur mail program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In ur program define :&lt;/P&gt;&lt;P&gt; DATA: OK_CODE   LIKE SY-UCOMM ,&lt;/P&gt;&lt;P&gt;            DIS_CODE  LIKE SY-UCOMM .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DIS_CODE = OK_CODE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;clear ok_code.&lt;/P&gt;&lt;P&gt;  CASE DIS_CODE.&lt;/P&gt;&lt;P&gt;  WHEN 'PUSH1'.&lt;/P&gt;&lt;P&gt;                      -&lt;/P&gt;&lt;HR originaltext="------------" /&gt;&lt;P&gt;code here----&lt;/P&gt;&lt;HR originaltext="-----------" /&gt;&lt;P&gt;  WHEN 'PUSH2'.&lt;/P&gt;&lt;P&gt;                      -&lt;/P&gt;&lt;HR originaltext="------------" /&gt;&lt;P&gt;code here----&lt;/P&gt;&lt;HR originaltext="-----------" /&gt;&lt;P&gt;  WHEN 'PUSH3'.&lt;/P&gt;&lt;P&gt;                      -&lt;/P&gt;&lt;HR originaltext="------------" /&gt;&lt;P&gt;code here----&lt;/P&gt;&lt;HR originaltext="-----------" /&gt;&lt;P&gt;  WHEN OTHERS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Jan 2008 08:56:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-15T08:56:50Z</dc:date>
    <item>
      <title>Push button (urgent)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/push-button-urgent/m-p/3221486#M768257</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;i have never use push button before in my screen layout.&lt;/P&gt;&lt;P&gt;Can anybody teach me how to delcare push button in flow logic?&lt;/P&gt;&lt;P&gt;I have 3 push button. I need to direct each button press to another program. How do i code that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone see this post please reply me as soon as possible.&lt;/P&gt;&lt;P&gt;Very urgent. Thanks alot!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jan 2008 08:36:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/push-button-urgent/m-p/3221486#M768257</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-15T08:36:42Z</dc:date>
    </item>
    <item>
      <title>Re: Push button (urgent)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/push-button-urgent/m-p/3221487#M768258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;       You can create a push button in the screen in dialog program by drag &amp;amp; drop otion on the screen in se51.&lt;/P&gt;&lt;P&gt;         Also you can controll the events by sy-ucomm, as it will be having unique ok-code on the screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Brijesh Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jan 2008 08:40:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/push-button-urgent/m-p/3221487#M768258</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-15T08:40:12Z</dc:date>
    </item>
    <item>
      <title>Re: Push button (urgent)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/push-button-urgent/m-p/3221488#M768259</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;In PAI &lt;/P&gt;&lt;P&gt;in user command module.&lt;/P&gt;&lt;P&gt;case sy-ucomm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when 'PUSH1'.&lt;/P&gt;&lt;P&gt;submit program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when 'PUSH2'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Submit program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when 'PUSH3'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do wat ever u want to do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PUSH1, PUSH2 , PUSH3 r the function codes of three push buttons&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nishant Gupta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jan 2008 08:41:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/push-button-urgent/m-p/3221488#M768259</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-15T08:41:46Z</dc:date>
    </item>
    <item>
      <title>Re: Push button (urgent)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/push-button-urgent/m-p/3221489#M768260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi thanks but what do u mean by unique code? any sample code?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jan 2008 08:44:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/push-button-urgent/m-p/3221489#M768260</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-15T08:44:11Z</dc:date>
    </item>
    <item>
      <title>Re: Push button (urgent)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/push-button-urgent/m-p/3221490#M768261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;       Here is a sample program in the system... DEMO_DYNPRO_PUSH_BUTTON&lt;/P&gt;&lt;P&gt;Reward the points for the helpful answer..&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Brijesh Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jan 2008 08:46:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/push-button-urgent/m-p/3221490#M768261</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-15T08:46:12Z</dc:date>
    </item>
    <item>
      <title>Re: Push button (urgent)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/push-button-urgent/m-p/3221491#M768262</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;Jus as wad Nishant Gupta posted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The function code can be created in the screen painter.&lt;/P&gt;&lt;P&gt;Step1) create a push button&lt;/P&gt;&lt;P&gt;Step 2) double click on the button&lt;/P&gt;&lt;P&gt;Step 3) a pop out screen will show&lt;/P&gt;&lt;P&gt;Step 4) enter the function code eg. PUSH in the fct field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have successful create the function code next pasted the code from Nishant Gupta. Remember put in the PAI of the module.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jan 2008 08:51:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/push-button-urgent/m-p/3221491#M768262</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-15T08:51:59Z</dc:date>
    </item>
    <item>
      <title>Re: Push button (urgent)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/push-button-urgent/m-p/3221492#M768263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ,&lt;/P&gt;&lt;P&gt;in  ur  screen layout (se51) . GO to  element list tab . write down OK_CODE for the last entered element (type ok).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now in the screen create three buttons with okcode PUSH1,PUSH2,PUSH3 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the PAI module :&lt;/P&gt;&lt;P&gt;PROCESS AFTER INPUT.&lt;/P&gt;&lt;P&gt;MODULE USER_COMMAND_0120.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;click on it to create a module in ur mail program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In ur program define :&lt;/P&gt;&lt;P&gt; DATA: OK_CODE   LIKE SY-UCOMM ,&lt;/P&gt;&lt;P&gt;            DIS_CODE  LIKE SY-UCOMM .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DIS_CODE = OK_CODE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;clear ok_code.&lt;/P&gt;&lt;P&gt;  CASE DIS_CODE.&lt;/P&gt;&lt;P&gt;  WHEN 'PUSH1'.&lt;/P&gt;&lt;P&gt;                      -&lt;/P&gt;&lt;HR originaltext="------------" /&gt;&lt;P&gt;code here----&lt;/P&gt;&lt;HR originaltext="-----------" /&gt;&lt;P&gt;  WHEN 'PUSH2'.&lt;/P&gt;&lt;P&gt;                      -&lt;/P&gt;&lt;HR originaltext="------------" /&gt;&lt;P&gt;code here----&lt;/P&gt;&lt;HR originaltext="-----------" /&gt;&lt;P&gt;  WHEN 'PUSH3'.&lt;/P&gt;&lt;P&gt;                      -&lt;/P&gt;&lt;HR originaltext="------------" /&gt;&lt;P&gt;code here----&lt;/P&gt;&lt;HR originaltext="-----------" /&gt;&lt;P&gt;  WHEN OTHERS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jan 2008 08:56:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/push-button-urgent/m-p/3221492#M768263</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-15T08:56:50Z</dc:date>
    </item>
    <item>
      <title>Re: Push button (urgent)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/push-button-urgent/m-p/3221493#M768264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Eileen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to first create three push buttons on your screen. Then you write the following code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;case  sy-ucomm.&lt;/P&gt;&lt;P&gt;when BUTTON1.&lt;/P&gt;&lt;P&gt;call program.&lt;/P&gt;&lt;P&gt;when BUTTON2.&lt;/P&gt;&lt;P&gt;call program.&lt;/P&gt;&lt;P&gt;when BUTTON3.&lt;/P&gt;&lt;P&gt;call program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards &lt;/P&gt;&lt;P&gt;kaushik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jan 2008 08:59:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/push-button-urgent/m-p/3221493#M768264</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-15T08:59:32Z</dc:date>
    </item>
  </channel>
</rss>

