Change field LIFSK in sales order

Hello!
Can anybody advise me on how to maintain authorisation data so that only some users with acces to VA02 cand change the field LIFSK (delivery block) in a sales order?
Thakyou in advance!

Hi Cosmin - this is a tricky one -
1) In the User profile (T Code Su01), maintain a Unique user group and assign to respective User (Field USLOGOND-CLASS)
Example - User group = Power User
2) In the user exit, use this field for validation - your ABAPPer should be able to do this
he needs to use
if  usr02-class = 'Power User' , then change field VBAK-LIFSK else do not allow
cheers
nandu

Similar Messages

  • U00A7LO-VC - Changing Fields in a Sales Order

    Hi LO-VC / SAP Guru's,
    I had a question to see if any one is using or if my understanding of the functionality available in user exits: Exit_SAPLCEI0_001 and Exit_SAPFV45S_002 is accurate.
    What we are trying to accomplish:
    1. Using a generic material (say a configurable Vehicle) we would like to change the part number in the sales order line item to change the configurable material to the appropriate type Car / Truck that we want to configure.
    For example;
    1. Material = Vehicle
    Characteristics selection = Car or Truck selection.- I'm going to choose a CAR for this example.
    Depending on if it is a Car or Truck the configuration exits, changes the Sales line item to CAR and we are able to enter all the configuration attributes now for CAR since the part number on the sales line item has been automatically changed.
    Goal: Simplify our order entry process for our sales team, so they do not need to remember if they should choose Part number CAR or Truck (configurable KMAT's). While this example is very simple, our business is complicated and has upwards of 1000 KMAT's. So we need a method to simplify the front entry screen and provide a logical CU60 table to choose what KMAT material the sales line item should use (e.g. Magic Decoder Ring).
    Thoughts, Comments, Suggestions on how to accomplish this differently or more simply?
    Thanks,
    Ed

    Hi Ed,
    Base on your information, it seems you want to enter material Vehicle first in the sales order item, then in the configuration screen, you select the characteristic of Vehicle as Car, then the sales order item will change to Car and the configuration also changed to others to enable you configure Car instead.
    I don't think it is possible in standard, because even you have many configurable materials, when you create the sales order for the customer, you should already know what material the customer want, so I can't see the meaning to change the material in order item, why when you create the sales order you only know the customer want Vehicle but don't know they want a Car? If so why do you create such a sales order when you don't know what you need to sale?
    Second, when the material is maintained in the order item, the system will always read this material to do the configuration, I don't think it is possible to switch the configuration between materials. Maybe you can have the Car and Truck as the class node component or something else in the BOM for Vehicle, then a multi-level configuration could take place in the sales order...
    Please review SAP note 644574 for the two user-exits you mentioned.
    Regards,
    Rachel

  • Query Alert for a change in value of the Quantity field of the sales order

    Hi Experts,
    A query alert has been set up to alert the warehouse employee when a new sales order is created by a sales employee. Our client wants the warehouse employee alerted when the sales employee edits the quantity field of an already added sales order.
    Kindly assist in designing a query to notify of this change in the Quantity field of the sales order.
    David

    Try this one:
    SELECT T0.DocNum, T0.CardCode, T1.ItemCode, T3.Quantity 'Old Qty', T0.Quantity 'New Qty', MAX(T2.LogInstanc) 'Times Changed'
    FROM dbo.ORDR T0
    INNER JOIN dbo.RDR1 T1 ON T1.DocEntry = T0.DocEntry
    INNER JOIN dbo.ADOC T2 ON T2.DocNum = T0.DocNum AND T2.ObjType = '17'
    INNER JOIN dbo.ADO1 T3 ON T3.DocEntry = T2.DocEntry AND T3.ItemCode = T1.ItemCode
    WHERE T0.DocStatus = 'O' and T0.DocType = 'I' AND T1.Quantity != T3.Quantity
    GROUP BY T0.DocNum, T0.CardCode, T1.ItemCode, T1.Quantity, T3.quantity

  • Free Good Qty as non modifiable field in the Sales Order Level

    Dear Friends,
    I have successfully done the config change for the Free Goods, But now i want make the free good line item qty as a non modifiable field in the Sales Order Level.
    How can i do this.. Please advice.
    Thank U,
    Uwanthi

    Hi
    This is a standard behaviour in the system
    kindly use the below program and user exitexit
    MV45AFZZ and use "Userexit_filed_modification"
    Regfards
    Damu

  • Issue while changing Item Category during Sales Order Creation

    Hi,
    Requirement:
    Requirement is to change the item category of Sales Order item while creating the sales order.
    Rule is: If item category is IRAT then it should be changed to IRLN.
    For this, I am using the user exit "USEREXIT_SAVE_DOCUMENT_PREPARE" available in the include MV45AFZZ.
    Issue:
    Using the above mentioned exit, Item category is getting changed to the desired value in the created sales order BUT value of Billing Status (VBUP-FKSAA) which is supposed to get changed is blank.
    For example, Sales order is created from VA01 and item category is changed manually to the value mentioned above, then for the sales order created we have VBUP-FKSAA = 'A'. But when value of Item category is not changed manually and it is changed from the exit, then value of VBUP-FKSAA is blank.
    I have to find a solution which would change the value of Billing Status according to the change in the value of Item Category.
    Please suggest a relevant solution.
    Thanks a lot for responding.
    Abhinav.
    Edited by: Abhinav Jain on Apr 9, 2010 6:47 PM

    Hi Abhinav,
    I have a simmilar problem. In my case I am changing Reason of Rejection in the user-exit, but net value is not getting updated. Did you solve your problem? Any other way to change a field of a sales order item?
    Thanking you in advance,
    Nisha

  • Change risk category in sales order... how?

    Hi!
    With Transaction VD32 you can assign a risk category to a customer. This category will be pulled into the sales order by creation into field vbak-ctlpc.
    I want to change the value of the field for certain sales orders but I cant find a bapi doing so. Therefore the question:
    How can I change the vbak-ctlpc (risk category) in an existing order? And will I have to change this in possibly already existing deliveries?
    Best Regards
    Manfred

    Hi Manfred
    If you want to change the Risk category feild (vbak-ctlpc) in the sales order then first of all go to SHD0 and make it optional . Then you can change the risk category feild
    Regards
    Srinath

  • Change Item Category in Sales Order for KMAT materials

    Hi,
    How can I change item category in sales order/quote for KMAT materials?
    Currently in the sales order/quote, the item category field is grayed out for KMAT/configurable materials and I can change the item category.
    Please help me.
    Sincerely.
    Ketan

    Dear Ketan,
    I hav exactly the same problem.
    Did you finally succeed?
    Thanks.
    Ben.

  • Change  of Plant in sales order line item

    Hi folks,
         Can someone guide me how to change the line item sales order --plant after saving.
    it is coming as grayed once entered.
    Regards
    Srshkumar

    Hi,
    Good To see few replies, But the field(Plant) is coming grayed after entering the plant in the line Item.
    Need few more suggestions.
    Regards
    Srshkumar

  • Change the status of Sales Order

    Hi,
    I have a scenario wheirin I need to forcefully change the status of a sales order to complete eventhough the delivery / invoice is not complete. Reason is because the user has stopped to take further deliveries.
    I already have 3 deliveries / invoices for my Sales order and I want to stop any subsequent ones. However the status field in a sales order is grayed out so I cant change it manually.
    Is there any other way I can make the status of my sales order to complete or stop further deliveries / invoices?
    If you want any other information then do let me know.

    I understand you already have some deliveries for some of the items in the order and some invoices too. If so then you CAN'T changes the status of THE document. thatd be wrong, as some transaction is already processed hence it is greyed out.
    if you wish to block further deliveries etc for the balance of the items then the blocks too wouldnt be right as again they are on the doc level.
    For the case specific you need to set the "reason of rejection" at the ITEM level thus updating that the balance of the items are irrelevant for the further processing. and save. That would complete the order, and your purpose met.
    Regards,
    Tariq

  • Change customer address in sales order

    Hi,
    is there any possibility to change the address in an sales order
    for the customer in Field sold-to party.
    i don't want to change it via xk02.
    i don't want to use another ship-t party customer.
    Only one customer shell be used and the address shell only be changed
    for a specific sale-order.
    Any idea?
    thanks.
    regards, Dieter

    if you want to change address in VA01,or VA02 Transaction manually then
    double click on sold to party number ,here you can change -> manually
    if you want to change programtically -> use MV45AFZZ Include ->
    FORM USEREXIT_SAVE_DOCUMENT_PREPARE.
    ENDFORM.
    write the code above routine ,first get the data adrnr from vbpa,then update into ADRC Table
    Thanks
    Seshu

  • User based block the pricing field in the sale order

    HI FRIEND
    We have requirement user based block the pricing field in the sale order
    pls suggest me the configuration steps
    with regards
    dinesh

    hi friend
    when create a sale orde,r price and exchange rate is triigger from the master record.
    head department want not require to End user to change the price in the sale order .
    so head department only have authorisation to change price.
    selected user is not allow the change the price.
    so i need the configuration
    with regards
    dinesh

  • 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

  • Reports to track changes on Deliveries and Sales order

    Hi All
    Do you perhaps know of a specific report that could possibly track changes made to a Sales order and delivery at line item level.
    The problem is change log only logs the deletion of the line item but not the actual material number.
    Do we have to enhance existing reports to achieve visibility for deletion of line items.
    Regards
    KC

    Hi Lakshi
    Thank you very much for that feedback the thing is that you can search that on an order per order basis and even when you get to the change log you will not be able to see what material number was deleted.
    That is the problem.
    Has anyone experienced this wher the requirement was to have a report to run so see what changes have been made to orders or deliveries that they could view wholistically.
    Kind Regards
    Kasavan Aboo

  • How to make all fields mandatory in sales order T- code VA01 initial screen

    Dear all,
    how to make all fields mandatory in sales order T- code VA01 initial screen itself
    The fields are
    Sales Organization
    Distribution Channel
    Division
    Sales Office
    Sales Group
    Regards,
    Amar Reddy

    Hi,
    You can use Transaction Variant to achieve this functionality.Please go through the following link which helps you in creating the same.
    [Link|http://wiki.sdn.sap.com/wiki/display/Snippets/TransactionVariant-AStepbyStepGuidefor+Creation]
    Regards,
    Phani Prasad

  • How to prevent change payment term in sales order?

    Hi,
    My client not allow sales admin. to change payment term in sales order. How to do this? (by standard SAP functions or authorization)
    Thanks & Regards,
    Jr.SD

    Either you can run T.Code shd0 or apply User exits in the program MV45AFZZ - USEREXIT_MOVE_FIELD_TO_VBAP to achieve this.
    thanks
    G. Lakshmipathi

Maybe you are looking for

  • Workflow : attributes  and methods in BOR

    Hi to all,      I need to create a custom attribute in custom BOR object. I want to put some value in custom attribute by using select statement . where do i write the code for that attribute in BOR. In standard methods i have seen that ex: gw_purcha

  • Conversion routine to remove leading zeros from nonnumeric values.

    Hi, Can anybody tell me any conversion routine while can remove leading zeros from a character value. Eg :  input : asdfe         output : 0000asdfe and vice versa I tried with Alpha conversion routine but that is useful only with numeric values. Ple

  • Wireless connection is either okay, slow or drops.

    Hi guys, Please acept my apologies if this has been asked already, I searched but could not find an answer. Basically, I'm using an iBook G4 with a NETGEAR WGxxx router (at work right now and don't know the exact model of my head!). At times, you can

  • FCP 5.0.4 won't recognise Motion projects any longer

    Wierd thing - I can't import Motion project files into FCP 5 (v5.0.4). When I try to import standard files, they are greyed out. When I try to force an import, I get the message: "File Error: 1 file(s) recognized, 0 access denied, 1 unknown." Nor can

  • Upgrade von Dreamweaver 8 to DW CS6 possible

    Hi, habe ein DW 8 Version. Ist das upgrade zu DW CS6 möglich?