2007 Apr 03 7:23 PM
Hi,
I got a requirement where I need to write a formula for Pricing procedure say ZAUSX1. The requirement is :
s.no. 170 = s.no. 150 - (sum of s.no. 151 to s.no. 169).
s.no. 450 = s.no.170 - (sum of s.no.171 to s.no.449).
Can anyone send me the steps for the above requirement and the relevant suggestions will be highly appreciated.
thanks,
Bhaskar
Hi,
I got a requirement where I need to write a formula for Pricing procedure say ZAUSX1. The requirement is :
s.no. 170 = s.no. 150 - (sum of s.no. 151 to s.no. 169).
s.no. 450 = s.no.170 - (sum of s.no.171 to s.no.449).
Can anyone send me the steps for the above requirement and the relevant suggestions will be highly appreciated.
thanks,
Bhaskar
2007 Apr 03 7:33 PM
Hi,
For summing you can use column "Fro" & "To" which will be the From step and To step in the pricing procedure..
Thanks
Naren
2007 Apr 03 7:39 PM
Hi
In the pricing you should create a 4 fields:
- One (A) to store the value of position 150
- One (B) to store the value of the total from 151 to 169
So assign a routine to calculate the position 170: A - B
- One (C) to store the value of position 170;
- One (D) to store the value of the total form 171 to 449
So assign a routine to calculate the position 450 = C - D
U can enhance the structure KOMPAZ in order to create the fields A,B, C and D for KOMP, or create an APPEND structure of KOMP
Max
2007 Apr 03 7:46 PM
Hi Max,
Thanks for your suggestion and need some more help. Can you give the detailed steps for doing this.
Thanks,
Bhaskar
2007 Apr 03 7:59 PM
Hi
- By SE11, enhance the structure KOMP (only if you need to use new fields)
- By VOFM, create the routine to store and calculate the value
- In the customizing of pricing update the procedure:here you need to create two position for the subtotals, for every subtotal you can indicate which steps to be used by colunm FROM , TO.
Max