<?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: Selection screen with no input fields in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-with-no-input-fields/m-p/5837629#M1317445</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ibrahim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this requirement is for report, Do you need custom selection screen?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Raj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 27 Jun 2009 16:01:11 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-06-27T16:01:11Z</dc:date>
    <item>
      <title>Selection screen with no input fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-with-no-input-fields/m-p/5837628#M1317444</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;i want to display a screen which should be having only comments that so and so user only should be executing this program. the req. is like the selection screen should be displayed and when the user executes only then a table is to be locked first and then the table is to be filled with records of other two tables. I have created a program like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection screen 200.&lt;/P&gt;&lt;P&gt;declared the comments.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;initialization.&lt;/P&gt;&lt;P&gt;called the selection screen 200.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start of selection.&lt;/P&gt;&lt;P&gt;locking the table and so on...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but in this program the problem is even if the user selects back button or any other button the program is getting executed i.e the control is going to start of selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help me to solve teh problem. the req. is freezed, so, do not suggest to add a pop up or anything else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;awaiting your replies.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Jun 2009 14:21:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-with-no-input-fields/m-p/5837628#M1317444</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-27T14:21:55Z</dc:date>
    </item>
    <item>
      <title>Re: Selection screen with no input fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-with-no-input-fields/m-p/5837629#M1317445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ibrahim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this requirement is for report, Do you need custom selection screen?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Raj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Jun 2009 16:01:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-with-no-input-fields/m-p/5837629#M1317445</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-27T16:01:11Z</dc:date>
    </item>
    <item>
      <title>Re: Selection screen with no input fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-with-no-input-fields/m-p/5837630#M1317446</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;Check this code..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;selection screen 200.
declared the comments.

initialization.
* called the selection screen 200. " Comment the code

start of selection.
call the selection screen 200.
check sy-subrc eq 0.   " if press back/cancel/exit subrc will be 4 if execute subrc will be 0

locking the table and so on...&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Jun 2009 17:01:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-with-no-input-fields/m-p/5837630#M1317446</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-27T17:01:09Z</dc:date>
    </item>
    <item>
      <title>Re: Selection screen with no input fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-with-no-input-fields/m-p/5837631#M1317447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN __default_attr="blue" __jive_macro_name="color"&gt; Hi Ibrahim,

You have to follow the sample program.
&lt;PRE&gt;&lt;CODE&gt;REPORT ztest_notepad.
SELECTION-SCREEN BEGIN OF SCREEN 1001.
SELECTION-SCREEN COMMENT 1(83) comm2. "83 chars is max comment length using comment statement
SELECTION-SCREEN   END OF SCREEN 1001.

INITIALIZATION.
  comm2 = 'Hi there. It shows text like this.'.

START-OF-SELECTION.
  "Call selection-screen
  CALL SELECTION-SCREEN 1001.
  IF sy-subrc = 0.
    "locking the table and so on...
    WRITE 'The user selected the function Execute or Execute + Print on the selection screen.'.
  ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;
I hope that it helps you.

Thanks
Venkat.O&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jun 2009 03:10:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-with-no-input-fields/m-p/5837631#M1317447</guid>
      <dc:creator>venkat_o</dc:creator>
      <dc:date>2009-06-29T03:10:32Z</dc:date>
    </item>
    <item>
      <title>Re: Selection screen with no input fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-with-no-input-fields/m-p/5837632#M1317448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN __default_attr="blue" __jive_macro_name="color"&gt; Hi Ibrahim,
I think It is good to write program the below way instead of doing the above way which i have posted just now.
&lt;PRE&gt;&lt;CODE&gt;REPORT ztest_notepad.

SELECTION-SCREEN COMMENT 1(83) comm2.
PARAMETERS p_dummy.

INITIALIZATION.
  comm2 = 'Hi there. It shows text like this.'.
  "Setting screen attributes
  LOOP AT SCREEN.
    IF screen-name = 'P_DUMMY' OR
       screen-name = '%_P_DUMMY_%_APP_%-TEXT'.
      screen-active = '0'.
      MODIFY SCREEN.
    ENDIF.
  ENDLOOP.

START-OF-SELECTION.

  WRITE 'The user selected the function Execute or Execute + Print on the selection screen.'.&lt;/CODE&gt;&lt;/PRE&gt;

I hope that it resolves.

Thanks
Venkat&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jun 2009 03:22:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-with-no-input-fields/m-p/5837632#M1317448</guid>
      <dc:creator>venkat_o</dc:creator>
      <dc:date>2009-06-29T03:22:12Z</dc:date>
    </item>
  </channel>
</rss>

