cancel
Showing results for 
Search instead for 
Did you mean: 

Country of dispatch for Foreign Trade

Former Member
0 Kudos

Hello Experts,

I am new to SAP and plus an ABAP developer.

My question is while creating a delivery for a sales order, how is Country of dispatch determined?

Steps I follow are:

- Create urgent sales order in va02

- Create purchase order

- Create delivery for the sales order in va02 by clicking deliver option.

But here I find Country of Dispatch is not as desired, but am unable to figure out how it is determined?

Thanks for your help in advance!

Accepted Solutions (0)

Answers (3)

Answers (3)

0 Kudos

Hi

When you create the inbound delivery function EXPIMP_ITEM_DATA_COPY is
called and copies the data from the PO -> EIPO table into the delivery
creating a new EIPO segment for the delivery. From the Order if an FT case
is detected you can see the processing in function EXPORT_ITEM_DATA_PROPOSE 

So you have the country of dispatch is pulled from the PO item (EIPO segement)
EIPO-VERLD should be equal to T001W-LAND1 (country of the supplying plant)
as stated

If you want manipulate the field value:
1) in the document processing use EXIT_SAPLV50E_004 see note 118573 & 173411
2) in the intrastat declaration processing you could use EXIT_SAPLV50G_001

Hope it helps further
Kind regards
Brian

andrea_brusarestelletti
Active Contributor
0 Kudos

Hello,

  the Country of Dispatch is determined according to the country of the delivering plant.

If you find different data, check with transaction CMOD whether the enhancement V50EPROP is active: here ABAP coding influencing foreign trade data determination can be written. In detail exit EXIT_SAPLV50E_003 should be the one.

Best regards,

Andrea

andrea_brusarestelletti
Active Contributor
0 Kudos

This message was moderated.