Show TOC

Background documentationXML Messages for Purchase Order Collaboration

 

This section describes the XML messages used in purchase order collaboration in SAP Supply Network Collaboration (SAP SNC).

XML Messages for Sending and Receiving New or Changed Purchase Orders

You can use the following XML messages to send and receive new or changed purchase orders in SAP SNC:

  • ReplenishmentOrderNotification

    This XML message is used to receive a purchase order that the customer has created or changed in his or her back-end system.

    If the supplier changes and publishes a purchase order in SAP SNC. SAP SNC uses this XML message to send the changed purchase order to the customer back-end system via SAP NetWeaver. The customer back-end system uses this message to update a purchase order. This XML message requires mapping to IDocs when used with an SAP customer back-end system.

  • PurchaseOrderERPReplenishmentOrderCollaborationNotification

    You use this XML message to receive a purchase order that the customer has created or changed in his or her back-end system. You can use this XML message without mapping to IDocs when integrating with a customer back-end system as of enhancement package 4 for SAP ERP 6.0.

  • PurchaseOrderERPRequest_V1

    This XML message is relevant for contract manufacturing (subcontract orders) or purchase order collaboration with approval process. When the supplier changes and publishes a purchase order in SAP SNC, SAP SNC sends the updated purchase order to the customer back-end system using this message type. You can use this XML message without mapping to IDocs when integrating with a customer back-end system as of enhancement package 4 for SAP ERP 6.0.

XML Messages for Sending and receiving Purchase Order Confirmations

You can use the following XML messages to send and receive new or changed purchase orders in SAP SNC:

  • ReplenishmentOrderConfirmation

    This XML message is used when the supplier confirms a purchase order in SAP SNC. SAP SNC sends the confirmation to the customer back-end system. This XML message requires mapping to IDocs when used with an SAP customer back-end system. A supplier can also use this message type to send a confirmation from his or her back-end system to SAP SNC.

  • PurchaseOrderERPConfirmationRequest

    This XML message is used when the supplier confirms a purchase order in SAP SNC. SAP SNC sends the confirmation to the customer back-end system. You can use this XML message without mapping to IDocs when integrating with a customer back-end system as of enhancement package 5 for SAP ERP 6.0.

Default Process Types for XML Messages

You specify default process types for inbound XML messages in Customizing for Supply Network Collaboration, under Start of the navigation path Basic Settings Next navigation step Processing Inbound and Outbound Messages Next navigation step Process Types for Inbound Messages End of the navigation path. In this activity, you set the Supplier Collaboration process type for the following inbound XML message types:

  • ReplenishmentOrderNotification

    This is also valid if you use the PurchaseOrderERPReplenishmentOrderCollaborationNotification message type.

  • ReplenishmentOrderConfirmation

    You only set the ReplenishmentOrderConfirmation message type, if you want to receive purchase order confirmations directly from a supplier back-end system. For more information, see Sending Confirmations from the Supplier System to SAP SNC.

You specify default process types for outbound XML messages in Customizing for Supply Network Collaboration, under Start of the navigation path Basic Settings Next navigation step Processing Inbound and Outbound Messages Next navigation step Process Types for Outbound Messages End of the navigation path. In this activity, you set the Supplier Collaboration process type for the following outbound XML message types:

  • ReplenishmentOrderNotification

    This is also valid if you use the PurchaseOrderERPRequest_V1 message type.

  • ReplenishmentOrderConfirmation

    This is also valid if you use the PurchaseOrderERPConfirmationRequest message type.

For more information, see the documentation in Customizing.

Completion of Master Data in Inbound Message Processing

If data is missing from a message received in SAP SNC, the system can fill this data based on various master data that is available. For more information about making settings for the completion of missing data, see Customizing for Supply Network Collaboration, under Start of the navigation path Basic Settings Next navigation step Processing Inbound and Outbound Messages Next navigation step Maintain Settings for Master Data Completion End of the navigation path.

Business Add-Ins (BAdIs)

You can use BAdIs to modify the above inbound and outbound XML messages. For more information, see Customizing for Supply Network Collaboration, under Start of the navigation path Business Add-Ins (BAdIs) for SAP SNC Next navigation step Basic Settings Processing Inbound and Outbound Messages Next navigation step BAdIs for Message Interfaces (Inbound XML Messages) End of the navigation path and Start of the navigation path Business Add-Ins (BAdIs) for SAP SNC Next navigation step Basic Settings Processing Inbound and Outbound Messages Next navigation step BAdIs for Message Interfaces (Outbound XML Messages) End of the navigation path