<?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: Select Options? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2865675#M672083</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try using&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS: S_MATNR FOR MARA-MATNR&lt;/P&gt;&lt;P&gt;NO INTERVALS&lt;/P&gt;&lt;P&gt;NO-EXTENSION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 Oct 2007 21:35:18 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-01T21:35:18Z</dc:date>
    <item>
      <title>Select Options?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2865673#M672081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;            I have to retrieve the data from SAP data abse table based on Select-Options Values.MATNR ,PLANT , GJAHR , Quantity STR Type and Period are created as Selection options .These declared based on CKMLMV003 table.I have to retriev some fields based on these selection Options.The logic which i wrote is blow.&lt;/P&gt;&lt;P&gt; Select WERKS&lt;/P&gt;&lt;P&gt;         MATNR&lt;/P&gt;&lt;P&gt;         MISCH_VERH&lt;/P&gt;&lt;P&gt;         KALNR_BAL&lt;/P&gt;&lt;P&gt;         GJAHR&lt;/P&gt;&lt;P&gt;         PERIO&lt;/P&gt;&lt;P&gt;         MGTYP&lt;/P&gt;&lt;P&gt;         from CKMLMV003&lt;/P&gt;&lt;P&gt;         into table i_CKMLMV003_out&lt;/P&gt;&lt;P&gt;         Where ( MATNr in S_MATNR and &lt;/P&gt;&lt;P&gt;                 WERKS in s_WERKS and&lt;/P&gt;&lt;P&gt;                 GJAHR in s_GJAHR and&lt;/P&gt;&lt;P&gt;                 PERIO in s_PERIO and&lt;/P&gt;&lt;P&gt;                 MGTYP = p_MGTYP ).&lt;/P&gt;&lt;P&gt;        In the select options if i write only  one Material Number in the selectio Options of MATNr i am noty gtting any data even the Material Number is in SAP DAT abse table of CKMLMV003 table.&lt;/P&gt;&lt;P&gt;       Can anybody tell me how to write the logic " when the user writes only one material Number ibn the selection Option and 2 Material Numbers in S_MATNR-LOW and HIGH.Does the logic changes are not?If i wrote one MATNr i am not getting output and also if i put the MATNR condition i am not gwetting the output in acorrect way?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Gopi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Oct 2007 21:30:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2865673#M672081</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-01T21:30:32Z</dc:date>
    </item>
    <item>
      <title>Re: Select Options?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2865674#M672082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there something in p_MGTYP for the material you want?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Oct 2007 21:35:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2865674#M672082</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-01T21:35:07Z</dc:date>
    </item>
    <item>
      <title>Re: Select Options?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2865675#M672083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try using&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS: S_MATNR FOR MARA-MATNR&lt;/P&gt;&lt;P&gt;NO INTERVALS&lt;/P&gt;&lt;P&gt;NO-EXTENSION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Oct 2007 21:35:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2865675#M672083</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-01T21:35:18Z</dc:date>
    </item>
    <item>
      <title>Re: Select Options?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2865676#M672084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;             Th problem got solved.I am havingother quick Q'n.How to check the Validity of GJAHR filed in CKMLMV003 for Selection Options .?I have to check the validity of s_GJAHR field in Selection-Options&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Gopi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Oct 2007 21:46:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2865676#M672084</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-01T21:46:33Z</dc:date>
    </item>
    <item>
      <title>Re: Select Options?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2865677#M672085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use event AT SELECTION SCREEN&lt;/P&gt;&lt;P&gt;or AT SELECTION-SCREEN ON FIELD&lt;/P&gt;&lt;P&gt;&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;AT SELECTION-SCREEN.&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;Check if the Directory Exists, If not display Error&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;    gv_unproc = p_unproc.&lt;/P&gt;&lt;P&gt;    IF cl_gui_frontend_services=&amp;gt;directory_exist( gv_path )  &amp;lt;&amp;gt;  'X'.&lt;/P&gt;&lt;P&gt;           message text-e01 type 'E'.  "Directory doesnt exist&lt;/P&gt;&lt;P&gt;           EXIT.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sri&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Sri Tayi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Oct 2007 21:51:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2865677#M672085</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-01T21:51:02Z</dc:date>
    </item>
    <item>
      <title>Re: Select Options?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2865678#M672086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you just want to do a "plausibility" check, then something like this should suffice...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;  data:
    l_ff(2)             type n,
    l_tt(2)             type n.

  l_ff = p_gjahr+0(2).
  l_tt = p_gjahr+2(2).
  add 1 to l_ff.

  if not l_ff = l_tt.
    message e398(00) with 'Invalid financial year!'
      p_gjahr space space.
  endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Oct 2007 05:22:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2865678#M672086</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-02T05:22:08Z</dc:date>
    </item>
  </channel>
</rss>

