cancel
Showing results for 
Search instead for 
Did you mean: 

foreign trade data determination

Former Member
0 Kudos

I all

I have a big strange issue:

intercompany billing based on delivieries from TO scheduling agreement.

Same customer, same scheduling agreement, same delivery tipe.

the goods are shipped in UE so the invoice MUST have foreign trade.

I have some invoices that havent trade data because EXNUM is blank and I think it means that Foreign data have not been determinated.. but the destination country LAND1 is UE.

What could be wrong ???

br

Accepted Solutions (0)

Answers (2)

Answers (2)

eduardo_hinojosa
Active Contributor
0 Kudos

Hi

Check also following notes

Note 173411

Note 386484

Note 391764

Regards

Eduardo

0 Kudos

Hi

The foreign trade data is first determined in the delivery. A document will be flagged as relevant for foreign trade, IF the country of the shipping point differs from the country of the ship to party. In this case you will see that the header export flag gets set. It can be seen here when the reference delivery is created.

Main program     SAPFV50K                               

Source code of   FV50KFLK_LIKP_EXPORT_BESTIMMEN         

...

FORM LIKP_EXPORT_BESTIMMEN                              

..

IF LIKP-VSTEL NE SPACE.                                

IF     TVST-ALAND  NE KUWEV-LAND1 and                

not tvst-aland  is initial     and                

not kuwev-land1 is initial.                       

  LIKP-EXPKZ = CHARX.                             >>> FLAGGED AS AN EXPORT

When the billing documents are created what happens with the original foreign trade data is dependent on your foreign trade copy control settings. In the TVCPF table the control field for FT is the EXPIM field, you can set an entry or ' ', 'A' or 'B'.


The system reaction to these setting in the billing documents is as follows

1          1         ‘ ‘     refer to delivery, if this is used and a change is made in the billing

                                         document to the foreign trade data it will be updated in the delivery

                   The exnum key remains the same as in the delivery

2          A        Copies the FT data from the delivery but creates a new exnum key

                        If you change the data in the billing document then it is different than

                  the entries in the delivery tables The exnum key is different

           

3        B        All foreign trade data is re-determined new The exnum key is different

So in the billing header the field Export corresponds to the copy control (VBRK-EXPKZ)

‘ ‘         =          X

A         =          Y

B         =          Z


For your inter company documents you MUST set 'B' to avoid issues.

Hope it helps you further
Kind regards
Brian