Skip to Content

Force Recalculating of condition value

Hi All,

I have a requirement to calculate the condition value for certain condition type (eg : ZM00, ZM01, ZM02, etc) under T-code VA22.

I created a customize subroutine under VOFM and is assigned to the pricing condition already.

I have a customize field as duration(ZFIELD). I am suppose to get the condition value(XKOMV-KWERT) after the conversion done by SAP multiply by the duration(ZFIELD). This is because the amount(XKOMV-KBETR) enter by the user may be in different currency and SAP will done the conversion and I will get a converted condition value (XKOMV-KWERT).

All things are working fine except that when I go to the customize field to change the duration and come back to the line item. The line item does not recalculate the conversion because the amount or currency was not changed hence not calculating my duration as well (Its actually calculate, but in other words means that it is overwritten by the old value because it is not reconverting and not updating the buffer).

So if anyone could help me on this would be greatly appreciate.

I need a solution kind of like forcing the conversion to take action (even the amount or currency are not changed) once I enter the screen.


Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Feb 02, 2012 at 08:19 AM





    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 05, 2013 at 06:32 AM

    i am newly work on CRM. can anyone tell where & what codes are writing.

    1. 1. A new field will be introduced in the quote line item screen showing the applicable pricing category derived from the custom table. This field should be called, “Third Party Pricing” To derive the right pricing, the system should look for an entry in the custom table that holds the quote’s location account material id, and a validity to and from date range that is still active (e.g., current system date falls within the validity date range) AND the inhibit flag is unchecked. If no entry exists for the given location account OR if there is an entry but the third party pricing is no longer valid according to the PPL (pricing table), a third party pricing should be defaulted. This default should be one of the following:
      1. a. Non- Professional: If the location account has an attribute of “Non-Professional” and if the non-professional third party pricing is available for the product. This non-professional attribute can be derived by pulling the customer’s organization type. Customers with an assigned organizational type of either “Academia” or “Retail” are considered Non-Professional. See Appendix 10.2.2 for the listing of organizational types. Note that the non-professional/professional attribute is NOT part of customer master but it is based on the organizational type value of the customer. It will be derived by SAP CRM only when determining if a customer should receive a non-professional or educational discount during the quote process. This needs to be especially highlighted during user training.
      2. b. Standard: If customer is NOT a non-professional, then default to Standard. Standard will always have a 0% discount.
    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.