Hi,
Assume I already have the invoice number, and company code(there is only one item in the invoice), how to get the ship country?
I have the following logic to read it.
1. Get the delivery note Number and Company code.
2. Get Delivery comapny code, plant and storage location in delivery note.
3. get the customer in table t001w.
4. get the country of this customer.
5. If the customer is not found in step 4, go to step 6.
6. get the country of delivery company code in t001.
Please help to identify this logic is correct or not?
Or do you have any other way to get it?