on 07-07-2014 8:32 AM
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!
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This message was moderated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
107 | |
12 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.