Skip to Content
avatar image
Former Member

Intrastat Output File doesnot contain VAT number and Document Number

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Nov 24, 2008 at 04:43 PM

    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

    Add comment
    10|10000 characters needed characters exceeded