<?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: Button on a screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/button-on-a-screen/m-p/5238479#M1210582</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;     &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;AT USER-COMMAND.

   CASE SY-UCOMM.

    WHEN 'BUTTON'.
    program logic.

   ENDCASE.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Feb 2009 11:28:45 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-02-17T11:28:45Z</dc:date>
    <item>
      <title>Button on a screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/button-on-a-screen/m-p/5238472#M1210575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a program, named Z_WTF_BEPALING.&lt;/P&gt;&lt;P&gt;I put a button on a screen. &lt;/P&gt;&lt;P&gt;I want to start the program if I click on this button. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I do that ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2009 10:26:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/button-on-a-screen/m-p/5238472#M1210575</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-17T10:26:08Z</dc:date>
    </item>
    <item>
      <title>Re: Button on a screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/button-on-a-screen/m-p/5238473#M1210576</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;display a button on the screen and write all the code of the program in the case statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;parameter pushbutton ....

case sy-ucomm.
when 'ENT'.  ----&amp;gt; "user-command of the button
write the program.
endcase.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;sarves&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2009 10:34:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/button-on-a-screen/m-p/5238473#M1210576</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-17T10:34:04Z</dc:date>
    </item>
    <item>
      <title>Re: Button on a screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/button-on-a-screen/m-p/5238474#M1210577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Akin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First you create a transaction code for the program you have writtten. &lt;/P&gt;&lt;P&gt;Then you can pass this transaction code in the function code of the screen. When you press the button it directly executes the program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope that i have answered your query.&lt;/P&gt;&lt;P&gt;Kindly let me know if you have any clarifications.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Abdur&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2009 10:36:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/button-on-a-screen/m-p/5238474#M1210577</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-17T10:36:53Z</dc:date>
    </item>
    <item>
      <title>Re: Button on a screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/button-on-a-screen/m-p/5238475#M1210578</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;For this, you need to create a dialog program(SE80) with a single screen, On the screen create a button,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the PAI of the screen, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;case sy-ucomm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when 'BUTTON',&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call your report transaction&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;Regardss&lt;/P&gt;&lt;P&gt;Shiva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2009 10:38:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/button-on-a-screen/m-p/5238475#M1210578</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-17T10:38:37Z</dc:date>
    </item>
    <item>
      <title>Re: Button on a screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/button-on-a-screen/m-p/5238476#M1210579</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;You can start the program on click on button .if you create the button on the screen on first display.&lt;/P&gt;&lt;P&gt;and on click on tht you can call screen and can process your program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
 
case sy-ucomm.   " check the f-code of button
when 'BUTTON f-code'.  ----&amp;gt; "user-command of the button

"you can call screen like

*call screen '9001'.*

"or
start to execute the functionalites of your code .
endcase

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hopw it will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2009 10:40:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/button-on-a-screen/m-p/5238476#M1210579</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-17T10:40:34Z</dc:date>
    </item>
    <item>
      <title>Re: Button on a screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/button-on-a-screen/m-p/5238477#M1210580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;This can be done using user command event..&lt;/P&gt;&lt;P&gt;just do like this in u r program...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at user-command.&lt;/P&gt;&lt;P&gt; case sy-ucomm.&lt;/P&gt;&lt;P&gt;    when 'BUTTON'.&lt;/P&gt;&lt;P&gt;        perform startprogram.      &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;Regards&lt;/P&gt;&lt;P&gt;Kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2009 10:57:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/button-on-a-screen/m-p/5238477#M1210580</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-17T10:57:56Z</dc:date>
    </item>
    <item>
      <title>Re: Button on a screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/button-on-a-screen/m-p/5238478#M1210581</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;do this&lt;/P&gt;&lt;P&gt;case sy-ucomm.&lt;/P&gt;&lt;P&gt;when 'ENT'.  -&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt;&amp;gt; "user-command of the button&lt;/P&gt;&lt;P&gt;write logic.&lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2009 11:25:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/button-on-a-screen/m-p/5238478#M1210581</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-17T11:25:27Z</dc:date>
    </item>
    <item>
      <title>Re: Button on a screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/button-on-a-screen/m-p/5238479#M1210582</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;     &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;AT USER-COMMAND.

   CASE SY-UCOMM.

    WHEN 'BUTTON'.
    program logic.

   ENDCASE.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2009 11:28:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/button-on-a-screen/m-p/5238479#M1210582</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-17T11:28:45Z</dc:date>
    </item>
  </channel>
</rss>

