02-01-2008 5:32 AM
Hi friends,
Pls tell me the link between condition records and billing documents.
KONP and VBRK/VBRP
Any one pls tell me regarding sales margin report.
Any one have code pls send me.
Thanks,
Sekhar
02-01-2008 5:35 AM
02-01-2008 5:40 AM
hi
hope it will help you.
pls reward if help.
vbrk-knumv = konv-knumv.
VBRK: Billing Table(Header Data)(VBELN,FKART,BELNR)
VBRP: Billing Table(Item Data)(VBELN,POSNR,FKIMG,NETWR,VGBEL,VGPOS)
(VBRP-AUBEL = VBAK-VBELN, VBRP-VGBEL = LIKP-VBELN)
02-01-2008 5:54 AM
Fot the selected VBRK records fetch VBRP reacords
for the selected billing documents get the condition records for the Materials from A065 tables.
for the selected condition records fetch condition item recrds from KONP table.
VBRK-VBAP-A065-KONP