<?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: Create Internal Order - KO01 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-internal-order-ko01/m-p/12029240#M1967759</link>
    <description>&lt;P&gt;Where used list for this BAPI might help you &lt;/P&gt;</description>
    <pubDate>Wed, 31 Jul 2019 16:21:28 GMT</pubDate>
    <dc:creator>srikanthnalluri</dc:creator>
    <dc:date>2019-07-31T16:21:28Z</dc:date>
    <item>
      <title>Create Internal Order - KO01</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-internal-order-ko01/m-p/12029239#M1967758</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
  &lt;P&gt;I am trying to create Internal order and following are the fields that I have filled:&lt;/P&gt;
  &lt;P&gt;i_master_datb-objectclass = 'OCOST'.&lt;BR /&gt; i_master_data-order = 'Sankar4'. "Order Number&lt;BR /&gt; i_master_data-order_type = 'MSAR'. "Order Type&lt;BR /&gt; i_master_data-order_name = 'Internal order sample '. "Description&lt;BR /&gt; i_master_data-co_area = 'XX00'. "Controlling Area&lt;BR /&gt; i_master_data-comp_code = '001'. " Company Code&lt;BR /&gt; i_master_data-currency = 'USD'. "Order Currency&lt;BR /&gt; i_master_data-plant = '0135'. "Plant&lt;/P&gt;
  &lt;P&gt;*** BAPI for internal order&lt;/P&gt;
  &lt;P&gt;CALL FUNCTION 'BAPI_INTERNALORDER_CREATE'&lt;BR /&gt; EXPORTING&lt;BR /&gt; i_master_data = i_master_data&lt;BR /&gt; testrun = testrun&lt;BR /&gt; i_master_datb = i_master_datb&lt;BR /&gt; IMPORTING&lt;BR /&gt; e_master_data = e_master_data&lt;BR /&gt; orderid = e_orderid&lt;BR /&gt; TABLES&lt;BR /&gt; srules = srules&lt;BR /&gt; return = et_return.&lt;/P&gt;
  &lt;P&gt;Issue: BAPI is returning "Enter Order no'.&lt;/P&gt;
  &lt;P&gt;Let me know if I am missing any mandatory field that has to be filled.&lt;/P&gt;
  &lt;P&gt;Thanks in advance.&lt;/P&gt;
  &lt;P&gt;Regards,&lt;/P&gt;
  &lt;P&gt;Sankar Gelivi&lt;/P&gt;
  &lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;U&gt;&lt;/U&gt;&lt;SUB&gt;&lt;/SUB&gt;&lt;SUP&gt;&lt;/SUP&gt;
   &lt;DEL&gt;&lt;/DEL&gt;&lt;/P&gt;
  &lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;U&gt;&lt;/U&gt;&lt;SUB&gt;&lt;/SUB&gt;&lt;SUP&gt;&lt;/SUP&gt;
   &lt;DEL&gt;&lt;/DEL&gt;&lt;/P&gt;
  &lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;U&gt;&lt;/U&gt;&lt;SUB&gt;&lt;/SUB&gt;&lt;SUP&gt;&lt;/SUP&gt;
   &lt;DEL&gt;&lt;/DEL&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2019 14:29:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-internal-order-ko01/m-p/12029239#M1967758</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2019-07-31T14:29:31Z</dc:date>
    </item>
    <item>
      <title>Re: Create Internal Order - KO01</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-internal-order-ko01/m-p/12029240#M1967759</link>
      <description>&lt;P&gt;Where used list for this BAPI might help you &lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2019 16:21:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-internal-order-ko01/m-p/12029240#M1967759</guid>
      <dc:creator>srikanthnalluri</dc:creator>
      <dc:date>2019-07-31T16:21:28Z</dc:date>
    </item>
    <item>
      <title>Re: Create Internal Order - KO01</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-internal-order-ko01/m-p/12029241#M1967760</link>
      <description>&lt;P&gt;The mandatory fields are determined by the order type configuration. Is external number range set for 'MSAR'? If yes can you check what happens if you enter the order ID in all upper case? Also what is the message class/number of the error returned? &lt;/P&gt;</description>
      <pubDate>Thu, 01 Aug 2019 09:14:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-internal-order-ko01/m-p/12029241#M1967760</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2019-08-01T09:14:45Z</dc:date>
    </item>
    <item>
      <title>Re: Create Internal Order - KO01</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-internal-order-ko01/m-p/12029242#M1967761</link>
      <description>&lt;P&gt;Hi Gabor Marian,&lt;/P&gt;&lt;P&gt;   There is an enhancement for the BAPI 'BAPI_INTERNALORDER_CREATE' which is clearing the value. &lt;/P&gt;&lt;P&gt;   I have just added entry in the table 'ZFI_ENH_ACTIVE' with Status = space.&lt;/P&gt;&lt;P&gt;Now, i have see how to pass control that enhancement, without over writing the data.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Aug 2019 09:34:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-internal-order-ko01/m-p/12029242#M1967761</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2019-08-01T09:34:36Z</dc:date>
    </item>
    <item>
      <title>Re: Create Internal Order - KO01</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-internal-order-ko01/m-p/12029243#M1967762</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;Solution to create Internal order:&lt;/P&gt;&lt;P&gt;DATA: i_master_data LIKE bapi2075_7,&lt;BR /&gt;
 e_master_data LIKE bapi2075_2,&lt;BR /&gt;
 e_orderid LIKE bapi2075_2-order,&lt;BR /&gt;
 i_master_datb LIKE bapi2075_7b,&lt;BR /&gt;
 et_return TYPE bapiret2_t,&lt;BR /&gt;testrun LIKE bapi0012_gen-testrun,&lt;BR /&gt;
 srules TYPE TABLE OF bapi2075_6,&lt;/P&gt;&lt;P&gt; w_aufnr TYPE aufnr,&lt;BR /&gt;
 e_return_cm TYPE bapiret2.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
