The following blog documents the mechanism by which one can debug the Outline agreement or the PO creation process in SAP ERP system as a result of the publish event triggered from SAP Sourcing.
Pre-requisites: In the ECC system, activate Logging of the publish events originating from SAP Sourcing. In order to do so,
Once the above configuration settings are enabled, whenever a publish event is triggered in SAP Sourcing, the paylod or data that is sent from SAP sourcing is captured and saved before an Outline agreement or a Purchase order actually gets creates in ERP. One can then re-use the data to check for the reasons of failure or debug the process.
Debug the Publish of Master agreement to ERP
In the ERP system use the transaction BBP_ES_ANALYZE and on the selection screen using the value help and filter criteria of "OA*" representing an outline agreement.
Determine the payload by filtering on the date and time during which the Publish action occured in SAP Sourcing. It can also be searched by Master agreement number represeting the ID from sourcing as 'External Reference number'.
After selecting the appropriate entry, the paylod for the specific publish event will be displayed, the data can then be verified and subsequently the Payload can be tested by choosing the 'Execute' or 'Debug' options.
In order to start debugging the process, just click on the 'Debug' icon presented on the application toolbar and this will allow for the detailed analysis of hte payload as it gets executed.
The outcome of both the Execute and Debug actions will result in an outline agreement either being created or updated. This can be verified using transaction ME33K.
The same procedure can be repeated for Purchase Orders, except that in the initial screen of BBP_ES_ANALYZE we will start by looking for the Purchase order related payloads published from SAP Sourcing (as shown below)
If at the end of the 'Execute' or 'Debug' step data related errors are noticed, the same need to be fixed in SAP sourcing and the document can be republished.
PS: not all errors necessarily can be fixed from SAP Sourcing, some need to be addressed in ECC and some in the PI mappings depending on the particular case.
Cleanup of the Payloads:
If the 'Activate Log' setting is left turned ON, there will be an accumulation of considerable payload data over time. It is always a good practise to
The clean-up of logs can be triggered by the transaction 'BBP_ES_RFC_DELETE'. This will allow for selective deleate of the saved Payloads.
Summary:
BBP_ES_ANALYZE is a helpful transaction and can be very helpful in tricky situations when the publsh events fail without much information.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
4 | |
3 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |