Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3668

How to raise exception message with details

$
0
0

Dear Experts,

 

I want to raise exception and put custom error message within "Show Details" message dialog as below picture.

 

1467888784976.jpg

 

I can't find the way to put custom message to "Show Details" section.

I'm using message container and "/iwbep/cx_mgw_busi_exception" for raise an exception.

 

RAISE EXCEPTION type /iwbep/cx_mgw_busi_exception

         EXPORTING

           textid  /iwbep/cx_mgw_busi_exception=>business_error

           message = lv_message.


1467888836526.jpg


I tried so many attribute but It didn't work.

Is it possible to make this kind of dialog (Message dialog with "Show Details") with custom error message?


Best Regards,



Viewing all articles
Browse latest Browse all 3668

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>