<?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: Restricting selection-options in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/restricting-selection-options/m-p/914655#M57844</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Fuat ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i don't understand ?!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in my example report comes &amp;lt;b&amp;gt;no addtitional popup&amp;lt;/b&amp;gt;:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here's the complete test-report:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT z6.&lt;/P&gt;&lt;P&gt;TABLES:&lt;/P&gt;&lt;P&gt;vbak, bkpf.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS:&lt;/P&gt;&lt;P&gt;zvbeln FOR vbak-vbeln OBLIGATORY DEFAULT '5300000000'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INITIALIZATION.&lt;/P&gt;&lt;P&gt;  PERFORM init_1001.&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;P&gt;  SELECT belnr FROM  bkpf INTO bkpf-belnr&lt;/P&gt;&lt;P&gt;         WHERE  bukrs  = '0001'&lt;/P&gt;&lt;P&gt;         AND    belnr  IN zvbeln&lt;/P&gt;&lt;P&gt;         AND    gjahr  = sy-datum(4).&lt;/P&gt;&lt;P&gt;    WRITE: / bkpf-belnr.&lt;/P&gt;&lt;P&gt;  ENDSELECT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    WRITE: / 'no entry found!'.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp; Form init_1001&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM init_1001 .&lt;/P&gt;&lt;P&gt;  TYPE-POOLS:&lt;/P&gt;&lt;P&gt;  sscr.&lt;/P&gt;&lt;P&gt;  DATA:&lt;/P&gt;&lt;P&gt;  restriction TYPE sscr_restrict,&lt;/P&gt;&lt;P&gt;  wa_opt_list TYPE sscr_opt_list,&lt;/P&gt;&lt;P&gt;  ls_ass TYPE sscr_ass.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  MOVE 'EQ' TO wa_opt_list-name.&lt;/P&gt;&lt;P&gt;  MOVE 'X' TO wa_opt_list-options-eq.&lt;/P&gt;&lt;P&gt;  APPEND wa_opt_list TO restriction-opt_list_tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  MOVE: 'S' TO ls_ass-kind,&lt;/P&gt;&lt;P&gt;   'I' TO ls_ass-sg_main,&lt;/P&gt;&lt;P&gt;  'EQ' TO ls_ass-op_main,&lt;/P&gt;&lt;P&gt;  'ZVBELN' TO ls_ass-name.&lt;/P&gt;&lt;P&gt;  APPEND ls_ass TO restriction-ass_tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'SELECT_OPTIONS_RESTRICT'&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;            restriction = restriction.&lt;/P&gt;&lt;P&gt;&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;&lt;/P&gt;&lt;P&gt;regards Andreas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Jan 2005 07:58:20 GMT</pubDate>
    <dc:creator>andreas_mann3</dc:creator>
    <dc:date>2005-01-18T07:58:20Z</dc:date>
    <item>
      <title>Restricting selection-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/restricting-selection-options/m-p/914647#M57836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to restrict the selection option of a field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There will be no intervals to enter.&lt;/P&gt;&lt;P&gt;Only EQ will be available.&lt;/P&gt;&lt;P&gt;Will allow multiple values but no intervals.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when I enter somthing* and than proceed it displays a popup showing which criteria to select and there is only EQ value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In other circumstances it works as I  want. But I do not want the popup.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I write the code below. &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;TABLES:&lt;/P&gt;&lt;P&gt;  vbak.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS:&lt;/P&gt;&lt;P&gt;  zvbeln FOR vbak-vbeln&lt;/P&gt;&lt;P&gt;    NO INTERVALS&lt;/P&gt;&lt;P&gt;    MATCHCODE OBJECT zpyp_posid&lt;/P&gt;&lt;P&gt;    OBLIGATORY&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;  PERFORM init_1001.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Form  init_1001&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM init_1001 .&lt;/P&gt;&lt;P&gt;  TYPE-POOLS:&lt;/P&gt;&lt;P&gt;     sscr.&lt;/P&gt;&lt;P&gt;  DATA:&lt;/P&gt;&lt;P&gt;    restriction TYPE sscr_restrict,&lt;/P&gt;&lt;P&gt;    wa_opt_list TYPE sscr_opt_list,&lt;/P&gt;&lt;P&gt;    ls_ass     TYPE sscr_ass.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  MOVE 'EQ'      TO wa_opt_list-name.&lt;/P&gt;&lt;P&gt;  MOVE 'X'       TO wa_opt_list-options-eq.&lt;/P&gt;&lt;P&gt;  APPEND wa_opt_list TO restriction-opt_list_tab.&lt;/P&gt;&lt;P&gt;  MOVE: 'S'          TO ls_ass-kind,&lt;/P&gt;&lt;P&gt;        'I'          TO ls_ass-sg_main,&lt;/P&gt;&lt;P&gt;        ' '          TO ls_ass-sg_addy,&lt;/P&gt;&lt;P&gt;        'EQ'         TO ls_ass-op_main,&lt;/P&gt;&lt;P&gt;        'EQ'         TO ls_ass-op_addy,&lt;/P&gt;&lt;P&gt;        'ZVBELN'     TO ls_ass-name.&lt;/P&gt;&lt;P&gt;  APPEND ls_ass      TO restriction-ass_tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'SELECT_OPTIONS_RESTRICT'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  PROGRAM                      =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      restriction                  = restriction&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  DB                           = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   EXCEPTIONS&lt;/P&gt;&lt;P&gt;     too_late                     = 1&lt;/P&gt;&lt;P&gt;     repeated                     = 2&lt;/P&gt;&lt;P&gt;     selopt_without_options       = 3&lt;/P&gt;&lt;P&gt;     selopt_without_signs         = 4&lt;/P&gt;&lt;P&gt;     invalid_sign                 = 5&lt;/P&gt;&lt;P&gt;     empty_option_list            = 6&lt;/P&gt;&lt;P&gt;     invalid_kind                 = 7&lt;/P&gt;&lt;P&gt;     repeated_kind_a              = 8&lt;/P&gt;&lt;P&gt;     OTHERS                       = 9&lt;/P&gt;&lt;P&gt;            .&lt;/P&gt;&lt;P&gt;  IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jan 2005 13:03:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/restricting-selection-options/m-p/914647#M57836</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-01-17T13:03:22Z</dc:date>
    </item>
    <item>
      <title>Re: Restricting selection-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/restricting-selection-options/m-p/914648#M57837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If so is the case, then why provide select-options ?&lt;/P&gt;&lt;P&gt;Use 2 parameters, instead.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Subramanian V.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jan 2005 13:09:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/restricting-selection-options/m-p/914648#M57837</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-01-17T13:09:17Z</dc:date>
    </item>
    <item>
      <title>Re: Restricting selection-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/restricting-selection-options/m-p/914649#M57838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The input number may differ from 1 to many. &lt;/P&gt;&lt;P&gt;For each input I cannot use a different parameter. As you can see the number of input is variable. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The selection made will be used for multiple copy of database lines. So selection of a range may be dangerous. I also check that the range does not contain any *. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jan 2005 13:16:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/restricting-selection-options/m-p/914649#M57838</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-01-17T13:16:53Z</dc:date>
    </item>
    <item>
      <title>Re: Restricting selection-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/restricting-selection-options/m-p/914650#M57839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is not happening for me.  Are you sure that your "cursor" is not on the multiple selection icon when you hit enter?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jan 2005 13:31:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/restricting-selection-options/m-p/914650#M57839</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-01-17T13:31:05Z</dc:date>
    </item>
    <item>
      <title>Re: Restricting selection-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/restricting-selection-options/m-p/914651#M57840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I hit enter it does not happen. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It only happens &lt;/P&gt;&lt;P&gt;when I run the program enter a value with * and push F8.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I first enter value push enter and then F8 it does not happen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Fuat Ulugay&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jan 2005 14:12:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/restricting-selection-options/m-p/914651#M57840</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-01-17T14:12:15Z</dc:date>
    </item>
    <item>
      <title>Re: Restricting selection-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/restricting-selection-options/m-p/914652#M57841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Fuat,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i modify your code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) &lt;/P&gt;&lt;P&gt;SELECT-OPTIONS:&lt;/P&gt;&lt;P&gt;zvbeln FOR vbak-vbeln&lt;/P&gt;&lt;P&gt;*NO INTERVALS "del&lt;/P&gt;&lt;P&gt;MATCHCODE OBJECT zpyp_posid&lt;/P&gt;&lt;P&gt;OBLIGATORY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2)&lt;/P&gt;&lt;P&gt;MOVE: 'S' TO ls_ass-kind,&lt;/P&gt;&lt;P&gt; 'I' TO ls_ass-sg_main,&lt;/P&gt;&lt;P&gt;*' ' TO ls_ass-sg_addy, "del&lt;/P&gt;&lt;P&gt;'EQ' TO ls_ass-op_main,&lt;/P&gt;&lt;P&gt;*'EQ' TO ls_ass-op_addy,"del&lt;/P&gt;&lt;P&gt;'ZVBELN' TO ls_ass-name.&lt;/P&gt;&lt;P&gt;APPEND ls_ass TO restriction-ass_tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.. and the 1st popup vanished&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andreas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jan 2005 14:34:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/restricting-selection-options/m-p/914652#M57841</guid>
      <dc:creator>andreas_mann3</dc:creator>
      <dc:date>2005-01-17T14:34:24Z</dc:date>
    </item>
    <item>
      <title>Re: Restricting selection-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/restricting-selection-options/m-p/914653#M57842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I modified my code as you have suggested.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I write somthing* in zvbeln-low field than press F8 the same popup appeared.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Fuat Ulugay&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jan 2005 15:01:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/restricting-selection-options/m-p/914653#M57842</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-01-17T15:01:10Z</dc:date>
    </item>
    <item>
      <title>Re: Restricting selection-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/restricting-selection-options/m-p/914654#M57843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok,  try this.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your code..........add this line which i have "Bolded".  This is telling it to except patterns as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  move 'EQ' to wa_opt_list-name.&lt;/P&gt;&lt;P&gt;  move 'X' to wa_opt_list-options-eq.&lt;/P&gt;&lt;P&gt;  &amp;lt;b&amp;gt;move 'X' to wa_opt_list-options-CP.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;  append wa_opt_list to restriction-opt_list_tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jan 2005 15:40:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/restricting-selection-options/m-p/914654#M57843</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-01-17T15:40:03Z</dc:date>
    </item>
    <item>
      <title>Re: Restricting selection-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/restricting-selection-options/m-p/914655#M57844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Fuat ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i don't understand ?!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in my example report comes &amp;lt;b&amp;gt;no addtitional popup&amp;lt;/b&amp;gt;:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here's the complete test-report:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT z6.&lt;/P&gt;&lt;P&gt;TABLES:&lt;/P&gt;&lt;P&gt;vbak, bkpf.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS:&lt;/P&gt;&lt;P&gt;zvbeln FOR vbak-vbeln OBLIGATORY DEFAULT '5300000000'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INITIALIZATION.&lt;/P&gt;&lt;P&gt;  PERFORM init_1001.&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;P&gt;  SELECT belnr FROM  bkpf INTO bkpf-belnr&lt;/P&gt;&lt;P&gt;         WHERE  bukrs  = '0001'&lt;/P&gt;&lt;P&gt;         AND    belnr  IN zvbeln&lt;/P&gt;&lt;P&gt;         AND    gjahr  = sy-datum(4).&lt;/P&gt;&lt;P&gt;    WRITE: / bkpf-belnr.&lt;/P&gt;&lt;P&gt;  ENDSELECT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    WRITE: / 'no entry found!'.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp; Form init_1001&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM init_1001 .&lt;/P&gt;&lt;P&gt;  TYPE-POOLS:&lt;/P&gt;&lt;P&gt;  sscr.&lt;/P&gt;&lt;P&gt;  DATA:&lt;/P&gt;&lt;P&gt;  restriction TYPE sscr_restrict,&lt;/P&gt;&lt;P&gt;  wa_opt_list TYPE sscr_opt_list,&lt;/P&gt;&lt;P&gt;  ls_ass TYPE sscr_ass.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  MOVE 'EQ' TO wa_opt_list-name.&lt;/P&gt;&lt;P&gt;  MOVE 'X' TO wa_opt_list-options-eq.&lt;/P&gt;&lt;P&gt;  APPEND wa_opt_list TO restriction-opt_list_tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  MOVE: 'S' TO ls_ass-kind,&lt;/P&gt;&lt;P&gt;   'I' TO ls_ass-sg_main,&lt;/P&gt;&lt;P&gt;  'EQ' TO ls_ass-op_main,&lt;/P&gt;&lt;P&gt;  'ZVBELN' TO ls_ass-name.&lt;/P&gt;&lt;P&gt;  APPEND ls_ass TO restriction-ass_tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'SELECT_OPTIONS_RESTRICT'&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;            restriction = restriction.&lt;/P&gt;&lt;P&gt;&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;&lt;/P&gt;&lt;P&gt;regards Andreas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jan 2005 07:58:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/restricting-selection-options/m-p/914655#M57844</guid>
      <dc:creator>andreas_mann3</dc:creator>
      <dc:date>2005-01-18T07:58:20Z</dc:date>
    </item>
    <item>
      <title>Re: Restricting selection-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/restricting-selection-options/m-p/914656#M57845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Rich Heilman &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jan 2005 08:41:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/restricting-selection-options/m-p/914656#M57845</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-01-18T08:41:27Z</dc:date>
    </item>
    <item>
      <title>Re: Restricting selection-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/restricting-selection-options/m-p/914657#M57846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andreas Mann ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You use here a default value. In my case there is no default value.&lt;/P&gt;&lt;P&gt;Try your code without any default value and you will see the  popup. Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jan 2005 08:42:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/restricting-selection-options/m-p/914657#M57846</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-01-18T08:42:51Z</dc:date>
    </item>
    <item>
      <title>Re: Restricting selection-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/restricting-selection-options/m-p/914658#M57847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Fuat,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there comes no pop up - I've del the default value !&lt;/P&gt;&lt;P&gt;(Rel. 4.6C , SAPKB46C30)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&amp;gt; but i'll guess , we talk at cross-purposes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards Andreas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jan 2005 09:40:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/restricting-selection-options/m-p/914658#M57847</guid>
      <dc:creator>andreas_mann3</dc:creator>
      <dc:date>2005-01-18T09:40:59Z</dc:date>
    </item>
  </channel>
</rss>

