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.