IBM BPM, V8.0.1, All platforms > Authoring services in Integration Designer > Services and service-related functions > Access external services with adapters > Configure and using adapters > IBM WebSphere Adapters > SAP Software > SAP interfaces > ALE pass-through IDOC interface > Inbound processing for the ALE pass-through IDoc interface
IDoc status updates
To monitor IDoc processing, you can configure the adapter to update the IDoc status. When the adapter configuration property ALEUpdateStatus is set to true (indicating that an audit trail is required for all message types), the adapter updates the IDoc status of ALE business objects that are retrieved from the SAP server. After the event is sent to the message endpoint, the adapter updates the status of the IDoc in SAP to indicate whether the processing succeeded or failed. Monitoring of IDocs applies only to inbound processing (when the IDoc is sent from the SAP server to the adapter).
The adapter updates a status IDoc (ALEAUD) and sends it to the SAP server.
An IDoc that is not successfully sent to the endpoint is considered a failure, and the IDoc status is updated by the adapter. Similarly, an IDoc that reaches the endpoint is considered as successfully processed, and the status of the IDoc is updated.
The status codes and their associated text are configurable properties of the adapter, as specified in the activation specification properties and shown in the following list:
- Success Code
- Failure Code
- Success Text
- Failure Text
Perform the following tasks to ensure that the adapter updates the standard SAP status code after it retrieves an IDoc:
- Set the AleUpdateStatus configuration property to true and set values for the AleSuccessCode and AleFailureCode configuration properties.
- Configure the inbound parameters of the partner profile of the logical system in SAP to receive the ALEAUD message type. Set the following properties to the specified values:
Inbound properties of the logical system partner profile SAP property Value Basic Type ALEAUD01 Logical Message Type ALEAUD Function module IDOC_INPUT_ALEAUD Process Code AUD1
Inbound processing for the ALE interfaces
Inbound processing for the ALE pass-through IDoc interface
Related tasks:
Setting activation specification properties for embedded adapters
Related reference:
Activation specification properties for ALE inbound processing