Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

CH_FAILED

Former Member
0 Likes
873

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

2 REPLIES 2
Read only

matt
Active Contributor
0 Likes
589

Moved to correct forum. Please take care to post in the correct forum in future.

Read only

Former Member
0 Likes
589

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.