When bapi perform, user exit perform or not

Hi,
TCODE VA01,
i am going to use BAPI(SD_SALESDOCUMENT_CREATE) in order to create or change sales order .
but  there is user exit on VA01, so i want to know if user-exit execute or not  when i use BAPI on abap code.
thanks
venjamin.

Hi,
As far as i remember bapi will execute the user exit as once i tried to call the bapi in the user exit and in turn the bapi called back the user exit again. at that i used the same said bapi "SD_SALES_DOCUMENT_CREATE". and hence i changed my code accordingly
Regards
Satya

Similar Messages

  • Hi Can body send links & Material For  Bapi, Badi,User-exits

    Hi Abapers,
                       Can body send links & Material For  Bapi, Badi,User-exits, This is my mail id [email protected]
    With Regards
    Bhaskar rao.M

    Hi Bhaskar,
    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.planetsap.com/userexit_main_page.htm
    http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
    USER EXITS
    https://forums.sdn.sap.com/click.jspa?searchID=672084&messageID=312792
    https://forums.sdn.sap.com/click.jspa?searchID=672084&messageID=1320078
    https://forums.sdn.sap.com/click.jspa?searchID=672084&messageID=2669896
    BADI(Business Add-In) is the object oriented method of user exits...
    Each BAdI has a definition and more than one implementation. The definition means the methods(in class concept) that are used for performing various functions. The BAdI definition can be viewed in SE18 transaction(for standard ones) and user-defined BAdIs can be created in the same transaction as well.
    When you create a BAdI definition, an class interface will be automatically created and you can define your methods in the interface. The implementation of the methods can be done in SE19 transaction
    Check these links for info about badi..
    BADI's
    BADI's
    http://help.sap.com/saphelp_erp2005/helpdata/en/73/7e7941601b1d09e10000000a155106/frameset.htm
    http://support.sas.com/rnd/papers/sugi30/SAP.ppt
    BADI's
    BADI's
    BADI's
    http://help.sap.com/saphelp_erp2005/helpdata/en/73/7e7941601b1d09e10000000a155106/frameset.htm
    http://support.sas.com/rnd/papers/sugi30/SAP.ppt
    http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/abapindx.htm
    http://members.aol.com/_ht_a/skarkada/sap/
    http://www.ct-software.com/reportpool_frame.htm
    http://www.saphelp.com/SAP_Technical.htm
    http://www.kabai.com/abaps/q.htm
    http://www.guidancetech.com/people/holland/sap/abap/
    http://www.planetsap.com/download_abap_programs.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/c8/1975cc43b111d1896f0000e8322d00/content.htm
    /people/thomas.weiss/blog/2006/04/03/how-to-define-a-new-badi-within-the-enhancement-framework--part-3-of-the-series
    /people/thomas.weiss/blog/2006/04/18/how-to-implement-a-badi-and-how-to-use-a-filter--part-4-of-the-series-on-the-new-enhancement-framework
    http://www.esnips.com/web/BAdI
    http://www.allsaplinks.com/badi.html
    New to Badi
    Intro.....
    http://help.sap.com/saphelp_nw04/helpdata/en/e6/d54d3c596f0b26e10000000a11402f/content.htm
    diff betweem badi n customer exits........
    http://www.sap-img.com/abap/difference-between-badi-and-user-exits.htm
    BAPI
    BAPI
    http://help.sap.com/saphelp_46c/helpdata/en/9b/417f07ee2211d1ad14080009b0fb56/frameset.htm
    http://searchsap.techtarget.com/originalContent/0,289142,sid21_gci948835,00.html
    Checkout !!
    http://searchsap.techtarget.com/originalContent/0,289142,sid21_gci948835,00.html
    http://techrepublic.com.com/5100-6329-1051160.html#
    http://www.sap-img.com/bapi.htm
    http://www.sap-img.com/abap/bapi-conventions.htm
    http://www.sappoint.com/abap/bapiintro.pdf
    http://www.sapgenie.com/abap/bapi/example.htm
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDAPII/CABFAAPIINTRO.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CABFABAPIREF/CABFABAPIPG.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCFESDE8/BCFESDE8.pdf
    List of all BAPIs
    http://www.planetsap.com/LIST_ALL_BAPIs.htm
    http://www.sappoint.com/abap/bapiintro.pdf
    http://www.sappoint.com/abap/bapiprg.pdf
    http://www.sappoint.com/abap/bapiactx.pdf
    http://www.sappoint.com/abap/bapilst.pdf
    http://www.sappoint.com/abap/bapiexer.pdf
    http://service.sap.com/ale
    http://service.sap.com/bapi
    http://www.planetsap.com/Bapi_main_page.htm
    http://www.topxml.com/sap/sap_idoc_xml.asp
    http://www.sapdevelopment.co.uk/
    http://www.sapdevelopment.co.uk/java/jco/bapi_jco.pdf
    Regards,
    Priyanka.

  • Bapi or user-exit to create warning in invoice

    Hi,
    I was askes to create a warning whenever someone pushes delete within an invoice (mir7). The problem is that our users are not aware, that they are really going to delete not only the marked position within the invoice but the whole invoice.
    I´ve tried to find a bapi or user-exit to place my coding but so far was unsuccessful, can anyone tell me if there is a badi or user-exit?

    Hi Ute!
    Try BADI INVOICE_UPDATE (hope this is defined in your release).
    It's help says:
    "You can use the business add-in (INVOICE_UPDATE) to further process the following functions or, if necessary, forbid them:
    Creating invoices (invoices, credit memos, subsequent debits, subsequent credits) in Logistics Invoice Verification
    Parking documents in Logistics Invoice Verification, and making changes to these documents, for example, deleting them"
    -> Exactly what you are looking for.
    Regards,
    Christian

  • BAPI or USER EXIT for MIRO: Change PO reference amount (on-line)

    Hi, I need to find a BAPI or USER EXIT for TX MIRO to change/modify the PO reference amount for the selected positions (using the given checkbox) just after selecting them (when pressing ENTER). Any ideas? Thanks.

    Hello Suman,
    Please follow this steps to get the list of Userexits for the TCODE MIRO read there short description to get the appropriate EXIT.
    Steps.
    1. Goto the Tcode
    2. System-> Status.
    3. Copy the program name, find the package for the program.
    4. Go to SMOD (tccode)  press F4 -> Click on "Information System" Push Button->
       Enter the Package name-> and press the enter button.
    5. Now you get the list of Userexits. Need to select one by looking into its short    description.
    Hope this solves your issue,
    Cheers,
    Suvendu

  • Use of BAPIs in user exit macros

    Is it ppssible to use BAPIs in user exit macros in the APO MacroBuilder?
    Thanks for any advice on this...

    Hi,
    Not sure what function you want to acheive, but basicly you can use any code in the user-exit macro's customizing code, but at last you must fill in the spcified return value to make the user-exit macro work.
    Best Regards,
    Ada

  • User exit in VA01 not triggering on change of custom field

    Hello Guys,
    We have custom field in SO item (VBAP) for which screen 8459 of SAPMV45A has been enhanced. Now, on the change of the custom field, user exit USEREXIT_MOVE_FIELD_TO_ME_REQ is not getting triggered.
    Requirement is to change Purchase Requistion item (setting value of a EBAN field to custom field from 8459 screen) when a SO is created/changed.
    Can someone please help!
    Regards,
    Ashish
    Edited by: Ashish Kshatriya on Nov 4, 2009 8:00 PM

    Hi
    U can also to try to insert a new MODULE in the PAI of screen-exit where u call the user-exit USEREXIT_MOVE_FIELD_TO_ME_REQ or where u fill the header line of table EBAN just as what that exit does.
    U should remember the screen-exit is "yours", so u can insert all module u need, just only save them in the following include:
    - MV45AOZZ (PBO module)
    - MV45AIZZ   (PAI module)
    Max

  • FRM-40800: User exit FND does not exist.

    Situation:
    I use Windows XP client - for development
    Forms [32 Bit] Version 6.0.8.28.0 (Production)
    The APPS server is on the Linux (RedHat):
    Oracle9i Enterprise Edition Release 9.2.0.6.0 - Production
    Apps version: 11.5.10.2
    What I dis:
    - installed Oracle Forms on Windows XP
    - loaded JTFGRDMD.fmb in Forms with APPSTAND.fmb, FNDSCSGN.fmb
    - loaded loaded all the PL/SQL libraries and recompile them for Windows
    When I run JTFGRDMD I receive no compilation error but when the form run, I receive "FRM-40800: User exit FND does not exist.".
    Does anybody have an ideea why I get this error ?
    Thanks, Paul
    Note: I tried to find information on Metalink and other threads, but nothing was good for me.

    Hi,
    Hussein, I agree with you. However I need to do a customization on the form and test it (on Windows) before deloying it to the apps server(on Linux).Do the customization at the client side, make sure the forms compile and run successfully, then copy the fmb file to the server and compile it. By doing this, you should be able to run the form from the application.
    Under Forms (on Windows) I connect using apps/apps.When you compile the form on the server side, you will have also to provide the apps username/password, so the concept is the same. Do you still have an issue when accessing the form after compiling it on the server? If yes, then obtain the FRD file and post the contents of the file here (search the forum for FRD 11i).
    Regards,
    Hussein

  • BAPI , BADI , USER EXIT , FUNCTION MODULE

    Hi Experts
    Can any body pls explain me abt BAPI , BADI , USER EXIT , FUNCTION MODULE  and its uses in details .
    Thanks
    Devashish

    Dear Deba,
    Functional Module:Procedure that can only be defined in function groups and outside of classes. Can be called from all
    programs. Begins with FUNCTION and ends with ENDFUNCTION. Is maintained using the Function Builder of the ABAP
    Workbench.
    Functional Module can be checked using T Code SE37 for a package ,say in standard SAP CS15 will be used for checking
    the where used list for a material and here it can be checked only for one material,in case if we want to check for a list of
    materials a small report can be developed using the fucntional modules like
    CSEP_MAT_BOM_SELECT_WHERE_USED   API Bills of Material: Select BOM(s) (or)
    CS_WHERE_USED_MAT                Bills of material; where-used list
    User Exit:A point in an SAP program where a customer's own program can be called.
    In contrast to customer exits, user exits allow developers to access and modify program components and data objects in the
    standard SAP System. On upgrade, each user exit must be checked to ensure that it conforms to the standard system.
    There are the following types of user exit:
    User exits that use INCLUDEs - These are customer enhancements that are called directly in the program.
    User exits that use tables - these are used and managed using Customizing.
    User Exits can be viewed or checked using the T Code SMOD and using CMOD an user exit will be activated.
    BAdi:
    A template for BAdI objects.
    Business Add-Ins (BAdIs) are the basis for enhancements where BAdI methods in object plug-ins can be called from ABAP
    programs. The calling program controls which BAdI implementations are used by specifying filter values. A BAdI consists of a
    BAdI interface, a set of filters and some settings.
    From Release 7.0, BAdIs are edited in the Enhancement Builder and reside in the global class namepsace. You can switch on
    their implementations via the Switch Framework.
    There are also classic BAdIs, which are edited in the BAdI-Builder and superseded function module exits in Release 4.6.
    Related T Code SE18.
    Regards
    Mangalraj.S

  • Inbound idoc values when updated from user exit not saved

    I'm trying to process some user exits of an inbound idoc from WE19.
    The values get correctly populated to IDOC_DATA internal tables of IDOC_INPUT_ORDRSP function module in debug kode
    but when the new idoc is generated from WE19 , those segment values (populated by exit) are not shown/saved.
    The user exit is EXIT_SAPLEINM_007.
    Is it not possible to populate segment values of inbound idocs from using user exits. If yes , then during testing using WE19 , every time a new idoc is created it should display those values into the concerned segments. Please help.

    Hello,
    yes is possible it ...
    I think the problem is:
    or
    you have something wrong when to append the new line on internal table
    or
    the exit used is not correct: read the documentation on EXIT_SAPLEINM_0**

  • BAPI/FM/User exit for F-27

    Hi All,
    I am looking for a either a BAPI/FM or a user exit which is similar to tcode F-27. The reason being is i want to run this tcode in background.
    I have been looking around in SDN but did not find any helpful posts for F-27. Anyone out there has any idea or workaround that would really be helpful. Or is it possible for me to create a custom function module to achieve the same?
    Thanks in advance,
    Karuna.

    Hi,
    Thank you very much. I am trying to use it. this is how i am using:
    DATA:   ZFISCAL_PERIOD TYPE BAPI0002_4-FISCAL_PERIOD.
    data:     obj_type like bapiache02-obj_type,
               obj_key like bapiache02-obj_key,
            obj_sys like bapiache02-obj_sys,
            documentheader like bapiache09,
            accountgl like bapiacgl09 occurs 0 with header line,
            currencyamount like bapiaccr09 occurs 0 with header line,
            return like bapiret2 occurs 0 with header line,
            extension1 like bapiextc occurs 0 with header line.
            documentheader-username = sy-uname.
            documentheader-header_txt = 'Test using BAPI'.
            documentheader-comp_code = '0010'.
            documentheader-doc_date = sy-datum.
            documentheader-pstng_date = sy-datum.
            documentheader-doc_type = 'DG'.
            documentheader-ref_doc_no = 'Test using BAPI'.
            documentheader-BUS_ACT = 'RFBU'.
            documentheader-FISC_YEAR = '2009'.
            documentheader-FIS_PERIOD = ZFISCAL_PERIOD.
            currencyamount-itemno_acc = '1'.
            currencyamount-currency = 'USD'.
            currencyamount-amt_doccur = '101.00'.
            append currencyamount.
            currencyamount-itemno_acc = '2'.
            currencyamount-currency = 'USD'.
            currencyamount-amt_doccur = '-101.00'.
            append currencyamount.
            CALL FUNCTION 'BAPI_ACC_DOCUMENT_POST'
              EXPORTING
                DOCUMENTHEADER          = documentheader
              CUSTOMERCPD             =
              CONTRACTHEADER          =
            IMPORTING
              OBJ_TYPE                =
              OBJ_KEY                 =
              OBJ_SYS                 =
              TABLES
              ACCOUNTGL               =  accountgl
              ACCOUNTRECEIVABLE       =
              ACCOUNTPAYABLE          =
              ACCOUNTTAX              =
                CURRENCYAMOUNT  = currencyamount
              CRITERIA                   =
              VALUEFIELD              =
              EXTENSION1              =
                RETURN                     = return
              PAYMENTCARD         =
              CONTRACTITEM         =
              EXTENSION2              =
              REALESTATE             =
              ACCOUNTWT              =
              if sy-subrc = 0.
                  WRITE 'SUCESS'.
              else.
                 write 'NOT SUCCESS'.
              endif.
    When i am executing this i am getting 2 errors in RETURN:
    1. Error in document: BKPFF $ ESRCLNT200
    2. FI/CO interface: Inconsistent FI/CO document header data for updating
    Can you please help me, if i am missing anything?
    Thanks,
    Karuna.

  • Bapi,idoc,user exits

    hi, im learner i want to need  some idea in  user exits,bapi,idoc any body having documents on above topics plz to send me...............plz

    Check these links..
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sap-img.com/abap/what-is-user-exits.htm
    New to enhancements
    creation of table in ecc6
    for Function module exits
    New to ABAP Enhancements
    For menu Exits and screen exit
    USER EXIT
    Search through www.enips.com.
    You can find lot of material there.
    BADI's
    http://help.sap.com/saphelp_erp2005/helpdata/en/73/7e7941601b1d09e10000000a155106/frameset.htm
    http://support.sas.com/rnd/papers/sugi30/SAP.ppt
    http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/abapindx.htm
    http://members.aol.com/_ht_a/skarkada/sap/
    http://www.ct-software.com/reportpool_frame.htm
    http://www.saphelp.com/SAP_Technical.htm
    http://www.kabai.com/abaps/q.htm
    http://www.guidancetech.com/people/holland/sap/abap/
    http://www.planetsap.com/download_abap_programs.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/c8/1975cc43b111d1896f0000e8322d00/content.htm
    /people/thomas.weiss/blog/2006/04/03/how-to-define-a-new-badi-within-the-enhancement-framework--part-3-of-the-series
    /people/thomas.weiss/blog/2006/04/18/how-to-implement-a-badi-and-how-to-use-a-filter--part-4-of-the-series-on-the-new-enhancement-framework
    User Exits
    http://www.erpgenie.com/sap/abap/code/abap26.htm
    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
    TO find all BADI's
    Follow the below steps to find out what all BADI's are called when you press any button in any transaction.
    1) Goto se24 (Display class cl_exithandler)
    2) Double click on the method GET_INSTANCE.
    3) Put a break point at Line no.25 (CASE sy-subrc).
    Now
    4) Execute SAP standard transaction
    5) Press the required button for which you need to write an exit logic, the execution will stop at the break point.
    6) Check the values of variable 'exit_name', it will give you the BADI name called at that time.
    7) This way you will find all the BADIs called on click of any button in any transaction.
    A. BAdI Definition
    1. SE18
    2. Enter the name for the BAdI to be created in customer namespace and press "Create".
    3. Enter a definition for your BAdI and on the interface tab enter a name for the BAdI interface. SAP proposes a name and it is pretty good. Meanwhile a BAdI class is also created which is not in our concern.
    e.g for "ZTEST", SAP proposes "ZIF_EX_TEST" for the interface and "ZCL_EX_TEST" for the class.
    4. Save your BAdI.
    5. Double-click on the interface name. It will pass to a Class Builder session to make you implement your interface. If you are not familiar to the Class Builder; it's a bit like Function Builder and it will be easy to discover its procedure.
    6. Save and activate your interface.
    B. Calling your BAdI from an application program
    1. Declare a reference variable with reference to the Business Add-In interface.
    e.g. DATA exit_ref TYPE REF TO zif_ex_test.
    2. Call the static method GET_INSTANCE of the service class CL_EXITHANDLER. This returns an instance of the required object.
    e.g.
    CALL METHOD CL_EXITHANDLER=>GET_INSTANCE
    CHANGING instance = exit_ref .
    3. After those two steps, you can now call all of the methods of the BAdI where it is required in your program. Make sure you specify the method interfaces correctly.
    C. BAdI Implementations
    1. SE19
    2. Enter the name for the BAdI implementation to be created in customer namespace and press "Create".
    3. It will request the BAdI definition name to which this implementation will be tied.
    4. Enter a definition for your implementation and on the interface tab enter a name for the implementing class. Again SAP proposes a name and it is pretty good.
    e.g for "ZIMPTEST", SAP proposes "ZCL_IM_IMPTEST".
    5. Save your implementation.
    6. To implement a method, just double-click on the method name and you will be taken to the Class Builder to write the code for it. Here you redefine the BAdI interface methods.
    7. You must activate your implementation to make it executable. You can only activate or deactivate an implementation in its original system without modification. The activation or deactivation must be transported into subsequent systems
    Regards,
    Balaji Reddy G
    ***Rewards if answers are helpful

  • User exit for ME21N (Not functional or customer exit)

    Hi Guys,
    I want to get a user exit for PO as my requirement is to call  custom screen before the PO is getting saved.
    I have the functional exits and badi's list which will not fulfill my requirement as because on my custom screen i have cancel button.
    On clicking the control needs to come back to the me21n second screen with the data entered with out order getting created.
    The screen number for the second screen in ME21N  is 14.
    if i call screen 14 it will work in a user exit where as in customer exit(functional exit) we have limitations with the exporting and importing as so the screen number will not be recognised.
    I am able to do the same calling of cust screen in Sales order creation and is sucessfull, the same should happen with PO also.
    Probably if the user exit triggers at the time of syntax check i can achive my requirement rather than at save as the call back to the screen will not harm and database commits will not take place.
    I also tried with all most of the enahancement points but the call screen statement is not working at any point of time which worked with Sales order exits. So i tried with making the validation fail but still by that time the PO number is getting generated and so if i try to cancel the PO before save and trying to get PO in edit mode but the sequence number is getting missed by by 1.
    Please help.
    Regards,
    Amar.
    Edited by: amar srinivas on Feb 11, 2011 10:16 AM
    Edited by: amar srinivas on Feb 14, 2011 4:56 PM

    Hi,
    You can try it this way.
    Check badi ME_PROCESS_PO_CUST , method - CHECK.
    This badi/method gets triggered when the "CHeck" button and "SAVE" button is pressed.
    It consists of a changing parameter CH_FAILED . Pass X to it when cancel button is hit in your custom screen.
    Donot use any commit in this method. Read the documentation before doing it.

  • ERS user exit, pass Delivery note(LFSNR) in MIGO to Reference(XBLNR)in MIRO

    Hi Experts,
    I need to assign Delivery Note(LFSNR) in MIGO, to field Reference(XBLNR) in MIRO. that means "Reference " field must contain the delivery note information instead of Invoice doc number.
    how can i use component MRMH0001.where can i use?
    i am new to user exits.
    please help me. i need logic and steps.
    Thanks in advance
    Reward points will be given.
    Srinu

    hi
    Overview
    R/3 provides three "customization spots" that allow you to enhance FI/CO features without modifying the standard code. Although often collectively referred to as "user exits," two of the three have different names. SAP Enhancements are used to expand the standard functionality within SAP. Enhancements use function modules and are called from the standard SAP code. Each module in the system has a set of delivered enhancements that help companies expand the standard functionality where they need it. Enhancements were new in release 3.0.
    The Open FI Interfaces or Business Transaction Events are also used to expand the standard functionality within SAP. These events are defined in the IMG. Business Transaction Events were new in release 4.0. They are not available for all modules and are not called on all integrated transactions into FI as of release 4.5B. This will change with each release and should be retested.
    The older User Exits in FI/CO are "Z" programs that are defined in table T80D for client-dependent user exits, and in table T80I for client-independent user exits. These are also used to expand the standard functionality within the FI/CO modules. These User Exits have been available since the early releases of SAP. All of these FI/CO User Exits are listed in this document in the Configuring User Exits (Older). The list is included because these User Exits are not a part of the Enhancements or Business Transaction Events and do not have an Info System for searching.
    Benefits
    • Standard SAP functionality can be enhanced without modification to the standard code.
    • Upgrades do not erase the functionality and it does not have to be re-transported or re-entered into the system. The enhancements should be thoroughly tested when upgrading to ensure the system will still work as implemented.
    Configuring SAP Enhancements
    Basic Steps in Configuring an Enhancement
    • Find the appropriate Enhancement.
    • Enter the ABAP code in the "Z" program within the function module.
    • Create a project.
    • Add the Enhancement to the project.
    • Activate the project.
    Example Business Scenario for Enhancements
    Company A has a requirement to validate all customer master records created with a U.S. address. The U.S. entity reports on the industry field on the customer master. This is only a U.S. requirement and should not be required for the other countries, so the field status would not work. To accomplish this requirement, Company A will need to set up an Enhancement for the customer master transaction. The necessary steps are detailed below with screenprints. This example was configured in a 4.6C system.
    to find the suitable exit for ur requirements check the following program
    Hi
    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).
    write the code in the right form and check by keeping a break point
    HI
    To search for a badi, go to se 24 display <b>class cl_exithandler.</b>
    double click on method get_instance, get a break point on case statement.
    execute and start the required transaction in new session.
    look for variable <b>exit_name.</b> It would show the available badi's.
    also check the following links
    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.planetsap.com/userexit_main_page.htm
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    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
    <b>Please do reward if useful</b>
    Regards
    Dinesh

  • Call Bapi in user exit

    Hi Experts,
    i call to the FM in  user exit ,
    i check , if i do double click on the FM name i get inside of it!
    but when i put break-point on the fm and press F5 I go inside method
    if_rsr_var_runtime~check
    and after another method and another ... and i don't go inside the FM (i don't get any data from the Fm  despite I get data for the same input when i call to the bapi from se37  )What can be problem?
    i work in BI7 SYSTEM maybe i have to declare there something ?
    Regards

    Can you provide the FM name?

  • List of BAPI, BADI, User Exits

    Hi !
    I need to get the following points for my boss:
    1.)  A list of the BAPIs that are IN USE at our system.
    2.)  A list of BADIs that are IN USE at our system.
    3.)  A list of User Exits that are IN USE at our system.
    Any idea / Transactioncodes etc. where I can get these informations?
    Please help me out, I've got no clue from BAPI, BADIs and User Exits.
    Thanks and best regards,
    Matthias

    Hello Stangl,
    I can give the list of BAPI ,BADI and USER EXITS.
    but i will not give
    there simple way to find all these things.
    for BAPIS
    suppose u want know the related BAPIS to the program u have to do
    system->status->program name->attributes->package..take the package name goto tcode SE80 and give the package name u willl find the FM in
    all the FM starts with Bapis those bapi FMs.
    For BADIs
    system->status->program name->attributes->package..
    se18->F4->package name - u will get the realated BAIDs
    For user exits
    system->status->program name->attributes->package..
    SMOD->F4->package name - u will get the realated user exiits.
    If use ful reward points
    santhosh

