Dear Experts,
I have implemented a custom BAdI implementation for the Leave Request.
But in the method IF_EX_PT_ABS_REQ~SIMULATE_VIA_BLOP I have copied the standard coding in the BAdi and after that I have used my custom logic inside the same.
When i am using the message handler to throw the error message it is throwing an exception.I have gone through the other threads is SDN also it seems I am using the same type of logic.
Please find the below coding.
Kindly help in identifying the error where it went wrong.
DATA: message_handler TYPE REF TO if_pt_req_message_handler.
CALL METHOD message_handler->add_message
EXPORTING
im_type = 'E'
im_cl = 'ZHR_LEAVE'
im_number = '000'
im_par1 = 'SIMULATE_VIA_BLOP'
im_par2 = 'IF_EX_PT_ABS_REQ~SIMULATE_VIA_BLOP'
im_par3 = 'BLOP'
im_context = ''
im_subcontext = ''
im_classname = 'CL_PT_ARQ_BLOP_ADAPTER'
im_methodname = 'MESSAGE'.
Kindly give your suggestion
Thanks,
Nalla B.