<?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 selection screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2471949#M555804</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can u create more than one selection screen? if yes  explain ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Jun 2007 09:12:42 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-25T09:12:42Z</dc:date>
    <item>
      <title>selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2471949#M555804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can u create more than one selection screen? if yes  explain ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jun 2007 09:12:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2471949#M555804</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-25T09:12:42Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2471950#M555805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes,we can &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;first give check boxes ,based on check box.........u can get ur selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;ram.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jun 2007 09:15:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2471950#M555805</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-25T09:15:09Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2471951#M555806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Why you need more than one selection screen for a program? one is enough and we create a single selection screen only(1000) for a report program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward points for useful Answers as per SDN norms&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jun 2007 09:15:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2471951#M555806</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-25T09:15:44Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2471952#M555807</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 create .Based on conditions you can call required selection screens....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Don't forget to reward if useful....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jun 2007 09:16:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2471952#M555807</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-25T09:16:23Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2471953#M555808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Yes,we can create more than one selection screen.Suppose if u r going to upload the datas of an employee in an Organization,u willl create seperate screen for entering his datas for his personal &amp;amp; official details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Padmam.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jun 2007 09:18:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2471953#M555808</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-25T09:18:37Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2471954#M555809</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;&lt;/P&gt;&lt;P&gt;Yes , you can create more than one selection screen..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See the example code below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK BL_1 WITH FRAME TITLE TEXT-000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS: S_MATNR FOR MARA-MATNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK BL_2 WITH FRAME TITLE TEXT-001.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS: R1 RADIOBUTTON GROUP RAD1 DEFAULT 'X',&lt;/P&gt;&lt;P&gt;            R2 RADIOBUTTON GROUP RAD1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK BL_2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK BL_1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;The plant selection screen.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF SCREEN 1111.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS S_WERKS FOR MARC-WERKS NO INTERVALS.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN INCLUDE : SELECT-OPTIONS S_MATNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF SCREEN 1111.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*The sales selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF SCREEN 2222.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS S_VKORG FOR MVKE-VKORG NO INTERVALS.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN INCLUDE : SELECT-OPTIONS S_MATNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF SCREEN 2222.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Logic For Plant Data Selection.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;**----If plant selected&lt;/P&gt;&lt;P&gt;  IF R1 = 'X'.&lt;/P&gt;&lt;P&gt;    CALL SELECTION-SCREEN 1111.&lt;/P&gt;&lt;P&gt;     ELSEIF R2 = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CALL SELECTION-SCREEN 2222.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suruchi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jun 2007 09:18:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2471954#M555809</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-25T09:18:54Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2471955#M555810</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;Yes we can create more then one selection screen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Variants&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. SELECTION-SCREEN BEGIN OF LINE. &lt;/P&gt;&lt;P&gt;2. SELECTION-SCREEN END OF LINE. &lt;/P&gt;&lt;P&gt;3. SELECTION-SCREEN SKIP n. &lt;/P&gt;&lt;P&gt;4. SELECTION-SCREEN ULINE. &lt;/P&gt;&lt;P&gt;5. SELECTION-SCREEN POSITION pos. &lt;/P&gt;&lt;P&gt;6. SELECTION-SCREEN COMMENT fmt name. &lt;/P&gt;&lt;P&gt;7. SELECTION-SCREEN PUSHBUTTON fmt name USER-COMMAND ucom. &lt;/P&gt;&lt;P&gt;8. SELECTION-SCREEN BEGIN OF BLOCK block. &lt;/P&gt;&lt;P&gt;9. SELECTION-SCREEN END OF BLOCK block. &lt;/P&gt;&lt;P&gt;10. SELECTION-SCREEN FUNCTION KEY n. &lt;/P&gt;&lt;P&gt;11. SELECTION-SCREEN BEGIN OF VERSION ver TEXT-xxx. &lt;/P&gt;&lt;P&gt;12. SELECTION-SCREEN END OF VERSION ver. &lt;/P&gt;&lt;P&gt;13. SELECTION-SCREEN EXCLUDE ... . &lt;/P&gt;&lt;P&gt;14. SELECTION-SCREEN DYNAMIC SELECTIONS FOR TABLE dbtab. &lt;/P&gt;&lt;P&gt;15. SELECTION-SCREEN FIELD SELECTION FOR TABLE dbtab. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect&lt;/P&gt;&lt;P&gt;The key word SELECTION-SCREEN only makes sense in reports, i.e. programs specified as type "1" in the attributes. You use it to design the selection screen in the program or logical database access routine. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The selection screen is normally generated from the SELECT-OPTIONS and PARAMETERS statements in the report and logical database access routine. Each of these objects occupies a separate line on the selection screen. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN allows you to form blocks, combine several parameters and comments together on one line, generate pushbuttons on the screen or activate them in the application toolbar, as well as insert blank lines, underscore lines and comments. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like SELECT-OPTIONS and PARAMETERS , you can use SELECTION-SCREEN statements in reports and in the include program DBldbSEL of the logical database ldb assigned to the report in the attributes. Some variants are defined only for logical databases and can therefore only be used in the include program DBldbSEL . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Variant 1&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF LINE. &lt;/P&gt;&lt;P&gt;Variant 2&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF LINE. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect&lt;/P&gt;&lt;P&gt;Allows you to combine several parameters and comments specified between the SELECTION-SCREEN BEGIN OF LINE and SELECTION-SCREEN END OF LINE statements and output them on one line. As a result, there is no automatic new line for each PARAMETER and no selection texts are displayed. &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;SELECTION-SCREEN BEGIN OF LINE.&lt;/P&gt;&lt;P&gt;  SELECTION-SCREEN COMMENT 1(10) TEXT-001.&lt;/P&gt;&lt;P&gt;  PARAMETERS: P1(3), P2(5), P3(1).&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF LINE.&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;&lt;/P&gt;&lt;P&gt;Comment ___ _____ _ &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note&lt;/P&gt;&lt;P&gt;You cannot order SELECT-OPTIONS between SELECTION-SCREEN BEGIN OF LINE and SELECTION-SCREEN END OF LINE because several objects are generated on the selection screen for a SELECT-OPTION (e.g. fields for the lower and upper limits of ranges). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Variant 3&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN SKIP n. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Additions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. ... FOR TABLE dbtab &lt;/P&gt;&lt;P&gt;2. ... ID id &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect&lt;/P&gt;&lt;P&gt;Generates n blank lines (see also SKIP ). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You must specify a value for n between 1 and 9. If you want to output just one blank line, you can omit n . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition 1&lt;/P&gt;&lt;P&gt;... FOR TABLE dbtab &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect&lt;/P&gt;&lt;P&gt;This addition is allowed only in the database include program DBldbSEL . It is, in fact, a requirement. If you use SELECTION-SCREEN SKIP in DBldbSEL , you must assign the statement to a table (or to a field - see the variant COMMENT . &lt;/P&gt;&lt;P&gt;This assignment is necessary in order to restrict the SELECTION-SCREEN statements for a report selection screen to those relevant for the tables used in the report, i.e. those which refer to a table used in the report. Any SELECTION-SCREEN statement assigned to a table not used in the report with the addition FOR TABLE dbtab are ignored when the report selection screen is generated. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note&lt;/P&gt;&lt;P&gt;A table dbtab of the logical database ldb is considered as "used in the report" if it is either declared in a TABLES statement or its position in the database hierarchy lies somewhere between the root and a table dbtab_2 declared in the report. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example&lt;/P&gt;&lt;P&gt;Hierarchy of logical database ldb : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; SPFLI&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  -&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt;  SAPLANE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;         -&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt;  SFLIGHT&lt;/P&gt;&lt;P&gt;                |&lt;/P&gt;&lt;P&gt;                -&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt;  SBOOK&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the report:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; TABLES SFLIGHT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tables considered as "used" include  SFLIGHT  (since it is&lt;/P&gt;&lt;P&gt;declared directly), as well as  SAPLANE  and  SPFLI  (since&lt;/P&gt;&lt;P&gt;they lie on the path from the hierarchy root " SPFLI " to the&lt;/P&gt;&lt;P&gt;declared table  SFLIGHT ). The table  SBOOK  is not&lt;/P&gt;&lt;P&gt;considered  as used, i.e. all the  SELECTION-SCREEN  statements&lt;/P&gt;&lt;P&gt;qualified with the addition " FOR TABLE SBOOK " in  DBldbSEL&lt;/P&gt;&lt;P&gt;are ignored.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition 2&lt;/P&gt;&lt;P&gt;... ID id &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect&lt;/P&gt;&lt;P&gt;This addition is allowed only in the database include program DBldbSEL . It is used to identify a SELECTION-SCREEN object (in this case blank lines) via an ID which can be up to 3 characters long. This ID is then specified in SELECTION-SCREEN EXCLUDE IDS id in order to exclude the object from a selection screen version. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Variant 4&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN ULINE. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Additions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. ... fmt &lt;/P&gt;&lt;P&gt;2. ... FOR TABLE dbtab &lt;/P&gt;&lt;P&gt;3. ... MODIF ID mod &lt;/P&gt;&lt;P&gt;4. ... ID id &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect&lt;/P&gt;&lt;P&gt;Generates an underline (see also ULINE ). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition 1&lt;/P&gt;&lt;P&gt;... fmt &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect&lt;/P&gt;&lt;P&gt;Format specification with the form /pos(len) , pos(len) or (len) . The slash ( / ) generates a new line and is therefore not allowed between BEGIN OF LINE and END OF LINE . The effect of the statement is to underscore the current line starting from the position pos for the length len . The variant (len) (without position specification) is allowed only between BEGIN OF LINE and END OF LINE . In this case, the current position in the line is used. See also WRITE . &lt;/P&gt;&lt;P&gt;You can specify the position pos as a number (in this case, it is relative to the frame if the statement comes between SELECTION-SCREEN BEGIN OF BLOCK ... WITH FRAME ... and SELECTION-SCREEN END OF BLOCK ... ). Also allowed are the symbolic positions POS_LOW and POS_HIGH . These are the positions at which the input fields of the SELECT-OPTI ONS are output ( POS_LOW is also the position of PARAMETERS . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note&lt;/P&gt;&lt;P&gt;Format specifications which do not generate a new line can produce overlapping objects on the selection screen. Therefore, you should be particularly careful with position and length specifications. &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;SELECTION-SCREEN ULINE /1(10).&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN ULINE POS_LOW(10).&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN ULINE POS_HIGH(10).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This generates three underscore blocks, each with a length of 10, on one line. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition 2&lt;/P&gt;&lt;P&gt;... FOR TABLE dbtab &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect&lt;/P&gt;&lt;P&gt;See variant 3 ( SELECTION-SCREEN SKIP ). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition 3&lt;/P&gt;&lt;P&gt;... MODIF ID mod &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect&lt;/P&gt;&lt;P&gt;The specified modification group ( SCREEN-GROUP1 ) is assigned to the underscore. You can use this under AT SELECTION-SCREEN in the report or in the PAI routine of the database program SAPDBldb to modify the screen. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note&lt;/P&gt;&lt;P&gt;The name of the modification group must be specified without quotation marks. It can be up to three characters long. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition 4&lt;/P&gt;&lt;P&gt;... ID id &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect&lt;/P&gt;&lt;P&gt;See variant 3 ( SELECTION-SCREEN SKIP ) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Variant 5&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN POSITION pos. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;... FOR TABLE dbtab &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect&lt;/P&gt;&lt;P&gt;Outputs the parameter starting from the position pos . &lt;/P&gt;&lt;P&gt;This variant is allowed only between SELECTION-SCREEN BEGIN OF LINE&amp;lt; /&amp;gt; and SELECTION-SCREEN END OF LINE . &lt;/P&gt;&lt;P&gt;As with the addition ULINE , you can specify the position as fixed (if necessary relative to the frame) or symbolically in the form POS_LOW or POS_HIGH . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition&lt;/P&gt;&lt;P&gt;... FOR TABLE dbtab &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect&lt;/P&gt;&lt;P&gt;See variant 3 ( SELECTION-SCREEN SKIP ) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Variant 6&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN COMMENT fmt name. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Additions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. ... FOR TABLE dbtab &lt;/P&gt;&lt;P&gt;2. ... FOR FIELD f &lt;/P&gt;&lt;P&gt;3. ... MODIF ID mod &lt;/P&gt;&lt;P&gt;4. ... ID id &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect&lt;/P&gt;&lt;P&gt;Generates a comment on the selection screen. For the name name , there are two options: &lt;/P&gt;&lt;P&gt;name takes the form TEXT-xxx where xxx is a three-character name for a text symbol. In this case, the contents of the text symbol are displayed at runtime, i.e. the text cannot be changed dynamically. name is another eight-character name. Here, you create a field with the name name in the length specified in the format fmt&amp;lt; /&amp;gt; and it is then generated as an output field on the selection screen. The contents of these comments must therefore be set at runtime (e.g. at INITIALIZATION or - in the case of comments in the database include program DBldbSEL - in the routine INIT of the database program SAPDBldb . They can also be changed when the selection screen is being processed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note&lt;/P&gt;&lt;P&gt;The field name is generated automatically and so cannot be defined with DATA . &lt;/P&gt;&lt;P&gt;With comments, you must always specify a format fmt (see variant ULINE ). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note&lt;/P&gt;&lt;P&gt;You must program a new line yourself via the format fmt . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition 1&lt;/P&gt;&lt;P&gt;... FOR TABLE dbtab &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note&lt;/P&gt;&lt;P&gt;See variation 3 (SELECTION-SCREEN SKIP). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition 2&lt;/P&gt;&lt;P&gt;... FOR FIELD f &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect&lt;/P&gt;&lt;P&gt;Since the comment is assigned to a parameteror a select-option , the help display shows the documentation of the reference field if this parameter or selection option. &lt;/P&gt;&lt;P&gt;In addition, the comment is suppressed if the reference object was set to 'invisible' via a selection variant. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note&lt;/P&gt;&lt;P&gt;In database access routines, the comment is generated whenever the reference field is output. Therefore, you should not use the addition FOR TABLE with this variant. &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;SELECTION-SCREEN BEGIN OF LINE.&lt;/P&gt;&lt;P&gt;  SELECTION-SCREEN COMMENT 10(20) TEXT-001&lt;/P&gt;&lt;P&gt;                   FOR FIELD PARM.&lt;/P&gt;&lt;P&gt;  SELECTION-SCREEN POSITION POS_LOW.&lt;/P&gt;&lt;P&gt;  PARAMETERS PARM LIKE SAPLANE-PLANETYPE.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This code displays a 20-byte long comment followed by the parameter at the normal position ( POS_LOW ) on the same line. If the user presses F1 for both objects, the documentation of SAPLANE-PLANETYPE is displayed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition 3&lt;/P&gt;&lt;P&gt;... MODIF ID mod &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect&lt;/P&gt;&lt;P&gt;See variant 4 ( SELECTION-SCREEN ULINE ) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition 4&lt;/P&gt;&lt;P&gt;... ID id &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect&lt;/P&gt;&lt;P&gt;See variant 3 ( SELECTION-SCREEN SKIP ) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Variant 7&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN PUSHBUTTON fmt name USER-COMMAND ucom. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Additions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. ... FOR TABLE dbtab &lt;/P&gt;&lt;P&gt;2. ... MODIF ID mod &lt;/P&gt;&lt;P&gt;3. ... ID id &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect&lt;/P&gt;&lt;P&gt;Generates a pushbutton on the selection screen. Also specified is the user command ucom (without quotation marks) which can be up to 4 characters long. This is generated when the user presses the button. Apart from this, the syntax is largely similar to that of SELECTION-SCREEN COMMENT : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the name name , there are two options: &lt;/P&gt;&lt;P&gt;name takes the form TEXT-xxx where xxx is a three-character name for a text symbol. In this case, the contents of the text symbol are displayed at runtime, i.e. the text cannot be changed dynamically. name is another eight-character name. Here, you create a field with the name name in the length specified in the format fmt&amp;lt; /&amp;gt; and it is then generated as an output field on the selection screen. The contents of these comments must therefore be set at runtime (e.g. at INITIALIZATION or - in the case of comments in the database include program DBldbSEL - in the routine INIT of the database program SAPDBldb . They can also be changed when the selection screen is being processed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note&lt;/P&gt;&lt;P&gt;The field name is generated automatically and so cannot be defined with DATA . &lt;/P&gt;&lt;P&gt;With pushbuttons, you must always specify a format fmt (see variant ULINE ). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note&lt;/P&gt;&lt;P&gt;You must program a new line yourself via the format fmt . &lt;/P&gt;&lt;P&gt;The best way to respond to the user pressing the pushbutton is in the event AT SELECTION-SCREEN or - in the case of pushbuttons in the database include program DBldbSEL - in the routine PAI (with FNAME = '*' and MARK = SPACE ) in the database program SAPDBldb . Here, the field SSCRFIELDS-UCOMM contains the user command ucom (the table SSCRFIELDS must be declared with the TABLES statement). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition 1&lt;/P&gt;&lt;P&gt;... FOR TABLE dbtab &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect&lt;/P&gt;&lt;P&gt;See variant 3 ( SELECTION-SCREEN SKIP ) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition 2&lt;/P&gt;&lt;P&gt;... MODIF ID mod &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect&lt;/P&gt;&lt;P&gt;See variant 4 ( SELECTION-SCREEN ULINE ) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition 3&lt;/P&gt;&lt;P&gt;... ID id &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect&lt;/P&gt;&lt;P&gt;See variant 3 ( SELECTION-SCREEN SKIP ) &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;TABLES SSCRFIELDS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN PUSHBUTTON /10(20) CHARLY USER-COMMAND ABCD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INITIALIZATION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  MOVE 'My text' TO CHARLY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF SSCRFIELDS-UCOMM = 'ABCD'.&lt;/P&gt;&lt;P&gt;    ...&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The selection screen displays a pushbutton with the text 'My text' . With AT SELECTION-SCREEN , the field SSCRFIELDS-UCOMM contains ABCD after the user has pressed the button. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Variant 8&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK block. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Additions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. ... WITH FRAME &lt;/P&gt;&lt;P&gt;2. ... TITLE title &lt;/P&gt;&lt;P&gt;3. ... NO INTERVALS &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect&lt;/P&gt;&lt;P&gt;Starts a logical block on the selection screen. If you use the addition WITH FRAME , a frame is generated around the block. The addition TITLE title is allowed only in conjunction with WITH FRAME . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the title title ,there are two options (see also the variants COMMENT and PUSHBUTTON &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; &lt;/P&gt;&lt;P&gt;title takes the form TEXT-xxx where xxx is a three-character name for a text symbol. In this case, the contents of the text symbol are displayed at runtime, i.e. the text cannot be changed dynamically. title is another eight-character name. Here, you create a field with the name title in the length specified in the format fmt&amp;lt; /&amp;gt; and it is then generated as an output field on the selection screen. The contents of these comments must therefore be set at runtime (e.g. at INITIALIZATION or - in the case of comments in the database include program DBldbSEL - in the routine INIT of the database program SAPDBldb . They can also be changed when the selection screen is being processed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note&lt;/P&gt;&lt;P&gt;The field title is generated automatically and so cannot be defined with DATA . &lt;/P&gt;&lt;P&gt;At runtime, the event AT SELECTION-SCREEN ON BLOCK block is executed for every block in the PAI module of the selection screen (with database- specific blocks, the PAI module in the program SAPDBldb is also executed with the parameters FNAME = BLOCK_block and MARK = SPACE ). If this produces an error message, just the fields of this block are ready for input. &lt;/P&gt;&lt;P&gt;You can nest blocks. The maximum nesting depth for blocks with frames is 5. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition 3&lt;/P&gt;&lt;P&gt;... NO INTERVALS &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect&lt;/P&gt;&lt;P&gt;Displays all SELECT-OPTIONS within the block in simplified form without a 'to' field on the selection screen (like the addition " NO INTERVALS " with SELECT-OPTIONS ). If the block has a frame, this is correspondingly small. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note&lt;/P&gt;&lt;P&gt;In the case of blocks without frames, the attribute " NO INTERVALS " is not inherited by subordinate blocks. However, all subordinate blocks of blocks with frames inherit this attribute because the generated frame is smaller and there is no space for the 'to' field. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Variant 9&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK block. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect&lt;/P&gt;&lt;P&gt;Closes the block opened by SELECTION-SCREEN BEGIN OF BLOCK block . If the block has a frame, the frame is closed here. Blocks opened in the include program DBldbSEL must also be closed there. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note&lt;/P&gt;&lt;P&gt;Blocks defined in the database include program DBldbSEL must also be close there. As with SELECTION-SCREEN BEGIN OF LINE and SELECTION-SCREEN END OF LINE , you cannot use the addition FOR TABLE with blocks. Instead, the objects in the blocks (selection options , parameters , comments, underscores ...) are omitted if the table to which they belong is not used in the report (see note under variant SELECTION-SCREEN SKIP ). Empty blocks (possibly with frames) are also omitted. &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;TABLES SAPLANE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK CHARLY&lt;/P&gt;&lt;P&gt;                 WITH FRAME TITLE TEXT-001.&lt;/P&gt;&lt;P&gt;  PARAMETERS PARM(5).&lt;/P&gt;&lt;P&gt;  SELECT-OPTIONS SEL FOR SAPLANE-PLANETYPE.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END   OF BLOCK CHARLY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Let TEXT-001 contain 'Block Charly' ). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Selection screen: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;DEL&gt;Block Charly&lt;/DEL&gt;--&lt;/P&gt;&lt;HR originaltext="------------------------------" /&gt;&lt;P&gt; &lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;PARM _____&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;| SEL ________ bis ________ | &lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="------------------------------------------------" /&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Variant 10&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN FUNCTION KEY n. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Additions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. ... FOR TABLE dbtab &lt;/P&gt;&lt;P&gt;2. ... ID id &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect&lt;/P&gt;&lt;P&gt;With this variant, you can activate up to 5 function keys in the application toolbar on the selection screen ( n is one of the numbers 1 to 5). &lt;/P&gt;&lt;P&gt;At runtime, the text must be placed in the Dictionary field SSCRFIELDS-FUNCTXT_01 or ... SSCRFIELDS-FUNCTXT_05 . &lt;/P&gt;&lt;P&gt;The function code placed in the field SSCRFIELDS-UCOMM is 'FC01' or ... 'FC05' . You can read this function code under AT SELECTION-SCREEN or in the PAI module of the database access program SAPDBldb . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition 1&lt;/P&gt;&lt;P&gt;... FOR TABLE dbtab &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect&lt;/P&gt;&lt;P&gt;See variant 3 ( SELECTION-SCREEN SKIP ) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition 2&lt;/P&gt;&lt;P&gt;... ID id &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect&lt;/P&gt;&lt;P&gt;See variant 3 ( SELECTION-SCREEN SKIP ) &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;TABLES SSCRFIELDS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN FUNCTION KEY 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INITIALIZATION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  MOVE 'My text' TO SSCRFIELDS-FUNCTXT_01.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF SSCRFIELDS-UCOMM = 'FC01'.&lt;/P&gt;&lt;P&gt;    ...&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The selection screen displays a pushbutton with the text 'My text' . With AT SELECTION-SCREEN , the field SSCRFIELDS-UCOMM contains FC01 after the user has pressed the button. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Variant 11&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF VERSION ver TEXT-xxx. &lt;/P&gt;&lt;P&gt;Variant 12&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF VERSION ver. &lt;/P&gt;&lt;P&gt;Variant 13&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN EXCLUDE ... . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect&lt;/P&gt;&lt;P&gt;Defines a selection screen version (with a three-character name ver ). These variants are only allowed in the database include program DBldbSEL . Between BEGIN OF VERSION and END OF VERSION , you can exclude selection screen objects for the version ver , i.e. remove them from the selection screen with SELECTION-SCREEN EXCLUDE. . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For a report, you activate a selection screen by making an entry in the attributes. If the database access program SAPDBldb itself has a selection screen version in the attributen, this applies for all reports which use this logical database and have attributes where no separate selection screen version is declared. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The text symbol TEXT -xxx is used merely to facilitate selection of a selection screen version via F4 help when maintaining the attributes. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Additions&lt;/P&gt;&lt;P&gt;(to SELECTION-SCREEN EXCLUDE ) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. ... PARAMETERS par &lt;/P&gt;&lt;P&gt;2. ... SELECT-OPTIONS sel &lt;/P&gt;&lt;P&gt;3. ... RADIOBUTTON GROUPS radi &lt;/P&gt;&lt;P&gt;4. ... BLOCKS block &lt;/P&gt;&lt;P&gt;5. ... IDS id &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect&lt;/P&gt;&lt;P&gt;Excludes selection screen objects between SELECTION-SCREEN BEGIN and END OF VERSION . This allows you to exclude individual parameters or selection options , radiobutton groups , blocks defined by SELECTION-SCREEN BEGIN/END OF BLOCK and other objects such as comments and underscores specified by the addition ID id . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note&lt;/P&gt;&lt;P&gt;The database program SAPDBldb can get the active version for the current report with the function module RS_SELSCREEN_VERSION . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example&lt;/P&gt;&lt;P&gt;PARAMETERS PAR_1 LIKE dbfield_1 FOR TABLE dbtab_1. &lt;/P&gt;&lt;P&gt;SELECT-OPTIONS SEL_1 FOR dbfield_01. &lt;/P&gt;&lt;P&gt;SELECT-OPTIONS SEL_2 FOR dbfield_02. &lt;/P&gt;&lt;P&gt;SELECT-OPTIONS SEL_3 FOR dbfield_03. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN COMMENT /10(20) TEXT-100 FOR TABLE dbtab_1 ID 001. &lt;/P&gt;&lt;P&gt;SELECTION-SCREEN COMMENT /8(30) TEXT-200 FOR TABLE dbtab_2 ID 002. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS PAR_2 LIKE dbfield_1 FOR TABLE dbtab_2. &lt;/P&gt;&lt;P&gt;PARAMETERS PAR_3 LIKE dbfield_1 FOR TABLE dbtab_2. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF VERSION ABC TEXT-008. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN EXCLUDE PARAMETERS: PAR_1, PAR_3. &lt;/P&gt;&lt;P&gt;SELECTION-SCREEN EXCLUDE SELECT-OPTIONS: SEL_2. &lt;/P&gt;&lt;P&gt;SELECTION-SCREEN EXCLUDE IDS: 001. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF VERSION ABC. &lt;/P&gt;&lt;P&gt;If the report attributes (or the attributes of the database program SAPDBldb ) contain the selection screen version ABC , the parameters PAR_1 and PAR_3 , the selection option SEL_2 and the comment with the text number 100 ( ID 001 ) are not displayed on the selection screen. When you maintain the attributes, the text symbol 008 of SAPDBldb is displayed if you press F4 on the field 'Selection screen version'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Variant 14&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN DYNAMIC SELECTIONS FOR TABLE dbtab. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;... ID id &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect&lt;/P&gt;&lt;P&gt;This variant is allowed only in the database include program DBldbSEL . It informs you for which logical database tables additional selections are supported. If one of these tables is active in the report (i.e. it is declared under TABLES or lies somewhere on the path from the root of the database hierarchy to a table declared with TABLES ), a psuhbutton called 'Dynamic selections' appears on the selection screen. On pressing this button, the user branches to a dialog Taste where it is possible to enter selections for the fields of the relevant tables in the logical database. You can define the field list in two different ways: &lt;/P&gt;&lt;P&gt;Via a selection view defined for the purpose: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can maintain selection views within the logical database maintenance transaction. They consist of a set of fields from logical database tables which are divided into groups. It is also possible to preselect fields. Customers can overlay these selection views with their own (i.e. in this case, the system searches first for the customer selection view and only accesses the SAP selektion view if no customer-specific view exists). &lt;/P&gt;&lt;P&gt;If a preselection has already been made in the selection view, the user immediately sees the selection screen for the preselected fields and can enter selections. Otherwise, a fields must be selected first. &lt;/P&gt;&lt;P&gt;Via all fields of all tables &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case, the user must first choose the tables and then select the fields for which additional selections are to be made before branching to the selection screen to enter the dynamic selections. &lt;/P&gt;&lt;P&gt;The database access programm SAPDBldb then receives the WHERE clauses generated from the user entries in the form of a complex data object DYN_SEL . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition&lt;/P&gt;&lt;P&gt;... ID id &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect&lt;/P&gt;&lt;P&gt;Similar to the addition 2 ( SKIP ). This allows you to exclude tables from the possibility of dynamic selection via the selection screen versions. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note&lt;/P&gt;&lt;P&gt;The exact definition of the object DYN_SEL is stored in the TYPE-POOL RSDS and is as follows: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF RSDS_WHERE,&lt;/P&gt;&lt;P&gt;         TABLENAME LIKE RSDSTABS-PRIM_TAB,&lt;/P&gt;&lt;P&gt;         WHERE_TAB LIKE RSDSWHERE OCCURS 5,&lt;/P&gt;&lt;P&gt;       END OF RSDS_WHERE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF RSDS_TYPE,&lt;/P&gt;&lt;P&gt;         CLAUSES TYPE RSDS_WHERE OCCURS 5,&lt;/P&gt;&lt;P&gt;         TEXPR   TYPE RSDS_TEXPR,&lt;/P&gt;&lt;P&gt;         TRANGE  TYPE RSDS_TRANGE,&lt;/P&gt;&lt;P&gt;       END   OF RSDS_TYPE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA DYN_SEL TYPE RSDS_TYPE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The object DYN_SEL thus contains a component ( CLAUSES ) which is an internal table. Each line of this internal table contains a table name ( TABLENAME ) and another table ( WHERE_TAB ) which contains the WHERE clauses for the table ( TABLENAME ). &lt;/P&gt;&lt;P&gt;You can find the structure of the other components in the type pool RSDS . &lt;/P&gt;&lt;P&gt;TEXPR contains the selections in a format which allows storage and can be used for the "freely callable" function modules when entering dynamic selections ( FREE_SELECTIONS_INIT , FREE_SELECTIONS_DIALOG ). TRANGE contains the selections in the form of RANGES tables which can be used with the IN operator in SELECT , CHECK and IF . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note&lt;/P&gt;&lt;P&gt;Neither the TYPE-POOL RSDS nor the declaration of DYN_SEL must appear in the database program. Both are automatically included by the system. &lt;/P&gt;&lt;P&gt;In the database program SAPDBldb , an access to a table XXXX could look something like below: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM PUT_XXXX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA L_DS_CLAUSES TYPE RSDS_WHERE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  MOVE 'XXXX' TO L_DS_CLAUSES-TABLENAME.&lt;/P&gt;&lt;P&gt;  READ TABLE DYN_SEL-CLAUSES WITH KEY L_DS_CLAUSES-TABLENAME&lt;/P&gt;&lt;P&gt;                             INTO L_DS_CLAUSES.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT * FROM XXXX&lt;/P&gt;&lt;P&gt;           WHERE field1 IN ...&lt;/P&gt;&lt;P&gt;           AND   field2 ....&lt;/P&gt;&lt;P&gt;              ...&lt;/P&gt;&lt;P&gt;           AND (L_DS_CLAUSES-WHERE_TAB).&lt;/P&gt;&lt;P&gt;      PUT XXXX.&lt;/P&gt;&lt;P&gt;  ENDSELECT.&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note&lt;/P&gt;&lt;P&gt;If the table L_DS_CLAUSES-WHERE_TAB is empty, i.e. if no dynamic selections are entered for the table XXXX , the addition ... AND (L_DS_CLAUSES-WHERE_TAB) is ignored during the SELECT . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Variant 15&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN FIELD SELECTION FOR TABLE dbtab. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;... ID id &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect&lt;/P&gt;&lt;P&gt;This variant is allowed only in the database include program DBldbSEL . It informs you for which logical database tables field selection is supported. &lt;/P&gt;&lt;P&gt;For these tables, you can fill just those database fields which the report actually needs. In the report, you determine these fields with GET dbtab FIELDS f1 ... fn or GET dbtab LATE FIELDS f1 ... fn (the field list is then supplemented by the key fields of the table dbtab ). &lt;/P&gt;&lt;P&gt;By restricting to the really necessary field, you considerably improve performance. The database access program SAPDBldb receives the desired fields for the dynamic field selection in the form of an internal table SELECT_FIELDS . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note&lt;/P&gt;&lt;P&gt;The exact definition of the object SELECT_FIELDS is stored in the TYPE-POOL RSFS and looks something like below: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF RSFS_TAB_FIELDS,&lt;/P&gt;&lt;P&gt;         TABLENAME LIKE RSDSTABS-PRIM_TAB,&lt;/P&gt;&lt;P&gt;         FIELDS LIKE RSFS_STRUC OCCURS 10,&lt;/P&gt;&lt;P&gt;       END OF RSFS_TAB_FIELDS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES: RSFS_FIELDS TYPE RSFS_TAB_FIELDS OCCURS 10.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA SELECT_FIELDS TYPE RSFS_FIELDS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT_FIELDS is thus an internal table. Each line of this internal table contains a table name ( TABLENAME ) and another internal table ( FIELDS ) which contains the desired fields of the table ( TABLENAME ). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note&lt;/P&gt;&lt;P&gt;Neither the TYPE-POOL RSFS nor the declaration of SELECT_FIELDS has to appear in the database program. Both are automatically included by the system. Unlike the objects connected with the addition DYNAMIC SELECTIONS , SELECT_FIELDS is also available in the report. &lt;/P&gt;&lt;P&gt;In the database program SAPDBldb , an access to a table XXXX could look something like below: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM PUT_XXXX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA L_TAB_FIELDS TYPE RSFS_TAB_FIELDS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  MOVE 'XXXX' TO L_TAB_FIELDS-TABLENAME.&lt;/P&gt;&lt;P&gt;  READ TABLE SELECT_FIELDS WITH KEY L_TAB_FIELDS-TABLENAME&lt;/P&gt;&lt;P&gt;                           INTO L_TAB_FIELDS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT (L_TAB_FIELDS-FIELDS)&lt;/P&gt;&lt;P&gt;             INTO CORRESPONDING FIELDS OF XXXX&lt;/P&gt;&lt;P&gt;             FROM XXXX&lt;/P&gt;&lt;P&gt;         WHERE field1 IN ...&lt;/P&gt;&lt;P&gt;         AND   field2 ....&lt;/P&gt;&lt;P&gt;              ...&lt;/P&gt;&lt;P&gt;      PUT XXXX.&lt;/P&gt;&lt;P&gt;  ENDSELECT.&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note&lt;/P&gt;&lt;P&gt;If the table L_TAB_FIEDLS is empty, i.e. if no dynamic selections are entered for the table XXXX , SELECT (L_TAB_FIELDS) ... works like SELECT * ... , i.e. all fields of the table XXXX are filled. &lt;/P&gt;&lt;P&gt;The internal table SELECT_FIELDS already contains values when the routine INIT is executed in the database program or when the INITIALIZATION processing is executed in the report. It can be manipulated by the appropriate program if it is absolutely necessary to fill another field for the logical database. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;refer it. it will hellfull.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward all helpfull answers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;Jay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jun 2007 09:19:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2471955#M555810</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-25T09:19:14Z</dc:date>
    </item>
  </channel>
</rss>

