Skip to Content
avatar image
Former Member

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

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    Jan 11, 2014 at 05:17 PM

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

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 11, 2014 at 08:16 PM

    Hi Arnfried,

    please also check the below discussions

    regards,

    Harish

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 19, 2014 at 08:22 AM

    Thanks for your replay.

    The links were very helpful!

    Add comment
    10|10000 characters needed characters exceeded