Application Development 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: 

BADI : ME_PROCESS_PO_CUST : Method : get_foreign_trade

Former Member
0 Kudos

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.

2 REPLIES 2

Former Member
0 Kudos

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

Former Member
0 Kudos

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.