Authorisation for pricing conditions in sales order

Hi,
This could be a tipical requirement. he requirement is a sfollows:
Some users should not be allowed to enter / change some of the pricing conditions (manual) in the create / change mode of sales order (VA01/VA02). But they should be allowed to enter/change couple of other condtion types (manually).
The other requirement is to disable the functionality of adding new condtions type through dropdown in the item pricing condition screen in VA01/VA02. The pricing update button also should be in a disabled mode for some users.
Please advice me whether this can be achieved through some user exits or Basis authorisation?
Regards,
Sam

Hi,
Yes this can be done. If you are on EP4 you cna use the Badi PRICING_AUTHORITY_CHECK_UI to disallow users to use certain conditions.
If you are not on EP4 you can still use the exit userexit_field_modification in program LV69AFZZ to check against authorisation.
Choose the one that best suits your needs.
Regards,
Naveen

Similar Messages

  • Users autorizations for pricing condition in sales order

    HI all,
    Can anyone tell me if there is any posibilities to control users autorization for certain pricing condition in a sales order? For example: User A can add/edit/display K007 but user B can only display K007 for a new sales order.
    Thanks in advance
    GeorgeR

    Hi
    Please check this link on WIKi
    http://wiki.sdn.sap.com/wiki/display/ERPLO/UserexitforRestrictingUserModifyingConditiontypeinSales+Order
    regards
    Prashanth

  • Authorization Objects for pricing conditions in Sales Order

    Hi All,
    In transaction VA03, we should restrict some users not to see pricing conditions tab in header and item level and net value on overview screen.
    Is there anyone who knows how to do it? I wii be very glad if you help me.
    Best Regards.

    Hi,
    i have not done this exact limitation before, but I hope this method will help.You can look up the list of all authorization objects linked to the tcode in transaction SU22.
    You can also get this by doing a user trace in ST01; and displaying the pricing condition.
    once you have a rough idea, you can do a trial and error with the values inside these objects and see which one  works.
    Regards,
    Soumya

  • Change header pricing condition in sales order

    Hi,
    I have an requirement in VA01 and VA02 to automatically edit one header pricing condition. The user can able to change the value of that condition type in header not in items . Does anyone know what user exit I can use for this requirement.
    Thanks

    Hi Sunil,
    Plealse find below 2 methods to change header pricing conditions in sales order.
    1.Goto SE38, give prog name as MV45AFZZ and in that write logic under USEREXIT_PRICING_PREPARE_TKOMK . (OR)
    2) The same can be done by creating a Alt Calculation type routine through VOFM and writng the logic in the routine, which will then be assigned to the pricing procedure in the condition type which will automatically calculate the condition.
    Try with the options mentioned above..
    Regards,
    KK

  • How to change pricing Conditions in Sales order in change sales order bapi

    Hi Experts,
    How to change pricing Conditions in Sales order in change sales order bapi.
    I have used the 2 function modules bapi-changesalesorder and sd salesdocument change, But it is creating the new record , instead of changing the existing one, Could please assist regarding the same
    Thanks in Advance .
    NLN

    HI NLN
      I have just tried on my system and managed to overwrite the existing price by passing the following parameters.
      <b>Import Paramters:</b>
         SALESDOCUMENT - Sales Document Number
         ORDER_HEADER_INX - UPDATEFLAG as <b>'U'</b>.
         LOGIC_SWITCH - Import Structure - Pass 'X' to LOGIC_SWITCH-COND_HANDL.
      <b>Tables:</b>
         CONDITIONS_IN - ITM_NUMBER,
                         COND_COUNT, -> Condition counter same as KONV-ZAEHK generally it is <b>'01'</b>
                         COND_TYPE,
                         COND_VALUE,
                         CURRENCY.
         CONDITIONS_INX - ITM_NUMBER,
                          COND_COUNT,
                          COND_TYPE,
                          UPDATEFLAG as <b>'U'</b>,
                          CURRENCY.
       Hope i have clarified your query.
    Kind Regards
    Eswar

  • How to read pricing conditions on sales order

    Hi
    i need to retrive pricing conditions of sales order but before posting sales order
    any user exit avialable ...?
    also i hv found one user exit in that there is FM EXIT_SAPMV45A_003
    But i am not able to read pricing conditions values
    also no data is there in konv table coz sales order has yet not been post
    so before sales order can i read the pricing conditions values ...
    pls guide
    if possiple pls provide example also
    thanks
    Taran

    Hi
    The problem is you can't use the KNUMV, because u make sure to get the princing active in the document at run time.
    If you want to know the old data you can read the table KONV using field KNUMV, but here you can't know if some modification is done.
    U can try to know the field-symbols:
    DATA: XKOMV LIKE KOMV.
    DATA: FIELDNAME(30) VALUE '(SAPMV45A)XKOMV[]'.
    FIELD-SYMBOLS: <TKOMV> TYPE TABLE.
    ASSIGN (FIELDNAME) TO <TKOMV>.
    LOOP <TKOMV> INTO XKOMV.
    ENDLOOP.
    Max

  • Copy Pricing Conditions from Sales Order to Billing

    Hi,
    Is there anyway to copy pricing conditions for item level from Sales Order to Billing Document at the time of creation of Billing Document.
    Thanks

    This question is not on topic for the Web Dynpro ABAP forum and has been locked.

  • Authorization for Change Conditions in Sale order or Billing document

    Good Morning
    In my scenario we have same pricing procedure for sale order and billing document. My requirement is to enter one condition manually in sales order.
    I want a specific user to enter this discount condition for a specific distribution channel only manually only in Sales order, not in billing document.
    Now here are some problems i am facing now.
    We have to make this for one user and for one distribution channel only.
    I can't use transaction variant to make condition tab in display because all users are allowed to enter freight condition manually at the time of invoicing.
    I have tried authorization object V_KONH_VKS but its not working. This is for maintain condition record not for entering in sales or billing document manually.
    Please suggest me is there any standard way to do this or should I go for ABAP?
    I prefer to do this with authorizations control. ABAP will be the last solution.

    I have a feeling that via PFCG,  this can be controlled and of course, with the object what you had indicated and Activity type.
    Create two roles one for maintaining manually in sale order and the other one for display.
    In one role, the activity can be 01 with TCode VA01 and VA02 and in the second role, the activity can be 03 with transaction VF01. Your basis guy should be able to do this so that the requirement can be achieved.
    thanks
    G. Lakshmipathi

  • Inserting Pricing condition in Sales order when saving the sales order

    Dear ABAPers,
           My customers requirement is when saving the sales order new pricing condition has to be updated in the line item.for this i am using the User Exit 'USEREXIT_SAVE_DOCUMENT_PREPARE' ( MV45AFZZ).While saving the Sales order i am calculating the Price and updating in the Pricing conditions.
    In XKOMV internal table i am appending the pricing condition.But the problem is ,it is not calculating the taxes and it is Updating in VBAK and VBAP.
    How to do this.
    Thanks & Regards,
    Ashok.

    Dear ABAPers,
    I have Solved this Problem.
    Thanks & Regards,
    Ashok.

  • Pricing condition in sales order-issue

    Experts,
    i am facing a very strange issue, functional consultant
    did some configuration ,such that when header of
    sales order have condition type ,let say some 'ZXX',
    this pricing conditon should be applicable to all
    the schedule line with pricing condition as 'ZXX' where material in schedule line is let say 'ZPP',that mean
    these should only be applicable for material type
    'ZPP',we are facing strange issue , when scheule line no
    10 is having material 'ZPP' ,then pricing conditon is
    working fine('ZXX'),but if scheule line no 10 is having
    material other than 'ZPP' and if scheule line no 20
    is having material 'ZPP' ,then for scheule line no 20
    pricing condition is not getting copied from header

    goto  tcode - <b>vk13</b>
    note that [A]--sequence for plant /material
    note that <b>--sequence for plant /material/cafgroup
    enter ur pricing condition type and
    for the <b>plant/material</b> combination etc.. [A]-
    may be in the access sequence ur consultant ave given it to a new sequence say <b>plant/material/caf group</b> .. --<b>
    like this 
    suppose say item 10 is for option [A] so access sequence is for this only ..cause material is now in plant/material
    now say item 20 is for option <b> so
    material at line item 2 will fall under this sequence ..
    cumulatively u need to get the total ..
    now if the material is same in line 10 20 , u will have to fetch the values from both the tables in sequence and not one table will store the values ..
    cause sequence pass for the material is now [A] and <b>
    rememebr that per classification the values are stored in diff table like a906 ,, a90*..
    in order to fetch that  u need to get it from the tables of classification
    and then cumulate it ..
    this is important ..
    regards,
    VIjay.
    Message was edited by: Vijay

  • Delete Pricing Condition IN Sales Order

    Hello Forum,
    Does anyone know how to delete a specific pricing condition in a Sales Order.
    In a sales order for each line item there are multiple pricing conditions. I need to delete a specific price condition 'ZZZZ' for instance then how do I go about it?
    This is what I have been able to find out so far.
    1. Does NOT seem to be possible by BDC because there is no way to position the cursor on the particular condition record I require.
    2. Although there is BAPI_SALESORDER_CHANGE, SAP via an OSS note specifies that this BAPI CANNOT be used to delete  condition records.
    3. None of the PRICING function modules seems to work for deletion. I did find out a function module PRICING_DELETE_LINE but this seems to rely on being called via SAP Standard function.
    I have tried searching for some means to do this and I hope that someone on this forum can give me some help on the same.
    Regards,

    Hi Peter,
    Your reference to OSS Note 593246 saved me from hitting my head to the wall, I had almost given up. Thanks a lot.
    Here is the code, in case any one needs to add or change a condition type on the sales order.
    REPORT ytest.
    DATA:lt_conditions_in TYPE STANDARD TABLE OF bapicond,
         lt_conditions_inx TYPE STANDARD TABLE OF bapicondx,
         lt_return TYPE STANDARD TABLE OF bapiret2,
         ls_logic_switch TYPE bapisdls,
         ls_order_header_inx TYPE bapisdh1x,
         ls_conditions_in TYPE bapicond,
         ls_conditions_inx TYPE bapicondx.
    ls_order_header_inx-updateflag = 'U'.
    ls_logic_switch-cond_handl = 'X'.
    ls_conditions_in-itm_number = '000010'.
    ls_conditions_in-cond_type = 'PR00'.
    ls_conditions_in-cond_value = '21.11'.
    ls_conditions_in-currency = 'USD'.
    APPEND ls_conditions_in TO lt_conditions_in.
    ls_conditions_inx-itm_number = '000010'.
    ls_conditions_inx-cond_type = 'PR00'.
    ls_conditions_inx-updateflag = ' '.
    ls_conditions_inx-cond_value = 'X'.
    ls_conditions_inx-currency = 'X'.
    APPEND ls_conditions_inx TO lt_conditions_inx.
    CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
    EXPORTING
       salesdocument               = '0000053232'
      ORDER_HEADER_IN             =
       order_header_inx            = ls_order_header_inx
      SIMULATION                  =
      BEHAVE_WHEN_ERROR           = ' '
      INT_NUMBER_ASSIGNMENT       = ' '
       logic_switch                = ls_logic_switch
    TABLES
       return                      = lt_return
      ORDER_ITEM_IN               =
      ORDER_ITEM_INX              =
      PARTNERS                    =
      PARTNERCHANGES              =
      PARTNERADDRESSES            =
      ORDER_CFGS_REF              =
      ORDER_CFGS_INST             =
      ORDER_CFGS_PART_OF          =
      ORDER_CFGS_VALUE            =
      ORDER_CFGS_BLOB             =
      ORDER_CFGS_VK               =
      ORDER_CFGS_REFINST          =
      SCHEDULE_LINES              =
      SCHEDULE_LINESX             =
      ORDER_TEXT                  =
      ORDER_KEYS                  =
      conditions_in               =  lt_conditions_in
      conditions_inx              =  lt_conditions_inx
      EXTENSIONIN                 =
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
    wait          = 'X'
          IMPORTING
           return         =
    Regards
    Amit Maole

  • Pricing conditions in sales order.

    Hi,
    In my sales order pricing conditions, the Condition values are coming in change mode. so that the users can change the condition values.
    I want to make it as disply mode. how can i do?
    Regards,
    jyothi.

    Hi,
    U can control the manual entry of pricing by following method:
    Go to Condition type - In Changes which can be made screen, Select "D" ( Not possible to process manually).
    However, please note u have to maintain condtion price for condition type through VK11.
    Hope it solves ur issue.
    Thanks
    M G Shankar

  • User exit to add header pricing condition in sales order

    Hi experts,
    I have an urgent requirement in VA01/VA02 to automatically add a header pricing condition and rate (Kanban charges) for a certain type of Sales order (Kanban Sales order). Does anyone know what user exit I can use for this requirement? Also, the additional header pricing condition should be included in the net value for the item.
    Thanks!

    HI Leo
      To add a condition price for a condition type, this has to be assigned in the <b>pricing procedure</b>. For each condition type in a pricing procedure, we will have <b>access sequences</b>. If we follow this approch, the price is automatically extracted basing on the access sequences when condition records are maintained. For this, no coding is required and everything can be done by configuration by Functional consultant.
       Naren is right to point out on the same.
      If you need to change the price for a particular condition which already exists, you can go by <b>pricing routines</b>. Go through transaction <b>VOFM</b> for the same. 
       I advice you to discuss with your functional consultant and understand the requirement and then go for modifying accordingly.
    Kind Regards
    Eswar

  • Pricing Conditions from Sales Order to Purchase Order

    Hi,
    This is a third party scenario. The vendor says that he will sell product ABCD for $10 to us.
    When the customer places and order, we have a manual condition type ZDIS in sales order and we enter $10  for the product ABCD while we create the order.
    This $10 is not the sales price for the customer, it is the purchase price for us from vendor. Even though we maintain Info Record for the Vendor we bypass that sometimes and this is the reason we created this condition type.
    The purchase requisition is created automatically when we save the order, and we create the purchase order using the Purchase Requisition automatically using ME59
    Now we want to copy the condition type ZDIS to the Purchase Order.
    Please let me know how to do this.
    Thanks

    Hi tinsnow ,
    I belive you have to access the condition records of sales order from any one of the user exit \ BADI of ME59.
    Regards,
    Sen
    Edited by: Senthil Nattamai Sekar on Feb 27, 2009 5:28 AM

  • Copy the pricing conditions from Sales Order to Delivery

    Hi all,
    I have to send the princing conditions from the delivery trough Idoc.
    That's the reason why I need the princing conditions in the delivery. But I can't redetermine the pricing procedure in the delivery creation. I need to copy the pricing conditions from order to delivery.
    Because if there is any manual modification of a condition in the sales order, If I redeterminate the pricing procedure in the delivery, I would lost the changes.
    Anybody knows any User Exit or anyway to copy the pricing conditions from SO to Delivery?
    Thanks in advance

    I think pricing will not determine in delivery, if any shipmentchanges will copy to delivery, not standard pricing.
    Logically, when you create delivery by that time your pricing need to finsh, no changes, so send pricing infor from order to customer, as its standard process in any client.

Maybe you are looking for