‎2007 Nov 28 3:34 PM
Hello All,
Is there a function module that will get information regarding a Sales Order's or an Invoice's condition tab,(one that gets the individual conditions and any subtotals)? Thanks.
John
‎2007 Nov 28 3:44 PM
For an invoice you can try with this FM:
RV_PRICE_PRINT_HEAD
Regards,
Naimesh Patel
‎2007 Nov 28 4:03 PM
Hello Naimesh,
Thank you for your quick response. RV_PRICE_PRINT_HEAD does give me the condition record information, however it doesn't appear to give the subtotals. Am I not correctly using this FM? Thanks.
John
‎2007 Nov 28 4:07 PM
Try the FM for Sales order
PRICING_GET_CONDITIONS in COMM_HEAD_I pass
KNUMV
KAPPL
WAERK
KALSM
VBTYP
Regards,
Abhishek
‎2008 Mar 12 12:45 AM
Hi John,
Set break-point at function 'PRICING_BUILD_XKOMV', goto VA02 item condition. That function module will return condition value and subtotals.
You need to pass internal table TKOMV which you can get using function module 'RV_PRICE_PRINT_ITEM' pass COMM_HEAD_I-BELNR (vbak-vbeln) and COMM_HEAD_I-KNUMV (vbak-knumv).
Kindly Reward if helpful.
Regards,
Jack
‎2008 May 06 7:09 AM
Hi,
Is there is any function module that will get information of pricing condition(individual condition and subtotals).
I am using RV_PRICE_PRINT_ITEM. It doesn't give the subtotals.
Thanks in advance