‎2009 Mar 17 10:04 AM
Moved to correct forum. Please take care to post in the correct forum in future.
Hi,
Can anyone plz guide me on how to use CH_FAILED of IF_EX_ME_PROCESS_PO_CUST interface to check changes made to a po for validations.
Thanks,
Alok.
Edited by: Matt on Mar 17, 2009 12:59 PM
‎2009 Mar 17 11:59 AM
Moved to correct forum. Please take care to post in the correct forum in future.
‎2009 Mar 17 12:04 PM
hi,
please see the below example.
data: l_header type ref to if_purchase_order_mm,
ls_mepoheader type mepoheader.
include mm_messages_mac.
ls_mepoheader = im_header->get_data( )
if ls_mepoheader-zzstatus = ' '.
ch_failed = 'X'.
mmpur_message_forced 'E' 'ZMM' '004' ' ' ' ' ' ' ' '.
endif.
here ZMM is the message class used.
regards,
aswin.