Skip to Content

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

Alerts for JDBC adapter

Hi,

I have a receiver JDBC adapter and I wish to have alerts raised for the communication channel errors with this adapter. For example, if the insert fails due to Unique constraint violation , I want the same error message that is shown in the RWB, as a part of the alert message raised. Is this possible?

I currently have set up the alert config to catch all the AE errors and am successful in displaying the information

Message ID : &SXMS_MSG_GUID&

Error Desc: &SXMS_ERROR_CODE&

Sender Service: &SXMS_FROM_SERVICE&

Sender Namespace: &SXMS_FROM_NAMESPACE&

Sender Interface:&SXMS_FROM_INTERFACE&

Receiver Service: &SXMS_TO_SERVICE&

Receiver Namespace: &SXMS_TO_NAMESPACE&

Receiver Interface: &SXMS_TO_INTERFACE&

SXMS_ERROR_CODE always either evaluates to <b>PROCESSING_ERROR</b> or <b>GENERAL_ERROR</b>

Any clues?

Former Member
Former Member replied

Amol,

Just try these 2 ABAP data types also hope it will give something meaning full.

Add the below container variable in your Alert category and try to raise an Adapter specific alerts.

Specific Error Information from the Adapter Engine:

Container Element

ABAP Dictionary Data Type

Meaning

<b>SXMS_TO_ADAPTER_TYPE</b>

CHAR70

Adapter type

<b>SXMS_TO_ADAPTER_ERRTXT</b>

CHAR70

Error text from the Adapter Engine

Use this link for the same : http://help.sap.com/saphelp_nw04/helpdata/en/d0/d4b54020c6792ae10000000a155106/content.htm

Thanks

Farooq.

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