Show TOC

  Checks in Inbound Message Processing

Use

SAP Supply Network Collaboration (SAP SNC) uses this function to automatically check all inbound XML messages to see whether they contain correct and complete data. The checks in inbound message processing include determining whether the master data transferred by the customer, such as product or business partner, has also been created in the SAP SNC master data. If data is invalid or missing, the system generates error messages that you can display in the application log. For serious errors, the system also cancels inbound message processing.

In the following cases, the standard system also generates a message alert for inbound and outbound messages (alert type 1125), which it displays in the Alert Monitor:

  • If the system could process the XML message successfully.

  • If an error occurred during XML message processing.

Integration

SAP SNC always performs the checks in inbound message processing automatically. You cannot influence the flow of the checks. You can, however, configure additional validation checks in inbound message processing. You can select and set these validation checks in Customizing. For more information, see Validation .

Prerequisites

For the checks in inbound message processing, you have decided whether you want to log all errors in the application log and generate alerts.

  • You can restrict logging in the application log 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 Restrict Log End of the navigation path .

  • You can limit message alerts 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 Restrict Alerts End of the navigation path .

For more information, see the IMG documentation.

Features

The system checks the following data in an XML message:

Checks in Inbound Message Processing and System Response

Check

System Response to Errors

Notes

Time Stamp :

Does the time stamp have the correct format so that it can be converted to Coordinated Universal Time (UTC)?

If the format is invalid:

Inbound message processing is canceled.

If the format is valid, but conversion is not possible:

Inbound message processing continues and an error message is recorded in the application log.

XML Message Sender :

Does a valid business partner exist in SAP SNC for the sender of the XML message?

Cancellation

The system only performs this check if the XML message is transferred with a sender.

XML Message Recipient :

Does a valid business partner exist in SAP SNC for the recipient of the XML message?

Cancellation

The system only performs this check if the XML message is transferred with a recipient.

Customer :

Does a valid business partner exist in SAP SNC for the customer in the XML message?

Cancellation

The system only performs this check if there is a customer in the XML message.

Supplier :

Does a valid business partner exist in SAP SNC for the supplier in the XML message?

Cancellation

The system only performs this check if there is a supplier in the XML message.

Goods Recipient :

Does a valid business partner exist in SAP SNC for the goods recipient in the XML message?

Inbound message processing is continued.

Error message in application log.

The system only performs this check if there is a goods recipient in the XML message.

Bill-To Party :

Does a valid business partner exist in SAP SNC for the bill-to party in the XML message?

Inbound message processing is continued.

Error message in application log.

The system only performs this check if there is a bill-to party in the XML message.

Carrier :

Does a valid business partner exist in SAP SNC for the carrier in the XML message?

Inbound message processing is continued.

Error message in application log.

The system only performs this check if there is a carrier in the XML message.

Product :

Does a valid product exist in SAP SNC for the product in the XML message?

No product in SAP SNC: Cancellation

Product number incorrect: Inbound message processing is continued and an error message is recorded in the application log.

Packaging :

Does a product with the specified number of packaging exist in SAP SNC for the product in the XML message?

Inbound message processing is continued.

Error message in application log.

Unit of Measure :

Does a suitable ISO code and base unit of measure exist in SAP SNC for the unit of measure in the XML message?

Cancellation

Location :

Does a valid location exist in SAP SNC for the location in the XML message?

Inbound message processing is continued.

Error message in application log.

Indicator :

Do the indicators in the XML message have the values TRUE or FALSE?

Cancellation

Codes :

Do the codes have an allowed value from the code list?

Cancellation

In addition to these master data checks, inbound message processing also checks whether all mandatory fields of an XML message (elements with cardinality 1) are filled. If a mandatory field in the XML message is not filled, the system cancels inbound message processing.

Following the checks in inbound message processing, SAP SNC runs a master data completion and automatically fills in missing locations and business partners.

Activities

To display error messages in the application log, on the SAP Easy Access screen choose Start of the navigation path Supply Network Collaboration Next navigation step Tools Next navigation step Application Logs Next navigation step Display Application Logs. End of the navigation path

You can see the XML messages for which inbound message processing was canceled in the XML Monitor.