User Exit for XD02 in Sales area data in Sales tab

Hi Sap Gurus,
I have a problem . I need help .
The requirement is
In XD01 transaction , In Sales area data, In Sales tab i need to add a Check box which i already have added.This check box refers to KNVV table-Zflag
In VA01 transaction , In menu goto -> header -> Sales , In Additional data B .
I have another Check box.  This check box refers to Vbaktable-Zflag .
<b>I need the code and exact locations where to put this to get my issue resolved which is given below in Functional Description</b>.
Functional Description where you can understand better.
   Our custom logic will be initiated once the Sold-to Party (VBAK-KUNNR) is entered for any order type.  When the sold-to party is entered the user exit program will check table KNVV for the custom field ZFLAG that corresponds to the “Print Prices on Delivery Note” flag (hereafter referred to as the Pricing Flag) and populate the same setting of the flag into the ZFLAG that will be on the “Additional data B” tab on a sales order at the header.  The user can manually change VBAK-ZFLAG Pricing Flag setting to something different than what is populated for the customer master level.
If the user happens to change the sold-to party for any reason then the user exit program should take the following approach when populating the ZFLAG Pricing Flag in a sales order:
-     Recheck the ZFLAG Pricing Flag setting in the customer master for the sold-to party that the user has newly selected.
The user will still have the option to manually ZFLAG Pricing Flag on a sales order after the user exit program defaults it.

Transaction Code - XD02                     Change Customer (Centrally)
Exit Name           Description
SAPMF02D            User exits: Customer master data
No of Exits:          1
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

