<?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: creating selection screen after selection screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-selection-screen-after-selection-screen/m-p/5757581#M1304231</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you please elaborate your requirement....Not clear&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What you can do is...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can put two fields in the selection screen....initially in disabled mode and enabled after your initial selection screen execution which will accept two path options&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use LOOP AT SCREEN statement for this!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF screen-name = 'field1'.&lt;/P&gt;&lt;P&gt; screen-active = '0'.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Jun 2009 10:23:00 GMT</pubDate>
    <dc:creator>former_member212005</dc:creator>
    <dc:date>2009-06-15T10:23:00Z</dc:date>
    <item>
      <title>creating selection screen after selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-selection-screen-after-selection-screen/m-p/5757579#M1304229</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;I want to create a selection screen with two file path option after executing my initial selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2009 10:17:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-selection-screen-after-selection-screen/m-p/5757579#M1304229</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-15T10:17:31Z</dc:date>
    </item>
    <item>
      <title>Re: creating selection screen after selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-selection-screen-after-selection-screen/m-p/5757580#M1304230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

PARAMETERS:p_header LIKE rlgrap-filename OBLIGATORY,
           p_item   LIKE rlgrap-filename OBLIGATORY.

AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_header.
*----------------------------------------------------------------------*
  PERFORM f4filename_header.

*----------------------------------------------------------------------*
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_item.
*----------------------------------------------------------------------*
  PERFORM f4filename_item.

*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;      Form  f4filename
*&amp;amp;---------------------------------------------------------------------*
FORM f4filename_header .

  CALL FUNCTION 'F4_FILENAME'
    EXPORTING
      program_name  = syst-cprog
      dynpro_number = syst-dynnr
    IMPORTING
      file_name     = p_header.

ENDFORM.                    " f4filename
*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;      Form  f4filename
*&amp;amp;---------------------------------------------------------------------*
FORM f4filename_item.

  CALL FUNCTION 'F4_FILENAME'
    EXPORTING
      program_name  = syst-cprog
      dynpro_number = syst-dynnr
    IMPORTING
      file_name     = p_item.

ENDFORM.                    " f4filename
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2009 10:21:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-selection-screen-after-selection-screen/m-p/5757580#M1304230</guid>
      <dc:creator>GauthamV</dc:creator>
      <dc:date>2009-06-15T10:21:33Z</dc:date>
    </item>
    <item>
      <title>Re: creating selection screen after selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-selection-screen-after-selection-screen/m-p/5757581#M1304231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you please elaborate your requirement....Not clear&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What you can do is...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can put two fields in the selection screen....initially in disabled mode and enabled after your initial selection screen execution which will accept two path options&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use LOOP AT SCREEN statement for this!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF screen-name = 'field1'.&lt;/P&gt;&lt;P&gt; screen-active = '0'.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2009 10:23:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-selection-screen-after-selection-screen/m-p/5757581#M1304231</guid>
      <dc:creator>former_member212005</dc:creator>
      <dc:date>2009-06-15T10:23:00Z</dc:date>
    </item>
    <item>
      <title>Re: creating selection screen after selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-selection-screen-after-selection-screen/m-p/5757582#M1304232</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 the standard program DEMO_CALL_SELECTION_SCREEN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use the statement CALL SELECTION-SCREEN &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2009 10:28:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-selection-screen-after-selection-screen/m-p/5757582#M1304232</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-15T10:28:53Z</dc:date>
    </item>
    <item>
      <title>Re: creating selection screen after selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-selection-screen-after-selection-screen/m-p/5757583#M1304233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use this code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECTION-SCREEN BEGIN OF BLOCK sel1 WITH FRAME TITLE text-001.

*FOR APPLICATION SERVER FILE
PARAMETERS: p_appl RADIOBUTTON GROUP rad1 DEFAULT 'X' USER-COMMAND upload,
            p_path TYPE filepath-pathintern MODIF ID app,
            p_file TYPE rlgrap-filename MODIF ID app.
SELECTION-SCREEN SKIP 1.

*FOR PRESENTATION SERVER FILE
PARAMETERS: p_desk RADIOBUTTON GROUP rad1,
            p_file1 TYPE rlgrap-filename MODIF ID prn.
SELECTION-SCREEN END OF BLOCK sel1.

AT SELECTION-SCREEN OUTPUT.
  

*Application server
  LOOP AT SCREEN.
    IF p_appl EQ 'X' AND screen-group1 EQ 'PRN'.
      screen-output = '0'.
      screen-active = '0'.
      screen-input = '0'.
    ENDIF.
    IF p_appl EQ 'X' AND screen-group1 EQ 'APP'.
      screen-input = '1'.
    ENDIF.

*Presentation server

    IF p_desk EQ 'X' AND screen-group1 EQ 'APP'.
      screen-output = '0'.
      screen-active = '0'.
      screen-input = '0'.
    ENDIF.
    IF p_desk EQ 'X' AND screen-group1 EQ 'PRN'.
      screen-input = '1'.
    ENDIF.
    MODIFY SCREEN.
  ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2009 10:30:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-selection-screen-after-selection-screen/m-p/5757583#M1304233</guid>
      <dc:creator>former_member222860</dc:creator>
      <dc:date>2009-06-15T10:30:02Z</dc:date>
    </item>
    <item>
      <title>Re: creating selection screen after selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-selection-screen-after-selection-screen/m-p/5757584#M1304234</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;It is possible through checkboxes or radio buttons in selection screen.Please follow this code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen.&lt;/P&gt;&lt;P&gt;PARAMETERS: p_test AS CHECKBOX DEFAULT 'X'.&lt;/P&gt;&lt;P&gt;PARAMETERS: p_file TYPE TYPE dxfile-filename MODIF ID ERF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen output.&lt;/P&gt;&lt;P&gt;  IF screen-group1 = 'ERF'&lt;/P&gt;&lt;P&gt;      and p_test = 'X'.&lt;/P&gt;&lt;P&gt;    screen-active = '0'.&lt;/P&gt;&lt;P&gt;    MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2009 10:30:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-selection-screen-after-selection-screen/m-p/5757584#M1304234</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-15T10:30:15Z</dc:date>
    </item>
    <item>
      <title>Re: creating selection screen after selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-selection-screen-after-selection-screen/m-p/5757585#M1304235</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 design the Module Pool screen to hold the two file path option and call this screen in the Start-Of-Selection event.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2009 10:33:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-selection-screen-after-selection-screen/m-p/5757585#M1304235</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-15T10:33:43Z</dc:date>
    </item>
  </channel>
</rss>

