Quantcast
Channel: SCN: Message List - SAP CRM: Interaction Center
Viewing all articles
Browse latest Browse all 3700

Re: Error thrown in ORDER_SAVE is shown while editing complaint.

$
0
0

Hi Atul,

 

I have coded in the method CHECK_BEFORE_SAVE itself.

Below is my code for message and exception:

 

 



    clear lr_msg_srv.

    lr_msg_srv = cl_bsp_wd_message_service=>get_instance( ).

    lr_msg_srv->ADD_MESSAGE( IV_MSG_TYPE = 'E'

                                       IV_MSG_ID = 'ZMANDATORY'

                                       IV_MSG_NUMBER = '000'

                                       IV_MSG_V1 = 'Error msg' ).

    cv_own_message = sy-abcde+23(1).





    RAISE DO_NOT_SAVE.



Viewing all articles
Browse latest Browse all 3700

Trending Articles



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