VT02n : User Exit (Urgent)

Hi all,
I have a requirement where in i need to incorporate some logic when the user presses the Exit and Cancel Button in VT02N based on the function code for eg.
for Exit FC (MM_BEEN) and For Cancel (MM_ABBR).Can anyone tell me the user exit which gets triggered so that i can incoporate my logic according to Function code like ( if sy-ucomm =  'MM_BEEN' . do something) .
Many Thanks in Advnace
Cheers
Ahmed

Transaction Code - VT02                     Old: Change Shipment
Exit Name           Description
V56AFCCH            Shipment processing: Check function code allowed
V56AGTAR            User Exit for Filtering Shipping Unit Calculation
V56ARCHV            Customer-spec. checks for archiving shipments
V56ATKTX            Change the number of lines for text input in shipment
V56BMOD             Transportation processing: Field modification
V56DISTZ            Shipment Processing: Determine Distance
V56FCOPY            Shipment processing: Copy delivery data
V56FSTAT            Shipment processing: Activities when setting a status
V56L0001            Status of Shipments for a Delivery
V56LDELI            Read Delivery Data for Shipment Processing
V56LOCID            Shipment Processing: Determine Location Identification
V56MVT04            Extensions for Collective Processing of Shipments
V56SLDET            Shipment processing: Leg determination
V56TDLIF            Filter Delivery Items for Shipment
V56UCHCH            Shipment processing: Check whether changes were made
V56UCHCO            Check shipments are complete
V56UDLUP            Obsolete as of 4.6C: Delivery Update on Delivery Routines
V56UNUMB            Shipment number allocation
V56USTAT            User-individual definition of transportation planning status
V56USVDO            Update new objects for transport
V56USVDP            Preparation for updating new objects for transport?
MV56AINI            Initialization of transaction control for transportation
No of Exits:         22
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

  • De-activating a Enhancement component in a User Exit -- Urgent

    Hi,
    How to De-activate a single Enhancement component from group of components in a User Exit(Project).
    Regards
    Jiku

    Hi
    Goto transaction CMOD & open the project. Click on Change mode.
    CLick on Components & then place cursor on user exit & click De-activate(Button next to Activate button).
    Best regards,
    Prashant

  • USER EXITS - URGENT

    can anyone say me abt the  user exit corresponding to customer creation screen ( XD01)
    regards,
    divya.s

    Hi,
      Just follow the below procedure to find out user exit of XD01/02/03
    1) put the t code XD01 in command bar
    2) system--> status....take the program name.  (this would be SAPMF02D)
    3) go to se38 and put this program name and go in display mode
    4) now press on binacular symbol and find for 'CALL CUSTOMER-FUNCTION' in SAPMF02D.
    5) this will results in CALL CUSTOMER-FUNCTION '001'.
    6) double click on 001, this will leads to a FM.  doubel click on the include.
    7) here you have to provide your code.

  • Urgent issue in user-exit

    hi friends,
    one urgent issue regarding user-exits;
    i have the requirement like this:
    if any one of these fields ZPBSTQTY2, ZPCSTQTY2, ZPBKTQTY2, ZPCKTQTY2 and ZPBFRQTY2 in table S505 is GT 0, then i need to pass a value 'X' to two flags present in that table.
    then i have to update it thru transaction VA01.
    Plz suggest some solution for this.
    Thanks
    Praveen

    SDAPO001 Activating Sourcing Subitem Quantity Propagation
    SDTRM001 Reschedule schedule lines without a new ATP check
    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
    V45A0001 Determine alternative materials for product selection
    And also you can write your code in MV45AFZZ
    <b>Reward points</b>
    Regards

  • Need BADI or USER EXIT for VT02n

    HI Friends,
    I'm writing a driver program for a ouptput type ZET1 (interface) the tcode is VT02N .
    In menu bar: goto--> output here i've give the output type and save.
    My Problem is, if there is any error on the driver program, it should be displayed the error msg while pressing  the save button.
    is there any BADI or User Exit.
    Thanks & Regards,
    Vallamuthu.M

    Hi,
       Check the below BADI's
       BADI_LE_SHIPMENT                        BadI: Shipment Processing
       BADI_V56N                                     User Exit Transport - Message Determination
    Regards,
    Srini.

  • VT01n,VT02n ...Need user exit or Badi to implement this code :

    Hi Experts ,
    In VT01n or VT02n transactions , when I give shipping type as 03 (VTTK-VSART) and TransportPlanPt as 4701 (VTTK-TPLST) , the additional data tab  field Suppl. 1 (VTTK-ADD01) must be filled with Z1 value automatically , Even though if the value is not given in additional data tab field Suppl 1 by the user. In which user exit or Badi shall i write my code ???
    After saving , I must get Suppl. 1 (VTTK-ADD01) as Z1 ,.
    Please suggest User exit or Badi with importing and exporting parameter's as VTTK table or any other solution to achieve this .
    Note : Table VTADD01 already has this value Z1 .
    Thanks All !!!

    There are enhancements you can make for Shipments in transaction CMOD.  Create a new project.  Then you need to add enhancement(s) to the project.  Look at the enhancements starting with V56.  I think enhancement V56USVDP will work for what you want to do.  After the enhancement(s) have been added to the project, then click on the Components button.  You will see a list of function modules.  Sometimes there is documentation available using the blue i button on the screen.  Double click the function module you want to change.  There is also documentation available in the function module sometimes.  Double click the Z include in the function module.  You will have to create the include.  Then you can make the necessary changes in the Z include.  After you have made your code changes, you have to go back to the component screen and activate the enhancement component.  The activate function is in the menu under the project menu.
    Hope it helps,
    Brian

  • User Exit for VT02N/VT03N after printing shipment

    Please, I need an EXIT after printing Shipment on VT02N/VT03N.
    The propose is check if exists an entry in NAST table of an output type and call automatically the screen of Issue output.
    Sample: After printing a shipment with output type "ZCS1" the program has to check if an entry output type "ZCS2" also exists in NAST table for the same shipment, and, in this case, shows to user,  the screen of issue output filled with output type "ZCS2".
    Thanks in advance!

    Hi,
    Below are some of the user exits for VT02N.
    Have a look.
    MV56AINI  Initialization of transaction control for transportation
    V56AFCCH  Shipment processing: Check function code allowed
    V56AGTAR  User Exit for Filtering Shipping Unit Calculation
    V56ARCHV  Customer-spec. checks for archiving shipments
    V56ATKTX  Change the number of lines for text input in shipment
    V56BMOD   Transportation processing: Field modification
    V56DISTZ  Shipment Processing: Determine Distance
    V56FCOPY  Shipment processing: Copy delivery data
    V56FSTAT  Shipment processing: Activities when setting a status
    V56L0001  Status of Shipments for a Delivery
    V56LDELI
    V56LOCID  Shipment Processing: Determine Location Identification
    V56MVT04  Extensions for Collective Processing of Shipments
    V56SLDET  Shipment processing: Leg determination
    V56TDLIF  Filter Delivery Items for Shipment
    V56UCHCH  Shipment processing: Check whether changes were made
    V56UCHCO  Check shipments are complete
    V56UDLUP  Obsolete as of 4.6C: Delivery Update on Delivery Routines
    V56UNUMB  Shipment number allocation
    V56USTAT  User-individual definition of transportation planning status
    V56USVDO  Update new objects for transport
    V56USVDP  Preparation for updating new objects for transport?
    Hope this will help u..
    Regards,
    Gautham Paspala

  • Urgent - Calculations in User exit in BI - in ZXRSRU01 of EXIT_SAPLRRS0_001

    Hi All,
    I have an urgent requirement to write the abap code for doing some calculations and the output should be
    produced in the report of BI. Right now i am doing the code in the User Exit
    ( ZXRSRU01 of EXIT_SAPLRRS0_001). i am done with the coding of the necessary calculations.
    now i need to bring the output of the calculations (output for 15 fields) to the  report.
    the output values are available in an internal table. now all the values of the fields of the internal table should be brought to the report as the output. how to do this?
    The traditional way suggested in the sample threads here is as follows.
      CASE i_vnam.
        WHEN 'ZDTE_V'.
          IF i_step = 2.
            CLEAR l_s_range.
            l_s_range-low  = '20070922'..
            l_s_range-sign = 'I'.
            l_s_range-opt  = 'EQ'.
            APPEND l_s_range TO e_t_range.
           ENDIF.
       WHEN '    '
        ENDCASE.
    Based on the input provided by the user in the BI input screen, the values are to be selected from a table
    and the calcualtions are to be done. then the 15 calculated output variables  are to be displayed in the report against 0calweek. The code for the calculations are done now . But getting the input from the query
    and generating the output to the report are pending. After the calcualtions, The output internal table will have 30 entries for every 15 variables. At last, all these entries of the table are required as the output of the report.To achieve this requirements, writing the code in the above user exit will solve the purpose?  If yes, How to do that?  If no what may the other possibility for this? Please suggest the soultions for this.
    Thanks in Advance. Good Points will be awarded.

    Its not a Zreport and standard report. its a SAP BI report generated from Adhoc query. The user inputs will be given to the query as variables ex: product. Based on that, the calculations should be done and calculated output should be displayed in the SAP BI Web report.
    Thanks and Regards...

  • User Exit for Material Group...Urgent help needed

    Does anybody have an idea of which user exit can be used to capture the changes made to material group in MM02(Material)..... Urgent help needed...

    See  the below user exit and this will trigger under MM01,MM02 and MM17 Transaction
    Enhancement name : MGA00001
    Function module :EXIT_SAPLMGMU_001
    Include : ZXMG0U02
    Reward Points if it is helpful.
    Thanks
    Seshu

  • Urgent!... What is the USER EXIT for Inbound ORDERS

    Hi all,
    Which is the user exit used for <b>Inbound ORDERS</b>?
    The exact requirement is for an <b>incoming Idoc which is a PO</b>, we have to map certain fields in the segments E1EDK01, E1EDK14, E1EDKA1, E1EDP01, E1EDP19 AND E1EDP20 for <b>ORDERS</b> message type. After the mapping is done, <b>an Idoc is generated and then a SO is created</b>.
    Exact requirement :
    <b>Message Type : ORDERS
    Basic Type:           ORDERS05
    Direction :              Inbound.
    USER EXIT :          ????</b>
    Please help me..quite urgent.
    Regards,
    Anishur

    Hi
    I had worked on a similar requirement. We had used enhancement points for the same. Search for the function module you are going to use. Then either search for enhancement point in the same. Or search for the call statement in the code. Enhancement point can be searched by clicking the spiral button on the toolbar and then navigate to edit -> enhancement operations -> show enhancement options.
    Anyways you can find the same with the following program.
    Find the available exits with the following program:::
    *& Report  ZFINDUSEREXIT
    report  zfinduserexit.
    tables : tstc, tadir, modsapt, modact, trdir, tfdir, enlfdir.
    tables : tstct.
    data : jtab like tadir occurs 0 with header line.
    data : field1(30).
    data : v_devclass like tadir-devclass.
    parameters : p_tcode like tstc-tcode obligatory.
    select single * from tstc where tcode eq p_tcode.
    if sy-subrc eq 0.
    select single * from tadir where pgmid = 'R3TR'
    and object = 'PROG'
    and obj_name = tstc-pgmna.
    move : tadir-devclass to v_devclass.
    if sy-subrc ne 0.
    select single * from trdir where name = tstc-pgmna.
    if trdir-subc eq 'F'.
    select single * from tfdir where pname = tstc-pgmna.
    select single * from enlfdir where funcname =
    tfdir-funcname.
    select single * from tadir where pgmid = 'R3TR'
    and object = 'FUGR'
    and obj_name eq enlfdir-area.
    move : tadir-devclass to v_devclass.
    endif.
    endif.
    select * from tadir into table jtab
    where pgmid = 'R3TR'
    and object = 'SMOD'
    and devclass = v_devclass.
    select single * from tstct where sprsl eq sy-langu and
    tcode eq p_tcode.
    format color col_positive intensified off.
    write:/(19) 'Transaction Code - ',
    20(20) p_tcode,
    45(50) tstct-ttext.
    skip.
    if not jtab[] is initial.
    write:/(95) sy-uline.
    format color col_heading intensified on.
    write:/1 sy-vline,
    2 'Exit Name',
    21 sy-vline ,
    22 'Description',
    95 sy-vline.
    write:/(95) sy-uline.
    loop at jtab.
    select single * from modsapt
    where sprsl = sy-langu and
    name = jtab-obj_name.
    format color col_normal intensified off.
    write:/1 sy-vline,
    2 jtab-obj_name hotspot on,
    21 sy-vline ,
    22 modsapt-modtext,
    95 sy-vline.
    endloop.
    write:/(95) sy-uline.
    describe table jtab.
    skip.
    format color col_total intensified on.
    write:/ 'No of Exits:' , sy-tfill.
    else.
    format color col_negative intensified on.
    write:/(95) 'No User Exit exists'.
    endif.
    else.
    format color col_negative intensified on.
    write:/(95) 'Transaction Code Does Not Exist'.
    endif.
    at line-selection.
    get cursor field field1.
    check field1(4) eq 'JTAB'.
    set parameter id 'MON' field sy-lisel+1(10).
    execute it, enter the transaction for which enhancement is needed and then execute.
    Please do reward if useful
    Regards
    Dinesh

  • Urgent: USER exit for W2 Box 13 of Tax reporter 4.7

    Hi,
        I am working on tax reporter version 4.7 and while printing the W2 forms saw that the Box 13 (selection of Statutory employee or Retirment plan or third party sick pay ) is not ticked. I worked in one of the clients on ECC 6.0 last year whom had a custom user exit for this same box 13 of W2 which used to get ticked on W2 form depending on the logic in that user exit.
    I suggested to this present client that an user exit needs to be written, they asked me to write functional specs for the user exit, can someone help me in writing the functional specs for this W2 form Box 13 selection of Tax reporter on 4.7. what do I need to specify and how do i need to write the functional specs reflecting the logic of this Box 13 of W2 form in tax reporter. Please help me guys, its very urgent.
    I apprecite your answers.
    Thank you so much
    Tony

    Hi Oscar Romero,
    Sorry its an typo error. second range should be 001.2006 to 007.2006.
    1. I want to know how to create Multiple Interval(Range) value variable? - I have used selection option and created variable. Is it correct?
    2. Pls find my coding.
    when 'ZFISCYAC'.
    IF I_STEP = 2.
    LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE
    WHERE VNAM = 'ZFYPEROP'.   ---> Value entered is 001.2005 - 012.2006
    CLEAR L_S_RANGE.
    L_S_RANGE-LOW = LOC_VAR_RANGE-LOW(4).
    L_S_RANGE-LOW4(3) = LOC_VAR_RANGE-LOW4(3).
    LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE
    WHERE VNAM = 'ZSCENAR'.  -
    > Value entered 20060804, 20060705.
    *concatenate LOC_VAR_RANGE-LOW(4) '0' LOC_VAR_RANGE-LOW+4(2)
    *into L_S_RANGE-high.
    L_S_RANGE-high = LOC_VAR_RANGE-LOW(4).
    L_S_RANGE-high+4(1) = '0'.
    L_S_RANGE-high5(2) = LOC_VAR_RANGE-LOW4(2).
    L_S_RANGE-SIGN = 'I'.
    L_S_RANGE-OPT = 'BT'.
    APPEND L_S_RANGE TO E_T_RANGE.
    ENDLOOP.
    ENDLOOP.
    ENDIF.
    Final range should be for 20060804, "ZFISCAY" should be from 001.2005 to 008.2006
    For 20060705 range should be 001.2005 to 007.2006.
    *Coding for Filling variable "Fiscal year/Period Plan Multiple values
    when 'ZFISCYPL'.
    IF I_STEP = 2.
    LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE
    WHERE VNAM = 'ZSCENAR'.
    CLEAR L_S_RANGE.
    L_S_RANGE-LOW = LOC_VAR_RANGE-LOW(4).
    L_S_RANGE-LOW+4(2) = '00'.
    L_S_RANGE-LOW6(1) = LOC_VAR_RANGE-LOW4(2) + 01.
    LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE
    WHERE VNAM = 'ZFYPEROP'.
    L_S_RANGE-HIGH = LOC_VAR_RANGE-high(4).
    L_S_RANGE-HIGH4(3) = LOC_VAR_RANGE-high4(3).
    L_S_RANGE-SIGN = 'I'.
    L_S_RANGE-OPT = 'BT'.
    APPEND L_S_RANGE TO E_T_RANGE.
    ENDLOOP.
    ENDLOOP.
    ENDIF.
    With same variable values entered as above plan value for variable "ZFISCPL" should be of range 009.2006 to 012.2006 for 20060804
    Range should be 008.2006 to 012.2006 for 20060705.
    Hope this is clear.
    Pls answer very urgent.
    Thanks.
    Bhuvana.

  • User-exit for delivery while assigning serial numbers(urgent)

    hi all,
    can u plz tell me the specific user exit for delivery (VL01n) while assigning serial numbers?
      i am getting the serial numbers for material in database table OBJK .i am also getting these serial no.s in IQ01.
       while doing delivery,i am going for extra-->serial number.at this time one screen for serial number is comming.those serial numbers which are stored in objk will transfer to this screen of delivery automatically.
      for this , i want a specific user-exit for delivery so that i can transfer the serial nos from objk to that screen of delivery.plz suggest .(urgent )
    any idea is highly appreaciated
    Regards
    pabitra

    You can find from below list of user exists
    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)

  • User Exit for ML81N  at the time of save -- urgent

    hello all,
    I need to fill the field reference field in ML81N transaction with some value for this i need to find user exit i was able to find so many user exits for this transaction but i couldn't find the perfect user exit at the tiem of save,
    Any pointers wouls be of great help..............

    Hi,
    check these 2 threads.
    User exit in ML81N
    Urgent. Badi or user exit for ML81N transaction
    Regards,
    Maha

  • USER-EXIT for DELIVERY--very very urgent

    Hi all,
    can u plz tell me the user-exit for delivery i.e this exit should be called after the delivery order is created.
    plz suggest some specific exit.it is very very urgent.
    Regards
    pabitra

    Rout ,
    u cannt find out user exits after the Creation.
    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)
    *        FORM-Routinen für Userexits
             include mv50afzz.
             include mv50afz1.
             include mv50afz2.
             include mv50afz3.          "Userexit neu zu Release 3.0A
             include mv50afzk.          "Userexit 4.6A (KOMKG/KOMPG)
             include mv50afzl.          "Userexit 4.6A Liefergruppen
                                                                   "n_693000
             include mv50afzp.          "Userexit for pricing screen input
    Regards
    Prabhu

  • User Exit for VT02N

    Hi,
    I'm changing the shipments during transportation planning using VT02N and on saving the changes , I need to update certain fields in the delivery tables LIKP and VTTK. Can anyone suggest which user-exit will be used to make these updates.
    Thanks in advance,

    Hi,
        Check the user exits
    EXIT_SAPLV56U_004 - Shipment Processing: Prepare New Objects for Saving
    EXIT_SAPLV56U_005 - Updating of Additional Objects Within Shipment Processing.
    <b>Reward points</b>
    Regards

Maybe you are looking for