|
|
Note that the name of the port SAPTST may vary from system to system. The name can be seen in the Sender port of the IDOC
Create new E1DK02 segment The E1DK02 Document header reference data segment includes references to other documents.
The new E1DK02 segment should be created as a copy of the existing E1DK02, and at the same level.
Change the following fields of the record:
Qualifier: 002 Document item: 10
Qualifier = IDOC qualifier reference document = 002 = Vendor order Document item =: Item number, see the item number on the purchasing document
Create E1EDP02 segment The E1EDP02 Document Item Reference data includes references to other documents.
Create E1EDP02 as subelement of E1EDP01 Document item General Data
Qualifier: 001 Document: 4500010757 Document item: 10
Qualifier : IDOC qualifier reference document 001 = Customer purchase order Document : Document number – The number of the purchase order Document item : Item number, see the item number on the purchasing document
Changing the ACTION field at header or item level
If you are working without a confirmation control key, the IDoc must have a processable action code at either header or item level:
At header level, the segment field ACTION of segment E1EDK01 must be filled with the value '000' if the complete purchase order is to be confirmed.
At item level, the segment field ACTION of segment E1EDP01 must be filled with the value '000' or '004' if the PO item is to be confirmed.
Test IDOC
After the changes have been made, press the Standard Inbound button to generate the IDOC.
If no errors occurs go to transaction WE02 to check if the IDOC has been processed without errors.
If the IDOC has been processed without errors, then display the Purchase order (Transaction ME23). display the item data and double-click on the item line. If all went well, you will now se that the field Acknowl. no. has been filled out.
|
|