<?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: Regarding passing selection screen values into internal table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-passing-selection-screen-values-into-internal-table/m-p/1459883#M217157</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Prasad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess somewhere on your selection screen there is also a parameter for sales order (eg. pa_vbeln)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT posnr&lt;/P&gt;&lt;P&gt;      FROM vbap&lt;/P&gt;&lt;P&gt;      INTO TABLE i_item&lt;/P&gt;&lt;P&gt;     WHERE vbeln EQ pa_vbeln&lt;/P&gt;&lt;P&gt;       AND posnr IN s_posnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will get all position numbers in your internal table.&lt;/P&gt;&lt;P&gt;&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;John.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Jun 2006 06:39:03 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-06-21T06:39:03Z</dc:date>
    <item>
      <title>Regarding passing selection screen values into internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-passing-selection-screen-values-into-internal-table/m-p/1459882#M217156</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 created one selection screen with fields &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;POSNR LIKE VBAP-POSNR&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;SELECT-OPTIONS: s_posnr FOR vbap-posnr.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had created one internal table as:&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;DATA: BEGIN OF i_item OCCURS 0,&lt;/P&gt;&lt;P&gt;        posnr     LIKE vbap-posnr,&lt;/P&gt;&lt;P&gt;      END OF i_item.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now what i want is to pass what ever entries available in &amp;lt;b&amp;gt;s_posnr into i_item&amp;lt;/b&amp;gt; internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If user gives 10 in select-screen i_item should have 10,&lt;/P&gt;&lt;P&gt;If user gives 10 to 30 in select-screen i_item should have 10,20,30 entries.&lt;/P&gt;&lt;P&gt;If user gives nothing in s_posnr of selection screen&lt;/P&gt;&lt;P&gt;then i_item should have all the valid item no's[POSNR's]&lt;/P&gt;&lt;P&gt;from respective sales order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody tell me how can i solve this issue!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Prasad.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jun 2006 06:36:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-passing-selection-screen-values-into-internal-table/m-p/1459882#M217156</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-21T06:36:17Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding passing selection screen values into internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-passing-selection-screen-values-into-internal-table/m-p/1459883#M217157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Prasad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess somewhere on your selection screen there is also a parameter for sales order (eg. pa_vbeln)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT posnr&lt;/P&gt;&lt;P&gt;      FROM vbap&lt;/P&gt;&lt;P&gt;      INTO TABLE i_item&lt;/P&gt;&lt;P&gt;     WHERE vbeln EQ pa_vbeln&lt;/P&gt;&lt;P&gt;       AND posnr IN s_posnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will get all position numbers in your internal table.&lt;/P&gt;&lt;P&gt;&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;John.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jun 2006 06:39:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-passing-selection-screen-values-into-internal-table/m-p/1459883#M217157</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-21T06:39:03Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding passing selection screen values into internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-passing-selection-screen-values-into-internal-table/m-p/1459884#M217158</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 posnr&lt;/P&gt;&lt;P&gt;from vbap&lt;/P&gt;&lt;P&gt;into table i_item&lt;/P&gt;&lt;P&gt;where posnr in S_posnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;navneeth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jun 2006 06:39:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-passing-selection-screen-values-into-internal-table/m-p/1459884#M217158</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-21T06:39:26Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding passing selection screen values into internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-passing-selection-screen-values-into-internal-table/m-p/1459885#M217159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Prasad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You cannot directly get as you don't know the interval of the orders.&lt;/P&gt;&lt;P&gt;So, best thing is to get the values from the VBAK / VBAP table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT * from VBAP into ITAB where posnr = s_posnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note : Please mark the helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jun 2006 06:41:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-passing-selection-screen-values-into-internal-table/m-p/1459885#M217159</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-21T06:41:39Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding passing selection screen values into internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-passing-selection-screen-values-into-internal-table/m-p/1459886#M217160</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 posnr&lt;/P&gt;&lt;P&gt;from vbap&lt;/P&gt;&lt;P&gt;into table itab&lt;/P&gt;&lt;P&gt;where posnr in S_POSNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward Points if it helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Gunjan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jun 2006 06:41:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-passing-selection-screen-values-into-internal-table/m-p/1459886#M217160</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-21T06:41:41Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding passing selection screen values into internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-passing-selection-screen-values-into-internal-table/m-p/1459887#M217161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;select posnr from vbap&lt;/P&gt;&lt;P&gt;            into table i_item&lt;/P&gt;&lt;P&gt;             where posnr in S_posnr.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jun 2006 06:42:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-passing-selection-screen-values-into-internal-table/m-p/1459887#M217161</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-21T06:42:21Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding passing selection screen values into internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-passing-selection-screen-values-into-internal-table/m-p/1459888#M217162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;select vbap~posnr from vbap&lt;/P&gt;&lt;P&gt;into table i_item&lt;/P&gt;&lt;P&gt;where vbap where vbeln = p_vbeln&lt;/P&gt;&lt;P&gt;and vbap~posnr in s_posnr.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jun 2006 06:43:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-passing-selection-screen-values-into-internal-table/m-p/1459888#M217162</guid>
      <dc:creator>former_member186741</dc:creator>
      <dc:date>2006-06-21T06:43:15Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding passing selection screen values into internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-passing-selection-screen-values-into-internal-table/m-p/1459889#M217163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Prasad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;1&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;Write SELECT query like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT POSNR&lt;/P&gt;&lt;P&gt;FROM VBAP &lt;/P&gt;&lt;P&gt;into table i_item&lt;/P&gt;&lt;P&gt;where posnr in s_posnr.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;2&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;Moreover u should also pass VBELN in WHERE condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Thanks,&lt;/P&gt;&lt;P&gt;Venkat.O&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Venkat.O&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jun 2006 06:52:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-passing-selection-screen-values-into-internal-table/m-p/1459889#M217163</guid>
      <dc:creator>venkat_o</dc:creator>
      <dc:date>2006-06-21T06:52:53Z</dc:date>
    </item>
  </channel>
</rss>

