07-08-2010 6:33 PM
Hi,
I need to write a pricing routine in VOFM which caliculates gross revenue(KOMV-KAWRT) of all line items item value which is KOMP-KZWI2. In this case, Should the field KOMV-KAWRT exists at heaser level(bec we are assigning the sum of all line item's item value)?
Suppose I have 2 line items 10, 20. I need to sum these items KZWI2 value and I need to assign it to KOMV_KAWRT. But the field KOMV_KAWRT exists for each line item.
Is it possinle? Please help me in this one.
Thank You,
Regards,
07-08-2010 6:40 PM
This can be accomplished using Subtotal in Pricing procedure configuration (Tr: v/08)
If you decide to do it Technically In the pricing routine you only have KOMV, KOMP structures.. which you need to play with KOMV-KWERT will be the value of the condition type and got to play safe with ZWAVR / ZWAVER.
07-08-2010 6:50 PM
Hi,
Thank you for your help.
I need to handle it technically through VOFM routine.
So In this case is it not possible to assign all the item's item value (KOMP-KZWI2) to KOMV-KAWRT?
Regards,
07-08-2010 6:56 PM
in the pricing routine loop through KOMV and add the values as per your requirement.
Ohh Yeah!! Welcome to SCN
07-09-2010 8:41 AM
Hi ,
The Easiest and better way for your requirement is through Functional Configuration which is Single Step configuration .
Regards,
Sriram
07-09-2010 2:17 PM
Hi Sriram,
Thank you very much for ur reply. Could you please explain me how to proceed.
Regards,