<?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: IDOC in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc/m-p/3695753#M889863</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;Salesorder IDOC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this example a purchase is created, using the SAP standard functionallity for creating salesorders. When the salesorder is saved, and IDOC is automatically generated. Then we use the IDOC test tool to &lt;/P&gt;&lt;P&gt;create an order confirmation from the salesorder IDOC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create Vendor&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create customer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create partner profiles&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create purchase order&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create the order confirmation IDOC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create vendor&lt;/P&gt;&lt;P&gt;Create vendor using transaction code MK01. You can also use an existing vendor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vendor: T-BILHFN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Purch. org. : 001&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Purchase organization may vary from system to system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create Customer&lt;/P&gt;&lt;P&gt;Create a customer using transaction VD01. You could also use an existing customer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the follwing example the vendor 3471 is used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create partner profiles&lt;/P&gt;&lt;P&gt;Create vendor partner profile&lt;/P&gt;&lt;P&gt;General data&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Out bound parameters&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt; 	 &lt;/P&gt;&lt;P&gt;		&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt; 	 &lt;/P&gt;&lt;P&gt;		&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inbound parameters&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt; 	 &lt;/P&gt;&lt;P&gt;		&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create customer partner profile&lt;/P&gt;&lt;P&gt;General data&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt; 	 &lt;/P&gt;&lt;P&gt;		&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Outbound parameters&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt; 	 &lt;/P&gt;&lt;P&gt;		&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt; 	 &lt;/P&gt;&lt;P&gt;		&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Imbound parameters&lt;/P&gt;&lt;P&gt;   	 &lt;/P&gt;&lt;P&gt;	&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create purchase order&lt;/P&gt;&lt;P&gt;Use transaction ME21 to create the purchase order&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt; 	 &lt;/P&gt;&lt;P&gt;		&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt; 	 &lt;/P&gt;&lt;P&gt;		&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To send an IDOC when the document is finished, go to Header -&amp;gt; Messages and &lt;/P&gt;&lt;P&gt;change the output medium to EDI.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt; 	 &lt;/P&gt;&lt;P&gt;		&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then select Further Data and change Dispatch Time to Send immediately. This will &lt;/P&gt;&lt;P&gt;create the IDOC as soon as the purchase order is saved.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt; 	 &lt;/P&gt;&lt;P&gt;		&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Save the document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use transaction WE02 to check that the IDOC has been created without errors&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create the order confirmation IDOC&lt;/P&gt;&lt;P&gt;As the system has not been configured to handle the IDOC flow, the IDOC test tool &lt;/P&gt;&lt;P&gt;is used to simulate the flow. The Order IDOC is used as a template to create the &lt;/P&gt;&lt;P&gt;order confirmation IDOC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Transaction code: WE19&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Type the number of the Order IDOC in on the start screen and select menu IDOC -&amp;gt; &lt;/P&gt;&lt;P&gt;Create to create the template.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Change the control record&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt; 	 &lt;/P&gt;&lt;P&gt;		&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that the name of the port SAPTST may vary from system to system. The name can be seen in the Sender &lt;/P&gt;&lt;P&gt;port of the IDOC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create new E1DK02 segment&lt;/P&gt;&lt;P&gt;The E1DK02 Document header reference data segment includes references to other documents.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The new E1DK02 segment should be created as a copy of the existing E1DK02, and at the same level.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Change the following fields of the record:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Qualifier: 002&lt;/P&gt;&lt;P&gt;Document item: 10&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Qualifier = IDOC qualifier reference document = 002 = Vendor order&lt;/P&gt;&lt;P&gt;Document item =: Item number, see the item number on the purchasing document&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create E1EDP02 segment&lt;/P&gt;&lt;P&gt;The E1EDP02 Document Item Reference data includes references to other documents.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create E1EDP02 as subelement of E1EDP01 Document item General Data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Qualifier: 001&lt;/P&gt;&lt;P&gt;Document: 4500010757&lt;/P&gt;&lt;P&gt;Document item: 10&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Qualifier : IDOC qualifier reference document 001 = Customer purchase order&lt;/P&gt;&lt;P&gt;Document : Document number &amp;#150; The number of the purchase order&lt;/P&gt;&lt;P&gt;Document item : Item number, see the item number on the purchasing document&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Changing the ACTION field at header or item level&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are working without a confirmation control key, the IDoc must have a processable action code at either &lt;/P&gt;&lt;P&gt;header or item level:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At header level, the segment field ACTION of segment E1EDK01 must be filled with the value '000' if the complete &lt;/P&gt;&lt;P&gt;purchase order is to be confirmed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At item level, the segment field ACTION of segment E1EDP01 must be filled with the value '000' or '004' if the PO &lt;/P&gt;&lt;P&gt;item is to be confirmed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Test IDOC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After the changes have been made, press the Standard Inbound button to generate the IDOC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If no errors occurs go to transaction WE02 to check if the IDOC has been processed without errors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the IDOC has been processed without errors, then display the Purchase order (Transaction ME23). display the &lt;/P&gt;&lt;P&gt;item data and double-click on the item line. If all went well, you will now se that the field Acknowl. no. has been &lt;/P&gt;&lt;P&gt;filled out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For more information....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[http://www.sapmaterial.com/idoc_sample.html]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls. reward if useful....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Apr 2008 03:06:49 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-04T03:06:49Z</dc:date>
    <item>
      <title>IDOC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc/m-p/3695751#M889861</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;Would anyone please give the step by step procedure for creating and transferring idocs from scratch, &lt;/P&gt;&lt;P&gt;please dont give me the links,   explaining clearly will be a great help.&lt;/P&gt;&lt;P&gt;Thanks in advance..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Apr 2008 01:27:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc/m-p/3695751#M889861</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-04T01:27:54Z</dc:date>
    </item>
    <item>
      <title>Re: IDOC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc/m-p/3695752#M889862</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;To Create Idoc we need to follow these steps:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create Segment ( WE31)&lt;/P&gt;&lt;P&gt;Create Idoc Type ( WE30 )&lt;/P&gt;&lt;P&gt;Create Message Type ( WE81 )&lt;/P&gt;&lt;P&gt;Assign Idoc Type to Message Type ( WE82 )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Creating a Segment&lt;/P&gt;&lt;P&gt;Go to transaction code WE31&lt;/P&gt;&lt;P&gt;Enter the name for your segment type and click on the Create icon&lt;/P&gt;&lt;P&gt;Type the short text&lt;/P&gt;&lt;P&gt;Enter the variable names and data elements&lt;/P&gt;&lt;P&gt;Save it and go back&lt;/P&gt;&lt;P&gt;Go to Edit -&amp;gt; Set Release&lt;/P&gt;&lt;P&gt;Follow steps to create more number of segments&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create IDOC Type&lt;/P&gt;&lt;P&gt;Go to transaction code WE30&lt;/P&gt;&lt;P&gt;Enter the Object Name, select Basic type and click Create icon&lt;/P&gt;&lt;P&gt;Select the create new option and enter a description for your basic IDOC type and press enter&lt;/P&gt;&lt;P&gt;Select the IDOC Name and click Create icon&lt;/P&gt;&lt;P&gt;The system prompts us to enter a segment type and its attributes&lt;/P&gt;&lt;P&gt;Choose the appropriate values and press Enter&lt;/P&gt;&lt;P&gt;The system transfers the name of the segment type to the IDOC editor.&lt;/P&gt;&lt;P&gt;Follow these steps to add more number of segments to Parent or as Parent-child relation&lt;/P&gt;&lt;P&gt;Save it and go back&lt;/P&gt;&lt;P&gt;Go to Edit -&amp;gt; Set release&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create Message Type&lt;/P&gt;&lt;P&gt;Go to transaction code WE81&lt;/P&gt;&lt;P&gt;Change the details from Display mode to Change mode&lt;/P&gt;&lt;P&gt;After selection, the system will give this message &amp;#147;The table is cross-client (see Help for further info)&amp;#148;. Press Enter&lt;/P&gt;&lt;P&gt;Click New Entries to create new Message Type&lt;/P&gt;&lt;P&gt;Fill details&lt;/P&gt;&lt;P&gt;Save it and go back&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assign Message Type to IDoc Type&lt;/P&gt;&lt;P&gt;Go to transaction code WE82&lt;/P&gt;&lt;P&gt;Change the details from Display mode to Change mode&lt;/P&gt;&lt;P&gt;After selection, the system will give this message &amp;#147;The table is cross-client (see Help for further info)&amp;#148;. Press Enter.&lt;/P&gt;&lt;P&gt;Click New Entries to create new Message Type.&lt;/P&gt;&lt;P&gt;Fill details&lt;/P&gt;&lt;P&gt;Save it and go back&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if it is helpful......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Apr 2008 02:36:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc/m-p/3695752#M889862</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-04T02:36:12Z</dc:date>
    </item>
    <item>
      <title>Re: IDOC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc/m-p/3695753#M889863</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;Salesorder IDOC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this example a purchase is created, using the SAP standard functionallity for creating salesorders. When the salesorder is saved, and IDOC is automatically generated. Then we use the IDOC test tool to &lt;/P&gt;&lt;P&gt;create an order confirmation from the salesorder IDOC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create Vendor&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create customer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create partner profiles&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create purchase order&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create the order confirmation IDOC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create vendor&lt;/P&gt;&lt;P&gt;Create vendor using transaction code MK01. You can also use an existing vendor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vendor: T-BILHFN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Purch. org. : 001&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Purchase organization may vary from system to system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create Customer&lt;/P&gt;&lt;P&gt;Create a customer using transaction VD01. You could also use an existing customer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the follwing example the vendor 3471 is used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create partner profiles&lt;/P&gt;&lt;P&gt;Create vendor partner profile&lt;/P&gt;&lt;P&gt;General data&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Out bound parameters&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt; 	 &lt;/P&gt;&lt;P&gt;		&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt; 	 &lt;/P&gt;&lt;P&gt;		&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inbound parameters&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt; 	 &lt;/P&gt;&lt;P&gt;		&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create customer partner profile&lt;/P&gt;&lt;P&gt;General data&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt; 	 &lt;/P&gt;&lt;P&gt;		&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Outbound parameters&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt; 	 &lt;/P&gt;&lt;P&gt;		&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt; 	 &lt;/P&gt;&lt;P&gt;		&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Imbound parameters&lt;/P&gt;&lt;P&gt;   	 &lt;/P&gt;&lt;P&gt;	&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create purchase order&lt;/P&gt;&lt;P&gt;Use transaction ME21 to create the purchase order&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt; 	 &lt;/P&gt;&lt;P&gt;		&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt; 	 &lt;/P&gt;&lt;P&gt;		&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To send an IDOC when the document is finished, go to Header -&amp;gt; Messages and &lt;/P&gt;&lt;P&gt;change the output medium to EDI.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt; 	 &lt;/P&gt;&lt;P&gt;		&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then select Further Data and change Dispatch Time to Send immediately. This will &lt;/P&gt;&lt;P&gt;create the IDOC as soon as the purchase order is saved.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt; 	 &lt;/P&gt;&lt;P&gt;		&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Save the document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use transaction WE02 to check that the IDOC has been created without errors&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create the order confirmation IDOC&lt;/P&gt;&lt;P&gt;As the system has not been configured to handle the IDOC flow, the IDOC test tool &lt;/P&gt;&lt;P&gt;is used to simulate the flow. The Order IDOC is used as a template to create the &lt;/P&gt;&lt;P&gt;order confirmation IDOC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Transaction code: WE19&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Type the number of the Order IDOC in on the start screen and select menu IDOC -&amp;gt; &lt;/P&gt;&lt;P&gt;Create to create the template.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Change the control record&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt; 	 &lt;/P&gt;&lt;P&gt;		&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that the name of the port SAPTST may vary from system to system. The name can be seen in the Sender &lt;/P&gt;&lt;P&gt;port of the IDOC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create new E1DK02 segment&lt;/P&gt;&lt;P&gt;The E1DK02 Document header reference data segment includes references to other documents.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The new E1DK02 segment should be created as a copy of the existing E1DK02, and at the same level.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Change the following fields of the record:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Qualifier: 002&lt;/P&gt;&lt;P&gt;Document item: 10&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Qualifier = IDOC qualifier reference document = 002 = Vendor order&lt;/P&gt;&lt;P&gt;Document item =: Item number, see the item number on the purchasing document&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create E1EDP02 segment&lt;/P&gt;&lt;P&gt;The E1EDP02 Document Item Reference data includes references to other documents.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create E1EDP02 as subelement of E1EDP01 Document item General Data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Qualifier: 001&lt;/P&gt;&lt;P&gt;Document: 4500010757&lt;/P&gt;&lt;P&gt;Document item: 10&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Qualifier : IDOC qualifier reference document 001 = Customer purchase order&lt;/P&gt;&lt;P&gt;Document : Document number &amp;#150; The number of the purchase order&lt;/P&gt;&lt;P&gt;Document item : Item number, see the item number on the purchasing document&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Changing the ACTION field at header or item level&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are working without a confirmation control key, the IDoc must have a processable action code at either &lt;/P&gt;&lt;P&gt;header or item level:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At header level, the segment field ACTION of segment E1EDK01 must be filled with the value '000' if the complete &lt;/P&gt;&lt;P&gt;purchase order is to be confirmed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At item level, the segment field ACTION of segment E1EDP01 must be filled with the value '000' or '004' if the PO &lt;/P&gt;&lt;P&gt;item is to be confirmed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Test IDOC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After the changes have been made, press the Standard Inbound button to generate the IDOC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If no errors occurs go to transaction WE02 to check if the IDOC has been processed without errors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the IDOC has been processed without errors, then display the Purchase order (Transaction ME23). display the &lt;/P&gt;&lt;P&gt;item data and double-click on the item line. If all went well, you will now se that the field Acknowl. no. has been &lt;/P&gt;&lt;P&gt;filled out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For more information....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[http://www.sapmaterial.com/idoc_sample.html]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls. reward if useful....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Apr 2008 03:06:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc/m-p/3695753#M889863</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-04T03:06:49Z</dc:date>
    </item>
  </channel>
</rss>

