<?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: Range in Modal screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/range-in-modal-screen/m-p/6869807#M1477017</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;Select-options cannot be defined like that.&lt;/P&gt;&lt;P&gt;Just check this&lt;/P&gt;&lt;P&gt;&lt;A href="http://wiki.sdn.sap.com/wiki/display/ABAP/Select-Options" target="test_blank"&gt;http://wiki.sdn.sap.com/wiki/display/ABAP/Select-Options&lt;/A&gt;&lt;EM&gt;in&lt;/EM&gt;Module&lt;EM&gt;Pool&lt;/EM&gt;Programming&lt;/P&gt;&lt;P&gt;&lt;A href="http://sample-code-abap.blogspot.com/2008/06/select-option-in-module-pool-screen.html" target="test_blank"&gt;http://sample-code-abap.blogspot.com/2008/06/select-option-in-module-pool-screen.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards and Best wishes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 May 2010 06:31:58 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-05-04T06:31:58Z</dc:date>
    <item>
      <title>Range in Modal screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/range-in-modal-screen/m-p/6869806#M1477016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have select option to be defined in dialog screen 9000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created Input/output field low and high.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to call select options in the screen and where in PBO or PAI need to defined.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;ERP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 May 2010 06:25:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/range-in-modal-screen/m-p/6869806#M1477016</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-04T06:25:46Z</dc:date>
    </item>
    <item>
      <title>Re: Range in Modal screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/range-in-modal-screen/m-p/6869807#M1477017</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;Select-options cannot be defined like that.&lt;/P&gt;&lt;P&gt;Just check this&lt;/P&gt;&lt;P&gt;&lt;A href="http://wiki.sdn.sap.com/wiki/display/ABAP/Select-Options" target="test_blank"&gt;http://wiki.sdn.sap.com/wiki/display/ABAP/Select-Options&lt;/A&gt;&lt;EM&gt;in&lt;/EM&gt;Module&lt;EM&gt;Pool&lt;/EM&gt;Programming&lt;/P&gt;&lt;P&gt;&lt;A href="http://sample-code-abap.blogspot.com/2008/06/select-option-in-module-pool-screen.html" target="test_blank"&gt;http://sample-code-abap.blogspot.com/2008/06/select-option-in-module-pool-screen.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards and Best wishes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 May 2010 06:31:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/range-in-modal-screen/m-p/6869807#M1477017</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-04T06:31:58Z</dc:date>
    </item>
    <item>
      <title>Re: Range in Modal screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/range-in-modal-screen/m-p/6869808#M1477018</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;this is wat u want.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;A href="http://sample-code-abap.blogspot.com/2008/06/select-option-in-module-pool-screen.html" target="test_blank"&gt;http://sample-code-abap.blogspot.com/2008/06/select-option-in-module-pool-screen.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: gaurav.singh on May 4, 2010 8:33 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 May 2010 06:32:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/range-in-modal-screen/m-p/6869808#M1477018</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-04T06:32:13Z</dc:date>
    </item>
    <item>
      <title>Re: Range in Modal screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/range-in-modal-screen/m-p/6869809#M1477019</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;&amp;lt;&amp;lt; Cut and paste without attribution from &lt;SPAN __jive_macro_name="message" id="5775351"&gt;&lt;/SPAN&gt; removed &amp;gt;&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Rob Burbank on May 5, 2010 4:50 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 May 2010 06:50:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/range-in-modal-screen/m-p/6869809#M1477019</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-04T06:50:44Z</dc:date>
    </item>
    <item>
      <title>Re: Range in Modal screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/range-in-modal-screen/m-p/6869810#M1477020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;USe the FM 'COMPLEX_SELECTIONS_DIALOG' and also create two I/O field on the screen and pushbutton beside the to field&lt;/P&gt;&lt;P&gt;when use the options call theFM.&lt;/P&gt;&lt;P&gt;The user command : 'TEST'  "Push button selected&lt;/P&gt;&lt;P&gt;gv_tln_tab-fieldname   = 'MATNR'.&lt;/P&gt;&lt;P&gt;  gv_tln_tab-tablename   = '/SAPAPO/MATKEY'.&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'COMPLEX_SELECTIONS_DIALOG'&lt;/P&gt;&lt;P&gt;         EXPORTING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;           TITLE                   = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;           TEXT                    = TEXT&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;           SIGNED                  = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;           LOWER_CASE              = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;           NO_INTERVAL_CHECK       = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;           JUST_DISPLAY            = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;           JUST_INCL               = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;           EXCLUDED_OPTIONS        = EXCLUDED_OPTIONS&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;           DESCRIPTION             = DESCRIPTION&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;           HELP_FIELD              = HELP_FIELD&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;           SEARCH_HELP             = SEARCH_HELP&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;           tab_and_field           = gv_tln_tab&lt;/P&gt;&lt;P&gt;          TABLES&lt;/P&gt;&lt;P&gt;            range                   =  r_tln_matnr&lt;/P&gt;&lt;P&gt;         EXCEPTIONS&lt;/P&gt;&lt;P&gt;           no_range_tab            = 1&lt;/P&gt;&lt;P&gt;           cancelled               = 2&lt;/P&gt;&lt;P&gt;           internal_error          = 3&lt;/P&gt;&lt;P&gt;           invalid_fieldname       = 4&lt;/P&gt;&lt;P&gt;           OTHERS                  = 5&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;&lt;/P&gt;&lt;P&gt;  IF NOT /sapapo/v_matloc-matnr IS INITIAL.&lt;/P&gt;&lt;P&gt;    IF NOT /sapapo/matkey-matnr LE /sapapo/v_matloc-matnr.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;           --&amp;gt; set the global error flag&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      PERFORM set_error.&lt;/P&gt;&lt;P&gt;      MESSAGE e215 WITH text-560.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;  IF NOT /sapapo/matkey-matnr IS INITIAL OR&lt;/P&gt;&lt;P&gt;     NOT /sapapo/v_matloc-matnr IS INITIAL. "OR&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        NOT r_tln_matnr[] IS INITIAL.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*---&amp;gt;Get Select options for MATNR&lt;/P&gt;&lt;P&gt;    PERFORM gv_tln_matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ELSEIF NOT r_tln_matnr[] IS INITIAL.&lt;/P&gt;&lt;P&gt;    READ TABLE r_tln_matnr INDEX 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;      /sapapo/matkey-matnr = r_tln_matnr-low .&lt;/P&gt;&lt;P&gt;    ENDIF.&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 user command : 'TEST'&lt;/P&gt;&lt;P&gt;gv_tln_tab-fieldname   = 'MATNR'.&lt;/P&gt;&lt;P&gt;  gv_tln_tab-tablename   = '/SAPAPO/MATKEY'.&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'COMPLEX_SELECTIONS_DIALOG'&lt;/P&gt;&lt;P&gt;         EXPORTING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;           TITLE                   = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;           TEXT                    = TEXT&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;           SIGNED                  = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;           LOWER_CASE              = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;           NO_INTERVAL_CHECK       = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;           JUST_DISPLAY            = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;           JUST_INCL               = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;           EXCLUDED_OPTIONS        = EXCLUDED_OPTIONS&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;           DESCRIPTION             = DESCRIPTION&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;           HELP_FIELD              = HELP_FIELD&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;           SEARCH_HELP             = SEARCH_HELP&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;           tab_and_field           = gv_tln_tab&lt;/P&gt;&lt;P&gt;          TABLES&lt;/P&gt;&lt;P&gt;            range                   =  r_tln_matnr&lt;/P&gt;&lt;P&gt;         EXCEPTIONS&lt;/P&gt;&lt;P&gt;           no_range_tab            = 1&lt;/P&gt;&lt;P&gt;           cancelled               = 2&lt;/P&gt;&lt;P&gt;           internal_error          = 3&lt;/P&gt;&lt;P&gt;           invalid_fieldname       = 4&lt;/P&gt;&lt;P&gt;           OTHERS                  = 5&lt;/P&gt;&lt;P&gt;                  .&lt;/P&gt;&lt;P&gt;  IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;    IF r_tln_matnr[] IS INITIAL.&lt;/P&gt;&lt;P&gt;      CLEAR : /sapapo/matkey-matnr, /sapapo/v_matloc-matnr.&lt;/P&gt;&lt;P&gt;    ELSE.&lt;/P&gt;&lt;P&gt;      READ TABLE r_tln_matnr INDEX 1.&lt;/P&gt;&lt;P&gt;      /sapapo/matkey-matnr      = r_tln_matnr-low.&lt;/P&gt;&lt;P&gt;      /sapapo/v_matloc-matnr    = r_tln_matnr-high.&lt;/P&gt;&lt;P&gt;      CLEAR r_tln_matnr.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;  ELSEIF  sy-subrc EQ 2.&lt;/P&gt;&lt;P&gt;    MESSAGE s215 WITH text-561.&lt;/P&gt;&lt;P&gt;  ELSEIF  sy-subrc &amp;lt;&amp;gt; 0 AND sy-subrc &amp;lt;&amp;gt; 2.&lt;/P&gt;&lt;P&gt;    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno&lt;/P&gt;&lt;P&gt;            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 May 2010 19:52:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/range-in-modal-screen/m-p/6869810#M1477020</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-14T19:52:20Z</dc:date>
    </item>
  </channel>
</rss>

