User exit sales order change (VA02)

Hi 
For certain users , field shipping conditions  VSBED (Header)  needs to be  in display mode only in T-code Va02
i am creating a security object and that will be assigned to those  user roles.
I need user exit which can be used to trigger this change ( executing security object)
Sri

Hi Please check these
Userexit
SDTRM001                                Reschedule schedule lines without a new ATP check
V60F0001                                SD Billing plan (customer enhancement) diff. to billing plan
V46H0001                                SD Customer functions for resource-related billing
V45W0001                                SD Service Management: Forward Contract Data to Item
V45S0004                                Effectivity type in sales order
V45S0003                                MRP-relevance for incomplete configuration
V45S0001                                Update sales document from configuration
V45P0001                                SD customer function for cross-company code sales
V45L0001                                SD component supplier processing (customer enhancements)
V45E0002                                Data transfer in procurement elements (PRreq., assembly)
V45E0001                                Update the purchase order from the sales order
V45A0004                                Copy packing proposal
V45A0003                                Collector for customer function modulpool MV45A
V45A0002                                Predefine sold-to party in sales document
V45A0001                                Determine alternative materials for product selection
Business Add-in
BADI_SD_SCH_GETWAGFZ             Scheduling Agreement: Read WAGFZ from S073
BADI_SD_V46H0001                        SD Customer functions for resource-related billing

