Skip to Content
author's profile photo Former Member
Former Member

new Total

Hi ,

I wnat to add a new total in my pricing procedure based on two new conditions (i have already created) and a previous total.

thanks in advance

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    Posted on Nov 18, 2011 at 10:16 AM

    Use alternate calculation formula that does the summing of the two new condition types and the previous total. Assign the formula to your new sub total.

    I am suggesting this, as I believe that the two conditions and the total are not consecutive in the pricing procedure so that you can do a simple "from" and "to" type totaling.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 18, 2011 at 10:23 AM

    First thanks for your reply,

    I'm searching for the right formula. What do you sugest to me ?

    Add a comment
    10|10000 characters needed characters exceeded

    • There won't be a standard formula for this, as it is a very specific requirement. What you need to do is to create a custom formula taking a developers help. XKOMV table will contain all condition types that are already calculated before your new subtotal.

      The developer can sum up specific condition types by looping over XKOMV table and checking for condition type XKOMV-KSCHL. The other subtotal may be stored in fields like KZWI1, KZWI2 etc

      Also the header of XKOMV table contains the values for the current condition type (or subtotal) on which the formula is applied. So the header values have to be preserved and not changed because of looping.

  • author's profile photo Former Member
    Former Member
    Posted on Nov 18, 2011 at 10:53 AM

    thanks i will check this with my abap developper

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.