11-24-2006 10:39 AM
Hi,
I have implemented the BADI : ME_PROCESS_PO_CUST and while implementing the interface process_header, iam using the methods : get_data,get_conditions etc.. all these seem to be returning values, but the method get_foreign_trade alone does not return the required values.however there is foriegn trade data for the PO (in transaction me21n)which i see in the screen once this BADI is executed .Please let me know if anyone has encountered similar problem with this method.
Data : l_mepo_eikp type mepo_eikp.
CALL METHOD im_header->get_foreign_trade
RECEIVING
re_data = l_MEPO_eikp.
11-24-2006 7:29 PM
Hi
Its an bug I believe. Check the below notes
841803 -
ME_PROCESS_PO_CUST: Endless loop with SET_FOREIGN_TRADE
803749 -
ME_PROCESS_PO_CUST - Endless Loop.
Thanks
12-18-2007 4:22 PM
Hi,
I encounter excactly the same problem, the method GET_FOREIGN_TRADE gives no results, I call it in the BADI ME_PROCESS_PO_CUST.
Were you able to solve your problem ?
The two notes given in the precedent post don't seem to be related to the problem, did you implement them ? Did they help you ?
Thanks for your answers.