Sales order Pricing for a particular condition type

Hi Folks,
I have a requirement that when i change the Shipping condition(VBAK-VSBED) in the Sales order  The Pricing should be triggered and the price should be re-determined only for a particular condition type (ZFM1) . This condition type represents Freight charges.
I am trying to use user exit USEREXIT_NEW_PRICING_VBAP(include MV45AFZB) in the below fashion but the price is getting
re-determine for all the condition types. I have even tried by passing NEW_PRICING = 'H' but we have multiple condition types for freight and price would get re-determined for all these condition types. I want the price should get refreshed only for condition type ZFM1.
FORM USEREXIT_NEW_PRICING_VBAP CHANGING NEW_PRICING.
   IF VBAK-VSBED NE *VBAK-VSBED
      New_Pricing = 'B'.
   ENDIF.
ENDFORM..
So, do we have any function module which i can use to refresh only a specific condition type.
<Priority normalized by moderator>
Edited by: Vinod Kumar on Nov 3, 2011 1:35 PM

Hi
It's hardcoded. Go to include FV45PF0P_PREISFINDUNG and you can see when the userexit is called and how the report call other subroutine:
          perform userexit_new_pricing_vbap(sapmv45a)
                  changing da_pricing.
          if not da_pricing is initial.
             if da_pricing ne function_new_pricing.
                perform preisfindung using da_pricing.
             endif.
          endif.
In subroutine PREISFINDUNG is called the FM 'PRICING' with the value for DA_PRICING for CALCULATION_TYPE.
Regards
Eduardo

