<?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: how to pass select-options in key while using Read Statement. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-pass-select-options-in-key-while-using-read-statement/m-p/4097732#M979876</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;reading a internal will always return single record. but in select options is itself works as a table. so you need to read the table for each value of select options by putting a loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Azad.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Jun 2008 10:50:22 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-06-25T10:50:22Z</dc:date>
    <item>
      <title>how to pass select-options in key while using Read Statement.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-pass-select-options-in-key-while-using-read-statement/m-p/4097731#M979875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi SAP gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was using a select stmt. with were clause of Select-options it was working fine,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now my scenerio is changed i need to read an internal table&lt;/P&gt;&lt;P&gt;with key of select-options....&lt;/P&gt;&lt;P&gt;how to read internal table with key S_MATNR (Select-options).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jun 2008 10:47:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-pass-select-options-in-key-while-using-read-statement/m-p/4097731#M979875</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-25T10:47:01Z</dc:date>
    </item>
    <item>
      <title>Re: how to pass select-options in key while using Read Statement.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-pass-select-options-in-key-while-using-read-statement/m-p/4097732#M979876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;reading a internal will always return single record. but in select options is itself works as a table. so you need to read the table for each value of select options by putting a loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Azad.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jun 2008 10:50:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-pass-select-options-in-key-while-using-read-statement/m-p/4097732#M979876</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-25T10:50:22Z</dc:date>
    </item>
    <item>
      <title>Re: how to pass select-options in key while using Read Statement.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-pass-select-options-in-key-while-using-read-statement/m-p/4097733#M979877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You cannot use READ TABLE but LOOP AT ITAB will work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
data: t_mara type TABLE OF mara,
      e_mara type mara.
SELECT-OPTIONS: s_matnr for mara-matnr.

LOOP at t_mara INTO e_mara WHERE matnr in s_matnr.
ENDLOOP.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jun 2008 10:52:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-pass-select-options-in-key-while-using-read-statement/m-p/4097733#M979877</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-25T10:52:40Z</dc:date>
    </item>
    <item>
      <title>Re: how to pass select-options in key while using Read Statement.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-pass-select-options-in-key-while-using-read-statement/m-p/4097734#M979878</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;We can certainly do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We need to loop the internal table with select-options condition.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Example  :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;LOOP AT ITAB WHERE FIELD =  S_FIELD.
.............
ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should solve your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plz reward if useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Dhanashri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jun 2008 10:58:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-pass-select-options-in-key-while-using-read-statement/m-p/4097734#M979878</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-25T10:58:22Z</dc:date>
    </item>
    <item>
      <title>Re: how to pass select-options in key while using Read Statement.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-pass-select-options-in-key-while-using-read-statement/m-p/4097735#M979879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Loop at the select option and read the table for each value of select option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is no other way out, we can't not use select-options as key for read statment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Bikas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jun 2008 11:03:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-pass-select-options-in-key-while-using-read-statement/m-p/4097735#M979879</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-25T11:03:11Z</dc:date>
    </item>
  </channel>
</rss>

