USEREXIT VA02

Hi,
I want to Validate the <b>Quantity--RV45A-KWMENG</b>  Field in <b>VA01</b> Tcode for a particular value.
Can somebody tell me what <b>USEREXIT</b> can be used for that??
Thanks,
Shashi Devi.

hi                                                                               
1) SDAPO001       Activating Sourcing Subitem Quantity Propagation                          
2)SDTRM001            Reschedule schedule lines without a new ATP check                         
3)V45A0001            Determine alternative materials for product selection                     
4) V45A0002            Predefine sold-to party in sales document                                 
5)V45A0003            Collector for customer function modulpool MV45A                           
6)V45A0004            Copy packing proposal                                                     
7)V45E0001            Update the purchase order from the sales order                            
8)V45E0002            Data transfer in procurement elements (PRreq., assembly)                  
9)V45L0001            SD component supplier processing (customer enhancements)                  
10)V45P0001            SD customer function for cross-company code sales                         
11)V45S0001            Update sales document from configuration                                  
12)V45S0003            MRP-relevance for incomplete configuration                                
13)V45S0004            Effectivity type in sales order                                           
14)V45W0001            SD Service Management: Forward Contract Data to Item                      
15)V46H0001            SD Customer functions for resource-related billing                        
16) V60F0001            SD Billing plan (customer enhancement) diff. to billing plan                                                                               
reward if usefull