Similar Messages

  • Sales Order creation of adding new condition type to Item

    Hi Expert,
    The sales order has been created and need to add new condition type (Z601) to the first item(10). While adding the condition I am getting warning message like
    "Item 000030 exists already; the entry will be ignored".
    Where item 030 will be the last item.
    I have cheked but it's a standard report SAPFV45P, we can't modify. Please let me know can we set any field in the sales order so that we wont be getting this message.
    Regards,
    Mahesh

    Hello,
             If you would like to add the Condition Type automatically for a specific Item based on some condition (Lets say, Item Category), then you can code a Pricing Routine in VOFM Transaction and it will be automatically assigned.
    Thanks and Regards,
    Venkat Phani Prasad Konduri

  • Sales order MTO for non-valuated Material type

    Hi Friends,
    I need to create MTO sales order for non-valued material type, and at the time of save, I am getting an error that, Material "JOBFINISH" cannot be costed
    Message no. CK113.
    Diagnosis
    In accordance with material type UNBW for material JOBFINISH, the material is not relevant for costing.
    System Response
    Material JOBFINISH is not costed.
    Procedure
    1. Check the master data for material JOBFINISH.
    Display material master record
    2. If you have authorization for Customizing, check whether the material type is correctly set for this material. A material can only be costed if the Costing indicator in the material type is set.
    Can you please suggest to handel this kind of error.
    Rgds, Krishan Raheja.

    First in MM03 ,check the Material Type & Costing View whether any cost is there.If it is not there ,then ask FI consultant to provide the Costing.
    Then Go to OMS2 > Select Details against your Material Type > Can activate the Costing View ( if it is not there in MM03).
    Best Regards,
    Ankur

  • PO new pricing for selected custom condition types

    Hi Experts
    We have certain custom pricing conditions determined through condition records.
    Periodically these conditon records undergo changes (new rates maintained).
    We would like to have redetermination of new prices for the custom conditions for all the open POs.
    Is it possible to have this function for the conditons types which undergo changes.
    Thanks
    ramSiva

    Hi ;
    You can filter open PO's with a selection parameter WE01 in ME2N.
    After that , go to MEMASSPO tcode , copy open PO's. And, update conditions with header or item EKPO-EBELP or EKKO-KNUMV.
    Transformation :
    KONV-KNUMV = EKKO-KNUMV.
    KONV-KPOSN = EKPO-EBELP.
    Regards.
    M.Ozgur Unal

  • Disable more than one entry for a particular condition type in VF02 / VF01

    HI,
    I am using vf02 transaction.In the header under pricing I am using a Z condition type to enter conditions ZTO1.
    The problem is  manual entry is allowed in header so the user is able to create more than one row for condition type ZTO1 which is wrong.
    I need to restrict this.Only one row should be allowed for condition type ZTO1.
    Please let me know if there is any configuration for this or then Ill need to use a screen exit or any other exit for VF02 / VF01.
    Awaiting reply....
    Thanks & Regards,
    Sheetal.

    Hi,
    You can make use of pricing Requirement routine for checking the manual entry and display error if wrong.
    These requirement routines can be maintained\created in VOFM->Requirements->Pricing.. For refrence check the coding in some of the already maintined routines..
    I hope this will be helpful.. Reward points..

  • How to find the corresponding programs for a particular condition type

    Hi experts,
    I have one condition type( KSCHL ).
    I need to find the programs where this condition type is used.
    Thanks in Advance.

    Dear Nagireddy,
    You have to go further by using where-use list option(Arrow Direction Icon) from SE11 or from SE38 editor. Then the system will show you the places where the condition type KSCHL is being used.
    Thanks & Regards,
    Dinesh

  • Searching for Sales orders with a particular condition type..

    Hi,
    I'm searching for sales orders and purchase orders which contain a particular condition type, can someone please point me in the right direction?
    Regards,
    Attiq

    Hi,
    Goto SE16 and put KONV
    Put the particular condition type that you are looking for and execute
    Copy the KONV- KNUMV value for all the records found
    Goto SE16 and put VBAK / VBRK
    in the field VBAK-KNUMV or VBRK-KNUMV put the copied data from step three and execute
    Note all the corresponding document number i.e. VBAK-VBELN / VBRK-VBELN
    Pls reward if helpful.
    Regards,
    Pramod.

  • Sales order pricing conditions

    Can any one let me know what are the tables that are updated while working with sales order pricing conditions .......      r sales order conditions

    Hi Ali,
    VBRK     Billing document :header data
    VBRP     Billing document :Item data
    KONH      Conditions header
    KONP     Conditions items
    KONV     Procedure ( billing doc or sales order)
    KOND     Conditions (data)
    These tables will give sufficient information on Sales order pricing and its billing conditions etc.
    best regards
    Ramakrishna

  • How to block particular condition type not being posted

    Hi,
          We don't want a particular condition type ( customized & accruel ) to be posted into accounting when creating a billing. That condition type is deleted and after that this is how it works now.
    1. When a billing is cretaed from a new sale order ( which does not have that condition type ) it works fine.
    2. When a billing is created from a sale order which refers to the old sale order which in turn has this condition type, then this conditon type is posted into accounting.
        Can some one help in this issue so that I want to block this condition type being get posted in accounting. Is there any Userexit or can it be done with other options. I am an ABAPer, please give specific answer.

    Hi Jagadish,
    The reason why we do account determination is that we would want the system to post the  respective amounts to respective G/L accounts automatically.  What amounts to be posted to what G/L accounts is decided by the Account keys .
    Now if for a particular condition type in the pricing procedure  if you remove Account key the system will not post to the G/L accounts. But generally in this case I believe while creating the Bill system will throw an error in account determination.
    For that what you can do is create completely new accont key and assign a provisional G/L account which is not to be included in your Balance Sheet accounts or P & L accounts (can be restriscted by FI Guys).
    But remember to use a completely new oricing proicedure for this case.
    Hope this helps.....
    J Nagesh

  • User Exit for eliminating double condition type in sales order

    Sir,
    In SE38,  Program SAPMV45A,  I am using user exit ( Userexit_pricing_prepare_tKomp )  to avoid double entry
    of condition type like PR00 in sales order . But i am not getting how to write code.
    Please, help me how to write code in user exit.
    thanks,
    Manoj.

    Thanks for replay.
    Sir, I want to impliment it in sales order (VA01 OR VA02 )
    for pricing  . Here I want to avoide double  condition types like PR00, packing forwarding, frieght ....etc
    in  sales order pricing.
    Here i want to give logic that codition type is already exit and you canot enter same condition type
    again. means if condition type is already exit then system should not allowed to enter again the same condition type
    in sales order pricing.
    Thanks
    Manoj.

  • Tax is not getting updated in Sales Order Pricing Conditions

    Hi ,
    Tax is not getting updated in Condition of sales order when creating Sales order but when we click on update button it is calculating correctly.
    Following are the changes for in the standard Pricing:
    1) Created ZPSC condition type to calculate the sur-charge from Z-table
    2) ZPR0 Condition type to calculate the sum of PR00 and ZPSC
    So tax has to be calculated based on the ZPSC value, but it is calculating the tax based on the PR00 base price.
    We implemented the logic for updating values of  Amount and condition values for ZPSC and ZPR0 by creating custom Routine 904 in Calculation types and assigned the routine in Pricing Procedure.The correct values are coming till NET VALUE 3 but tax is calculating based on the PR00 net price.
    I debugged the code for Tax Routine the value for Net value (NETWR) is the base value price but displaying correctly in Net value screen of Conditions tab.
    Please suggest how to update the Tax values correctly without manual update.
    Thanks ,
    Rajesh Sanapala.

    Hi Lakshmi,
    I am using a TAXINN procedure.....to correct my self can u brief me abt the CIN configuration settings required from SD point of view......how many tax codes have to be maintained for capturing the BED,EDCess,SHED cess,VAT,CST and what are the condition types required for capturing the same.....
    I am using JEXQ-A/R BED ......for capturing the BED....and so on ......I feel that i have missed out on some settings ,thats why few conditions are getting captured and some are not.....It would be great if you ca nhelp me on this.
    Thanks
    Ivy

  • Restricting Purchase order for a particular material type

    Hi All,
    How do I restrict a purchase order document type to be created for a particular material type.
    For eample PO document type NB should allow to create for materials with the material type ROH only and restrict the other material types by issuing an error.
    Many thanks in advance.
    Regard,
    Ravi

    Hi Ravi,
    This is not directly achievable in std. You will have to implement the check in a user exit, e.g. the BAdI ME_PROCESS_PO_CUST method PROCESS_ITEM.
    But why this strange reqmt? Maybe there's another solution whuch would keep you in std?
    BR
    Raf

  • How to give authorization for create and change particular Condition Type

    Hi...
       In my requirement is , Only one user can be authorized to create and change a particular condition type 'ZABC' in vk11 and vk12 .
    For remaining condition type can be used as in normal .
    How to do this ? How to give authorization for a particular user for particular condition type ?
    Plz guide me ..
    Thanks in advance .
    Deepa .

    Hi Deepa ,
    u can check A.Object V_KOND_VEA, in user profile u can assign condition type or tables.
    have a word with ur basis guy , so he can help u in better way.
    aand also ref FM SD_COND_AUTH_CHECK
    Regards
    Prabhu

  • Control to view Sales Order Price for a user

    Hi All,
    I want to control to view Sales Order Pricing in VA03/VA02 for a Particular User,How can I do.
    Is there any user Exit or BADi to control. Pls Advise.
    Pranitha.

    Hi
    Create the objects in the same order. You need create objects that surely need a register in the SCCR (userexits and message VH609).
    So, the steps are:
    1.SU20
    2.SU21
    3.Message in SE91
    4 AND 5. If you don't know ABAP, search an ABAP that helps you (you have the coding in correction instructions:
    Program ID  Object Type  Object Name  Program ID  Object Type  Object Name 
    LIMU  REPS  ZZAUTH01  R3TR  PROG  ZZAUTH01 
    LIMU  REPS  ZZAUTH02  R3TR  PROG  ZZAUTH02 
    LIMU  REPS  LV69AFZZ  R3TR  FUGR  V69A 
    See the PDF file in the attachment too. For LV69AFZZ surely you need SCCR.
    6. To achive that SAP_ALL see the new object.
    Other question. Remember that when you mantain the authorizations in tcode PFCG, you mantain ACTIVITY (usually all, ie, *),
    you can set one for each pricing procedure that you use, and level numbers (remember that if you see the level 20 in tcode V/08 for this pricing procedure you must write '020', related with alpha conversion, that the object doesn't understand).
    I hope this helps you
    Regards
    Eduardo
    PD: I forgot, see  Note 1165078 - Authorization check for conditions or subtotals, that says:
      A solution was previously only possible using the modification in Note 105621; however, a solution without modification
      using a suitable implementation is now possible as of Release ERP 2005 EhP4 (SAP_APPL 604), which provides BAdI  PRICING_AUTHORITY_CHECK_UI. 
    Edited by: E_Hinojosa on Jun 2, 2011 5:37 PM
    Edited by: E_Hinojosa on Jun 2, 2011 5:39 PM

  • How to set required for group of condition type in the same condition class

    Hello,
              we have a group of condition type with the same condition class B, the last one have been set, and all of others will be inactive.
    but we don't set any required for all the condition types in pricing control, so if user don't set any of them, the sales order or billing is still saved. that is a risk.How can i fix it? Thanks.
    Sophie

    Hello,
      incompletion log is not available in invoices.
    You have different options:
    - activate a validation in FI when the Billing document is released into accounting,  so that te release into accounting is not allowed if the invoice amount is zero;
    - define a subtotal in the pricing procedure as sum of the pricing conditions of your group, then develop a custom routine to be assigned in the formula "CalType" (field T683S-KOFRM) where an error should be raised if the amount of the subtotal is zero (use as an example formula 48);
    Best regards,
    Andrea

Maybe you are looking for

  • I can no longer connect to Xbox Live with my WRT54G

    A few days ago I had to exchange my xbox for a new one.  For some reason I can not get this new xbox to connect to Live at all.  The error message I'm getting is saying that port 3074 isn't open.  The fact of the matter is that port is open.  I've tr

  • Package ipa file with adt

    Hi, I've almost completed my first app and I'm looking for the best way to generate the ipa file. I use CS6 and I want to do that using CMD. Since I've never done that before I ask here for advices. I found this cmd here on forums: F:\sdk\bin\adt -pa

  • Someone PLEASE answer this simple question

    what are the technical specs on the line input for the audigy 2 zs? high/low impedance? voltage level? anything please, creative has no really DETAILED specs on their products. thanks L_E

  • SAP james bond's

    hi can any body tell me what is the scenario and why should we creat 3KEH and 3KEI ? and what is  DOCUMENT SPLITTING what is the purpose of it PLZ TELL ME IN DETAIL AND CLEARLY

  • Xfce4 not starting after log out

    Installed Archlinux distro and Xfce4 via pacman went fine installed a couple more apps (webbrowser, email, irc, wine, extra fonts, etc..) now i log out and when i try to log in (either root and normal user) i briefly see a crusor from the xfce deskto