Quantcast
Channel: SCN : All Content - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 7030

How to fail a synchronous message in MONI?

$
0
0

Hi, all

 

I am trying to fail a synchronous message in MONI within the proxy code. Here is how my interface looks like:

test1.png

test2.png

Here is what I tried in the proxy code:

 

 

  if lv_resp-LVBAL_RESP_SAP_MT-EMPLID = '0'.

    standard_exception-FAULT_TEXT = 'The interface failed.'.

    standard_exception-fault_url = 'http://rcmp.com'.

    exception_detail-url = 'http//rcmp.com'.

    exception_detail-SEVERITY = 'error'.

    exception_detail-id = '02'.

    exception_detail-TEXT = 'The interface failed.'.

    append exception_detail to standard_exception-FAULT_DETAIL.

    raise exception type /RCMP/CX_LVBAL_FAULT

      exporting

        STANDARD = standard_exception.

  endif.

 

 

The code above does cause an exception in ST22, but the sync message did not fail in MONI. Can you please advise?

Thanks,

Jonathan.

 

 


Viewing all articles
Browse latest Browse all 7030

Trending Articles