Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Regarding VOFM Pricing Routine.

Former Member
0 Kudos

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,

5 REPLIES 5

former_member156446
Active Contributor
0 Kudos

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.

0 Kudos

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,

0 Kudos

in the pricing routine loop through KOMV and add the values as per your requirement.

Ohh Yeah!! Welcome to SCN

Former Member
0 Kudos

Hi ,

The Easiest and better way for your requirement is through Functional Configuration which is Single Step configuration .

Regards,

Sriram

0 Kudos

Hi Sriram,

Thank you very much for ur reply. Could you please explain me how to proceed.

Regards,