Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How to change the long text dynamically based on the payload in the Alert configuration

Hi Experts,

Currently I am working on the scenario in which I need to send the number of records available in the xml file in the mail using Alert configuration.

I am getting a file like this






If number of records present in the file doesn't matches with the RECORD_COUNT present in the trailer, I am not mapping the root node, so message mapping is getting failed and triggering an Alert.

In this Alert mail, I need to send the RECORD_COUNT present in the file and actual number of the record by counting the record node as well.

E-mail will be "Number of records doesn't matches with the RECORD_COUNT".

Please provide suggestions on how to get these values dynamically in the long text of the Alert.

Thanks in advance.

Former Member


I don't think, it is possible to suppress some part of SXMS_TO_ADAPTER_ERRLINES[].


Option a) Trigger email from UDF. Link above or search SCN.

Option b) Extended Receiver Determinations, when count does not match call mail scenario, when count match call normal target scenario.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question