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
re_data = l_MEPO_eikp.
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.