<?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 select-option value processing in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-value-processing/m-p/6593126#M1436136</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a selection screen with multiple select-options to get values from user, and based on that I am displaying fetched data(by select query) in the ALV grid. &lt;/P&gt;&lt;P&gt;The issue is with the selection screen, it is getting displayed correctly with multiple select-options, but query works correcly when I press 'enter' from keyboard after entering value in select-option box. If I doesnt press enter button before executing, the query fetches all the records from db table instead of selected values.(where cond in select query)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any helpful suggestion/idea/info that why is it happening so?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Advance thanks...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Viral Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Jan 2010 07:26:15 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-01-25T07:26:15Z</dc:date>
    <item>
      <title>select-option value processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-value-processing/m-p/6593126#M1436136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a selection screen with multiple select-options to get values from user, and based on that I am displaying fetched data(by select query) in the ALV grid. &lt;/P&gt;&lt;P&gt;The issue is with the selection screen, it is getting displayed correctly with multiple select-options, but query works correcly when I press 'enter' from keyboard after entering value in select-option box. If I doesnt press enter button before executing, the query fetches all the records from db table instead of selected values.(where cond in select query)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any helpful suggestion/idea/info that why is it happening so?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Advance thanks...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Viral Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jan 2010 07:26:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-value-processing/m-p/6593126#M1436136</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-25T07:26:15Z</dc:date>
    </item>
    <item>
      <title>Re: select-option value processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-value-processing/m-p/6593127#M1436137</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;please catch execute button through its function code in user-command perform and then it should work for given conditions as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds/Abhi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jan 2010 07:30:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-value-processing/m-p/6593127#M1436137</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-25T07:30:37Z</dc:date>
    </item>
    <item>
      <title>Re: select-option value processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-value-processing/m-p/6593128#M1436138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Abhi for quick response.&lt;/P&gt;&lt;P&gt;Well I am doing the same thing as You suggested, it is performing it on 'CRET'(Execute button). Still its displaying all the records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Viral Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jan 2010 07:38:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-value-processing/m-p/6593128#M1436138</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-25T07:38:30Z</dc:date>
    </item>
    <item>
      <title>Re: select-option value processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-value-processing/m-p/6593129#M1436139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you get a chance to debug...May be that can help you more.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If no luck, paste the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Manas M.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jan 2010 07:46:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-value-processing/m-p/6593129#M1436139</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-25T07:46:23Z</dc:date>
    </item>
    <item>
      <title>Re: select-option value processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-value-processing/m-p/6593130#M1436140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Viral, &lt;/P&gt;&lt;P&gt;In the above case i would suggest to use PBO even &lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN OUTPUT.&lt;/P&gt;&lt;P&gt;Put  a breakpoint and &lt;/P&gt;&lt;P&gt;and check the ranges of your select option ( Actual values...you are getting )&lt;/P&gt;&lt;P&gt;The function Code or the button would not help you much  this will help you even if you have a enter butoon hit or a explisit execute button on you screen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jan 2010 07:51:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-value-processing/m-p/6593130#M1436140</guid>
      <dc:creator>anup_deshmukh4</dc:creator>
      <dc:date>2010-01-25T07:51:39Z</dc:date>
    </item>
    <item>
      <title>Re: select-option value processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-value-processing/m-p/6593131#M1436141</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;code im using...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM sel_xpra.&lt;/P&gt;&lt;P&gt;  CLEAR xpra_read.&lt;/P&gt;&lt;P&gt;  SELECT *&lt;/P&gt;&lt;P&gt;         FROM zxpra_ovrview&lt;/P&gt;&lt;P&gt;          INTO CORRESPONDING FIELDS OF TABLE xpra_read&lt;/P&gt;&lt;P&gt;            WHERE ( ( NAME IN xpra )&lt;/P&gt;&lt;P&gt;              AND ( BASE_RELEASE IN xpra_rel )&lt;/P&gt;&lt;P&gt;              AND ( COMPONENT IN xpra_cmp )&lt;/P&gt;&lt;P&gt;              AND ( PERSON_RESPONSIB IN xpra_res ) ).&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this correct way to process multiple select-options values.&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Viral Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jan 2010 08:22:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-value-processing/m-p/6593131#M1436141</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-25T08:22:17Z</dc:date>
    </item>
    <item>
      <title>Re: select-option value processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-value-processing/m-p/6593132#M1436142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Remove the braces&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Code snippet for you:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECT werks lgort iblnr gjahr zldat sobkz bldat gidat budat
  FROM ikpf
  INTO CORRESPONDING FIELDS OF TABLE it_ikpf
  WHERE werks IN s_werks AND
        lgort IN s_lgort AND
        iblnr IN s_iblnr AND
        gjahr IN s_gjahr AND
        zldat IN s_zldat .

  DESCRIBE TABLE it_ikpf LINES res.
  IF res = 0.
    WRITE:/ 'No records matching the selection criteria'.
    EXIT.
  ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jan 2010 08:26:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-value-processing/m-p/6593132#M1436142</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-25T08:26:01Z</dc:date>
    </item>
    <item>
      <title>Re: select-option value processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-value-processing/m-p/6593133#M1436143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The query still doesnt work.&lt;/P&gt;&lt;P&gt;actually i want to use it with OR option in query, still it selects all the records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Viral&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jan 2010 08:37:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-value-processing/m-p/6593133#M1436143</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-25T08:37:50Z</dc:date>
    </item>
    <item>
      <title>Re: select-option value processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-value-processing/m-p/6593134#M1436144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1) Please debug the select query applying &lt;STRONG&gt;OR&lt;/STRONG&gt;  as per your requirement.&lt;/P&gt;&lt;P&gt;2) Provide the same inputs in the table in SE11 and see how many records it fetches.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jan 2010 08:48:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-value-processing/m-p/6593134#M1436144</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-25T08:48:58Z</dc:date>
    </item>
    <item>
      <title>Re: select-option value processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-value-processing/m-p/6593135#M1436145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Manas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did the same thing, but it stil didnt fetch the required result. If I oress 'Enter' key after entering value in select-option then It worls fine.&lt;/P&gt;&lt;P&gt;Do I need to use LOW or HIGH value in query?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Viral Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jan 2010 08:54:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-value-processing/m-p/6593135#M1436145</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-25T08:54:37Z</dc:date>
    </item>
    <item>
      <title>Re: select-option value processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-value-processing/m-p/6593136#M1436146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No you need not use the high low in your code just check the table if the sign and all getting populated properly in debugging mode...thats it you do what ever in the query it should not matter ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jan 2010 09:13:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-value-processing/m-p/6593136#M1436146</guid>
      <dc:creator>anup_deshmukh4</dc:creator>
      <dc:date>2010-01-25T09:13:16Z</dc:date>
    </item>
  </channel>
</rss>

