<?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: sales order creation using BAPI using IDoc in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sales-order-creation-using-bapi-using-idoc/m-p/6619195#M1440209</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;Use this FM IDOC_READ_COMPLETELY to read idoc data. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use this BAPI SALESORDER_CREATEFROMDAT2 to create sales order.&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;Shanmugavel Chandrasekaran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Feb 2010 12:38:33 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-02-11T12:38:33Z</dc:date>
    <item>
      <title>sales order creation using BAPI using IDoc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sales-order-creation-using-bapi-using-idoc/m-p/6619194#M1440208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am getting an IDoc from PI server. I need to process that IDoc in SAP for which I have created a function module.&lt;/P&gt;&lt;P&gt;I need to read that IDoc in the FM. &lt;/P&gt;&lt;P&gt;Please give me sample code / procedure of coding step by step to validate the data from Idoc structure and creating sales order from the IDoc data. &lt;/P&gt;&lt;P&gt;Also tell me which BAPI / FM should I use to create sales order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;~Sachin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Feb 2010 12:10:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sales-order-creation-using-bapi-using-idoc/m-p/6619194#M1440208</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-11T12:10:16Z</dc:date>
    </item>
    <item>
      <title>Re: sales order creation using BAPI using IDoc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sales-order-creation-using-bapi-using-idoc/m-p/6619195#M1440209</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;Use this FM IDOC_READ_COMPLETELY to read idoc data. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use this BAPI SALESORDER_CREATEFROMDAT2 to create sales order.&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;Shanmugavel Chandrasekaran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Feb 2010 12:38:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sales-order-creation-using-bapi-using-idoc/m-p/6619195#M1440209</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-11T12:38:33Z</dc:date>
    </item>
    <item>
      <title>Re: sales order creation using BAPI using IDoc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sales-order-creation-using-bapi-using-idoc/m-p/6619196#M1440210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;why are you not using the standard IDOC_OUTPUT_ORDERS function module, and reading in the IDOCS by attaching the  port/message type/process code combination to this function module ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then the orders will be created by standard SAP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Feb 2010 12:50:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sales-order-creation-using-bapi-using-idoc/m-p/6619196#M1440210</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-11T12:50:37Z</dc:date>
    </item>
    <item>
      <title>Re: sales order creation using BAPI using IDoc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sales-order-creation-using-bapi-using-idoc/m-p/6619197#M1440211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually I have additional fields for sales order at header and item level.&lt;/P&gt;&lt;P&gt;So I have extended order type ORDERS05 to ZFRORDERS05 with additional fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am creating new FM now. I see that FM IDOC_INPUT_ORDERS is using BDC but I need to go for some FM to create sales order.&lt;/P&gt;&lt;P&gt;Please give me sample code for this FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;~Sachin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Feb 2010 12:55:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sales-order-creation-using-bapi-using-idoc/m-p/6619197#M1440211</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-11T12:55:43Z</dc:date>
    </item>
    <item>
      <title>Re: sales order creation using BAPI using IDoc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sales-order-creation-using-bapi-using-idoc/m-p/6619198#M1440212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sachin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Extended order type ORDERS05 to ZFRORDERS05 with additional fields is goodu2026&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But you can write user exits to populate the additional field to sale order fieldsu2026. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And FM IDOC_INPUT_ORDERS will post the data and create the SALES ORDERu2026&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is standard function every industry will followu2026. And this is recommended.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to create custom FM then call (BAPI_SALESORDER_CREATEFROMDAT2 Sales order: Create Sales Order) in you custom FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Ramesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Feb 2010 20:35:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sales-order-creation-using-bapi-using-idoc/m-p/6619198#M1440212</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-11T20:35:50Z</dc:date>
    </item>
  </channel>
</rss>