Similar Messages

  • User Exit for XD02

    Hi ,
    I am working on an User Exit. I need the User exit for XD02 transaction.This Exit should trigger in the below scenario.
    A check box should appear in XD02 transaction in Sales Area Data at the end after Agency bussiness tab.
    There should be a tab Printing flag and a check box with comment same like Agency Bussiness tab.
    Can any one help me in finding this issue which is the exit or any specific to trigger that and write the feasible code relating to that.This is very urgent.
    Points will be rewarded maximum for the good answer.

    Hi Sandhya,
    I know that is from SAPMF02D but i need the exact Exit where to write the code.
    I need to add one more tab button and one check box in the exit. Can you please help more depth.
    Thanks & Regards...
    Satish Raju

  • User Exit for calculation of inclusive  tax scenario in Sales ordercreation

    Hi All,
    What is  the User Exit for calculation of inclusive  tax scenario in Sales order creation for pricing procedure.
    Regards,
    Tulasi

    Hi Tulasi
    Please check this thread , if your problem is solved with the help of this thread then there is no need to go with the user exit.Just go with the changes in the condition types.
    Tax inclusive in base price
    Regards
    Srinath

  • User exit for calculating Base line due date in VF01

    Hi,
    I need a User Exit for calculating Base line Due date i'e ZFBDT with respect to billing date
    for VF01
    Regards,
    Moderator message: if there is one, you can find it yourself by doing due research.
    Edited by: Thomas Zloch on Nov 23, 2011 1:52 PM

    >
    Rahul Saxena wrote:
    > I have given the condition"BSEG-ZTERM = 'ZTST'" in Prerequisite, and in the Substitutions when I try to assign  constant value '02/16/2009' to the field Baseline Date, I don't see that Baseline date field in Substitute fields for Class '009'.
    >
    > How do I add Baseline date in that popup to select and assign values.
    >
    > Please suggest.
    >
    > Thanks-
    i think your date format and system date format is not suitable.
    give the date format as 20090216 as system format.

  • User Exit for Partner Determination in VA01, VA02 transaction ( Sales order

    Dear All,
    I have an issue in which i need to determine partner for every change in ship to party both at header and item level during sales order creation or change.
    Can you please suggest an appropriate user exit for the same.
    I have tried
    EXIT_SAPLV09A_003
    EXIT_SAPLV09A_004
    but they get triggered only when we enter into VA01 transaction and not when the ship to party is manually changed.
    If possible i want to avoid MV45 exits as there are chances of regression due to too many different functionalities already present in my system.
    In worst case scenario please specify the place wherein i need to code in MV45 exits and what are the fields i need to change.
    Most probably i filtered out on "USEREXIT_MOVE_FIELD_TO_VBAP" but i am not 100 percent sure on this, please suggest.
    Thanks in advance
    Ronak

    Hi,
    please use User exit function: EXIT_SAPMV45A_003
    Put your coding in include: ZXVVAU05 (create it by double clicking, if not already created) and activate.
    Regards,
    Sanjay Gogikar

  • User Exit for credit management  at confirmed quantity in sales order

    Dear All ,
    kinldy tell how to define a user exit and where i can write for credit check to be done to the confirmed quantity in the sales order .
    Also pls tell me that how to define the user exit and attach to customer reserve field in the customising for automatic credit control .
    regards
    Baranidharan Ramar

    Hi
    The following is the information from the sap documentation...you can also refer from IMG - SD - System modification - userexit - userexit for credit check
    Credit Check
    If you want to carry out your own individual credit checks, that differ from those in the standard system, you must define them in the following user exits:
    LVKMPTZZ
    LVKMPFZ1: USER_CREDIT_CHECK1
    LVKMPFZ2: USER_CREDIT_CHECK2
    LVKMPFZ3: USER_CREDIT_CHECK3
    User exit for availability check
    User exit USEREXIT_AVAIL_CHECK_CREDIT exists in Include MV45AFZF.
    This user exit allows you to determine whether the system should or should not carry out an availability check after a blocked document has been released or after a new credit check.
    Thanks,
    Ravi

  • PA30 User exit for Creating work tax area

    Hi all, 
    I have a requirement to create a work tax area for personnel with allocation percent is allowed more than 100% for two particular tax areas. 
    For this I tried to use the user exit EXIT_SAPFP50M_002. In that user exit I have written the condition if the tax area is one of the two areas and the allocation percentage is greater than 100% then skip the validation it is doing currently.  But this user exit is not called when I run the program. I ran in the debug mode to see if it is called. But it is not called.   
    Currently if I enter allocation percentage greater than 100% then it will fire a dialogue message box saying “Work percentage cannot be greater than 100% Change existing records”.
    So I am wondering if it is the correct user exit to use.  Can you help? 
    Thanks for the great help. 
    Sobhan.

    Hi sobhan,
    1. ideally, this is the correct exit.
    2. for all infotypes, on saving,
       this is called.
    3. to check,
       just give some MESSAGE statement
       (without any If or without any logic
       and without any checking of infotype)
    4. From that we will come to know,
      if this is really getting called or not.
    5. Also make sure, the PROJECT (CMOD)
      is activated for this enhancement.
    regards,
    amit m.

  • User Exit for correct ship-to Party while Creating Sales Order

    Dear Friends,
    Pls let me know which User Exit should I use to validate the Ship-to Party on the basis of Sold-to Party, while creating a sales order.
    In other words we wish to make sure that the user gives the correct Ship-to party corresponding to the Sold-to party, while creating a sales order.
    Regards,
    Alok.

    Dear Naveen,
    Thanks for replying.
    I do agree with you that SAP may validate the Ship-to Party in accordance with the Sold-to Party. But still the user may change  that Ship-to Party value and save the Sales Order with a wrong Ship-to Party.
    Here, my user wants a check/validation that no one should be able to save the sales order with wrong Ship-to Party other than the ones defined in Customer Master.
    Hope you got the issue now.
    Regards and thanks once again,
    Alok.

  • Can  you help me to solve this problem (user-exit for xd02)

    Hi!
    can  you help me to solve this problem?
    transaction XD02
    To pass the length of the field to 7 max    for    KNA1-SORT   (Search criterion 1 )
    To pass the length of the field to 4  max   for   ADRC-SORT2  (Search criterion 2)
    It is not possible to save  the customer card as long as the search criterion is not univocal
    I seek one to use-exit .
    Thanks.

    Hi,
    Check the exit SAPMF02D.
    Regards,
    Surinder

  • User Exit for transaction IW38-mainte of dates pop up-Tech comple button

    Dear ALL,
    In the transaction IW38 once the Technical Completion button is clicked, i need a pop up dialog box which normally appears when the Complete button is clicked in the application toolbar for the transaction IW32.
    Please help out in implementing this exit.
    Thanks in advance.
    Regards,
    Gowtham MN.

    Have you had a chance to look at BAdI definition 'BADI_MIRO_SPLT_ADD' - it could be the one you are looking for.
    I noticed within this BAdI and its method 'BADI_MIRO_SPLT_ADD', its table parameter C_ACCIT is being changed which is a table type of structure 'ACCIT'. In this structure I noticed it has all the fields that you are looking for to modify like Profit Centre, Business Areas etc.
    Also look at one of standard implementations of this definition -> 'WKA_MIRO_SPLT_ADD' which might help you to implement the code quickly.
    Hope this helps.
    Cheers,
    Sougata.

  • For XD01, Sales area data tab greyed out

    Hi,
    User has XD01,XD02,XD05,XD06,XD07,XD99.when user tries to use XD01 with parameters customer,sales org, dist channel and division when go to customer : sales area data screen,sales area data tab is greyed out.It shouldnot be greyed out.what is the cause of it.user has proper authorization for SD.

    Hi,
    Try with OBD2 tcode...
    Also, make sure that while creating customer, you enter sales org., dis channel, & division....
    Regards
    Edited by: SAP2020 on Jan 27, 2010 11:08 AM

  • User exits for transaction VL10B

    Hi,
    Could anyone please give me the user exit for transaction VL10B.
    Regards
    Karan

    Hi Karan,
    Just check -
    V02V0001  Sales area determination for stock transport order         
    V02V0002  User exit for storage location determination               
    V02V0003  User exit for gate + matl staging area determination (headr)
    V02V0004  User Exit for Staging Area Determination (Item)            
    V50PSTAT  Delivery: Item Status Calculation                          
    V50Q0001  Delivery Monitor: User Exits for Filling Display Fields    
    V50R0001  Collective processing for delivery creation                
    V50R0002  Collective processing for delivery creation                
    V50R0004  Calculation of Stock for POs for Shipping Due Date List    
    V50S0001  User Exits for Delivery Processing                         
    V53C0001  Rough workload calculation in time per item                
    V53C0002  W&S: RWE enhancement - shipping material type/time slot    
    V53W0001  User exits for creating picking waves                      
    VMDE0001  Shipping Interface: Error Handling - Inbound IDoc          
    VMDE0002  Shipping Interface: Message PICKSD (Picking, Outbound)     
    VMDE0003  Shipping Interface: Message SDPICK (Picking, Inbound)      
    VMDE0004  Shipping Interface: Message SDPACK (Packing, Inbound)      
    REWARD!!
    Regards,
    Ajinkya

  • User exits For Vl01n

    i want to block the delivery aftercycle closing in VL01N for shipping point 1103
    selection date not more that 3 days after closing.
    For Order Type Is 2873 1901 2902
    A popup Message Will Apper If Delivery Is After  Day's .
    So How Can I Solve This Issue Plz Help Me.
    I Have No Idea About User Exits.

    hi anilkumar,
    go through these exits.
    V02V0001  Sales area determination for stock transport order
    V02V0002  User exit for storage location determination
    V02V0003  User exit for gate + matl staging area determination (h
    V02V0004  User Exit for Staging Area Determination (Item)
    V50PSTAT  Delivery: Item Status Calculation
    V50Q0001  Delivery Monitor: User Exits for Filling Display Fields
    V50R0001  Collective processing for delivery creation
    V50R0002  Collective processing for delivery creation
    V50R0004  Calculation of Stock for POs for Shipping Due Date List
    V50S0001  User Exits for Delivery Processing
    V53C0001  Rough workload calculation in time per item
    V53C0002  W&S: RWE enhancement - shipping material type/time slot
    V53W0001  User exits for creating picking waves
    VMDE0001  Shipping Interface: Error Handling - Inbound IDoc
    VMDE0002  Shipping Interface: Message PICKSD (Picking, Outbound)
    VMDE0003  Shipping Interface: Message SDPICK (Picking, Inbound)
    VMDE0004  Shipping Interface: Message SDPACK (Packing, Inbound)
    and use pop_up_to_confirm function module to get pop up window..
    <b><i>Reawrd points if useful</i></b>
    chandra

  • User exit  for VL01

    Hi can some body tell me which user exit we can use for VL01N ( It seems that there is no Customer exit for this application) my requirement is I need to update one custom field( in the table LIPS(Delivery line item) the custom field is contract number 'Z_Contract'(The type of this field is  VBELN) which I have added to the table LIPS using append structure.
    Please let me know how to populate the field data of the table LIPS in which user exit we can do this?
    Thanks&Regards
    Mahesh

    Hi Mahesh Reddy,
    Check the bellow Exit Names
    Take this Exit name and goto SMOD Tcode and open Component
    V02V0001      Sales area determination for stock transport order           
    V02V0002      User exit for storage location determination                 
    V02V0003      User exit for gate + matl staging area determination (headr) 
    V02V0004      User Exit for Staging Area Determination (Item)              
    V50PSTAT     Delivery: Item Status Calculation                            
    V50Q0001      Delivery Monitor: User Exits for Filling Display Fields      
    V50R0001      Collective processing for delivery creation                  
    V50R0002      Collective processing for delivery creation                  
    V50R0004      Calculation of Stock for POs for Shipping Due Date List      
    V50S0001      User Exits for Delivery Processing                           
    V53C0001      Rough workload calculation in time per item                  
    V53C0002      W&S: RWE enhancement - shipping material type/time slot      
    V53W0001     User exits for creating picking waves                        
    VMDE0001     Shipping Interface: Error Handling - Inbound IDoc            
    VMDE0002     Shipping Interface: Message PICKSD (Picking, Outbound)       
    VMDE0003     Shipping Interface: Message SDPICK (Picking, Inbound)        
    VMDE0004     Shipping Interface: Message SDPACK (Packing, Inbound)        
    Regards
    Sreeni

  • User Exit for VL31N

    Hello all
    My requirement is, need to find a screen exit in Vl31n.
    Need to pass last updated batch number to the batch field in VL31N transaction.
    Tell me if there is any screen-exit to pass Batch number automatically.
    If its helpful, i will give u full reward points.
    Thanks in advance.
    Ravi

    Hi
    check the following
    Enhancement                                                                               
    VMDE0004                                Shipping Interface: Message SDPACK (Packing, Inbound)        
    VMDE0003                                Shipping Interface: Message SDPICK (Picking, Inbound)        
    VMDE0002                                Shipping Interface: Message PICKSD (Picking, Outbound)       
    VMDE0001                                Shipping Interface: Error Handling - Inbound IDoc            
    V53W0001                                User exits for creating picking waves                        
    V53C0002                                W&S: RWE enhancement - shipping material type/time slot      
    V53C0001                                Rough workload calculation in time per item                  
    V50S0001                                User Exits for Delivery Processing                           
    V50R0004                                Calculation of Stock for POs for Shipping Due Date List      
    V50R0002                                Collective processing for delivery creation                  
    V50R0001                                Collective processing for delivery creation                  
    V50Q0001                                Delivery Monitor: User Exits for Filling Display Fields      
    V50PSTAT                                Delivery: Item Status Calculation                            
    V02V0004                                User Exit for Staging Area Determination (Item)              
    V02V0003                                User exit for gate + matl staging area determination (headr) 
    V02V0002                                User exit for storage location determination                 
    V02V0001                                Sales area determination for stock transport order                                                                               
    Business Add-in                                                                               
    DELIVERY_PUBLISH                        Announcement of delivery data during database update         
    Regards
    Anji

Maybe you are looking for