Help needed about user exits

Hi frnds.
For long time i have been searching for user exits for following txns. If any body have some idea i will appreciate it a lot.
1.ME01(MAINTAIN SOURCE LIST)
2.ME11(CREATE INFO RECORD)
3.MB01(GR for PO)
4.ME31(CREATE ONLINE AGREEMENT)
5.ME51(CREATE PURCHASE REQUISITION)
Waiting for your replies.
Regards,
Arpit

Hi Arpit,
You can use following code to find user-exits in any SAP standard transactions...
Finding the user-exits of a SAP transaction code
Enter the transaction code in which you are looking for the user-exit
and it will list you the list of user-exits in the transaction code.
Also a drill down is possible which will help you to branch to SMOD.
Written by : SAP Basis, ABAP Programming and Other IMG Stuff
             http://www.sap-img.com
report zuserexit no standard page heading.
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).
   call transaction 'SMOD' and skip first   screen.
*---End of Program
Regards,
Sriram

Similar Messages

  • Urgent help need for user exit

    Hi all,
    i have just did one user exit but in RSA3 field is not coming. in step 1 i modified the extract structure. in step 2 in added field in include program ,saved and activated it. but field is not coming in RSA3. can anyone plese help me what should i do now or what has went wrong.
    in RSA3 update mode is 'F'
    thanks in advance

    hi,
      Have you created a project in CMOD and included your User exit component(RSAP0001) and activated it?.
    check that. otherwise give some more details reg. your problem.
    rgrds,
    v.sen.
    Message was edited by:
            Senthilkumar Viswanathan

  • Hi help needed in user-exit

    Hi can any one send me the code for sample user-exit and with business requirement.
    Thanks in advance
    Regards
    Uday

    The code that you put in the user exit really depends on what you want to do.
    Regards,
    Rich Heilman

  • Help needed about user activities...

    Hi
    How to set password againg using /etc/default/passwd?
    i.e after setting MAXWEEKS=5, users can login to the system without asking them for password change after 5 weeks and if any users do passwd to change his password the above setting (MAXWEEKS=5) will appear on the shadow files on his line.
    I have many users and I need to apply password againg to all of them using /etc/default/passwd. Can its possible?
    Thanks
    Mohammed Tanvir

    Hi
    How to set password againg using /etc/default/passwd?
    i.e after setting MAXWEEKS=5, users can login to the system without asking them for password change after 5 weeks and if any users do passwd to change his password the above setting (MAXWEEKS=5) will appear on the shadow files on his line.
    I have many users and I need to apply password againg to all of them using /etc/default/passwd. Can its possible?
    Thanks
    Mohammed Tanvir

  • Urgent. Need to know about user exits.

    Hello Everyone,
    I am new to this forum. I need to know about user exits.
    My next project requires me to implement user exits, screen exits, etc.
    I am a rookie to this topic.
    Can anyone help me as to how to start with his topic.
    Any sort of help is appreciated.
    Cheers,
    Neelam.

    Hi Neelam,
    Welcome to sdn.
    This is a very frequently asked topic.
    Please use teh search forum option for this type of queries.
    http://help.sap.com/saphelp_47x200/helpdata/en/c8/19763443b111d1896f0000e8322d00/frameset.htm
    Regards,
    Ravi

  • Want to know about User exit in detail

    Hi ALL,
    I M NEW TO sap ABAP. I WANT TO KNOW ABOUT USER EXIT IN DETAIL. PLS DO THE NEEDFUL . If there are eny document regarding this pls mail to this id [email protected]
    thanks and regards
    Nandha

    Hi Nanda,
    Welcome to SDN,
    Userxits allow us to add our own functionality to SAP standard program
    without modifying it . These are implemented in the form of subroutines and hence are also known as FORM EXITs. The userexits are generally collected in includes and attached to the standard program by the SAP.
    User exits are used when the flow for a particular transaction has to take some other route other then the normal flow. this can be the case when you have to attach some additional functionality lik u need a customised screen, or new functionality (using a functional module). based on these things user exits can be classified as screen exits, function module exits, field exits( not used anymore). hope this gives some help on userexits.
    The naming standard of function modules for functionmodule exits is:
    EXIT_<program name><3 digit suffix>
    The call to a functionmodule exit is implemented as:
    CALL CUSTOMER.-FUNCTION <3 digit suffix>
    To find a Exit.
    Goto Transaction -- Find The Package
    SMOD >f4>Use the Package here to Find the Exits In the Package.
    Else if you Want to search by Application Area wise ,
    There is one more tab to find the Exits in the Respective Application Area.
    Implementing the Exit-- CMOD Create ProjectsAssgn your Component .
    Now Run ur Transaction to Check if it Triggers.
    Thats it..
    For More information on Exits, check these links
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sap-img.com/ab038.htm
    http://www.planetsap.com/userexit_main_page.htm
    http://www.sap-basis-abap.com/sapab013.htm
    http://sap.ittoolbox.com/documents/popular-q-and-a/user-exits-for-the-transaction-code-migo-3283
    These links will help you to learn more on user exits.
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/c8/1975cc43b111d1896f0000e8322d00/frameset.htm
    http://www.planetsap.com/userexit_main_page.htm
    http://www.allsaplinks.com/user_exit.html
    www.sap-img.com/abap/what-is-user-exits.htm
    Also please check these threads for more details about user exits.
    Re: Screen exit
    user exit and customer exit
    user exit
    1. Document on UserExits in FI/CO
    http://www.ficoexpertonline.com/downloads/User%20ExitsWPedit.doc
    2. Finding User Exits...
    http://sap.ionelburlacu.ro/abap/sap2/Other_Useful_Tips.html#Finding_User_Exits
    3. List of all User Exits...
    http://www.planetsap.com/userexit_main_page.htm

  • Needed a User Exit to cross-check the mtrll master at the time of making PR

    Hello Experts,
                          As per the requirement from my client I need a USER Exit in PR where before saving the PR the system should check the Material Master of every line item for the Material Type and MRP controller fields.
    for the particular combination of material Type and MRP controller, the system should propose an account assignment which could be achieved but User Exit is required.
    Please help.
    Thanks in advance
    and Regards
    Yawar Khan

    Hi Ravi,
                Thanks for the reply, I will check back.
    Regards,
    yawar Khan

  • I need a user-exit or similar to SAPMV45A (VA02).

    Hi ABAP, an older question cleared while a new one showed up.
    I have to capture a text after hitting SAVE on the TA VA02.
    The captured Text has to be stored, and somewhat later when the text has been replaced by the new materials text i have to replace it again with the original text it had before changing the material of the position.
    probabaly i even need two user-exits, one straight after hitting save, and another short before code ends.

    Hi,
    Please check this link perhaps it may help.
    http://help.sap.com/saphelp_46c/helpdata/en/1c/f62c7dd435d1118b3f0060b03ca329/content.htm
    Regards,
    Ferry Lianto

  • HELP..migo user Exit

    HI all..
    please help me...
    this is my third post and i badly need a user exit after posting of material document..
    is there a user exit avaible before migo will pop up the success message Material document number 49000000 posted?..
    because in my requiremnt, material document must be posted(save in table mseg mkpf ) and all lock entries(material batch etd) are already released..
    thanks u very much.

    Hi ,
    You can use BADI MB_DOCUMENT_BADI ( MB_DOCUMENT_UPDATE ),
    here u will have the Doc number too..
    The following steps to activate the BADI.
    1.             Execute Business Add-In(BADI) transaction SE18
    2.             Enter BADI name i.e. MB_DOCUMENT_BADI and press the display
            button
    3.             Select menu option Implementation->Create
    4.             Give implementation a name such as Z_MB_DOCUMENT_BADI( depends on the naming conbvention)
    5.      You can now make any changes you require to the BADI within this
            implementation, for example choose the Interface tab
    6.             Double click on the method you want to change, you can now enter
            any code you require. ( SE19 )
    7.      Please note to find out what import and export parameters a
            method has got return the original BADI definition
            (i.e. MB_DOCUMENT_BADI) and double click on the method name
            for example within MB_DOCUMENT_BEFORE_UPDATE  is a method
    8.      When changes have been made activate the implementation
    Please rewards the point if answer is helpful.
    Regards.

  • Need a user exit to modify the quantity schedules in a sales contract

    Hi,
      I am using ECC 6.0 with IS OIL. Need a user-exit to update the quantity schedule(table OIA05) in the sales contract VA42.
    I have a new field called timestamp in the table OIA05 which needs to be updated with the timestamp value.
    I tried the user exit MV45AFZZ in USEREXIT_SAVE_DOCUMENT_PREPARE and USEREXIT_SAVE_DOCUMENT to update the values. But the new values are not being reflected. Can you please help me in this regard.
    Thanks,
    Best regards,
    Ajith

    that will allow me to append an initial line with <accit> pointing to the line. Therefore I just have to modify <accit> and the new line will then have my changes?
    Yep, that is exactly it.    So after the APPEND statement, simply fill the fields of the <accit>.
    append initial line to im_document-item ASSIGNING <accit>.
    <accit>-field1 = 'Blah'.
    <accit>-field2 = 'Blah'.
    Regards,
    Rich Heilman

  • Need a user exit for Export Control check in Sales Order fro VA01/VA02

    Hi ,
         I need a user exit for Export Legal Control process in Sales Order.since Ship-to country in the Sales Order is not always the ‘ultimate destination country’ User Exit needs to be built in with following logic
    1.     Check to see if ‘ultimate destination country’ field is maintained in Sales Order
    2.     If a value is maintained then for the Export control checks use ‘ultimate destination country’ instead of the Ship-To country (step 1)
    3.     If no value is maintained then use Ship-To country as default
    The user exit is called when the user creates or changes a Sales Order.
    Can anybody help ?
    Thanks

    Hi,
    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
    SDAPO001 Activating Sourcing Subitem Quantity Propagation
    <b>Reward points</b>
    Regarsd

  • Please help me with user-exits or baids for TCode : FOE2 & FOE1

    Hi  Experts
    Please help me with user-exits or baids for TCode : FOE2 & FOE1.
    I found these but not picking values from VIMI01,VIOB03 and VIOB41.
    User-exits
    FVCH0001                                CH-specific enhancements: Esp. POR
    ISRE0001                                Determine bank procedure account no.
    ISRE0002                                IPD reporting data retrieval
    Business Add-in
    FVD_HANDLE_FORMULA                      Processing of Condition Formulas

    Hi,
    ASk your basis regarding the CI_CSKB table active issue, and first of all i dont see any table with the name CI_CSKB.
    And check this exit-COOMKS03 whether it works for your screen exits.
    Cheers!!
    VEnk@
    Edited by: Venkat Reddy on Nov 4, 2008 5:59 PM

  • Where can I get more information about User exits?

    Where can I get more information about user exits,their related Tables and the source code of an User exit?
    Thanks

    would you please give the Internet addresses of these places?
    Mostly I want to get the source of some user exits in Oracle Application.
    If you know how and where can I get these sources,I'll appriciate if you let me know.
    Regards

  • I need a user exit to restrict total qantity of yeild, scrap and rework on

    Hi friends
    I need a user exit to restrict total qantity of yeild, scrap and rework on CO14 (Confirmation of Production Order Detail) not more then total qantity field in CO03 (Production Order Display). Please also mention if what I am asking is theoratically right and if possible please explain a bit from the functional point of view.
    Regards,
    Anurag Jain

    I resolved it

  • ME51N / ME52N - need special user-exit

    Hi there,
    I'm looking for an user-exit oder BAdI in transactions for creating and changing purchase requisitions. I have to write the data of an item into the ABAP-memory EVERY TIME a new position is selected. The BAdI I found is only processed when a position has changed some data.
    But I really need the user-exit every time a position/item is displayed, also in starting the transaction directly with a purchase requisition.
    Thanks a lot.
    I DON'T NEED A BIS LIST OF ALL EXITS IN THIS AREA - THX
    Kind regards
    John

    Hi,
    Try these...
    Enhancement/ Business Add-in            Description
    Enhancement
    MEREQ001                                Customers' Own Data in Purchase Requisition
    Business Add-in
    ME_COMMITMNT_PARKING                    BAdI for Redefining Commitment Interface When Parking
    ME_MEREQ_PARKING                        BAdI Purchase Requisition: "Hold"
    ME_REQ_HEADER_TEXT                      Copy Header Text: Enjoy Purchase Requisition
    No.of Exits:          1
    No.of BADis:          3
    Arunima

