cancel
Showing results for 
Search instead for 
Did you mean: 

Logic related to get Vat

Former Member
0 Kudos

Hi,

Logic for fetching the invoice number for a material document number is as follows.

Get the invoice number created for an MBLNR from EKBE comparing the PO number (EBELN) and for the same invoice number fetch PSWBT from BSEG providing BELNR and KTOSL = u2018VSTu2019 .

can any one please write the code how to fetch the vat from the above description.

Regards,

Nag

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

ans

Former Member
0 Kudos

Hi,

Instead of BSEG, why dont to you extract the Invoice tax from table field RBKP-WMWST1 by passing invoice number as the input parameter ?

Regards

Vinod

Former Member
0 Kudos

Hi,

They have mentioned in Functional spec to fetch from BSEG table.can u please write the code which i have mentioned.

Regards,

Former Member
0 Kudos

Hi,

You should avoid extracting data from BSEG to avoid the performance issue. In your case the data is already available in RBKP.

Regards

Vinod

Former Member
0 Kudos

Ok can u please write the code with that table.

Regards