Publication of XML Messages
When a business partner publishes an order document in SAP Supply Network Collaboration (SAP SNC), SAP SNC sends an XML message to the back-end system of the addressee.
Note
If, for example, the supplier publishes an advanced shipping notification (ASN) in SAP SNC, SAP SNC sends the ASN with an XML message of type DespatchedDeliveryNotification
to the back-end system of the customer.
In the standard system, SAP SNC sends XML messages directly in the background. Alternatively, depending on the order document type, SAP SNC can send XML messages using the Post Processing Framework (PPF).
Depending on the order document type, you control direct sending or sending with PPF as follows, using order document-specific validation checks that are active in the standard system:
If the validation check for the direct sending of an order document is active, SAP SNC sends the XML message directly (without PPF).
If the validation check for the direct sending of an order document is not active, SAP SNC sends the XML message using PPF. (For replenishment orders in Responsive Replenishment
, there is alternately a report available).
The PPF actions for sending XML messages are active in the standard system. However, they are not effective if - as in the standard system - the relevant validation check for direct sending is active.
Validation checks for direct sending exist for the following order documents:
Replenishment order
Purchase order
Purchase order confirmation
Scheduling agreement confirmation
Advanced shipping notification (ASN)
Invoice
Returns ASN
Validation check:RO_PUBLISH_DIRECT
PPF actions (action profile /SCA/BOL_ORDER_VGOR
):
Send order to the back-end system of the customer: /SCA/BOL_VGOR_PUBLISH_CUST
Send order to the back-end system of the supplier:/SCA/BOL_VGOR_PUBLISH_SUPP
You use various validation checks to control under which conditions and in which sequence SAP SNC sends a replenishment order to the back-end system of the customer and the supplier. For more information, see Publication of Replenishment Orders.
Validation check: SCONF_PUBLISH_DIRECT
PPF action for sending scheduling agreement confirmation to collaborative release management of SAP Advanced Planning and Optimization (action profile /SCA/BOL_RELEASE_CONFIRMATION
): /SCA/BOL_RELEASE_CONF_SEND
Validation check: PO_PUBLISH_DIRECT
PPF actions (action profile /SCA/BOL_ORDER
):
Send changed purchase order to customer back-end system:/SCA/BOL_ORD_CHANGE_PUBLISH
Send purchase order confirmation to customer back-end system:/SCA/BOL_ORD_CONF_PUBLISH
Validation check: ASN_PUBLISH_DIRECT
PPF actions (action profile /SCA/BOL_DELIVERY
):
Send ASNs published manually by supplier in SAP SNC to customer back-end system: /SCA/BOL_DLV_XML
Send ASNs created by supplier in his or her back-end system and sent to SAP SNC, to customer back-end system: /SCA/BOL_DLV_XML_ROUTING
Validation check: INV_PUBLISH_DIRECT
PPF actions (action profile /SCA/BOL_INVOICE
):
Create and publish invoice on Web user interface:/SCA/BOL_INVOICE_XML
Forward InvoiceRequest
message from supplier system to customer system: /SCA/BOL_INVOICE_XML_ROUTING
Validation check: RET_PUBLISH_DIRECT
PPF action for publication of returns ASN (action profile /SCA/BOL_RETASN
): /SCA/BOL_RET_XML
Validation checks or PPF actions are not available for the following order document types:
Work order
Shipment
Quality notification
SAP SNC sends the XML messages for these order document types always directly.
Note that you can only use shipments and quality notification if you have activated the business function Supply Network Collaboration 1 (SCM_SNC_GEN_1
).
If direct sending of an XML message fails, you can manually correct the associated order document on the Web UI for the relevant application, if required, and republish it. In doing so, you trigger the direct transmission again. For some applications, there is also a special report available which you can use to resend XML messages after a failed publication. For more information, see Correcting Failed Publication of XML Messages.
You can the standard settings for the validation in Customizing for Supply Network Collaboration
under Validation
. Activate or deactivate the desired validation checks.