cancel
Showing results for 
Search instead for 
Did you mean: 

How to update the Message Status/Text (shown by transaction SXMB_MONI )

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

former_member184720
Active Contributor
0 Kudos

Can you check for Jakub Turminski reply in the below thread...

Answers (2)

Answers (2)

Former Member
0 Kudos

Thanks for your replay.

The links were very helpful!

Harish
Active Contributor
0 Kudos

Hi Arnfried,

please also check the below discussions

regards,

Harish