Maybe you are looking for

  • Itunes 10.7.0.21 on windows 7 64 bit

    I installed the latest itunes version 10.7.0.21 on windows 7 64bit and now I cannot open itunes. Any suggestions?

  • Link to "Your eGuide (including the Terms and Conditions of your service) (English)" takes you to Phishing site?

    In Documents and Receipts for My Verizon and when I select this link to Your eGuide (including the Terms and Conditions of your service) (English) it goes to http://cache.pagefreezer.com/browse/youreguide/14-12-2014T00:00/http://youreguide.vzw.com/ .

  • Unable to retrieve attachments when sending emails.

    When sending emails I can select any attachment ,and when I select open or double click attachment button the icon at the end of the attachment button spins like its trying to retrieve attachment but never completes.

  • Osmf 1.6 vs osmf with Adobe FlashBuilder 4.6 Beta

    Hi All,   I was using OSMF that comes with Flash Builder 4.5/4.6 until now... This SWC file is about 341KB, and when I call this method to get the Media Element for a FLV/MP4 file it works just fine - osmfMediaFactory.createMediaElement(url) Now, I g

  • Fear of QT

    After the countless horror stories about QT 7 - and the fact Apple is quickly posting methods of reverting - I have some questions. I use FCP 4.5, and originally went to QT 7 and 10.3.9 around the same time. And all **** broke loose, I was unable to