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.

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, SAP SNC can send XML messages using the Post Processing Framework (PPF).
You control direct 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 documents:
● Replenishment order
● Scheduling agreement confirmation
● Purchase order
● Purchase order 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 a 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
The system sends XML messages of type ManufacturingWorkOrderInformation, ManufacturingWorkOrderRequest, and ManufacturingWorkOrderWorkInProgressNotification directly. However, there are no validation checks for direct sending.

You cannot use PPF for work orders. There are no validation checks.
● 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
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 sending again. For some applications, a special report is 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.