<?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: selction-screen - pushbuttons in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/selction-screen-pushbuttons/m-p/5062064#M1176276</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you press F1 on the word "Pushbutton" in your code, you can read the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You must specify the position of the output field using [/][pos](len). The syntax and meaning of [/][pos](len) are the same as when creating horizontal lines, although in this case, len defines the length of the pushbutton on the selection screen. If a pushbutton extends beyond position 83 or beyond the edge of a block with a frame, it is cut off at the right hand side. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try creating a dynpro, of use less text on the buts.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Jan 2009 12:15:37 GMT</pubDate>
    <dc:creator>rob_postema</dc:creator>
    <dc:date>2009-01-27T12:15:37Z</dc:date>
    <item>
      <title>selction-screen - pushbuttons</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selction-screen-pushbuttons/m-p/5062059#M1176271</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 want to create 5 push buttons in my selection-screen. but 5th push button is exceeding the limit of push button which is 83.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what should i do?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;shweta gupta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jan 2009 11:44:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selction-screen-pushbuttons/m-p/5062059#M1176271</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-27T11:44:31Z</dc:date>
    </item>
    <item>
      <title>Re: selction-screen - pushbuttons</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selction-screen-pushbuttons/m-p/5062060#M1176272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can u clear ur question.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jan 2009 11:48:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selction-screen-pushbuttons/m-p/5062060#M1176272</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-27T11:48:10Z</dc:date>
    </item>
    <item>
      <title>Re: selction-screen - pushbuttons</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selction-screen-pushbuttons/m-p/5062061#M1176273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i want to create 5 push button on selection screen .each push button has text of 20 character . so when i am defining 5th push button , its exceeding the limit position of push button , which is 83. so how to create all 5 buttons with proper text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;shweta gupta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jan 2009 11:52:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selction-screen-pushbuttons/m-p/5062061#M1176273</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-27T11:52:30Z</dc:date>
    </item>
    <item>
      <title>Re: selction-screen - pushbuttons</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selction-screen-pushbuttons/m-p/5062062#M1176274</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 mean to say that no event is getting triggered when you press the button?&lt;/P&gt;&lt;P&gt;What type of error are you getting?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Deepthi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jan 2009 11:52:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selction-screen-pushbuttons/m-p/5062062#M1176274</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-27T11:52:43Z</dc:date>
    </item>
    <item>
      <title>Re: selction-screen - pushbuttons</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selction-screen-pushbuttons/m-p/5062063#M1176275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;100(20) push_pro USER-COMMAND processed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am defining this in my program.and its giving error, 100(20) cant be defined.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;shweta gupta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jan 2009 11:56:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selction-screen-pushbuttons/m-p/5062063#M1176275</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-27T11:56:08Z</dc:date>
    </item>
    <item>
      <title>Re: selction-screen - pushbuttons</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selction-screen-pushbuttons/m-p/5062064#M1176276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you press F1 on the word "Pushbutton" in your code, you can read the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You must specify the position of the output field using [/][pos](len). The syntax and meaning of [/][pos](len) are the same as when creating horizontal lines, although in this case, len defines the length of the pushbutton on the selection screen. If a pushbutton extends beyond position 83 or beyond the edge of a block with a frame, it is cut off at the right hand side. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try creating a dynpro, of use less text on the buts.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jan 2009 12:15:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selction-screen-pushbuttons/m-p/5062064#M1176276</guid>
      <dc:creator>rob_postema</dc:creator>
      <dc:date>2009-01-27T12:15:37Z</dc:date>
    </item>
    <item>
      <title>Re: selction-screen - pushbuttons</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selction-screen-pushbuttons/m-p/5062065#M1176277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shweta,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The maximul offset that you can specify is 83. Hence if you have 5 pushbuttons with a length of 20 each, then you need to put at least one or more pushbuttons on the next line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can do so by using the SELECTION-SCREEN SKIP. statement which will display the remaining pushbuttons on the next line, where you can start with the minimum offset of 1 again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECTION-SCREEN:
    PUSHBUTTON 1(20)  but1 USER-COMMAND cli1,
    PUSHBUTTON 22(20) but2 USER-COMMAND cli2,
    PUSHBUTTON 44(20) but3 USER-COMMAND cli3,
    PUSHBUTTON 66(20) but4 USER-COMMAND cli4.

SELECTION-SCREEN SKIP.

SELECTION-SCREEN PUSHBUTTON 1(20) but5 USER-COMMAND cli5.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this piece of code and you can modify it as per your requirement.&lt;/P&gt;&lt;P&gt;Hope this was useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Himanshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jan 2009 12:16:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selction-screen-pushbuttons/m-p/5062065#M1176277</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-27T12:16:16Z</dc:date>
    </item>
    <item>
      <title>Re: selction-screen - pushbuttons</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selction-screen-pushbuttons/m-p/5062066#M1176278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi shweta,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The offset can be up to two characters long only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can create the pushbuuton on the selection-screen:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen:&lt;/P&gt;&lt;P&gt; PUSHBUTTON 2(20) but1 USER-COMMAND cli1,&lt;/P&gt;&lt;P&gt; PUSHBUTTON 22(20) text-020 USER-COMMAND cli2,&lt;/P&gt;&lt;P&gt; PUSHBUTTON 42(20) text-020 USER-COMMAND cli3,&lt;/P&gt;&lt;P&gt; PUSHBUTTON 62(20) text-020 USER-COMMAND cli4,&lt;/P&gt;&lt;P&gt; PUSHBUTTON 82(20) text-020 USER-COMMAND cli5.&lt;/P&gt;&lt;P&gt;&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;sravanthi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jan 2009 12:29:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selction-screen-pushbuttons/m-p/5062066#M1176278</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-27T12:29:55Z</dc:date>
    </item>
    <item>
      <title>Re: selction-screen - pushbuttons</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selction-screen-pushbuttons/m-p/5062067#M1176279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;but i want all push buttons in one line.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jan 2009 13:40:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selction-screen-pushbuttons/m-p/5062067#M1176279</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-27T13:40:36Z</dc:date>
    </item>
    <item>
      <title>Re: selction-screen - pushbuttons</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selction-screen-pushbuttons/m-p/5062068#M1176280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi; &lt;/P&gt;&lt;P&gt;just change the above code like this&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;selection-screen:
PUSHBUTTON 2(10) but1 USER-COMMAND cli1,
PUSHBUTTON 22(10) text-020 USER-COMMAND cli2,
PUSHBUTTON 42(10) text-020 USER-COMMAND cli3,
PUSHBUTTON 62(10) text-020 USER-COMMAND cli4,
PUSHBUTTON 82(10) text-020 USER-COMMAND cli5.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jan 2009 14:00:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selction-screen-pushbuttons/m-p/5062068#M1176280</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-27T14:00:54Z</dc:date>
    </item>
    <item>
      <title>Re: selction-screen - pushbuttons</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selction-screen-pushbuttons/m-p/5062069#M1176281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Finding it kinda hard to put a 500 lb Gorilla in a 5 lb can huh?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Either you'll need to shorten the text to about 15 to get them all on one line, or create a PF Status and try to get more than 20 characters in that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did test using PF-STATUS and you can get 5 20 character buttons without Icons.  I didn't test with icons.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This code will get you  your customized PF Status.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
INITIALIZATION.
  SET PF-STATUS 'YPTCGOOF'.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Paul Chapman on Jan 27, 2009 9:23 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jan 2009 14:16:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selction-screen-pushbuttons/m-p/5062069#M1176281</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-27T14:16:20Z</dc:date>
    </item>
  </channel>
</rss>

