Using XML Messages with an SAP ERP Back-End System
If you, as a customer, use an ERP back-end system as of SAP R/3 4.6C, you can integrate the back-end system with the purchase order collaboration of SAP SNC using XML messages and IDocs, as follows:
Up to enhancement package 3 for SAP ERP 6.0, the ERP system sends and receives data via IDocs. We deliver mappings to XML messages that are compatible with the IDocs. The table below outlines the mappings for these IDocs and XML messages
Process |
Mapping of IDoc to XML |
||
|---|---|---|---|
Direction |
IDoc |
XML Message |
|
Send purchase order from SAP ERP to SAP SNC |
IDoc to XML |
Available as of SAP R/3 4.6C |
|
Send purchase order confirmation from SAP SNC to SAP ERP |
XML to IDoc |
Available as of SAP R/3 4.6C |
|
Send changed purchase order from SAP SNC to SAP ERP as part of approval process |
XML to IDoc |
Available as of SAP ERP 6.0 |
|
Send changed purchase order from SAP ERP to SAP SNC as part of approval process |
IDoc to XML |
Available as of SAP ERP 6.0 |
|
Send new or changed purchase order from SAP ERP to SAP SNC as part of Service Parts Management |
IDoc to XML |
Available as of SAP ERP 6.0 |
|
As of enhancement package 4 for SAP ERP 6.0, the ERP system can also send and receive some data directly with the XML messages without needing to map the messages to IDocs. The following table outlines the XML messages that can be used:
Process |
XML Message |
|---|---|
Send purchase order from SAP ERP to SAP SNC |
|
Send purchase order confirmation from SAP SNC to SAP ERP |
Use IDoc/XML Mappings |
Send changed purchase order from SAP SNC to SAP ERP as part of approval process |
|
Send changed purchase order from SAP ERP to SAP SNC as part of approval process |
|
Send new or changed purchase order from SAP ERP to SAP SNC as part of Service Parts Management |
Use IDoc/XML Mappings |
Note
When sending a changed purchase order from SAP SNC, you can use either the IDoc-compatible XML messages that were available in lower releases or the XML messages that do not require mapping . We recommend that you use XML messages that do not require mapping for standard purchase order collaboration
and contract manufacturing procurement. You use the PO_PURORDERPREQ_SEND
validation check to specify which XML message is sent. If the validation check is active, SAP SNC sends thePurchaseOrderERPRequest_V1
XML message. If the validation check
is inactive, SAP SNC sends the IDoc-compatible ReplenishmentOrderNotification
XML messages. The validation check is inactive in the standard delivery.
As of enhancement package 5 for SAP ERP 6.0, you can also send purchase order confirmations from SAP SNC to SAP ERP using an XML message without needing to map the message to an IDoc. The following table outlines the XML messages that can be used:
Process |
XML Message |
|---|---|
Send purchase order from SAP ERP to SAP SNC |
|
Send purchase order confirmation from SAP SNC to SAP ERP |
|
Send changed purchase order from SAP SNC to SAP ERP as part of approval process |
|
Send changed purchase order from SAP ERP to SAP SNC as part of approval process |
|
Send new or changed purchase order from SAP ERP to SAP SNC as part of Service Parts Management |
Use IDoc/XML Mappings |
Note
When sending a changed purchase order or a purchase order confirmation from SAP SNC, you can use either the IDocs-compatible XML messages that were available in lower releases or the XML messages that do not require mapping. We recommend that you use XML messages that do not require mapping for standard purchase order collaboration and contract manufacturing procurement. You use the following validation checks to specify which XML messages are sent:
PO_PURORDERPREQ_SEND
If the validation check is active, SAP SNC sends the PurchaseOrderERPRequest_V1
XML message. If the validation check is inactive, SAP SNC sends the IDoc-compatible ReplenishmentOrderNotification
XML
messages. The validation check is inactive in the standard delivery.
PO_PURORDERPCNFREQ_SEND
If the validation check is active, SAP SNC sends the PurchaseOrderERPConfirmationRequest
XML message. If the validation check is inactive, SAP SNC sends the IDoc-compatible ReplenishmentOrderConfirmation
XML
messages. The validation check is inactive in the standard delivery.