Additional Blogs by Members
cancel
Showing results for 
Search instead for 
Did you mean: 
Former Member
0 Kudos

In this blog I will explain how you can easily retrieve the long error text from the Adapter Engine. In this case your alert will give a better error text trace.

Problem 

Following the SAP Library it is only possible to retrieve the first part of the error message (SXMS_TO_ADAPTER_ERRTXT):

This results into an error text that shortens the rest from the error message.

Solution

To retrieve the entire error message you just have to use following container variable:
&SXMS_TO_ADAPTER_ERRLINES[]&

This container variable will fill up the entire error message in your alert, no need to define a separate container variable:

 

This will result in the complete stack trace alert:

This example is tested on a SAP PI 7.11 system.
For a detailed overview concerning this feature you can access following note:
SAP Note 1294312 XI alerting: SXMS_TO_ADAPTER_ERRTXT is truncated.

2 Comments