Hello Savaridasan P,
In the CL_CRM_INTLAY_ERPIL Class we have INITIALIZE method.
There we have a code of adding the message to container .
output_general_error( ir_global_mess_cont = ir_mess_cont is_error = ls_error ).
Ls_error is the structure where i will send the details of the error ,
ls_error TYPE crmst_erp_error,
I am passing ERROR_MSGID,ERROR_MSGNO,ERROR_MSGV1 ,ERROR_TEXT to this structure. I can see the message getting added to the container, but after the control comes out of
output_general_error( ir_global_mess_cont = ir_mess_cont is_error = ls_error ),
the message is not added to the UI.
Please suggest on this.
Thanks and Regards,
Nikhil Kulkarni