<?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 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3245027#M774520</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;Defining Selection Screens &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are three ABAP statements for defining selection screens:&lt;/P&gt;&lt;P&gt;PARAMETERS for single fields&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS for complex selections&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN for formatting the selection screen and defining user-specific selection screens&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These ABAP statements are included in the declaration part of an ABAP program. When defining selection screens, you must distinguish between standard selection screens for executable programs (reports) and user-defined selection screens for all types of program. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Standard selection screens&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The standard selection screen of executable programs is predefined and has screen number 1000. All PARAMETERS, SELECT-OPTIONS and SELECTION-SCREEN statements that do not occur in the definition of a user-defined selection screen in executable programs (reports), that is, that are not included between the statements&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF ...&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;define the input fields and the formatting of the standard selection screen. For the sake of clarity, you should group together all statements that make up the standard selection screen before defining additional selection screens. You can define input fields of a standard selection screen only in executable programs (reports). In all other programs, the PARAMETERS, SELECT-OPTIONS and SELECTION-SCREEN statements must be included in the above statements. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;User-defined selection screens&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The two statements: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF SCREEN &amp;lt;numb&amp;gt; [TITLE &amp;lt;title&amp;gt;] [AS WINDOW].&lt;/P&gt;&lt;P&gt;  ...&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF SCREEN &amp;lt;numb&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;define a user-defined selection screen with screen number &amp;lt;numb&amp;gt;. All PARAMETERS, SELECT-OPTIONS and SELECTION-SCREEN statements that occur between these two statements define the input fields and the formatting of this selection screen. Screen number &amp;lt;numb&amp;gt; can be any four-digit number apart from 1000 which is the number of the standard selection screen. You must also ensure that you do not accidentally assign a number to a selection screen which is already in use for another screen of the program. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The TITLE &amp;lt;title&amp;gt; addition allows you to define a title for a user-defined selection screen. &amp;lt;Title&amp;gt; can either be a static text symbol or a dynamic character field. If you use a character field, you must not define it using the DATA statement - the system generates it automatically. The character field can be filled during the INITIALIZATION event. The title of standard selection screens is always the name of the executable program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use the AS WINDOW addition to call a user-defined selection screen as a modal dialog box. The window is defined when the screen is called. When you use the AS WINDOW addition, warnings and error messages associated with the selection screen are also displayed as modal dialog boxes, and not in the status bar of the selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you define more than one selection screen in a program, you can re-use elements of one selection screen in another using the following statement:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION SCREEN INCLUDE          BLOCKS &amp;lt;block&amp;gt; &lt;/P&gt;&lt;P&gt;                         |     PARAMETERS &amp;lt;p&amp;gt;  &lt;/P&gt;&lt;P&gt;                         | SELECT-OPTIONS &amp;lt;selcrit&amp;gt; &lt;/P&gt;&lt;P&gt;                         |        COMMENT &amp;lt;comm&amp;gt;  &lt;/P&gt;&lt;P&gt;                         |    PUSH-BUTTON.&amp;lt;push&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can specify any of the following elements that have already been declared in another selection screen:&lt;/P&gt;&lt;P&gt;Blocks with name &amp;lt;block&amp;gt;&lt;/P&gt;&lt;P&gt;Parameters with name &amp;lt;p&amp;gt;&lt;/P&gt;&lt;P&gt;Selection criteria with name &amp;lt;selcrit&amp;gt;&lt;/P&gt;&lt;P&gt;Comments with name &amp;lt;comm&amp;gt;&lt;/P&gt;&lt;P&gt;Pushbuttons with name &amp;lt;push&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GUI Status of Selection Screens&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The GUI status of a selection screen is generated by the system. The SET PF-STATUS statement in the PBO event of the selection screen has no effect on the standard GUI status. If you want to use your own GUI status for a selection screen or deactivate functions in the standard GUI status, you can use one of the following function modules in the PBO event of the selection screen: &lt;/P&gt;&lt;P&gt;RS_SET_SELSCREEN_STATUS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sets another GUI status defined in the same ABAP program, or deactivates functions of the standard GUI status. &lt;/P&gt;&lt;P&gt;RS_EXTERNAL_SELSCREEN_STATUS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sets a GUI status defined in an external function group. You must use the SET PF-STATUS statement to set the status in a special function module in this function group. You must pass the name of the function module that sets the status as a parameter to the function module RS_EXTERNAL_SELSCREEN_STATUS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT SELSCREENDEF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS PAR1 ... .&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS SEL1 FOR ... .&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF SCREEN 500 AS WINDOW.&lt;/P&gt;&lt;P&gt;  PARAMETERS PAR2 ... .&lt;/P&gt;&lt;P&gt;  SELECT-OPTIONS SEL2 FOR ... .&lt;/P&gt;&lt;P&gt;  ...&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF SCREEN 500.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF SCREEN 600 TITLE TEXT-100.&lt;/P&gt;&lt;P&gt;  SELECTION-SCREEN INCLUDE: PARAMETERS PAR1,&lt;/P&gt;&lt;P&gt;                            SELECT-OPTIONS SEL1.&lt;/P&gt;&lt;P&gt;  PARAMETERS PAR3 ... .&lt;/P&gt;&lt;P&gt;  SELECT-OPTIONS SEL3 ... .&lt;/P&gt;&lt;P&gt;  ...&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF SCREEN 600.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Three selection screens - the standard selection screen and two user-defined selection screens - are defined. The program must have type 1 in order for a standard selection screen to be generated. Selection screen 500 is defined to be called as a modal dialog box. Selection screen 600 contains text symbol 100 as its title, and uses elements PAR1 and SEL1 from the standard selection screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and go through the link&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_47x200/helpdata/en/e4/2adbec449911d1949c0000e8353423/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_47x200/helpdata/en/e4/2adbec449911d1949c0000e8353423/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plzz reward if i am usefull to u in any way&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Jan 2008 15:45:35 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-04T15:45:35Z</dc:date>
    <item>
      <title>SELECTION SCREEN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3245024#M774517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;WHAT IS AN EXACT DEFINITION OF SELECTION SCREEN?????&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jan 2008 15:29:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3245024#M774517</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-04T15:29:49Z</dc:date>
    </item>
    <item>
      <title>Re: SELECTION SCREEN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3245025#M774518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Taken directly from F1 Help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;Selection screen - overview&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;Selection screens as screens&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;EM&gt;Selection screens are special screens that can be defined in executable programs, function groups and module pools. Selection screens are defined in the global declaration section of the mentioned ABAP programs with the statements SELECT-OPTIONS, SELECTION-SCREEN and PARAMETERS without using the Screen Painter. The screens of selection screens can contain a subset of the screen elements of general screens.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Selection screens lie in the same namespace as the screens of the program. Additionally, dynpro number 1000 is reserved for a standard selection screen. Apart from the standard selection screen, you can define independent selection screens. Independent selection screens can only be defined in function groups and module pools.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;When an ABAP program is activated, the components of the program selection screen, i.e., screens with screen elements and screen flow logic, are automatically generated.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;Selection Screen Tasks&lt;/EM&gt;&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Selection screens essentially have two tasks:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;They enable users to input parameters (single values) and selection criteria (interval selections in tabular form).&lt;/EM&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;they represent the executable interface programs, whose input fields can be supplied by the calling program with SUBMIT.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;GUI Status of Selection Screens&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;EM&gt;The GUI status of a selection screen is generated automatically during the generation of a program. A statement SET PF-STATUS at the selection screen PBO does not affect this GUI status. To define a separate GUI status for a selection screen or to deactivate the functions of the screen generated, you can use one of the function modules RS_SET_SELSCREEN_STATUS or RS_EXTERNAL_SELSCREEN_STATUS, in exceptional cases. The title in the title bar of the standard selection screens cannot be changed, and is always the title of the executable program as defined in the program properties.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;Selection Screen Events&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;EM&gt;No dialog modules for selection screens can be defined in the ABAP program. Instead, the runtime environment triggers specific events during PBO and PAI processing of the screen, which can be handled in corresponding event blocks during selection screen processing.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;Selection Screens and Logical Databases&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;EM&gt;In a logical database, you can also define a standard selection screen. If an executable program is linked to a logical database, its standard selection screen is composed of the logical database and its own database.&lt;/EM&gt; &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>Fri, 04 Jan 2008 15:34:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3245025#M774518</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2008-01-04T15:34:24Z</dc:date>
    </item>
    <item>
      <title>Re: SELECTION SCREEN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3245026#M774519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Selection screens&lt;/STRONG&gt; are special screens that are defined with the help of ABAP statements. As programmers do not have access to the flow logic of selection screens, they cannot define dialog modules for selection screens. The ABAP runtime environment fully controls the processing flow of selection screens. To allow programmers to modify the selection screen before it is called (PBO) and react to user actions on the selection screen (PAI), the ABAP runtime environment generates a number of special selection screen events before the selection screen is displayed and after the user has executed actions on the selection screen. Programmers can define event blocks in the program to react to these events.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The basic form of the selection screen events is the AT SELECTION-SCREEN event&lt;/STRONG&gt;. This event occurs after the runtime environment has passed all input data from the selection screen to the ABAP program. The other selection screen events allow programmers to modify the selection screen before it is sent and specifically check user input. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Selection screen events occur both during standard and user-defined selection screen processing. The SY-DYNNR system field contains the number of the active selection screen and helps you to determine which selection screen is currently being processed in the event blocks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Selection Screen Events&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The event keyword AT SELECTION-SCREEN provides you with several possibilities to carry out processing blocks while the system is processing the selection screen. To react on different events, that can occur when the selection screen is processed, the keyword AT SELECTION-SCREEN has various options.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Applications of the event AT-SELECTION SCREEN are used in conjunction with particular options of the PARAMETERS and SELECT-OPTIONS statements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you specify the event keyword without any option, the corresponding processing block is started after the system has finished processing the selection screen. If an error message is sent from this processing block, the system displays the selection screen again and all input fields can be changed. It is your task to supply an appropriate error message. The text of the message can be created, changed, and stored in a language-dependent system table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This method enables you, for example, to make input fields mandatory, although they were not defined with the OBLIGATORY option of the PARAMETERS or SELECT-OPTIONS statement in the logical database program. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The options of the event keyword AT SELECTION-SCREEN enable you to create processing blocks for special events during the processing of the selection screen. These events are described in the following topics in ABAP/4 Help: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Processing a Particular Input Field &lt;/P&gt;&lt;P&gt;Processing Multiple Selection &lt;/P&gt;&lt;P&gt;Creating a List of Input Values &lt;/P&gt;&lt;P&gt;Creating Help for Input Fields &lt;/P&gt;&lt;P&gt;Processing a Group of Radio Buttons &lt;/P&gt;&lt;P&gt;Processing a Block of Input Fields &lt;/P&gt;&lt;P&gt;PBO of the Selection Screen &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this link for more details.&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/56/1eb6c705ad11d2952f0000e8353423/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/56/1eb6c705ad11d2952f0000e8353423/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Maha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jan 2008 15:40:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3245026#M774519</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-04T15:40:01Z</dc:date>
    </item>
    <item>
      <title>Re: SELECTION SCREEN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3245027#M774520</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;Defining Selection Screens &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are three ABAP statements for defining selection screens:&lt;/P&gt;&lt;P&gt;PARAMETERS for single fields&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS for complex selections&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN for formatting the selection screen and defining user-specific selection screens&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These ABAP statements are included in the declaration part of an ABAP program. When defining selection screens, you must distinguish between standard selection screens for executable programs (reports) and user-defined selection screens for all types of program. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Standard selection screens&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The standard selection screen of executable programs is predefined and has screen number 1000. All PARAMETERS, SELECT-OPTIONS and SELECTION-SCREEN statements that do not occur in the definition of a user-defined selection screen in executable programs (reports), that is, that are not included between the statements&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF ...&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;define the input fields and the formatting of the standard selection screen. For the sake of clarity, you should group together all statements that make up the standard selection screen before defining additional selection screens. You can define input fields of a standard selection screen only in executable programs (reports). In all other programs, the PARAMETERS, SELECT-OPTIONS and SELECTION-SCREEN statements must be included in the above statements. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;User-defined selection screens&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The two statements: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF SCREEN &amp;lt;numb&amp;gt; [TITLE &amp;lt;title&amp;gt;] [AS WINDOW].&lt;/P&gt;&lt;P&gt;  ...&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF SCREEN &amp;lt;numb&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;define a user-defined selection screen with screen number &amp;lt;numb&amp;gt;. All PARAMETERS, SELECT-OPTIONS and SELECTION-SCREEN statements that occur between these two statements define the input fields and the formatting of this selection screen. Screen number &amp;lt;numb&amp;gt; can be any four-digit number apart from 1000 which is the number of the standard selection screen. You must also ensure that you do not accidentally assign a number to a selection screen which is already in use for another screen of the program. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The TITLE &amp;lt;title&amp;gt; addition allows you to define a title for a user-defined selection screen. &amp;lt;Title&amp;gt; can either be a static text symbol or a dynamic character field. If you use a character field, you must not define it using the DATA statement - the system generates it automatically. The character field can be filled during the INITIALIZATION event. The title of standard selection screens is always the name of the executable program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use the AS WINDOW addition to call a user-defined selection screen as a modal dialog box. The window is defined when the screen is called. When you use the AS WINDOW addition, warnings and error messages associated with the selection screen are also displayed as modal dialog boxes, and not in the status bar of the selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you define more than one selection screen in a program, you can re-use elements of one selection screen in another using the following statement:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION SCREEN INCLUDE          BLOCKS &amp;lt;block&amp;gt; &lt;/P&gt;&lt;P&gt;                         |     PARAMETERS &amp;lt;p&amp;gt;  &lt;/P&gt;&lt;P&gt;                         | SELECT-OPTIONS &amp;lt;selcrit&amp;gt; &lt;/P&gt;&lt;P&gt;                         |        COMMENT &amp;lt;comm&amp;gt;  &lt;/P&gt;&lt;P&gt;                         |    PUSH-BUTTON.&amp;lt;push&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can specify any of the following elements that have already been declared in another selection screen:&lt;/P&gt;&lt;P&gt;Blocks with name &amp;lt;block&amp;gt;&lt;/P&gt;&lt;P&gt;Parameters with name &amp;lt;p&amp;gt;&lt;/P&gt;&lt;P&gt;Selection criteria with name &amp;lt;selcrit&amp;gt;&lt;/P&gt;&lt;P&gt;Comments with name &amp;lt;comm&amp;gt;&lt;/P&gt;&lt;P&gt;Pushbuttons with name &amp;lt;push&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GUI Status of Selection Screens&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The GUI status of a selection screen is generated by the system. The SET PF-STATUS statement in the PBO event of the selection screen has no effect on the standard GUI status. If you want to use your own GUI status for a selection screen or deactivate functions in the standard GUI status, you can use one of the following function modules in the PBO event of the selection screen: &lt;/P&gt;&lt;P&gt;RS_SET_SELSCREEN_STATUS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sets another GUI status defined in the same ABAP program, or deactivates functions of the standard GUI status. &lt;/P&gt;&lt;P&gt;RS_EXTERNAL_SELSCREEN_STATUS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sets a GUI status defined in an external function group. You must use the SET PF-STATUS statement to set the status in a special function module in this function group. You must pass the name of the function module that sets the status as a parameter to the function module RS_EXTERNAL_SELSCREEN_STATUS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT SELSCREENDEF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS PAR1 ... .&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS SEL1 FOR ... .&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF SCREEN 500 AS WINDOW.&lt;/P&gt;&lt;P&gt;  PARAMETERS PAR2 ... .&lt;/P&gt;&lt;P&gt;  SELECT-OPTIONS SEL2 FOR ... .&lt;/P&gt;&lt;P&gt;  ...&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF SCREEN 500.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF SCREEN 600 TITLE TEXT-100.&lt;/P&gt;&lt;P&gt;  SELECTION-SCREEN INCLUDE: PARAMETERS PAR1,&lt;/P&gt;&lt;P&gt;                            SELECT-OPTIONS SEL1.&lt;/P&gt;&lt;P&gt;  PARAMETERS PAR3 ... .&lt;/P&gt;&lt;P&gt;  SELECT-OPTIONS SEL3 ... .&lt;/P&gt;&lt;P&gt;  ...&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF SCREEN 600.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Three selection screens - the standard selection screen and two user-defined selection screens - are defined. The program must have type 1 in order for a standard selection screen to be generated. Selection screen 500 is defined to be called as a modal dialog box. Selection screen 600 contains text symbol 100 as its title, and uses elements PAR1 and SEL1 from the standard selection screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and go through the link&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_47x200/helpdata/en/e4/2adbec449911d1949c0000e8353423/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_47x200/helpdata/en/e4/2adbec449911d1949c0000e8353423/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plzz reward if i am usefull to u in any way&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jan 2008 15:45:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3245027#M774520</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-04T15:45:35Z</dc:date>
    </item>
    <item>
      <title>Re: SELECTION SCREEN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3245028#M774521</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;Selection Screens &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Selection screens are one of the three types of screen in the R/3 System, along with dialog screens and lists. You use them whenever you want the user to enter either a single value for a field or fields, or to enter selection criteria. &lt;/P&gt;&lt;P&gt;Function&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ABAP programs use screens to obtain input from users. The most general type of screen is a dialog screen, which you create using the ABAP Workbench tools Screen Painter and Menu Painter These tools allow you to create screens for data input and output. However, each of these screens requires its own flow logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You often use screens purely for data input . In these cases, you can use a selection screen. Selection screens provide a standardized user interface in the R/3 System.  Users can enter both single values and complex selections.  Input parameters are primarily used to control the program flow, while users can enter selection criteria to restrict the amount of data read from the database. You can create and save predefined sets of input values in the ABAP Editor for any selection screen. These are called variants.  Texts on the selection screen are stored as language-specific selection texts in the program text elements.  If you start an executable report using the SUBMIT statement, the input fields of the selection screen also serve as a data interface.&lt;/P&gt;&lt;P&gt;Defining and Calling Selection Screens&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You define selection screens using ABAP statements in a program.  Simple statements allow you to create input fields, checkboxes, and radio buttons, and design the screen layout.  If you want to create a screen exclusively for data input, you do not need to create it using the normal dialog programming tools. When you create a selection screen, the system automatically assumes the tasks of the Screen Painter and Menu Painter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The rules for calling and defining selection screens in ABAP programs depend on the program type:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·         Executable program (type 1) without logical database&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use a single standard selection screen and as many user-defined selection screens as you wish. The standard selection screen is called automatically when you start the program.  User-defined selection screens, on the other hand, are called using the CALL SELECTION-SCREEN statement in a program.  The standard selection screen always has the screen number 1000. User-defined selection screens can have any screen number except 1000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·         Executable program (type 1) with logical database&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The standard selection screen for an executable program linked to a logical database is made up of the logical database selections and the program selections.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·         Module pools (type M) and function modules (type F)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can only use user-defined selection screens in module pools and function modules. These can have any number apart from 1000. You can only call a selection screen from a function module using the CALL SELECTION-SCREEN statement. You can also define selection screens as Subscreens and incorporate them in screens or tabstrip controls.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;plzz reward if it is usefull&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jan 2008 15:47:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3245028#M774521</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-04T15:47:20Z</dc:date>
    </item>
  </channel>
</rss>

