<?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 buttons in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/push-buttons/m-p/5816297#M1314188</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;The syntax is like - &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECTION-SCREEN BEGIN OF LINE.
PUSHBUTTON 5(4)  pb1 USER-COMMAND uc1. 
 END OF LINE .&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Note in the above syntax &lt;STRONG&gt;pb1 is the push button name&lt;/STRONG&gt; and &lt;STRONG&gt;uc1&lt;/STRONG&gt; is the user-command means when&lt;/P&gt;&lt;P&gt;this push button is selected the ucomm field will hold the value 'UC1'.&lt;/P&gt;&lt;P&gt;Check this code - -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECTION-SCREEN
BEGIN OF BLOCK b WITH FRAME  TITLE  text-001.

selection-screen begin of line .
 PARAMETERS p_op(32) type c." Parameter
selection-screen  end of line .
selection-screen : BEGIN OF LINE ,
PUSHBUTTON 5(4)  pb1 USER-COMMAND uc1 ,  " Push button
PUSHBUTTON 10(4)  pb2 USER-COMMAND uc2 , " Push button
PUSHBUTTON 15(4)  pb3 USER-COMMAND uc3 , " Push button
 END OF LINE .&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pinaki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Jun 2009 05:39:16 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-06-30T05:39:16Z</dc:date>
    <item>
      <title>Push buttons</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/push-buttons/m-p/5816294#M1314185</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;Can anyone tell me how to create a push button in a report program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2009 05:32:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/push-buttons/m-p/5816294#M1314185</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-30T05:32:49Z</dc:date>
    </item>
    <item>
      <title>Re: Push buttons</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/push-buttons/m-p/5816295#M1314186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Where you want the push buttons..??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: use meaningful subject for your future questions&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2009 05:36:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/push-buttons/m-p/5816295#M1314186</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-30T05:36:08Z</dc:date>
    </item>
    <item>
      <title>Re: Push buttons</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/push-buttons/m-p/5816296#M1314187</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;  Please read the F1 help for SELECTION-SCREEN. Creation of SELECTION-SCREEN PUSHBUTTON is clearly mentioned there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Renjith&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2009 05:38:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/push-buttons/m-p/5816296#M1314187</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-30T05:38:26Z</dc:date>
    </item>
    <item>
      <title>Re: Push buttons</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/push-buttons/m-p/5816297#M1314188</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;The syntax is like - &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECTION-SCREEN BEGIN OF LINE.
PUSHBUTTON 5(4)  pb1 USER-COMMAND uc1. 
 END OF LINE .&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Note in the above syntax &lt;STRONG&gt;pb1 is the push button name&lt;/STRONG&gt; and &lt;STRONG&gt;uc1&lt;/STRONG&gt; is the user-command means when&lt;/P&gt;&lt;P&gt;this push button is selected the ucomm field will hold the value 'UC1'.&lt;/P&gt;&lt;P&gt;Check this code - -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECTION-SCREEN
BEGIN OF BLOCK b WITH FRAME  TITLE  text-001.

selection-screen begin of line .
 PARAMETERS p_op(32) type c." Parameter
selection-screen  end of line .
selection-screen : BEGIN OF LINE ,
PUSHBUTTON 5(4)  pb1 USER-COMMAND uc1 ,  " Push button
PUSHBUTTON 10(4)  pb2 USER-COMMAND uc2 , " Push button
PUSHBUTTON 15(4)  pb3 USER-COMMAND uc3 , " Push button
 END OF LINE .&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pinaki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2009 05:39:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/push-buttons/m-p/5816297#M1314188</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-30T05:39:16Z</dc:date>
    </item>
    <item>
      <title>Re: Push buttons</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/push-buttons/m-p/5816298#M1314189</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;Using module programming you can do it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and in Program you can doit on this command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN PUSHBUTTON 58(10) text-001 USER-COMMAND usm.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2009 05:39:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/push-buttons/m-p/5816298#M1314189</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-30T05:39:24Z</dc:date>
    </item>
    <item>
      <title>Re: Push buttons</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/push-buttons/m-p/5816299#M1314190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sasikala,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you want the Push Button on your selection screen or on the Tool Bar?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Push button on selection screen :&lt;/P&gt;&lt;P&gt;Define a selection screen element in the following manner,&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN: PUSHBUTTON 33(15) p_cls_bt USER-COMMAND mat_cls.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then to handle this Pushbutton write the following code,&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CASE sy-ucomm .&lt;/P&gt;&lt;P&gt;    WHEN 'MAT_CLS'.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="--------" /&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="--------" /&gt;&lt;P&gt;(write the logic for your Push button processing)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Pushbutton on Tool Bar:&lt;/P&gt;&lt;P&gt;For this u need to call SET PF STATUS and then set the Button on  tool bar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2009 05:39:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/push-buttons/m-p/5816299#M1314190</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-30T05:39:31Z</dc:date>
    </item>
    <item>
      <title>Re: Push buttons</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/push-buttons/m-p/5816300#M1314191</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 you want to create a push button in selection screen?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/9f/dba81635c111d1829f0000e829fbfe/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/9f/dba81635c111d1829f0000e829fbfe/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bhanu&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: nanduri bhanu on Jun 30, 2009 7:40 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2009 05:39:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/push-buttons/m-p/5816300#M1314191</guid>
      <dc:creator>former_member556412</dc:creator>
      <dc:date>2009-06-30T05:39:32Z</dc:date>
    </item>
    <item>
      <title>Re: Push buttons</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/push-buttons/m-p/5816301#M1314192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See F1 help for &lt;STRONG&gt;SELECTION-SCREEN PUSHBUTTON&lt;/STRONG&gt; if you want it in a selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Give a more meaningful subject line in future. Also explain your problem/requirement clearly.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Karthik D&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2009 05:42:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/push-buttons/m-p/5816301#M1314192</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-30T05:42:12Z</dc:date>
    </item>
  </channel>
</rss>

