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

Error Handling in BADI IF_EX_ME_PROCESS_PO_CUST~POST

$
0
0

Hi All,

 

We are customizing BADI 'IF_EX_ME_PROCESS_PO_CUST~POST' to validate the PO when it is created/modified.

We tried using mmpur_message & mmpur_message_forced as below:

 

IF sy-subrc ne 0.

CALL METHOD im_header->invalidate( ).

mmpur_message 'E' 'YSC' '014' space space space space.

endif.

 

OR

 

IF sy-subrc ne 0.

CALL METHOD im_header->invalidate( ).

mmpur_message_forced 'E' 'YSC' '014' space space space space.

endif.

 

Even if is successfully executing the statement (checked at run time), error message is not getting displayed & there by allowing Po to be created/modified.

 

What is it that is going wrong? Do we have to add any other piece of code or some flag? Please do the needful.

 

 

Thanks & Regards,

Jyotsna


Viewing all articles
Browse latest Browse all 8150

Trending Articles