cancel
Showing results for 
Search instead for 
Did you mean: 

Subtotal calculation in pricing procediure

Former Member
0 Kudos

Dear Friends,

I have to calculate a subtotal say SubTotal3 which is Subtotal 1 Minus SubTotal 2 in a pricing procedure. How shall I do that?

Thanks,

Rajesh Singh

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Dear Rajesh

Let Assume that

Sub Total 1 fall at Step 50

Sub Total 2 fall at Step 110

Sub Total 3 fall at Step 500

Now use STEP 498  and 499 and bring the Value of step 50 and Step 110 and at step 110 put a "Routine" AltCal Type. Routine "80" (if that value is not negative) say this will change its value to negative and now at Step 500 add both the steps i.e 498 and 499 and now one is coming in negative and this will bring Step1-Step2.

Thanking you!

Ashish Mishra

Former Member
0 Kudos

Thanks a lot Guys,

It was very helpful and appreciated.

Regards,

Rajesh Singh

Shiva_Ram
Active Contributor
0 Kudos

I recommend before posting the question, you could have checked the SAP standard pricing procedure (like RVAA01), in which sub totals are used at all levels. You can copycat the procedure to your requirements (learning/configuration).

Regards,

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi

can you please explain with example .if possible along with the sceeen shot.It will help us to understand the requirement .

Regards

Former Member
0 Kudos

Hi,

There is a condition type ZDS1 which is the base price of the item. There are many discount condition types Z001, Z002, Z003 etc. We are making a subtotal of all the discounts named 'Total Discounts'. Now there is another subtotal required which should be total discounts subtracted from base price. How shall I calculate this one?

Regards,

Rajesh Singh

Former Member
0 Kudos

Hope this Help...