Maybe you are looking for

  • HOW TO MAXIMIZE YOUR LAPTOP'S BATTERY LIFE

    Hi all, I had this bad experience of this wide problem in laptops, battery failure. It happens almost just after your warranty expires many will agree, funny & true..battery stops charging, shows less than 100% or 0% charge no matter how you try to c

  • I want to remove Trailing zeros from a charecter value

    Hello ,           i want to remove trailing zeros for a prticular value.Following is my code : DATA: V_FLOAT TYPE F VALUE '4.8240000000000000E+03',            V_CHAR(25) ,            P10_4(10) TYPE P DECIMALS 4. CALL FUNCTION 'CEVA_CONVERT_FLOAT_TO_C

  • Unable to create Business Partner in CRM

    Hi I am unable to Create a Business Partner (BP)in CRM though I could  see that the INBOUND  IDOC ( Msg type : CRMXIF_PARTNER_SAVE_M ) is getting posted.I created the IDOC through the test transaction (we19).Also i dont have any data to give in the f

  • Audio Interface not working Please Help

    I have been using Logic express with no problems with my Tascam us-122 audio interface , I recently downloaded a program for firefox to be able to capture webpage-video i.e. You-tube etc, and now I cannot get sound out of my interface, even after try

  • Cross company Stock Transport with Intercompany billing

    hi, I'm trying to use the standard cross company stock transport order process, however, when i create the initail purchase order in the ordering company, the shipping tab does not appear, preventing me from creating a delivery. The customers and ven