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

Pricing Issue - related to unit price calculation

Dear All,

I have an issue related to pricing:

While creating billing document , as per the pricing procedure , there is a step 140 (Established Netback price)which has no condition type assigned to it. This is dynamically calculated while creating billing document using the From and To step calculation in the pricing procedure.Say this appears in the invoice as 1501.30 (Amount u2013 KBETR) USD per TO and the condition value is say, 4503.90.(Condition value u2013 KWERT).

Step 155(copied from Step 140 u2013 Established Netback price) has u201CZFCAu201D condition type (Percentage based). The value of this condition type flows to accounting. This condition type is represented in the invoice as 100% and the condition value is 4503.90

The requirement is to calculate the unit price (KBETR) of this condition type (ZFCA) dynamically during sales order/ billing document creation . Then this value (KBETR) will be fetched from u201CKONVu201D and displayed in the invoice printout. In this line, it is 100% but I need 1501.30, as this is the price which needs to be dynamically calculated and then displayed in the invoice printout under the column u201CUnit Priceu201D.

I am working on a suggestion. Here, I have changed the calculation type of ZFCA from u201CBu201D (Percentage) to u201CGu201D(Formula) in config. Further, I need to create a new routine (u201CAlt C typu201D) under VOFM transaction and assign this routine to ZFCA condition type in the pricing procedure. Kindly provide me the suitable technical logic which is required to create this new routine so that I can fulfill this requirement.

Or if you have other alternatives, kindly suggest the same.

Thanks and Regards,

Zahid

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Dec 22, 2008 at 10:01 AM

    IF xkomv-krech = 'G'. "Formula Based

    xkwert = komp--mglme * xkomv-kbert.

    ENDIF.

    This could be your logic as per your requirement. try using this

    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.