# Subtotal calculation in pricing procediure

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

##### Add a comment
10|10000 characters needed characters exceeded

### Related questions

Former Member
Posted on Nov 07, 2012 at 11:43 AM

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

##### Add a comment
10|10000 characters needed characters exceeded
• Shiva Ram Rajesh Singh

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,

• Former Member
Posted on Nov 07, 2012 at 11:41 AM

Hi

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

Regards

##### Add a comment
10|10000 characters needed characters exceeded