<?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: Add button to program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/add-button-to-program/m-p/1801657#M344111</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sreekanth &lt;/P&gt;&lt;P&gt;I want to button in the first scrren that upload&lt;/P&gt;&lt;P&gt;so i need to decleare it in selection&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Dec 2006 15:16:09 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-12-11T15:16:09Z</dc:date>
    <item>
      <title>Add button to program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/add-button-to-program/m-p/1801651#M344105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;i create report(Z) and i have two button in the top of the page&lt;/P&gt;&lt;P&gt;F8 and layout &lt;/P&gt;&lt;P&gt;How can i insert new button ?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Dec 2006 15:00:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/add-button-to-program/m-p/1801651#M344105</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-11T15:00:51Z</dc:date>
    </item>
    <item>
      <title>Re: Add button to program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/add-button-to-program/m-p/1801652#M344106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is probably a statment like this in the program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET PF-STATUS 'MAIN'.   &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If so,  double click the part where it says 'MAIN' in your statement, this will take you to the gui status, add your button here, activate,  remember to handle the FCODE in the PAI, or AT USER-COMMAND event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Dec 2006 15:03:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/add-button-to-program/m-p/1801652#M344106</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-12-11T15:03:55Z</dc:date>
    </item>
    <item>
      <title>Re: Add button to program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/add-button-to-program/m-p/1801653#M344107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;can you send me example&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Dec 2006 15:07:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/add-button-to-program/m-p/1801653#M344107</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-11T15:07:55Z</dc:date>
    </item>
    <item>
      <title>Re: Add button to program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/add-button-to-program/m-p/1801654#M344108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;i didn't find any SET PF-STATUS 'MAIN'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Dec 2006 15:08:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/add-button-to-program/m-p/1801654#M344108</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-11T15:08:53Z</dc:date>
    </item>
    <item>
      <title>Re: Add button to program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/add-button-to-program/m-p/1801655#M344109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you referring to buttons in the application toolbar of the selection screen?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Dec 2006 15:11:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/add-button-to-program/m-p/1801655#M344109</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-12-11T15:11:32Z</dc:date>
    </item>
    <item>
      <title>Re: Add button to program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/add-button-to-program/m-p/1801656#M344110</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;If you want a button is the report,  Please follow the below code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;include &amp;lt;symbol&amp;gt;.

write:/ sym_large_square as symbol.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sreekanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Dec 2006 15:12:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/add-button-to-program/m-p/1801656#M344110</guid>
      <dc:creator>sreekanthgo</dc:creator>
      <dc:date>2006-12-11T15:12:12Z</dc:date>
    </item>
    <item>
      <title>Re: Add button to program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/add-button-to-program/m-p/1801657#M344111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sreekanth &lt;/P&gt;&lt;P&gt;I want to button in the first scrren that upload&lt;/P&gt;&lt;P&gt;so i need to decleare it in selection&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Dec 2006 15:16:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/add-button-to-program/m-p/1801657#M344111</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-11T15:16:09Z</dc:date>
    </item>
    <item>
      <title>Re: Add button to program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/add-button-to-program/m-p/1801658#M344112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, there is a couple ways to do it,  one is to use a gui status using the SET PF-STATUS statement.  I think this may not be a good idea as you will have to tied all the standard buttons again.  You could simply add it directly to the selection screen.  Like so.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

report zrich_0001.

type-pools: icon.

selection-screen begin of block b1 with frame title text-001.
selection-screen pushbutton 10(20) check user-command check.
selection-screen end of block b1.

at selection-screen output.

* Write pushbutton text
  write icon_configuration as icon to check.
  concatenate check 'Go To SM50' into check
              separated by space.

at selection-screen .

  case sy-ucomm.
    when 'CHECK'.
      call transaction 'SM50'.
  endcase.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is by far easier to handle.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Dec 2006 15:22:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/add-button-to-program/m-p/1801658#M344112</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-12-11T15:22:25Z</dc:date>
    </item>
    <item>
      <title>Re: Add button to program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/add-button-to-program/m-p/1801659#M344113</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;If you want a button in the selection screen, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Like Rich said in your code write a statment like SET PF-STATUS 'MAIN'.&lt;/P&gt;&lt;P&gt;2) Double click on the MAIN in the code and you will get a popup. Enter some there. &lt;/P&gt;&lt;P&gt;3) IN the next screen expand Application tool bar and Write &amp;lt;b&amp;gt;Upload&amp;lt;/b&amp;gt; in the first row of the first column.&lt;/P&gt;&lt;P&gt;4) Double click on the name after writing, choose static text. &lt;/P&gt;&lt;P&gt;5) Give function text as Upload and press enter.&lt;/P&gt;&lt;P&gt;6) Assign a function key other than F2. ( Choose F3 ). Enter.&lt;/P&gt;&lt;P&gt;7) Save and activate.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt; Run your report you will get the button on the selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sreekanth&lt;/P&gt;&lt;P&gt;*-- reward if it helps you &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Dec 2006 15:29:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/add-button-to-program/m-p/1801659#M344113</guid>
      <dc:creator>sreekanthgo</dc:creator>
      <dc:date>2006-12-11T15:29:35Z</dc:date>
    </item>
    <item>
      <title>Re: Add button to program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/add-button-to-program/m-p/1801660#M344114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks to all&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Dec 2006 15:32:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/add-button-to-program/m-p/1801660#M344114</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-11T15:32:12Z</dc:date>
    </item>
  </channel>
</rss>

