Start of Content Area

Function documentation Publication of XML Messages  Locate the document in its SAP Library structure

Use

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.

Example

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).

Features

Defining the Sending Options (Directly or with 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.

Order Documents with Validation Checks for Direct Sending

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 Checks and PPF Actions for Order Documents

Replenishment Order

      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.

Scheduling Agreement Confirmation

      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

Purchase Order and Purchase Order Confirmation

      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

Work Order

The system sends XML messages of type ManufacturingWorkOrderInformation,  ManufacturingWorkOrderRequest, and ManufacturingWorkOrderWorkInProgressNotification directly. However, there are no validation checks for direct sending.

Note

You cannot use PPF for work orders. There are no validation checks.

Advanced Shipping Notification

      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

Invoice

      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

Returns ASN

      Validation check: RET_PUBLISH_DIRECT

      PPF action for publication of returns ASN (action profile /SCA/BOL_RETASN):

/SCA/BOL_RET_XML

Correcting a Failed Publication

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.

Activities

You can the standard settings for the validation in Customizing for Supply Network Collaboration under Validation. Activate or deactivate the desired validation checks.

 

End of Content Area