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

Subtraction in the pricing procedure.

Hello Friends,

I have requirement as follows:

I have two steps in the pricing procedure. One has a condition type and the other does not. Now my requirement is to subtract the condition price of step 1 from the condition price of step 2 and display it as the condition price for step 3 which has no condition type.

I have been suggested to create a new routine in vofm and assign that in the pricing procedure.

Is there any otherv way of doing this?

If not, how we design the code to get the values from the structure KOMV for the field KWERT for different steps to calculate and update in the rpicing procedure?

Can u please guide me.

Add a comment
10|10000 characters needed characters exceeded

Related questions

4 Answers

  • Posted on Feb 27, 2014 at 09:18 AM

    Hi pallavi,

    if you only subtract value step 1- step 2 = step 3 , then i don't think so you need to develop new routine for this .you can do this in Standard it self

    for step 1 assign subtotal D-Copy value to XWORKD

    For step 2 assign subtotal E-Copy value to XWORKE

    For step 3 assign alternative calculation Type -12(XWORKD - XWORKE)

    and you will get the subtract value here.

    could you please try and let me know ?

    Regards

    Sundar

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Feb 27, 2014 at 09:23 AM
    and display it as the condition price for step 3 which has no condition type

    In SD, unless you have a condition type, you cannot show it as a pricing since it has an impact in FI via Account Key and G/L Account assignments. Please explain more about the Business Process and how you want to capture. Dont go for VOFM and all when the process can be configured via standard.

    G. Lakshmipathi

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 27, 2014 at 08:51 AM

    Only way a new routine in VOFM and assign that in the pricing procedure.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Dear Pallavi,

      But if you want to use it for Account entries you have to make a new condition to pass subtraction.

      as good idea is given by Sunder S you can also use that for cal. I am 90% agree with Sunder S Idea will work without coding. but if account entries required for that subtraction you have to make new condition

  • Posted on Feb 28, 2014 at 05:51 AM

    Dear Pallavi,

    Mr Sunder has already given the solution---have you tried as suggested?

    If So--Where exactly you stucked...

    Phanikumar

    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.