I'm just testing the Badi ME_PROCESS_PO_CUST and I've got a problem. I want to check the countries of all delivery addresses on item level, but I don't know how to get the country on item level.
I implemented method CHECK so far and in this method I'm using GET_ITEMS & GET_DATA to read the item data. But in structure MEPOITEM I don't find a field for the country of the delivery address. I also tried to get the country from table ADRC using the value of field ADRNR of MEPOITEM structure. This works until a user changes one country on item level manually. Then I'm getting the wrong country because the address number (ADRNR) doesn't change until saving the purchase order.
Somebody got a solution for this issue?