Application Development and Automation 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: 
Read only

Formula for Pricing procedure

Former Member
0 Likes
682

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

4 REPLIES 4
Read only

Former Member
0 Likes
650

Hi,

For summing you can use column "Fro" & "To" which will be the From step and To step in the pricing procedure..

Thanks

Naren

Read only

Former Member
0 Likes
650

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

Read only

Former Member
0 Likes
650

Hi Max,

Thanks for your suggestion and need some more help. Can you give the detailed steps for doing this.

Thanks,

Bhaskar

Read only

0 Likes
650

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