<?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/2438619#M545668</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;There are lot of additions for parameters and select-options..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Press F1 on those key words in the abap editor..You can see lot of additions..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Jun 2007 05:09:04 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-26T05:09:04Z</dc:date>
    <item>
      <title>selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2438617#M545666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what r the properties of selection screen?( like invisible,modif id.....i know these two)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2007 05:05:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2438617#M545666</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-26T05:05:56Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2438618#M545667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Valluri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can check the structure Screen to find the property fields of selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi G&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2007 05:08:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2438618#M545667</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-26T05:08:53Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2438619#M545668</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;There are lot of additions for parameters and select-options..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Press F1 on those key words in the abap editor..You can see lot of additions..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2007 05:09:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2438619#M545668</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-26T05:09:04Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2438620#M545669</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 one.&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;&lt;/P&gt;&lt;P&gt;rward all helpfull answers.&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>Tue, 26 Jun 2007 05:10:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2438620#M545669</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-26T05:10: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/2438621#M545670</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;(Component&lt;/P&gt;&lt;P&gt; Length&lt;/P&gt;&lt;P&gt; Type&lt;/P&gt;&lt;P&gt; Meaning&lt;/P&gt;&lt;P&gt; Attribute)&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;NAME&lt;/P&gt;&lt;P&gt; 132&lt;/P&gt;&lt;P&gt; C&lt;/P&gt;&lt;P&gt; Name of the screen field&lt;/P&gt;&lt;P&gt; Name&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;GROUP1&lt;/P&gt;&lt;P&gt; 3&lt;/P&gt;&lt;P&gt; C&lt;/P&gt;&lt;P&gt; Modification group 1&lt;/P&gt;&lt;P&gt; Group 1&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;GROUP2&lt;/P&gt;&lt;P&gt; 3&lt;/P&gt;&lt;P&gt; C&lt;/P&gt;&lt;P&gt; Modification group 2&lt;/P&gt;&lt;P&gt; Group2&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;GROUP3&lt;/P&gt;&lt;P&gt; 3&lt;/P&gt;&lt;P&gt; C&lt;/P&gt;&lt;P&gt; Modification group 3&lt;/P&gt;&lt;P&gt; Group3&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;GROUP4&lt;/P&gt;&lt;P&gt; 3&lt;/P&gt;&lt;P&gt; C&lt;/P&gt;&lt;P&gt; Modification group 4&lt;/P&gt;&lt;P&gt; Group4&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;REQUIRED&lt;/P&gt;&lt;P&gt; 1&lt;/P&gt;&lt;P&gt; C&lt;/P&gt;&lt;P&gt; Field input is mandatory&lt;/P&gt;&lt;P&gt; Mandatory field&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;INPUT&lt;/P&gt;&lt;P&gt; 1&lt;/P&gt;&lt;P&gt; C&lt;/P&gt;&lt;P&gt; Field is ready for input&lt;/P&gt;&lt;P&gt; Input&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;OUTPUT&lt;/P&gt;&lt;P&gt; 1&lt;/P&gt;&lt;P&gt; C&lt;/P&gt;&lt;P&gt; Field is for display only&lt;/P&gt;&lt;P&gt; Output&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;INTENSIFIED&lt;/P&gt;&lt;P&gt; 1&lt;/P&gt;&lt;P&gt; C&lt;/P&gt;&lt;P&gt; Field is highlighted&lt;/P&gt;&lt;P&gt; Highlighted&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;INVISIBLE&lt;/P&gt;&lt;P&gt; 1&lt;/P&gt;&lt;P&gt; C&lt;/P&gt;&lt;P&gt; Field is suppressed&lt;/P&gt;&lt;P&gt; Invisible&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;LENGTH&lt;/P&gt;&lt;P&gt; 1&lt;/P&gt;&lt;P&gt; X&lt;/P&gt;&lt;P&gt; Field length&lt;/P&gt;&lt;P&gt; VisLg&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;ACTIVE&lt;/P&gt;&lt;P&gt; 1&lt;/P&gt;&lt;P&gt; C&lt;/P&gt;&lt;P&gt; Field is active&lt;/P&gt;&lt;P&gt; Input/Output/Invisible&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;DISPLAY_3D&lt;/P&gt;&lt;P&gt; 1&lt;/P&gt;&lt;P&gt; C&lt;/P&gt;&lt;P&gt; Three-dimensional box&lt;/P&gt;&lt;P&gt; Two-dimensional&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;VALUE_HELP&lt;/P&gt;&lt;P&gt; 1&lt;/P&gt;&lt;P&gt; C&lt;/P&gt;&lt;P&gt; Input help button display&lt;/P&gt;&lt;P&gt; Input help&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;REQUEST&lt;/P&gt;&lt;P&gt; 1&lt;/P&gt;&lt;P&gt; C&lt;/P&gt;&lt;P&gt; Input exists&lt;/P&gt;&lt;P&gt; -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Viji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2007 05:11:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2438621#M545670</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-26T05:11:27Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2438622#M545671</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 screen fields are generated using two Statements&lt;/P&gt;&lt;P&gt;1. PARAMETERS (for single value input)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Select-options (For multiple selections)&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;P&gt;You can press F1 On these two keywords to know the various additions available and their usage.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eg: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;         PARAMETERS : P_MATNR LIKE MARA-MATNR&lt;/P&gt;&lt;P&gt;                                  DEFAULE 'M1'         &lt;/P&gt;&lt;P&gt;                                  OBLIGATORY           "Making mandatory for input&lt;/P&gt;&lt;P&gt;                                  MEMORY ID 'MAT'    "Linking to SAP memory&lt;/P&gt;&lt;P&gt;                                  MatchCode ID '&amp;lt;SH&amp;gt;'  "Linking to Search help&lt;/P&gt;&lt;P&gt;                                  Modif ID 'G1'               "Assigning to Modification Group&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Same options are also avaiable with Select-options.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2007 05:12:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2438622#M545671</guid>
      <dc:creator>varma_narayana</dc:creator>
      <dc:date>2007-06-26T05:12:13Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2438623#M545672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI, &lt;/P&gt;&lt;P&gt;PRESS F2 OR DOUBLE CLICK ON THE SCREEN STATEMENT YOU WILL ENTER INTO THE SCREEN STRUCTURE AND YOU WILL GET THE DIFFERENT OPTIONS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2007 05:28:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2438623#M545672</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-26T05:28:43Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2438624#M545673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi  ....  here is the    properties   with  sntax and examples  ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS - screen_options &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Syntax&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;... { {[OBLIGATORY|NO-DISPLAY] [VISIBLE LENGTH vlen]} 
    | {AS CHECKBOX [USER-COMMAND fcode]} 
    | {RADIOBUTTON GROUP group [USER-COMMAND fcode]} 
    | {AS LISTBOX VISIBLE LENGTH vlen [USER-COMMAND fcode] 
                                      [OBLIGATORY]} } 
    [MODIF ID modid] ... .&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Extras: &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;1. ... OBLIGATORY &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. ... NO-DISPLAY &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. ... VISIBLE LENGTH vlen &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. ... AS CHECKBOX [USER-COMMAND fcode] &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5. ... RADIOBUTTON GROUP group [USER-COMMAND fcode] &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;6. ... AS LISTBOX VISIBLE LENGTH vlen [USER-COMMAND fcode] &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;7. ... MODIF ID modid&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: &lt;/P&gt;&lt;P&gt;The additions cannot be combined in just any combinations. The syntax above shows the permitted combinations. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Addition 1&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;... OBLIGATORY&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect: &lt;/P&gt;&lt;P&gt;This addition defines the input field of the parameter on the selection screen as a required field. If no entry is made in this field, the user cannot use the Execute function (F8) to exit the selection screen, the user can only use the functions Back, Exit, or Cancel. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&lt;/P&gt;&lt;P&gt;Addition 2&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;... NO-DISPLAY&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect: &lt;/P&gt;&lt;P&gt;This addition means that no screen elements are generated for the parameter on the selection screen. In an executable program, a parameter of this type is exclusively a part of the interface defined by the selection screen. It can be supplied with a value by the calling program when called with SUBMIT. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the addition NO-DISPLAY is specified, a parameter can have any data types except for reference types. These parameters can only be populated using the WITH addition to the SUBMIT statement. In this case, in contrast to the general conversion rule for deep types, the same rules apply as when importing data from a data cluster. &lt;/P&gt;&lt;P&gt;&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;The length of a value transferred to a parameter for which there is no input field, is not subject to the 132 character restriction that applies for parameters with input 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;&amp;lt;b&amp;gt;Addition 3&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;... VISIBLE LENGTH vlen&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect: &lt;/P&gt;&lt;P&gt;This addition defines the visible length of the input field as vlen, whereby vlen is entered directly as a positive number. If vlen is smaller than the length of the parameter and smaller than the maximum visible length, the input field is displayed in the length defined in vlen, with movable content. Otherwise, the addition is ignored. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&lt;/P&gt;&lt;P&gt;Addition 4&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;... AS CHECKBOX [USER-COMMAND fcode]&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect: &lt;/P&gt;&lt;P&gt;This addition specifies that the input field in the first position of the selection screen is displayed as a checkbox with the corresponding description next to it on the right. The checkbox is selected if the value of para is "X" or r "x". Otherwise, it is not selected. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The parameter must be created with the type c and length 1. An explicit length len is not permitted. If the addition TYPE is used, this can only be followed by the generic type c or a non-generic data type of type c and length 1. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The addition USER-COMMAND can be used to assign a function code fcode to the parameter. The function code fcode must be directly specified and may have a maximum length of 20 characters. To evaluate the function code, an interface work area of the structure SSCRFIELDS from the ABAP Dictionary must be declared using the statement TABLES. When the user selects the checkbox on the selection screen, the runtime environment triggers the event AT SELECTION-SCREEN and transfers the function code fcode to the component ucomm of the interface work area sscrfields. If a function code used in the GUI status of the selection screen is specified for fcode, the selection screen processing is affected accordingly. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Notes &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the TYPE addition is used to make a reference to a data type in the ABAP Dictionary of type CHAR and length 1, and for which t the valid values in the domain are defined as "X" and " ", the parameter is automatically displayed as a checkbox on the selection screen. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the addition USER-COMMAND is specified without the addition AS CHECKBOX, and the parameter is of type c with length 1, it is also displayed as a checkbox. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The addition USER-COMMAND can, for example, be used for screen modifications with the addition MODIF ID (see 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;&amp;lt;b&amp;gt;Addition 5&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;... &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;RADIOBUTTON GROUP group [USER-COMMAND fcode]&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect: &lt;/P&gt;&lt;P&gt;This addition specifies that the input field is displayed as a radio button in the first position on the selection screen, and the output field is displayed next to it on the right. The radio button is selected if the value of para is "X" or "x". Otherwise, it is not selected. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;group is used to define the radio button group for the parameter. The name group is entered directly as a character string with a maximum of 4 characters. Within a selection screen, there must be a minimum of two parameters in the same radio button group. There cannot be more than one radio button group with the same name in one program, even if they are defined in different selection screens. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The parameter must be specified with the type c and length 1. Explicit length specification using len is not permitted. If the addition TYPE is used, it can only be followed by the generic type c or a non-generic data type of type &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In a radio button group, only one parameter can be defined with the addition DEFAULT, and the specified value must be "X". By default, the first parameter in a radio button group is set to the value "X", and the rest are set to " ". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The addition USER-COMMAND can be used to assign a function code fcode to the first parameter in a radio button group. The function code fcode must be specified directly, and have a maximum length of 20 characters. To evaluate the function code, an interface work area of the structure SSCRFIELDS from the ABAP Dictionary must be declared using the statement TABLES. When the user selects any radio button of the radio button group on the selection screen, the runtime environment triggers the event AT SELECTION-SCREEN and transfers the function code fcode to the component ucomm of the interface work area sscrfields. If a function code used in the GUI status of the selection screen is specified for fcode, the selection screen processing is affected accordingly. &lt;/P&gt;&lt;P&gt;&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;It is recommended to define the radio buttons of a radio button group directly underneath each other. If the selection screen also contains other elements, it is recommended to define each radio button group within a block surrounded by a frame. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Addition 6&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;... &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;AS LISTBOX VISIBLE LENGTH vlen [USER-COMMAND fcode]&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect: &lt;/P&gt;&lt;P&gt;This addition generates a dropdown list box for an input field on the selection screen. If the parameter is created with a data type from the ABAP Dictionary, and the data type is linked to the input help in the Dictionary, the first column of the input help is displayed in the list box. Otherwise, a single-line list box is displayed containing the current value of the parameter. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The addition VISIBLE LENGTH must be used to specify the visible length of the input field. The explicit specification of the length is necessary as the length of the entries in the list box is usually different to the actual length of the parameter. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The addition USER-COMMAND can be used to assign a function code fcode to the dropdown list box. The function code fcode must be specified directly and can have a maximum length of 20 characters. To evaluate the function code, an interface work area of the structure SSCRFIELDS from the ABAP Dictionary must be declared using the statement TABLES. When the user selects a line of the list box on the selection screen, the runtime environment triggers the event AT SELECTION-SCREEN and transfers the function code fcode to the component ucomm of the interface work area sscrfields. If a function code used in the GUI status of the selection screen is specified for fcode, the selection screen processing is affected accordingly. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: &lt;/P&gt;&lt;P&gt;Without the addition USER-COMMAND, selecting a line in the dropdown list box does not lead to the event AT SELECTION-SCREEN. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: &lt;/P&gt;&lt;P&gt;The parameter p_carrid is displayed with length 20 and with the name "Lufthansa" already entered. The user can select a different airline carrier, in which case a three-character abbreviation is assigned to the parameter. When assigning the function code onli which is assigned to the function Execute in the GUI status of the default selection screen, the events AT SELECTION-SCREEN and START-OF-SELECTION are triggered. &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
PARAMETERS p_carrid TYPE spfli-carrid 
                    AS LISTBOX VISIBLE LENGTH 20 
                    USER-COMMAND onli 
                    DEFAULT 'LH'. 

AT SELECTION-SCREEN. 
  ... 

START-OF-SELECTION.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  ... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&lt;/P&gt;&lt;P&gt;Addition 7&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;... MODIF ID modid&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;The addition MODIF ID assigns all the screen elements of the parameter to the modification group modid, which is assigned to the column group1 of the system table screen. This enables them to be modified before the selection screen is displayed, using the statement MODIFY SCREEN. The name of the modification group modid must be directly specified and can have a maximum length of three characters. &lt;/P&gt;&lt;P&gt;&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;The modification groups that are assigned to columns group2 and group3 of the system table screen are set when the system generates a selection screen and are described in the screen elements of a selection screen. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: &lt;/P&gt;&lt;P&gt;The elements of block b2 are assigned to the modification group bl2. A checkbox show_all allows the user to select whether or not these elements are displayed. The display is changed immediately, as selecting the checkbox triggers the event AT SELECTION-SCREEN. The function code is not required. Instead, the content of show_all is evaluated during PBO. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;PARAMETERS show_all AS CHECKBOX USER-COMMAND flag. 

SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME. 
PARAMETERS: p1 TYPE c LENGTH 10, 
            p2 TYPE c LENGTH 10, 
            p3 TYPE c LENGTH 10. 
SELECTION-SCREEN END OF BLOCK b1. 

SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME. 
PARAMETERS: p4 TYPE c LENGTH 10 MODIF ID bl2, 
            p5 TYPE c LENGTH 10 MODIF ID bl2, 
            p6 TYPE c LENGTH 10 MODIF ID bl2. 
SELECTION-SCREEN END OF BLOCK b2. 

AT SELECTION-SCREEN OUTPUT. 
  LOOP AT SCREEN. 
    IF show_all &amp;lt;&amp;gt; 'X' AND 
       screen-group1 = 'BL2'. 
       screen-active = '0'. 
    ENDIF. 
    MODIFY SCREEN. 
  ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward  points  if it is usefull .....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Girish&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2007 05:47:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2438624#M545673</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-26T05:47:40Z</dc:date>
    </item>
  </channel>
</rss>