i_master_datb-objectclass = 'OCOST'.&lt;BR /&gt;
i_master_datb-statistical = abap_true.&lt;BR /&gt;
i_master_data-order = 'GELIVI'. "Order Number&lt;BR /&gt;
i_master_data-order_type = 'MSAR'. "Order Type&lt;BR /&gt;
i_master_data-order_name = 'Internal order sample '. "Description&lt;/P&gt;&lt;P&gt;i_master_data-co_area = 'XX00'. "Controlling Area&lt;BR /&gt;
i_master_data-comp_code = '001'. "Company Code&lt;BR /&gt;
i_master_data-currency = 'USD'. "Order Currency&lt;/P&gt;&lt;P&gt;*** BAPI was enhanced and ABAP memory id was created.&lt;/P&gt;&lt;P&gt;EXPORT w_aufnr = i_master_data-order TO MEMORY ID 'ZAUFNR'.&lt;BR /&gt;
IMPORT w_aufnr = w_aufnr FROM MEMORY ID 'ZAUFNR'.&lt;BR /&gt;
&lt;BR /&gt;
CALL FUNCTION 'BAPI_INTERNALORDER_CREATE'&lt;BR /&gt;
 EXPORTING&lt;BR /&gt;
 i_master_data = i_master_data&lt;BR /&gt;
 testrun = testrun&lt;BR /&gt;
 i_master_datb = i_master_datb&lt;BR /&gt;
 IMPORTING&lt;BR /&gt;orderid = e_orderid&lt;BR /&gt;
 TABLES&lt;BR /&gt;return = et_return.&lt;BR /&gt;
&lt;BR /&gt;
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'&lt;BR /&gt;
 EXPORTING&lt;BR /&gt;
 wait = 'X'&lt;BR /&gt;
 IMPORTING&lt;BR /&gt;
 return = e_return_cm.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;U&gt;&lt;/U&gt;&lt;SUB&gt;&lt;/SUB&gt;&lt;SUP&gt;&lt;/SUP&gt;&lt;DEL&gt;&lt;/DEL&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;U&gt;&lt;/U&gt;&lt;SUB&gt;&lt;/SUB&gt;&lt;SUP&gt;&lt;/SUP&gt;&lt;DEL&gt;&lt;/DEL&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;U&gt;&lt;/U&gt;&lt;SUB&gt;&lt;/SUB&gt;&lt;SUP&gt;&lt;/SUP&gt;&lt;DEL&gt;&lt;/DEL&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;U&gt;&lt;/U&gt;&lt;SUB&gt;&lt;/SUB&gt;&lt;SUP&gt;&lt;/SUP&gt;&lt;DEL&gt;&lt;/DEL&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Aug 2019 12:54:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-internal-order-ko01/m-p/12029243#M1967762</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2019-08-01T12:54:03Z</dc:date>
    </item>
  </channel>
</rss>