Similar Messages

  • How to noneditable the field in va02 without modify userexit

    I  use BAPI_SALESDOCU_CREATEFROMDATA1 to create sales order now i want  noneditable the field in va02 without modify userexit
    Edited by: krupa jani on Nov 8, 2008 8:41 AM

    Hi,
    Set the read only property.
    Check this interface IWDInteractiveForm
    http://help.sap.com/javadocs/NW04S/current/wd/com/sap/tc/webdynpro/clientserver/uielib/adobe/api/IWDInteractiveForm.html
    Thanks

  • Regarding UserExit in sales Order creation(VA01), change(VA02)

    *Hi Gurus,*
    we are having one requirement that we have to change User status at item level in sales Order creation(VA01), change(VA02) according to certain condition( condition is if user status at item level is 'SGUC' then we need to get item category and with this item category we have to find new user status from our custom table).
    *So is there any FM or user-exits to set the User Status of the Sales Order Line Item at the time of Order Creation(VA01) or Change sales order(VA02) but before saving.*
    *looking for your inputs.*

    Check,
    In include MV45AFZZ
    Routine USEREXIT_SAVE_DOCUMENT_PREPARE
    In include RV45PFZA
    Check with USEREXIT_SET_STATUS_VBUK ,  USEREXIT_SET_STATUS_VBUP

  • Userexit field modification in va02

    loop at xvbap.
    if xvbap-mvgr4 eq ''.
    xvbap-mvgr4 = vbak-j_3akvgr7.
    modify xvbap.
    endif.
    endloop.
    Hi.. I need To pick the header --> additional grouping --> customer grp 7, and copy that value for each line item.
    That is in goto >item>more functions > additional data a>material grp 4 field
    But if the user changes the value in va02, line item material grp 4 it should remain same without getting overridden by the value in da header.
    The above code works fine in va01. But in va02, say u hv 2 lines in a sales order and the header field in maintained.
    Thrfore at this instance the line field is copied the value which is in da header.
    But if i change the header field now, the line item fields doesn't get copied..That is because i'm copying it whn the lineitem field is blank only.
    But if there is a chnage to the header value also it has to be changed. How do i check this condition?
    Can anyone suggest anything? If this cannnnnot be done even can anyone pls let me knw..
    Thanks..
    Message was edited by:
            Keshini  Weerasuriya

    You need to mark this as a question and if the answer is helpful to you then you can mark them by assigning points. Here people are giving their time to resolve the queries so you can thank them by marking helpful answers.
    Best Regards,
    Vibha
    *Please mark all the helpful answers

  • Userexit/BADI for VA01/VA02 on save

    Hello ,
    Can any body provide the avaialble Uesr exits or BADIs which will trigger ON SAVE of sales order creation or change .
    I tried with some BADI but all they are for Internal use only .
    Please provide me the externla BADI s  which can be implemented .
      or
    userexits
    very very urgent
    Points will be given
    thanks

    Enhancement                                                                               
    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      
    SDTRM001                                Reschedule schedule lines without a new ATP check          
    SDAPO001                                Activating Sourcing Subitem Quantity Propagation                                                                               
    Business Add-in                                                                               
    BADI_SD_SCH_GETWAGFZ                    Scheduling Agreement: Read WAGFZ from S073                 
    BADI_SD_V46H0001                        SD Customer functions for resource-related billing         
    Regards,
    Shib

  • Add cost centre field in va02

    Dear friends,
    How to add cost centre  fields in transaction va02 on screen? is it possible using user-exit?
    or is there any steps to create user-exit?
    Thanks,
    regards,
    Vishal Bhagwat.

    Hi Vishal,
    Your requirement could be implemented using a user-exit:
    Hope the below  reply helps:
    Transaction Code - VA02 Change Sales Order
    Exit Name Description
    SDTRM001 Reschedule schedule lines without a new ATP check
    V45A0001 Determine alternative materials for product selection
    V45A0002 Predefine sold-to party in sales document
    V45A0003 Collector for customer function modulpool MV45A
    V45A0004 Copy packing proposal
    V45E0001 Update the purchase order from the sales order
    V45E0002 Data transfer in procurement elements (PRreq., assembly)
    V45L0001 SD component supplier processing (customer enhancements)
    V45P0001 SD customer function for cross-company code sales
    V45S0001 Update sales document from configuration
    V45S0003 MRP-relevance for incomplete configuration
    V45S0004 Effectivity type in sales order
    V45W0001 SD Service Management: Forward Contract Data to Item
    V46H0001 SD Customer functions for resource-related billing
    V60F0001 SD Billing plan (customer enhancement) diff. to billing plan
    No of Exits: 15
    USER EXIT
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sapgenie.com/abap/code/abap26.htm
    http://www.sap-img.com/abap/what-is-user-exits.htm
    http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
    http://www.easymarketplace.de/userexit.php
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sappoint.com/abap/userexit.pdfUser-Exit
    http://www.sap-img.com/ab038.htm
    http://help.sap.com/saphelp_46c/helpdata/en/64/72369adc56d11195100060b03c6b76/frameset.htm
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sap-img.com/abap/what-is-user-exits.htm
    http://expertanswercenter.techtarget.com/eac/knowledgebaseAnswer/0,295199,sid63_gci982756,00.html
    Kindly Award Points If You Find The Reply Helpful.
    Cheers,
    Chaitanya.

  • Please send me the exit name to add my code for AUTLF check box for VA02

    Hi All,
    My requirement is as follows,
    1) The scope of this enhancement is required only for transaction VA02 - Change Sales Order, order-type maintained in table TVARV
    2) In the program, if User tries to uncheck the checkbox – Complete delivery (VBAK-AUTLF), program to check if there are subsequent deliveries for stock reservation (Delivery type ZRES) are existing or not.  If the deliveries are existing, an appropriate error message should be displayed and user should be restricted from performing this activity.
    So please tell me where to insert my code? according to my requirement and also please send me the user exit or function module exit
    Thanx in advance,
    santhosh.

    USER EXIT
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sapgenie.com/abap/code/abap26.htm
    http://www.sap-img.com/abap/what-is-user-exits.htm
    http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
    http://www.easymarketplace.de/userexit.php
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sappoint.com/abap/userexit.pdfUser-Exit
    http://www.sap-img.com/ab038.htm
    http://help.sap.com/saphelp_46c/helpdata/en/64/72369adc56d11195100060b03c6b76/frameset.htm
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sap-img.com/abap/what-is-user-exits.htm
    http://expertanswercenter.techtarget.com/eac/knowledgebaseAnswer/0,295199,sid63_gci982756,00.html
    Rewards if useful.........
    Minal

  • Splitting line item in Sales Order-VA02

    Hello All,
            I got struck with the below requirement, Can someone share their ideas, if any one come across such case.
    Requirement : If ordered material obsolete then system has to propose follow up material ( which will be maintained in MMR-MRP4 view - Followup material field) based on stock availability.
    We have done the same by using USEREXIT in Sales order creation & working fine without any issues.
    But, If stock partially exists for entered material, then new line item has to add/insert with the follow up material.
    Eg;
    M1- stock -30 ea
    M2- No stock ( Follow up material)
    *In Sales Order Creation- VA01,*
    Line Item -- Material - Ordered Qty
    M1 - 50 Qty (ordered qty)
    Result;
    Line Item -- Material - Ordered Qty - Item Cat
    10----M1-----30 ea  -  TAN
    11----M2--
    20 ea  - TAB ( MTO)
    Working fine-
    We are able to do it during Sale Order creation (VA01).
    *Change mode of Sales order - VA02;*
    Line Item -- Material - Ordered Qty - Item Cat
    10----M1-----30 ea  -  TAN
    11----M2--
    20 ea  - TAB ( MTO)
    if  user increases the M1 qtty to 10 Ea, then system should behave as shown in below eg,
    Line Item -- Material - Ordered Qty - Item Cat
    10----M1-----30 ea  -  TAN
    11----M2--
    20 ea  - TAB ( MTO)
    12----M2--10 ea -- TAB(MTO)
    But We are facing problem during Change mode .
    in VA01-  (Sale order Creation), the logic was written in exit : USEREXIT_MOVE_FIELD_TO_VBAK - which is working fine
    During Change(VA02), above exit will not be useful. Hence tried to use exit : USEREXIT_MOVE_FIELD_TO_VBEP.
    But not able to add new item at this level.
    All useful ideal will be appreciated.

    Thanks for attempting this thread.
    Material determination will not suffice our requirement, because it will not substitute the follow up material, when entered material have partial stock. In VB12 - MRP indicator will active only when stock is not available for entered material & results according to the substitution reason
    In our case,
    if entered material doesnt have stock, then follow up material should replace with complete ordered qty,
    if entered material have partial stock exists, then system confirms for available qtty & create new line item with balance qtty, item cat-TAB----
    that is the reason we didnt go for material determination. ( you cant have 2 substitution reasons for one record in VB12)
    VBAK has to be used to check the overall document qtty. the above explained scenario working fine with our development in create mode.
    But in change mode, if user tries to increase the qtty in entered material, then this one more new line item has to create for folloup material with excess qty - is our requirement .
    Hope its clear now, still if any queries let me know

  • Change default value of Partner Function in VA02

    Hi all,
    Can anyone please help me solve the following issues with Partner Functions in VA02:
    1. How do I change the screen property (make it modifiable) of the Partner in the Partners tab for an auto-generated Free goods line item?
    2. How can I change the default value (auto-pulled from KNVP) of the Partner Function Ship-To party for a Free Goods line item? Where do I apply the ABAP code?
    We tried to modify thru userexit USEREXIT_FIELD_MODIFICATION and USEREXIT_MOVE_FIELD_TO_VBAP in MV45AFZZ but we can't seem to make it work. Also, the table control of the partners tab exists in SAPLV09C and not SAPMV45A.
    Where do we apply the changes?
    Points will be rewarded.
    Thanks for any help in advance!
    Kat

    Hi !! KT,
    For your auto generated line of free goods item note down what is the item catergory determined. Next use t.code VOPAN, click on radio button 'Sales Document Item' and click on change tab.
    Now from the left hand margin options click on 'Partner determination Procedure Assignment', from 'position' go to the item catergory noted down, now note down the partner determination procedure assigned to it.(entry just next to your item category).
    Next, from the left hand margin double click on 'Partner determination procedures'. Select the partner determination procedure just noted down, from the left hand margin now click on 'Partner functions in procedure'. Scroll down exactly to the partner function you want to work upon, here unselect the tick under 'Non modifiable'. This way you can now modify the partner.
    For changing the default value after doing the above mentioned exercise you can overwrite default value.
    Provide your feedback.
    Regards,
    PATHIK

  • Need to call a popup on VA02 screen

    HI SAP Gurus,
    I  have a scenario where client wants a popup screen everytime user tries to save the field IHREZ (Your reference) field in transaction va02..The screen will contain various database fields including the following
    Unit#      ,                                                                                Service Order #,
    Material#,
    Material description     ,
    Qty ,
    Cost ,
    Markup factor ( From Z factor table),     
    Sales Price,
    All the field are display fields except for markup factor which is a field from a ztable.The number of line items can be 200.Sales price will be calculated as
    qtycostmarkup factor
    There are two additional fields Labour and Hours which are to be entered by the user and then some calculation will be done to get the total price invested in repairing.This total price should be updated in a custom condition pricing for repair.
    i have been suggested
    To trigger the pop-up screen, use user exit MV45AFZZ, Form
    USEREXIT_MOVE_FIELD_TO_VBKD.
    But I have doubts like as what to use screen painter or there is some standard function module to call a popup.PLease suggest all the possible solution which i can look into.
    Thanks in advance.
    points will be rewarded to all the relevant answers
    thanks
    twinkle

    Transaction Code - VA02                     Change Sales Order
    Exit Name           Description
    SDTRM001            Reschedule schedule lines without a new ATP check
    V45A0001            Determine alternative materials for product selection
    V45A0002            Predefine sold-to party in sales document
    V45A0003            Collector for customer function modulpool MV45A
    V45A0004            Copy packing proposal
    V45E0001            Update the purchase order from the sales order
    V45E0002            Data transfer in procurement elements (PRreq., assembly)
    V45L0001            SD component supplier processing (customer enhancements)
    V45P0001            SD customer function for cross-company code sales
    V45S0001            Update sales document from configuration
    V45S0003            MRP-relevance for incomplete configuration
    V45S0004            Effectivity type in sales order
    V45W0001            SD Service Management: Forward Contract Data to Item
    V46H0001            SD Customer functions for resource-related billing
    V60F0001            SD Billing plan (customer enhancement) diff. to billing plan
    No of Exits:         15
    USER EXIT
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sapgenie.com/abap/code/abap26.htm
    http://www.sap-img.com/abap/what-is-user-exits.htm
    http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
    http://www.easymarketplace.de/userexit.php
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sappoint.com/abap/userexit.pdfUser-Exit
    http://www.sap-img.com/ab038.htm
    http://help.sap.com/saphelp_46c/helpdata/en/64/72369adc56d11195100060b03c6b76/frameset.htm
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sap-img.com/abap/what-is-user-exits.htm
    http://expertanswercenter.techtarget.com/eac/knowledgebaseAnswer/0,295199,sid63_gci982756,00.html
    Rewards if useful.........
    Minal

  • Sales Order Line Item Partner Address overrides in VA01/VA02

    Dear All.
    I noticed that I can not update the address details of the standard ship-to on the line item level of the sales order (VA01/VA02) without first typing over the ship-to account number.  If I do this, then it's possible.
    I found an OSS note on the subject ( 380507 -#2 ), which basically states the reason for this.
    While it's a little inconvenient for the online business user, this is really troubling for interfaces where we can't manually type over the account number.
    Does anyone have any ideas on getting around this without major design changes?  Could there be a customer function, userexit, other as a way of opening this up?
    Many Thanks!

    Hi,
    It is difiicult for the system to determine which address you are typing in, if you dont specify a ship to party.
    What you could do is assign the SH to you SP in master data and maintain the delivery/shipping address in the SH.
    As soon as you enter the SP you SH would be populated automatically with the address.
    You may also have multiple SH's for the same SP. The system would ask you to choose your SH during Order processing.
    Hope that helps.
    Regards,
    Amit

  • Userexit  for partner function changed

    What is the userexit for partner function changes in VA01 or VA02.

    Hi,
    Please check this:
    EXIT_SAPLEINM_002
    Thanks and best Regards,
    Suresh

  • How to save va01,va02 transaction code

    Hello Every one,
    When creating sales order in VA01, at last screen as soon i save a message box to be appeared and when editing details in VA02 as soon enter details and save a message box to be appered please let me know the userexit and releavent code tobe written......
    Regards
    Martin

    Hi,
    U can do it in MV45AFZZ ,inside this include use the userexit USEREXIT_SAVE_DOCUMENT.
    Regards,
    nagaraj

  • Va02 date of releasing billing block new calculate of billing schedule

    I create sales document type with billing block
    Date of creating the sales document is also the date of calculating billing schedule
    But after a will by releasing the block reason of the document (transaction VA02)
    billing schedule is not changing
    I want update:  date of releasing billing block is the date starting of billing schedule
    Is there any other way without using userexit?
    And if not witch userexit is the best (MV45AFZB)?
    Thanks
    Rachmani Asher

    HI,
    If you want make as automatic block. you must needs to in user exit or else you make z item category for only that material and make it as incompletion log.
    Regards
    raj.

  • Populating Contract Dates in Sales Orders using userexit

    Hi All,
    We want to use a userexit to populate the conract start date and end date based on some rules during sales order processing. Contact data displayed in VA01/VA02 is stored in VEDA table. Is it possible to use MV45AZZ user exit for this purpose?
    Thank You.
    Regards,
    Amit
    Edited by: Amit Kokane on Feb 13, 2009 4:31 PM

    Hi Jelena,
    Thanks for the response. We are not using the contracts at all. We are creating the sales order without any refrence. We want to use the revenue recognition for ceratin service items on sales orders for which we need contract start date and end date to be defaulted based on some rules. We had tried populating the VEDA, XVEDA tables in save prepare routine of MV45AFZZ for same but we observed that when system calls SD_VEDA_UPDATE FM during the saving, all the data in internal tables get refreshed and systen reads the data from screen.
    Can you please explain the use of ASSIGN with '(SAPLV45W)VEDA' to update the data in VEDA table in USEREXIT_MOVE_FIELD_TO_VBAP?
    Thanks again.
    Regards,
    Amit

Maybe you are looking for