cancel
Showing results for 
Search instead for 
Did you mean: 

Intrastat Output File doesnot contain VAT number and Document Number

Former Member
0 Kudos

Hi experts,

While creating a output file from Intrastat Dispacth, I am not getting Document number and VAT number in output file.

I can see the Document number in Display of selection log.

Can someone help me?

Thanks

Arpit

Accepted Solutions (0)

Answers (1)

Answers (1)

eduardo_hinojosa
Active Contributor
0 Kudos

Hi,

Try the enhancement FTGOVSEL.

In the userexit EXIT_SAPLV50G_002, in the include ZX50GU02, write this coding (for the VAT number)

if c_record_intrastat-kundeuinr is initial.

select single * from kna1

where kunnr = c_record_intrastat-kunnr.

if sy-subrc = 0.

c_record_intrastat-kundeuinr = kna1-stceg.

endif.

endif.

Remember update the VAT number in the customer (in this case).

I hope this help you

Regards,

Eduardo