Similar Messages

  • Have to provide a popup when there is a Sales order change(VA02)

    Hello,
    I would like to know how to capture Sales order changes(VA02) through an enhancement. Based upon users changes which can be either a addition or deletion in sales order then I have to provide a popup. I am unable to find out whether Sales order has undergone a change or not. Field r185d-dataloss is alway having 'X' whether data has changed or not. System field SY-DATAR is not capturing any deletion is sales order.
    I am using USEREXIT_SAVE_DOCUMENT_PREPARE but unable to check sales order is changed or not.
    I need to provide popup after user clicks on Save. Tables CDPOS & CDHDR won't have current sales order change.
    Thanks for your replies.
    Edited by: harryibm on Dec 11, 2011 8:07 PM

    I am using USEREXIT_SAVE_DOCUMENT_PREPARE but unable to check sales order is changed or not.
    Donot do any changes and hit save. check if this routine is triggered if you are not changing anything.
    In program MV45AF0B_BELEG_SICHERN there is a condition
    IF R185D-DATALOSS = SPACE       FORCE_UPDATE   = SPACE     AND
           UPD_VBUK IS INITIAL        AND
           UPD_VBUP IS INITIAL.
    The else part will only tirgger if its changed. The routine USEREXIT_SAVE_DOCUMENT_PREPARE is called in the else part.

  • Sales Order Change VA02

    In Sales Order Change VA02
    Header > Texts
    User is not able to enter or edit text
    Because it is showing as greyed out
    Please Advise

    Hi,
    Check in SE75, Select Text Objects and Id's, choose yout text object (Standard is VBBK for Sales), select your Text Id and see whether the field "Display is Title' is checked. IN case it is checked, then uncheck it and save.
    Now check in VA02, it should be in editable mode.
    Regards
    Vamsi

  • Credit Check during Sales Order Change (VA02)

    Hi,
    We have implemented a credit management system, where the sales order will not get saved if the credit limit is exceeded. Now this check is working fine during sales order creation. But in VA02 during sales order change, the system is giving an information message that the credit limit is exceeded, but is allowing to save the order, which is not desirable. Could you all please help me in finding a solution to this problem..
    Thanks & Regards,
    Ritam Bera

    Hi
    Kindly check that you are using simple credit check or automatic credit check(Statis or Dynamaic) below settings
    If Automatic credit check then  go to  OVA8 -automatic credit control area with combination of Credit control area/Risk category /credit group,Check in the reaction field  you have mentioned the error or warning (B or A) .
    Prerequisites for credit management to work in Sales and Distribution:
    1.Assign credit control area to company code
    2.Maintain the credit limit in FD32 with details of risk category and the credit limit value
    3.Do the settings in OVA8 -automatic credit control area with combination of Credit control area/Risk category /credit group,Check in the reaction field  you have mentioned the error or warning (B or A) .
    4.Assign the credit groups to the sales and delivery document types.
    5.Maintain the Subtotal 'A' in the pricing procedure against which value the sytem should check the credit limit.
    If you have any further clarifications on above let me know
    Regards
    Damu

  • USER-EXIT - sales order, credit block

    Moderator message: moved to correct forum.  In future please use meaningful subject.
    my requiremnet is, Delivery for an sales order should be created even if it is a credit block i.e even the credit check is unsuccessful the order should be deliverd when we deliver the order from salesdocument->deliver.
    i need a user-exit for this to put this check.
    can ne one help me.
    regards,
    pavan,

    Hi,
    According to Std SAP if in case credit mgmt is activated system will check for credit limit for that customer before delivery.You will be trying to change the std scenario which is not advisable.
    However,
    Try user exit MV45AFZZ & in that
    FORM USEREXIT_SAVE_DOCUMENT_PREPARE.
    Also check other exits related to delivery & credit mgmt from
    SPRO->Sales & Distr-> System Modifications->User Exits
    and check out the documentation part next to each exit in that category.
    Regards,
    Amit

  • User exit - sales order

    Hi Gurus,
    We need to have specific requirement while creating or changing a the sales order.
    In the sale order if the line items are BOM material, then the system should ensure that confirmation of the qty between the BOM materials (both header and sub utems ) are same.
    We wanted to achieve this with the help of a User Exit, which will look at the confirmation qty of each line item and then changes confirmation qty of all the line items if there exist a difference.
    So wanted to which is the actual user exit which we can use to achieve above requirment.
    Regards,
    Babs

    system should ensure that confirmation of the qty between the BOM materials (both header and sub utems ) are same.
    Is this means that you want to compare the quantity in the Sales Order with BOM Master.
    Else you can sue User Exit as MV45AFZZ.
    Best Regards,
    Ankur

  • User exit: sales order  VA01: Customer number

    Hi friends,
    While creating Sales order, before saving the document, I need to check the Customer (Sold to pary?) details in KNEX table. KNEX-KUNNR KNEX-TDOCO KNEX-DHRCO. if condition fails, I need to display an error message V1525,
    which should contain
    1)customer(sold-to -party?KNEX-KUNNR)
    2)partner function PARVW (VBPA-PARVW?)
    3)country LNDEX KNEX-LNDEX
    Functional spec says, 1)V45A0002
    2)V45A0003
    3)V45S0001
    4)V50EPROP User exits can be levaraged.
    1)triggers before we enter customer (sold-to-party) in VA01. so may not be used.
    2)V45A0003: i am able to fetch KUNNR, LNDEX(land1), and able to validate KNEX Fields.
    But I need to fetch partner function (PARVW), which exist in VBPA , KONP etc tables. But I am not able to write the query, which sould have all the primary keys of the table.
    Please help me the way.
    i) the above user exits can be used?if not, help me with user exit name.
    ii)if yes, how to fetch PARVW ..as all the primary keys must be used in the select query.
    Please help me ASAP.

    You can try with the form USEREXIT_SAVE_DOCUMENT or USEREXIT_SAVE_DOCUMENT_PREPARE in the program MV45AFZZ (this program contains the userexits for SD).
    You can access work aread VBAK and internal tables XVBAP, XVBPA with latest data for that transaction.
    Regards,
    Naimesh Patel

  • New include proram -user exit- sales order

    hi
    i have to create a new screen which has to be displayed as a pop up
    from the user exit "<u>userexit_save_document_prepare"</u> which is present in MV45AFZZ
    the processing logic for the screen should be written in include program which is to be included in the specified userexit.
    the include program which i created while syntax checking shows
    "include <u>prg-name</u> is not accesible".
    why this is occuring.
    Another question is whether can i write the modules for pbo,pai and the subroutines i.e form & end-form all in the include program which iam creating.
    It is showing incorrect nesting. write end-form for the form before moduele.
    whether i have to write PBO,PAI,subroutines in independent include programs.
    Please give reply ASAP.

    in that case then
    call like this
    perform check (in program).
    <b>what i am thinking is THIS program in Update Mode may be bcos of that.</b>
    Regards
    prabhu
    Message was edited by:
            Prabhu Peram

  • Sales Order Change (VA02) Authorization Object

    Hi Experts,
    Please suggest me, what is authorization object for availability check in VA02.
    From
    Ramesh Kumar

    Hi Kapil,
    Thanks for your reply.
    I have already checked it. But i am not finding this object.
    Basically, I want to restrict a user for change in delivery schedule dates. So please suggest me, how to restrict a user for that.
    From
    Ramesh Kumar

  • LSMW help - Sales Order Change (VA02)

    Hi,
    I cannot find an LSMW for VA02.
    While the BAPI option should exist, can anyone help with which Business Object & Method it should be?
    Thanks,
    Laura

    Business object :
    BUS2032
    Method :
    ChangeFromData
    BAPI associated to method:
    BAPI_SALESORDER_CHANGE
    Regards,
    Naimesh Patel

  • Authorization at Sales Order Change (Item level)

    Hello Experts,
    Is there any standard authorization object at sales order for adding new items? As I want to restrict some users to add new item lines at sales order change ( VA02 )
    Regards,
    Amr

    Hello,
    How can I use this object V_VBAK_AAT to disallow users to add
    some item lines from VA02 but users can change any other functions
    at the sales order (e.g. update pricing conditions)?
    As I see on this object V_VBAK_AAT, If I revoked ACTVT = 02 'Change',
    It will revoke all change functions from users.
    I think the best solution for your requirment would be to seek the help of Basis folk to create a new User ID which would be having access to Change mode of Sales Order (VA02). Then you can restrict addition of Material line item with the help of Technical consultant by putting up code in following User exit.The logic in the code will be addition of Material line item will be restricted if the User Name is the newly created one...
    1:- MV45AFZB -- USEREXIT_CHECK_VBAP
    2:- MV45AFZZ -- USEREXIT_MOVE_FIELD_TO_VBAP
    3:- MV45AFZZ -- USEREXIT_SAVE_DOCUMENT_PREPARE
    Regards,
    Sarthak
    PS : On information note, you can refer the t-code SU24 to see the standard authorization object for change mode of Sales Order.

  • Condition value getting changed when open the Sales order in VA02

    Hi Experts,
    i have creating Sales order manually in VA01, and for first line item of sale order, i have assigned value in custom field of additional tab B, to populate Condition value for condition type ZK01 and checked in VA02, VA03 same Condition value is there for condition type ZK01.
    And created delivery document and billing document for newly created Salesorder.
    When i have open the Sales order in VA02, then i am getting changed Condition value for conidition type ZK01 in bothe header and first line item and in VA03 there is no change in value.
    Kindly let me know the user exit or any related programs to this issue.Thanks in Advance.

    Hi Rajani,
    this sound like VOFM -> conditions. Do you know which conditions are active during the determination?
    Cheers,
    Stefan.

  • Calling a Sales Order Change BAPI in a Sales Order Exit

    Functional Requirement:
    While creating a Sales Order with Reference to another Sales Order, on saving the new sales order, change something in the referenced sales order.
    I am trying to achieve the same by doing the following:
    In the standard SAP user exit called during saving the new sales order USEREXIT_SAVE_DOCUMENT I am calling the BAPI BAPI_SALESORDER_CHANGE on the referenced Sales Order.
    However the BAPI is unable to change the other sales order giving an error Enter the document number. I am specifying the Document Number while calling the BAPI, so I know that is not the error.
    I just wish to know whether it is technically possible to call a BAPI to update another Sales Order while we are currently saving one Sales Order.

    Hi Girish,
    If it works correctly when run seperately and you are sure the data passed into the BAPI is exactly the same then it may be something like table locks or similar causing your original problems...
    What about packaging up your working Z program into a custom function module and calling that from within USEREXIT_SAVE_DOCUMENT as a seperate task (IN NEW TASK) and building in a slight delay of say 5 seconds at the start of your code?
    I'll be honest, this isn't an ideal solution but might be sufficient to resolve your issues.  I'd be inclined to see if you could just run your Z program as a background process every 5 minutes or so to capture any changes and perform updates but if this is a no no from your functional people I'm not sure what else to suggest sorry.  I've never personally had to update a document from within the save routine of another document so can't give any advice based on my own experiences sorry.
    Gareth.

  • Purpose of Changing Requirement Type by User processing Sales Order

    Hi,
    What could be the reasons for a user processing sales order to change requirement type in the sales order.......as we know that requirement tyor has only one requirement class assigned......so with the change of requirement type, requirement class also gets changed, which is essentially an object controlled by Production folks.....I want to undestand why has SAP given this option where in the user porocessing the document can change the requirememt type.....an you let me know possible scenarios.....
    Thanks
    Satish Talikota

    Sure.
    The possible requirement types are controlled normally via the planning strategy group in the material master.
    In there you can have more than one strategy, which in turn leads to the possibility to change them in the order.
    There can be many scenarios, lets look at one; I normally sell from stock (MTS) a certain material, but from time to time I receive large orders that require a certain modification/customization of the product, so I can't sell the ones that I have in stock, and need to specificaly manufacture (MTO). In this case I change the requirements from MTS to MTO for these orders only.

  • BDC Program to Set Reason for Rejection in VA02 in Sales Order Change

    Hi i have a requirement i have to set "reason for rejection" in random line items of Change mode of sales order VA02.
    I have to develope BDC for this task and i have the list of all open line items which displays in VA05, can any of them can guide me how to develop BDC which will randomly select line items and set reason for rejection in VA02 Sales Order Change transaction.
    With Regards,
    S.Saravanan

    Hi Saravanan,
    As mentioned in the previous reply, you can use the FM:SD_SALESDOCUMENT_CHANGE and set the reason code for the line item like for eg:  move '03' to IT_INPUT-REASON_REJ. and also set 'U' for update flag in the header structure,
    move 'U' to HEAD_INPUT_INX-UPDATEFLAG
    this will be best and easy method.
    for this, FM,you need to pass the below parameters:
    CALL FUNCTION 'SD_SALESDOCUMENT_CHANGE'
    EXPORTING    
       salesdocument                   = old_order
           order_header_in             = head_input
            order_header_inx           = head_input_inx
          TABLES
            return                      = return
           item_in                     = it_input
           item_inx                    = ii_input_inx
           schedule_in                 = schedule_input
           schedule_inx                = schedule_inputx
    declare all these structure and internal tables as per documentation of the FM.
    hope this helps.let me know if you need more information.
    Thanks,
    Srini.

Maybe you are looking for

  • E72 - List of issues...!!!!

    E72 - List of issues...!!!!  I'm really disappointed in nokia..!! L I'm a nokia user for the last 12 years; I purchased and used more then 22 different models .. Never changed to any other phones. and was always proud of using it-will not any more.  

  • Last delta update is not yet completed

    Hi, in data loading we are facing problem, and the error is Last delta update is not yet completed Therefore, no new delta update is possible. You can start the request again if the last delta request is red or green in the monitor (QM activity) toda

  • I would like to change the font size (make it larger) in the Finder SIDEBAR

    I would like to change the font size (make it larger) in the Finder SIDEBAR in Leopard.

  • OS X Yosemite Contacts crashes when opening

    The Contact app (version 9.0) crashes when I attempt to open it. This happens every time I try. The only thing I can think of that may have triggered a change is starting to use an iPhone 5. Other than that it seems to be out of the blue to me. Relev

  • Print from Win XP to printers on Mac 10.4 network

    I have a small home network consisting of an iMac and two G4 Powerbooks all running OS 10.4.4 with three printers all connected to iMac host computer. Powerbooks are connected via DLink DI-524 wireless router. I have no trouble printing to any of my