<?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 Sales Order using IDoc in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-sales-order-using-idoc/m-p/5394690#M1239818</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if the file is at application server then write a program to extract that file and map that file according to the BAPI_SALESORDER_CREATEFROMDAT2 BAPI  in the program which will create a SO and schdule this program as a job which will read the file and creates SO. Here there is no need of IDOC to be created. IDOC is container which gets and sends the data to other SAP system. If the IDOC to be created then some other sytem like SAP XI (middleware ) should send the data in SO IDOC format to SAP. The file will be mapped to standard SO IDOC in middleware then it triggers this message type/IDOC of inbound SAP system where it will accpet this IDOC as inbound IDOC. for that ALE customization to be completed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;mukund&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Apr 2009 12:54:57 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-04-02T12:54:57Z</dc:date>
    <item>
      <title>Create Sales Order using IDoc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-sales-order-using-idoc/m-p/5394685#M1239813</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;Based upon customer's input file which contains header and line item details I have to create sales order in our system. We would like to use IDoc for this. Customer will send us file once a day by email or FTP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For this I have created a port and partner profile but I am not sure how the process will get initiated?&lt;/P&gt;&lt;P&gt;Can someone please let me know how can I do this? There is now outbound process involved, I just need to create sales order based upon input file using IDoc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sanjay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2009 12:31:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-sales-order-using-idoc/m-p/5394685#M1239813</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-02T12:31:10Z</dc:date>
    </item>
    <item>
      <title>Re: Create Sales Order using IDoc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-sales-order-using-idoc/m-p/5394686#M1239814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sanjay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know the following points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Format of the file.&lt;/P&gt;&lt;P&gt;2. Does the vendor is having SAP system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the format of the file is text with header and item details of sales order then there must be some specfic format in which data is coming from vendor in text. If it is non SAP system then in this case some middleware system is required which map those header and item details with standard sales order IDOC in the system. once it is mapped then it will send inbound IDOC to SAP system. To get the inbound idoc the ALE configuration should be done with the system. In partner profile for the same partner inbound and outbound idoc will be defined.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Without Middleware system the data can not be converted into IDOC format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if you have any details.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2009 12:38:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-sales-order-using-idoc/m-p/5394686#M1239814</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-02T12:38:55Z</dc:date>
    </item>
    <item>
      <title>Re: Create Sales Order using IDoc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-sales-order-using-idoc/m-p/5394687#M1239815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This discussion may help you&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="1636130"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2009 12:39:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-sales-order-using-idoc/m-p/5394687#M1239815</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-02T12:39:08Z</dc:date>
    </item>
    <item>
      <title>Re: Create Sales Order using IDoc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-sales-order-using-idoc/m-p/5394688#M1239816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have two options here to post SO from file after reading file from application server and mapping to respective format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) using BAPI_SALESORDER_CREATEFROMDAT2 BAPI &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2)  or Idoc ORDERS02 / message type  ORDERS to post SO&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2009 12:41:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-sales-order-using-idoc/m-p/5394688#M1239816</guid>
      <dc:creator>Manohar2u</dc:creator>
      <dc:date>2009-04-02T12:41:58Z</dc:date>
    </item>
    <item>
      <title>Re: Create Sales Order using IDoc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-sales-order-using-idoc/m-p/5394689#M1239817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mukund,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Our customer is not using SAP. File will be a text file and they can create in whatever format required.&lt;/P&gt;&lt;P&gt;Is it not possible to conver data into IDoc format in SAP and pass it to IDoc and then it creates sales order?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sanjay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2009 12:47:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-sales-order-using-idoc/m-p/5394689#M1239817</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-02T12:47:18Z</dc:date>
    </item>
    <item>
      <title>Re: Create Sales Order using IDoc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-sales-order-using-idoc/m-p/5394690#M1239818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if the file is at application server then write a program to extract that file and map that file according to the BAPI_SALESORDER_CREATEFROMDAT2 BAPI  in the program which will create a SO and schdule this program as a job which will read the file and creates SO. Here there is no need of IDOC to be created. IDOC is container which gets and sends the data to other SAP system. If the IDOC to be created then some other sytem like SAP XI (middleware ) should send the data in SO IDOC format to SAP. The file will be mapped to standard SO IDOC in middleware then it triggers this message type/IDOC of inbound SAP system where it will accpet this IDOC as inbound IDOC. for that ALE customization to be completed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;mukund&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2009 12:54:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-sales-order-using-idoc/m-p/5394690#M1239818</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-02T12:54:57Z</dc:date>
    </item>
    <item>
      <title>Re: Create Sales Order using IDoc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-sales-order-using-idoc/m-p/5394691#M1239819</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;in your  case u can go to LSMW using input as falt  for IDOC creation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="1289328"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let me know if u have any query&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~linganna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2009 12:56:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-sales-order-using-idoc/m-p/5394691#M1239819</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-02T12:56:38Z</dc:date>
    </item>
    <item>
      <title>Re: Create Sales Order using IDoc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-sales-order-using-idoc/m-p/5394692#M1239820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In case of non sap system the data is flow in below order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Non SAP system -&amp;gt;Middleware-&amp;gt; SAP system which is called EDI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ALE is done within SAP systems only.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2009 12:57:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-sales-order-using-idoc/m-p/5394692#M1239820</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-02T12:57:24Z</dc:date>
    </item>
    <item>
      <title>Re: Create Sales Order using IDoc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-sales-order-using-idoc/m-p/5394693#M1239821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manohar,&lt;/P&gt;&lt;P&gt;We have already considerred option one creating sales order using BAPI - BAPI_SALESORDER_CREATEFROMDAT2. But we would like to do this using IDoc. I am not sure whether its possible or not?because we are not using any middleware and also we don't have to do any outboud process.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2009 12:57:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-sales-order-using-idoc/m-p/5394693#M1239821</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-02T12:57:24Z</dc:date>
    </item>
    <item>
      <title>Re: Create Sales Order using IDoc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-sales-order-using-idoc/m-p/5394694#M1239822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sanjay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ALE/EDI is used to automated the systems. The data is transferd in IDOC format in SAP. My question is why you need IDOC to be created without any system involved.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2009 13:10:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-sales-order-using-idoc/m-p/5394694#M1239822</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-02T13:10:39Z</dc:date>
    </item>
    <item>
      <title>Re: Create Sales Order using IDoc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-sales-order-using-idoc/m-p/5394695#M1239823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;then keep sales order file in the port you created with in IDOC format and in abap program use EDI_DATA_INCOMING function module to process and created sales order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
      CALL FUNCTION 'EDI_DATA_INCOMING'
       EXPORTING
         PATHNAME       = w_in_filename "Application server file name with full path
         PORT           = p_port.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you file should be of same format including EDIDC/EDIDD structure fields.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2009 13:12:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-sales-order-using-idoc/m-p/5394695#M1239823</guid>
      <dc:creator>Manohar2u</dc:creator>
      <dc:date>2009-04-02T13:12:42Z</dc:date>
    </item>
    <item>
      <title>Re: Create Sales Order using IDoc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-sales-order-using-idoc/m-p/5394696#M1239824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can try in LSMW. do the setting for inbound proecessing in setting menu. Create file port and give the file path and also creates other parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In object creation select IDOC proecssing. Select message type and IDOC of saled order creation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i am not sure how it map the file with standard IDOC of sales order as i have not tried before.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;mukund&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2009 13:20:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-sales-order-using-idoc/m-p/5394696#M1239824</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-02T13:20:16Z</dc:date>
    </item>
    <item>
      <title>Re: Create Sales Order using IDoc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-sales-order-using-idoc/m-p/5394697#M1239825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;You cannot directly call the function modules that process the idoc, because these functions are called dynamically by the ALE layer and the function expects data in a certian format (IDoc format ). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;BAPI would be the best way to go for your scenario.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However there is a workaround if you want to use IDoc only. You can follow this approach :&lt;/P&gt;&lt;P&gt;1. Populate an outbound ORDERS05 IDoc from the file data.&lt;/P&gt;&lt;P&gt;2. Distribute it to the same system, i.e sender system and receiver system is same.&lt;/P&gt;&lt;P&gt;3. On the Inbound side the Idoc that you created on the outbound side will be received and processed.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
"R3  File-----&amp;gt;Outound ORDRES05  -----
______________________________________|
|
'------&amp;gt; " Inbound ORDERS05 ( in the same R3 system)

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The tricky part is sending an Idoc and receiving in the same system, but you can find how to do this on the wiki pages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Advait&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2009 13:27:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-sales-order-using-idoc/m-p/5394697#M1239825</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-02T13:27:00Z</dc:date>
    </item>
    <item>
      <title>Re: Create Sales Order using IDoc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-sales-order-using-idoc/m-p/5394698#M1239826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I used BAPI to create order&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jul 2009 16:05:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-sales-order-using-idoc/m-p/5394698#M1239826</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-09T16:05:26Z</dc:date>
    </item>
  </channel>
</rss>

