‎2010 Mar 19 8:19 AM
Hi All,
I am generating one report wherein I am trying to fetch the duty values and vat from Invoice verification document and CST, freight also. From which table and field, can I fetch these things. Can anybody help me?
Thanks & Regards,
‎2010 Mar 19 8:27 AM
‎2010 Mar 19 8:38 AM
‎2010 Mar 19 8:39 AM
Hi,
Your functional consultant can help you out with this.
Also, can you give more details of your requirement?
Thanks,
Archana
‎2010 Mar 19 8:55 AM
Hi
Thanks for replying. My requirement is I have 2 columns in report. One is rate with duty, other one is without duty. i..e, alongwith basic price duty amount to be displayed for a particular period.
Regards,
‎2010 Mar 19 8:48 AM
Hi ,
Check the below select queries:
SELECT KONV~KPOSN
KONV~KNUMV
KONV~KWERT
KONV~KBETR
KONV~KWAEH
KONV~KAWRT
KONV~KNUMH
KONV~KSCHL
INTO CORRESPONDING FIELDS OF TABLE IT_KONV
FROM KONV
FOR ALL ENTRIES IN IT_VBRP
WHERE KNUMV = IT_VBRP-KNUMV
AND KPOSN = IT_VBRP-POSNR
AND KSCHL IN S_KSCHL2 .
CHECK NOT IT_KONV[] IS INITIAL.
get the conditions data
SELECT KPOSN
KNUMV
KWERT
KBETR
KWAEH
KAWRT
KNUMH
KSCHL
INTO CORRESPONDING FIELDS OF TABLE IT_KONV2
FROM KONV
FOR ALL ENTRIES IN IT_VBRP
WHERE KNUMV = IT_VBRP-KNUMV
AND KPOSN = IT_VBRP-POSNR
AND KSCHL IN ('ZSTL' , 'ZFR3' , 'ZLD2' ,
'ZFRI' , 'ZFR2' , 'ZINS' ,
'ZLDI' , 'ZCUS' , 'ZCNF') .
Here 'ZSTL' , 'ZFR3' , 'ZLD2' , 'ZFRI' , 'ZFR2' , 'ZINS' , 'ZLDI' , 'ZCUS' , 'ZCNF' are nothing but condition types.
So to retrieve your frieght ,VAT etc details you need to check with the relavant condition types.
Hope this will help you.
Regards,
Ravinder.