Pricing Procedure Routine

Can any body give me the solution for populating the Tax condition value to pricing condition value in PO to fulfill the VAT requirement for deductable taxes.
In ME22N  the invoice tab(item level) i mention some tax code after that i press Taxes Pusbutton it'll show all tax condition & value.My Requirement is to transfer this value from tax condition to some Z pricing condition in Condition Tab.

Hi
I have done same requirement for Sales order.
For that purpose U have to create RV routine
from trasaction <b>VOFM</b><b> formulas->Codition base value</b> and u have to attach it to that particular pricing procedure. Then u can code in that particular RV routine accordingly.
U need access key for that purpose.
I dont know path i.e formalas-> codition base value may differ in ur case.
regards
vinod

Similar Messages

  • Creation of Routine for SD for Pricing procedure.

    Hi all,
    I am having a requirement from SD for creating a routine and to fix that in Pricing procedure as a requirement. So that when ever the sales order will be created by an user, and whenever the user selects that particular condition it should execute in the manner in which the routine is written.
    Can you all please help me to write routines and how to asign this routine to the condition?
    regards
    Vinod

    The procedure to create the new VOFM.
    1. Go to VOFM transaction
    2. Page down until you find a new spot on the page to put in the VOFM number and description.
    3. Put in the VOFM number and the description of the VOFM.
    4. Now the VERY IMPORTANT part of the process. Double click on the VOFM description not the VOFM number to create this as a Development/Correction and not as a repair. If you double click on the number then this copies some existing code and prompts you for a repair.
    5. Activate and generate the VOFM routine. Note: Configuration must be setup by the OM team for this step.
    for example Go to the routine number that needs to be copied.
    Put your cursor on the routine number field that needs to be copied.
    Overwrite that number with your new routine number and hit enter.
    The new routine will be created as a copy of the old routine and you can modify the new routine as you need it.
    Ex.
    You have to copy routine 104 to 904
    Routine number Description Active
    104 Bill.bus.item data X
    Put your cursor on 104 and then change it to 904 and hit enter.
    904 will be created as a copy of 104 and you can make your changes in 904.
    Don't forget to activate it after you are done.
    refer the below link
    https://forums.sdn.sap.com/click.jspa?searchID=3604222&messageID=994791
    Regards

  • Pricing routine 901 in the pricing procedure

    Can you tell me in detail (step by step) How to write pricing routine 901 in the pricing procedure?
    I know ABAP coding. I am new to SD (pricing).
    The only thing I know is the VOFM 901 Pricing Routine development is in ABAP program RV64A901.
    Purpose : Pricing Routine for calculating the price difference due to increase or decrease in the copal contract price from the copal actual price
    Description :
    Routine 901 : Copal Difference Calculation
    The formula to be used is : Copal Adjustment = ( Copal Contract Price + Copal Actual Price ) x Amount of Copal / 1000
    Where
    Copal Contract price is the condition type Y001 from the pricing procedure Z00003.
    Copal Actual price is the condition type Y002 from the pricing procedure Z00003.
    Amount of Copal is the condition type Y005 from the pricing procedure Z00003.
    Copal Adjustment is the condition type Y003 from the pricing procedure Z00003.

    Hi,
    Go to the transaction VOFM.
    In the menu..Choose...Formulas -> Condition value
    At the of the table ..Enter 901 and give the description..
    Then select that row and press source text button or F5.
    It will ask for the access key...
    Get the access key for the corresponding object
    R3TR PROG RV64A901
    Then in the code..
    READ TABLE XKOMV INTO LWA_Y001 WITH KEY KSCHL = 'Y001'
                                                      KPOSN = KOMP-POSNR.
    READ TABLE XKOMV INTO LWA_Y002 WITH KEY KSCHL = 'Y002'
                                                      KPOSN = KOMP-POSNR.
    READ TABLE XKOMV INTO LWA_Y005 WITH KEY KSCHL = 'Y005'
                                                      KPOSN = KOMP-POSNR.
    Sum up the values in LWA_Y001, LWA_Y002 & LWA_Y005
    And then move it to XKWERT
    Thanks,
    Naren

  • Pricing routine is not called even after assigning it in pricing procedure.

    Hi
    I created a pricing routine (Condition value) for one ZCondition type. I saved it in the workbench request. Functional consultant assigned this pricing routine to condition in Pricing Procedure. The routine was called while creating a PO. It works perfect in development system. But after we transported to quality server the routine is not getting called. Routine is displayed in pricing procedure in quality server. Routine program also exists in quality server. But the program include statement is not found in standard program RV64ANNN in quality. But in development the include statement appears in this program. How this program was not modified in quality server after transport? Its a SAP standard program and it was not saved in any request and was not modified manually too.
    Can anyone explain me what could be the reason that the program RV64ANNN is not updated in quality server to include the routine?
    How can we update this program without modifying it manually?
    Would deleting the pricing routine and recreating it help resolve this problem?

    Hi,
    Refer to the following Notes:
    [Note 22808 - Transferring formulas|https://service.sap.com/sap/support/notes/22808]
    [Note 388998: VOFM: Check report for entries in TFRM/TFRMT|https://service.sap.com/sap/support/notes/388998]
    [Note 28683: PERFORM_NOT_FOUND: VOFM routine is not active|https://service.sap.com/sap/support/notes/28683]
    Note 22808 - Transferring formulas is the first place you should look.  FYI, there is a lot of information on this topic available by searching for SAP Notes that have "RV80HGEN" and/or "VOFM" as keywords.
    Regards,
    Jamie
    Edited by: James Gaddis on Mar 19, 2008 10:59 AM - Added an additional SAP Note number and comment about searching for more Notes.

  • Problem in more than one Routines in Pricing Procedure

    Hi,
    I have one pricing procedure. I have created two 971 & 981 routines (CalType) as per my requirements. The issue is that both the routines are not working correctly if they are assigned together is the pricing procedure. But if I assign any one of them only then they work work together.
    I tried putting the Break-Point in both the routines and found that the control is passed to the first routine i.e 971 only and not 981 when it's corresponding condition type is entered.
    I have activated both the routines nad executed the report RV80HGEN also.
    Kindly advise a solution. Thanks

    Hi Aparna,
        thanks for the reply.
        I am assigning different routines to different condition types. and according to the steps sequence 971 comes first and then comes 981. However i am able to go into Debug Mode in 971 but not in 981.
       I am not able to understand this sort of behaviour. Kindly elaborate your solution.
      Thanks.

  • Discount should calculate on VAT/CST in MM Pricing procedure.? or How to write  routine to calculate discount amount after VAT/CST .?

    Hi All,
    Client is asking discount should calculate after Base+ED+VAT/CST. How to achieve this by configuration or by creating routine?
    I am reading Discount amount from condition tab but not able to deduct it after VAT in Routine.

    Hi
    P is the price of the product
    Y is the MRP
    P&F = x1.P (x1 of P)
    ST = x2.P (x2 of P)
    ED = x3 .P (x3 of P)
    x1 x2 x3 are constants. P = Y/(1x1x2+x3)
    P&F=x1P, ST = x2.P ED=x3P
    You have mentioned that all the pricing is based on MRP. Hence you will entering MRP as input price. Now P will be selling price before taxes and discounts. P&F, ST and ED will be always mentioned as % of Product and not MRP. So considering the equation
    P + P(x1x2x3)=Y
    Hence P = Y (1x1x2+x3) and hence further calculations.
    Now in V/08 you can maintain pricing procedure. Here alternate calcualtion type will be routine which you can create new and add to the step.
    Hope now its clear.
    Kind regards
    sandeep

  • Routine is not configured in pricing procedure

    hi,
    following is the issue I received but i am confused :
    'zznetwr' is field for 'Net value before promotion' is set in formula 622 which is not configured in 'zperga' pricing procedure.
    above is the issue I received but i am confused because when i checked 'zperga' pricing procedure, the routine 622 was already existed in alternative cal type.
    Can anyone please tell me what is the  technical link between  routine and the pricing procedure. how routine works in background .
    Specially i want to know what settings ABAPer does while writing the routine and what codes he writes to make the link between routine and pricing procedure
    Thanks in advance
    Ali

    Hi,
    Seems it is a customized routine which derives the net value before the promotion.
    Do check in pricing procedure thouroughly whether the routine has been assigned properly.
    Also see which structure you have assigned the field "ZZNETWR".
    Also check Pricing Communication Item Structure "KOMP" where you have defined this Z field.
    Even if you have defined here may be you need the pricing exit to flow the value to this Z field and the routine you defined
    in the pricing procedure will work fine.Also check the same whether the value is flowing to this Z field during the sales order processing.You can take the help of your Abaper.
    Regards,

  • Pricing Procedure: requriement routine and mandatory field

    Hi,
    In pricing procedure, which setting has higher proirty between logic included in requirement routine or mandatory field configuration?
    I have a condition type to store list price (copy of PR00), and it is configured as mandatory.
    However, I want to include a requirement routine saying that 'Only for a specific order type and sales organization, set this condition type PR00 as optional.
    That way I can set this PR00 as possible to override the amount.
    Any ideas?
    Thank you in advance.
    Pinkytak

    I agree with all other solutions, but pricing anyway is very flexible to have to make routines.
    If you want just to overwrite the amount, mandatory or not has little to do. Just allow manual changes in the condition type properties.
    But if i understood your requirement correctly, i propose,  you let the mandatory condition type run normally, and  in certain sales type you insert another one, which with condition exclusion, will "deactivate" the mandatory one. In that way, you'll keep the initial one for reporting and statistical reasons.
    If you come back with your business requirement (not the technical one) i'm confident that we'll come up with better solutions.
    Regards
    Agis
    Edited by: Agis Katsafouros on Apr 20, 2010 1:50 PM

  • Changing formulas and routines in pricing procedure

    If i want to change the formula or add a new one in the pricing procedure, for example i want to calculate C&FA commsion, which could be 30 cents per item quanity; then i need to add all the quantity despatched and multiply iwth 30 cents and calculate commions for that month.
    i am unable to solve this issue kindly help me

    Hi Prakash,
    You should be able to handle the below scenario using standard SAP functionality for Rebate processing without having need to create new formula.
    You should create a rebate condition type ZXXX which is having calculation type as Quantity (C) and Scale basis as C-Quantity scale.
    Create a rebate agreement for the rebate recipient who is suppose to receive the commission. Set up the ZXXX condition for the rebate agreement for the material with payment amount as 0.30 dollars per 1 quantity.
    Now, system will accumulate the item quantity in the rebate agreement as you do billing for the customers and the material (set up in the agreement). So at the end of the month, you will have all the quantity dispatched accumulated in the rebate agreement
    At the end of the month, you can do the settlement for the rebate agreement. At the time of settlement, system will multiple 0.30 dollars with the accumulated quantity and give this amount as credit note automatically to the rebate recipient.
    Hope this will help you,
    If you need help on rebate processing, please refer to below link
    http://help.sap.com/saphelp_470/helpdata/en/dd/561222545a11d1a7020000e829fd11/frameset.htm
    Please reward points if useful,
    Regards

  • Condition type is missing in Pricing Procedure determination

    Hi experts,
    We have a problem with Pricing Condition type in CRM.
    We have created a Transction in CRM as a follow up for the Transaction which is replicated from ECC to CRM the pricing procedure has been determined. But the net value is "0".
    when I checked in the conditions tab page "the condition type is missing" I checked Pricing Procedure the condition type is very much there. Then I checked for access sequence for that Condition type "Access sequence is also maintained.
    Then I checked copy controls for the Source and Target Item categories, for copy conditions the indicator is set up as "copy conditions,Redetermine taxes" then I changed it to "Copy all conditions".
    But still it is not happening.
    Can any please help me in this regard? Did I miss any configuration?
    Any help will be rewarded with points.
    Regards,
    Frederick.

    Hi Fredrick,
    This requirement must be assigned in your Pricing Procedure for condition type VKPO.
    The system first checks whether the requirement is fulfilled and than only execute that condition type.
    Requirements are nothing but Java Routines, which check for some condition before executing a condition type.
    For this Go to path
    IMG: CRM-> Basic Functions-> Pricing-> Define settings for Pricing-> Create Pricing Procedure.
    Choose your pricing procedure here. Here for the condition type VKPO requirement 41 must be assigned in column REQ. The requirements are coded in JAVA in SAP CRM.
    If this Pricing Procedure has been downloaded from SAP R/3, u can check in R/3 itself (Tcode: V/08) what the requirement is meant for, but choosing F1 and than the path for customizing.
    Regards,
    Shalini Chauhan
    Edited by: Shalini Chauhan on Apr 29, 2008 2:43 PM

  • Invoice List Split - pricing procedure

    Hi,
    Please help.
    We do not want to maintain the factoring discount for Invoice list.
    We are combining the invoices , Debit memos, inv cancellations in the invoice list type LR. But we have different pricing procedure for invoices and debit memos. As a result the invoice list splits because of different pricing procedures. To avid split based on the pricing procedure, created a routine (data in VBRK/VBRP) and reset the pricing procedure field(VBRk-KALSM).
    So the LR invoice will have pricing procedure as blanks. Please advise if this will have any other implications and also please guide the correct way of doing it.
    Thank You.

    Hi
      Well split can be avoided by user exit which exist at transaction VOFM look into this and get billing exits to avoid the split. There may be some condition at billing comment it as you dont need to split at billing. PLs do this appropriately as else you may stop the process. Anymore pls shoot me with the code you have done.
    so it can be well avoided with user exit.
    Cheers
    AnthonyM

  • Pricing procedure for order with reference from order

    Dear Friends,
    If I create a sales order with reference to another sales order of different type, the pricing procedure is copied too.
    But I would to use another pricing procedure for second document
    I found the oss note 14136 but this is for reference from invoce
    I tried to create new data transfer routine for orders in copy from 51, but does not work
    Can you help me??
    thanks
    best regards
    GdA

    > If I create a sales order with reference to another sales order of different type, the pricing procedure is copied too. But I would to use another pricing procedure for second document,
    Based on my understanding of query.
    You are looking for a different pricing procedure in second doc.
    For instance, the PricProc for SalesDoc1 is ZPR001 and  the PricProc for SalesDoc2 is ZPR002, in addition to that, you want SalesDoc1 to become reference doc for SalesDoc2.
    For this, ZPR002 & ZPR001 should have common base price condition type and rest pricing can change.
    And for maintaining different Pricing Procedure with similar combination of sales area for SalesDoc1 & SalesDoc2, maintain different document pricing procedure for both docs and maintain Pricing procedure accordingly..
    Thanks & Regards
    J Prakash

  • Problem of  DIFF (Rounding Off) Condition Type in Sales Pricing Procedure

    Hi All,
    This problem is related to Sales Order. The system is not picking up a condition type in the pricing procedure.
    For example when I am raising a sales Order where the Trade Price is being calculated with the help of a Alternative Calculation Type , Subtotal 1 , X in the the Print column and Posting Key ERL are assigned to it.Here in the end the condition type DIFF is not getting populated in the pricing though it is maintained in the pricing procedure. When I am checking in the pricing analysis the error message and its detailed description which is shown as follows -
    DIFF     011     Condition ignored (requirement 013 not fulfilled)
    The requirement 1. was assigned to this condition in the pricing procedure. This requirement was not met in the preliminary condition step, and so the condition was excluded from further processing.
    You can use Additional information to display the requirements used.
    Now considering the above scenario please suggest to attain my requirement.
    Thanks & Regards
    Priyanka

    Dear Priyanka,
    The "reqt" field in the pricing procedure basically tells d system that the routine mentioned in this field is a sort of prerequisite without fullfilling of which the associated condition type will not get xecuted.
    In ur case u have selected "1" which is for condition types A001, B001 etc used in "material listing / xclusion" function.
    For condition type DIFF, the correct value is "13" i.e "Rounding as per T001R".
    So just replace "1" with "13", things will b fine.
    Please close the thread if answered.
    regards
    Param

  • Problem in Pricing procedure  logic

    Hi,
    In pricing  procedure ,our functional team requires some logic inthere  procedure .
    1. Thay have condition type of ZBEA and ZBEE, If ZBEE is active that time ZBEA should be inactive.
       For that i created a routine like below.
    DATA: LV_XKOMV TYPE KOMV.
    if xkomv-kschl = 'ZBEA' and xkomv-kbetr NE 0.
    clear lv_xkomv.
      READ TABLE XKOMV INTO LV_XKOMV
                  WITH KEY
                  KSCHL = 'ZBEE'.
      IF sy-subrc = 0.
        XKOMV-KINAK = 'X'.
        MODIFY XKOMV TRANSPORTING KINAK WHERE KSCHL = 'ZBEA'.
      ENDIF.
    endif.
    Now its making ZBEA inactive but its showing ZBEE as 2times. How to avoid this?
    Can anyone please help this.
    Point will be sure.
    Mohana

    Hi
    But where are you doing that?
    U should insert an Alternative Formula Routine in pricing procedure for condition ZBEA:
    READ TABLE XKOMV INTO LV_XKOMV WITH KEY KSCHL = 'ZBEE'.
    IF SY-SUBRC = 0 AND LV_XKOMV-KINAK IS INITIAL AND LV_XKOMV-KBETR <> 0.
       XKOMV-KINAK = 'A'.
    ENDIF.
    Max

  • 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.

    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

Maybe you are looking for

  • Some parameters are not shown in parameter dialog

    Hello, I created a VB.NET program using VS2005 sample. When the program refers to CR10's DLLs (VS2005 bundle), it prompts all parameters correctly. But when the program refers to CR12's DLLs, some parameters are not prompted. I installed merge module

  • My iMac will only connect to certain websites?

    When I first started up google chrome on my iMac today, the start up page (google) wasn't loading. I decided to try other websites such as youtube, twitter, tumblr, and Facebook. Out of all the websites I tried, Facebook was the only website the load

  • APP ERROR 523 NEED TO FIX WITHOUT DATA LOSE

    SIR, MY BLACK BERRY CRUVE 8520 SHOWING APP ERROR 523 . PLEASE ADVISE HOW TO I CAN FIX WITHOUT DATA LOSE OF MY BLACK BERRY. I HAVE DOWN LOADED BLACK BERRY DESTOP MANAGER.. SINCE TWO MONTHS I DIDNT GET BACK UP OF MY MOBILE. PLEASE ADVISE URGENTLY.. PLE

  • FCPX will is capturing entire tape footage with import

    Need some help please. I import as I have done on lots of other projects the footage from my consumer Sony HC9 (HDV) camera. This time however FCPX is not capturing the last 7 mins on the tape. It seems to stop at 55:54:15 for some reason. The import

  • ESS Travel Assistant (WD ABAP): My Employees not consistent for users

    Hi there, I've seen a couple threads with the same issue on here - but, no resolution is posted...  We are trying to use the My Employees service in ESS Travel (travel assistant functions).  It appears there are two options for defining the list of e