Hi
I would like to know how can I update the message status what we see while using trasaction SXMB_MONI .
We have a Server Proxies defined. In the Provider Class we have implemented in the Interface method the code to handle/check the data.
In transaction SXMB_MONI on the SAP Application system we can see the proccesed message.
My issue is, when I receive the xml data into a structure in abap proxy, I am doing some validation on the received message data. If I found some error in the data , then I need to update the message status of the SXMB_MONI to ERROR flag and we want to see an error message (Button „Error Information“)
How to implement this ?
I have tried to raise different exceptions like CX_MAPPING_FAULT, CX_AI_SYSTEM_FAULT
Example:
RAISE EXCEPTION TYPE CX_MAPPING_FAULT
EXPORTING
ERROR_CODE = '888'
ERROR_TEXT = our_error
or
RAISE EXCEPTION TYPE CX_AI_SYSTEM_FAULT
EXPORTING
textid = /twobits/cx_std_xml_mesg_fault=>CX_ROOT.
If any message is raised, the proxy is stopped and the message status in SXMP_MONI is updated to a red flag but there is no error information
What is wrong?
How can I send an error text to SXMP_MONI so I can see it under the button "Error information"
Appreciate your help