<?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>Question Re: Passing select option values to BAPI exporting parameter in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/passing-select-option-values-to-bapi-exporting-parameter/qaa-p/12570887#M4713697</link>
    <description>&lt;P&gt;Do a simple &lt;/P&gt;&lt;P&gt;SELECT aufnr FROM AUFK using your_select_option INTO TABLE  @data(my_table).   &lt;/P&gt;&lt;P&gt;and loop on list of result.&lt;/P&gt;&lt;P&gt;Your solution will not work using value inside a SELECT OPTION as you could set Exclude value (sign = E)&lt;/P&gt;</description>
    <pubDate>Wed, 19 Oct 2022 06:13:20 GMT</pubDate>
    <dc:creator>FredericGirod</dc:creator>
    <dc:date>2022-10-19T06:13:20Z</dc:date>
    <item>
      <title>Passing select option values to BAPI exporting parameter</title>
      <link>https://community.sap.com/t5/technology-q-a/passing-select-option-values-to-bapi-exporting-parameter/qaq-p/12570886</link>
      <description>&lt;P&gt;I have done all the research for above question on SAP community and google and then asking it here as I didn't found answers relevant to my problem.&lt;/P&gt;
  &lt;P&gt;I am using BAPI_PRODORD_GET_DETAIL to extract production order details using this BAPI. In this example it is Header data.&lt;/P&gt; 
  &lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'BAPI_PRODORD_GET_DETAIL'&amp;lt;br&amp;gt;  EXPORTING&amp;lt;br&amp;gt;    NUMBER                 = ordnr&amp;lt;br&amp;gt;*   COLLECTIVE_ORDER       =&amp;lt;br&amp;gt;    ORDER_OBJECTS          = WA_OBJ&amp;lt;br&amp;gt; IMPORTING&amp;lt;br&amp;gt;   RETURN                 = RET&amp;lt;br&amp;gt; TABLES&amp;lt;br&amp;gt;   HEADER                 = it_header&amp;lt;br&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;I have to pass select-options values like s_aufnr-low and s_sufnr-high to exporting parameter NUMBER in BAPI which is of type BAPI_ORDER_KEY-ORDER_NUMBER. Ordnr is of same type as NUMBER.&lt;/P&gt;
  &lt;P&gt;I have come across answers where we have to convert s_aufnr to ranges table then loop ranges table but it will give dump as range table and exporting parameter NUMBER have different types.&lt;/P&gt;
  &lt;P&gt;Here, I have created range table r_aufnr and trying to pass values to parameter Ordnr having same type as NUMBER parameter in BAPI for export but getting error as The type of "R_AUFNR" cannot be converted to the type of "ORDNR"&lt;/P&gt;
  &lt;P&gt;Please provide solution for this as I want to pass select-options range for low and high values and extract data for those ranges.&lt;/P&gt;
  &lt;P&gt;If single aufnr value is entered it works fine. issue is for ranges,&lt;/P&gt;
  &lt;P&gt;Thanks,&lt;/P&gt;
  &lt;P&gt;Pravin.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Oct 2022 13:32:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/passing-select-option-values-to-bapi-exporting-parameter/qaq-p/12570886</guid>
      <dc:creator>pravin_gaikwad212118</dc:creator>
      <dc:date>2022-10-14T13:32:12Z</dc:date>
    </item>
    <item>
      <title>Re: Passing select option values to BAPI exporting parameter</title>
      <link>https://community.sap.com/t5/technology-q-a/passing-select-option-values-to-bapi-exporting-parameter/qaa-p/12570887#M4713697</link>
      <description>&lt;P&gt;Do a simple &lt;/P&gt;&lt;P&gt;SELECT aufnr FROM AUFK using your_select_option INTO TABLE  @data(my_table).   &lt;/P&gt;&lt;P&gt;and loop on list of result.&lt;/P&gt;&lt;P&gt;Your solution will not work using value inside a SELECT OPTION as you could set Exclude value (sign = E)&lt;/P&gt;</description>
      <pubDate>Wed, 19 Oct 2022 06:13:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/passing-select-option-values-to-bapi-exporting-parameter/qaa-p/12570887#M4713697</guid>
      <dc:creator>FredericGirod</dc:creator>
      <dc:date>2022-10-19T06:13:20Z</dc:date>
    </item>
  </channel>
</rss>

