Skip to Content

Pricing Procedure with Different Calcualtion formulae for Different condition type

Dear Experts,

I have a scenario where I have to create a sales order with five line items.

The calcualtion formula for each line item is different.

Therefore, I want to define five different condition types in my pricing procedure with custom formula assigned to it.

I am not figuring out on the condition type. If I am using the PR00 condition type then the price is only determined for the first condition type defined in the pricing procedure. Other condition types are becomming as the duplication of the above condition type.

Kindly suggest me which condition type should I use in this scenario.

Regards,

SAQ MD.

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    Posted on Sep 24, 2013 at 05:02 AM

    Dear All,

    Sorry for the late updation.

    The solution for the above query is :

    I have created five discount and surcharge condition types and assigned the routines to each. It is working perfect in the pricing procedure. As I have interfaced it with the external system Sales Orders are automatically created in the backend using the BAPI_SALESORDER_CREATEFROMDAT2, Based on the data from external system I m picking the condition type in my sales order and determining the line item.

    Regards,

    Saher.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 07, 2013 at 05:23 AM

    Your query is not clear to me. Please provide more detail.

    "Other condition types are becomming as the duplication of the above condition type".

    SAP allow only condtion type with condtion class B (Price) active in calculation. Do you have more than one condtion having condtion class B??

    Regards

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 07, 2013 at 06:32 AM

    Hi,

    Creating 5 different condition type just for the sake of having different calcuation formula isnt the right approach. What if you have a case where six or seven line items are being keyed in a sales order? Would you be needing additional condition types?

    Clarify us on what difference you have in the calcuation formula and explain us your scenario in detail for us to suggest you properly.

    Add a comment
    10|10000 characters needed characters exceeded

    • SAQ,

      A routine (calculation formula) can have all the "conditions" (or calculation types) in it.

      No need to create five routines!

      In the functional specs (from you / Functional consultant), it has to be clearly mentioned, the criteria / factors for the logic to "activate" the first calculation type, or to activate the second calculation type etc.

      E.g.

      If VBAP-POSNR = 10, then fetch the "calculation type1"

      If VBAP-POSNR = 20, then fetch the "calculation type2"

      Please note: that one routine shall have cal type1, 2 etc

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.