Can anyone let me know step by step procedure for creating userexits in bw?

hi all,,
Can anyone help me out on how to create user exit in bw? with an example in real time scenario. And if possible let me know sap exit too?
regds
hari

hi Hari,
there are user exits for extraction, reporting, ...
check the links in
https://wiki.sdn.sap.com/wiki/display/BI/ABAPinBW
Customer Enhancements and Userexits in BW
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/59069d90-0201-0010-fd81-d5e11994d8b5
extraction exit steps can be found
'How to ... Extend Master Data to incl. Social Security Number ' ?
https://websmp201.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_OBJECT=011000358700004516062001E
for reporting example
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f1a7e790-0201-0010-0a8d-f08a4662562d
hope this helps.

Similar Messages

  • Can anyone let me know the step by step procedure for creating userexits?

    Hi all,
    can anyone let me know the step by step procedure for creating user exits? for any transaction code like mm01 or vd01. If you have any docs send it across to my email id : [email protected]
    thanxs in advance
    hari

    Hi,
    *& Report  ZEXITFINDER
    *report  zexitfinder.
    *& Enter the transaction code that you want to search through in order
    *& to find which Standard SAP User Exits exists.
    *& Tables
    tables : tstc, "SAP Transaction Codes
    tadir, "Directory of Repository Objects
    modsapt, "SAP Enhancements - Short Texts
    modact, "Modifications
    trdir, "System table TRDIR
    tfdir, "Function Module
    enlfdir, "Additional Attributes for Function Modules
    tstct. "Transaction Code Texts
    *& Variables
    data : jtab like tadir occurs 0 with header line.
    data : field1(30).
    data : v_devclass like tadir-devclass.
    *& Selection Screen Parameters
    selection-screen begin of block a01 with frame title text-001.
    selection-screen skip.
    parameters : p_tcode like tstc-tcode obligatory.
    selection-screen skip.
    selection-screen end of block a01.
    *& Start of main program
    start-of-selection.
    Validate Transaction Code
    select single * from tstc
    where tcode eq p_tcode.
    Find Repository Objects for transaction code
    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 = enlfdir-area.
    move : tadir-devclass to v_devclass.
    endif.
    endif.
    Find SAP Modifactions
    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.
    Take the user to SMOD for the Exit that was selected.
    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.
    look in txn CMOD or SMOD, check enhancement 0VRF0001. It uses function module EXIT_SAPL0VRF_001. It is used to manipulate route determination for SD.
    Here is the code
        DATA: ls_xvbpa LIKE xvbpa,
              lf_aland LIKE tvst-aland,
              lf_azone LIKE tvst-azone,
              lf_lland LIKE trolz-lland,
              lf_lzone LIKE trolz-lzone,
              ls_vbadr LIKE vbadr,
              ls_xvbap LIKE xvbap,
              ls_tvst LIKE tvst,
              lv_route LIKE trolz-route.
        LOOP AT xvbap INTO ls_xvbap.
          IF NOT ls_xvbap-vstel IS INITIAL.
            SELECT SINGLE * FROM tvst
              INTO ls_tvst
             WHERE vstel EQ ls_xvbap-vstel.
            IF sy-subrc = 0.
              lf_aland = ls_tvst-aland.
              lf_azone = ls_tvst-azone.
            ENDIF.
          ENDIF.
          READ TABLE xvbpa INTO ls_xvbpa WITH KEY vbeln = ls_xvbap-vbeln
                                                  posnr = ls_xvbap-posnr
                                                  parvw = 'Q1'.
          IF sy-subrc = 0.
            CALL FUNCTION 'SD_ADDRESS_GET'
              EXPORTING
                fif_address_number      = ls_xvbpa-adrnr
              IMPORTING
                fes_address             = ls_vbadr
              EXCEPTIONS
                address_not_found       = 1
                address_type_not_exists = 2
                no_person_number        = 3
                OTHERS                  = 4.
            IF sy-subrc <> 0.
              MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                      WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
            ELSE.
              lf_lland = ls_vbadr-land1.
              lf_lzone = ls_vbadr-lzone.
            ENDIF.
          ENDIF.
          CALL FUNCTION 'SD_ROUTE_DETERMINATION'
            EXPORTING
              i_aland             = lf_aland
              i_azone             = lf_azone
              i_lland             = lf_lland
              i_lzone             = lf_lzone
            IMPORTING
              e_route             = lv_route
            EXCEPTIONS
              no_route_found      = 1
              departure_error     = 2
              destination_error   = 3
              invalid_generic_key = 4
              customer_exit_error = 5
              OTHERS              = 6.
          IF sy-subrc <> 0.
            MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
          ELSE.
            ls_xvbap-route = lv_route.
            MODIFY xvbap FROM ls_xvbap TRANSPORTING route.
          ENDIF.
        ENDLOOP.
    For information on Exits, check these links
    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
    User-Exits
    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
    <b>Reward points</b>
    Regards

  • Hi all can anyone let me know about navigational attributes?

    hi all,
    Can anyone let me know the importance of navigational attributes with examples.
    if docs pls email at [email protected]
    regds
    haritha

    HI haritha,
    Navigational attribute is used for drilling down in the report. We don't need to maintain Navigational attribute in the cube as a characteristic (that is the advantage) to drill down
    0MATERIAL has a Display attribute called MATGROUP and a Navigational attribute called MATTYPE.
    If you want your report to show MATGROUP, you need to have 0MATERIAL in the query too. A Display attribute always 'tags' along with the 'parent' characteristic.
    However you can include MATTYPE in your report without using 0MATERIAL. For reporting purposes a navigational attribute behaves just like another characteristic. This means that you can also have variables for navigational attributes.
    One drawback is that since they are stored outside your Info Cube (in master data tables), the OLAP has to perform an extra step to pull in this data and this leads to some performance impact, although in most cases this is negligible.
    When you double click on a cell in a report which contains a characteristic value, the report is filtered for this value and the entire characteristic column is removed from the results area. If you double click on material 1001, the material column goes away from the results and in the filter cells above the report, you can see value 1001 against Material.
    If you double click on a key figure value, nothing
    happens.
    If you double click on a Char column heading, the char is removed from the drill down.
    If you double click on a key figure column heading, all key figures go away, and the values that are left are for the key figure you double clicked. Again you can verify this by looking at the filter cells against the key figure structure.
    Re: Navigate Attribute
    assign points if helps,
    regards,
    yunus

  • Can anyone let me know how can i get the ouput from BW in .txt format.

    Can anyone let me know how can i get the ouput from BW in .txt format. See we can get output as Excel(i.e BEX) and manually convert it into txt format. I need a direct or automated way to do the same.no human intervention.
    mail me at [email protected] or post answer in sdn.

    Please do not multiple post across forums..
    how can i save the data in BEX reports in .txt format automatically
    This helps in keeping track of answers and avoids the issue of repeated answers across forums...
    Please close one of the threads as answered and provide the link that you want to follow
    Arun

  • Can anyone let me know how to install hadoop in mac OS X

    Can anyone let me know how to install hadoop in mac OS X

    Read http://shayanmasood.com/blog/how-to-setup-hadoop-on-mac-os-x-10-9-mavericks/

  • URGENT can anyone let me know how to include sort buttons in table maintian

    hi
    can anyone let me know how to include sort buttons in table maintianence
    as generally table maintianec done have sort buttons i need to include the sort buttons kindly let me know on that asap
    or can we use module pool in between table maintianece screen
    if yes how touse and how to cod for that
    regards
    Arora

    You can change the coding of Table Maintenance.
    >> Goto SM30, give table name and goto Display/Maintain mode and copy all the GUI status from standard program into your function group. Add sort button in the GUI Status of Maintain & Display mode.
    >> Goto to tablemaintenance screen generated using SE51.
    >> Select change mode.
    >> After PROCESS BEFORE OUTPUT, create one module to assign your function group program name to " X_HEADER-GUI_PROG = "
    >> In PROCESS AFTER INPUT, add another module at the end to perform the action.
    -Alpesh.Saparia

  • Can anyone let me know how to do MCSI configuration?

    Hi all,
    Can anyone let  me know how to configure MCSI reports ? is there any links in sap nor docs about it ?
    Thanks
    Pooja

    Steps in LIS:
    1. Crete Field Catalogue (Key Figures & Statistics)
    2. Create Info Structures using Field Catalogues
    3. Assign Update Groups to Info Structures & Set up Update Rules for Key Figures & Characteristics.
    4. Activate the Update for Info Structures
    5. Perform statically set-up to upload and Post data in LIS.
    T-Codes:
    1. OMOA / OMOB / OMOC - Create / Change / Display - Application
    2. MC18 / MC19 / MC20 - Create / Change / Display - Field Catalogue
    3. MC / MC22 / MC23 - Create / Change / Display - Info Structures
    4. MC24 / MC25 / MC26 - Maintain update rules
    5. OMO1 - Activate Update.
    Hope this helps...
    Thanks,
    Jignesh Mehta

  • I have Adobe CS4 Photoshop for Windows (PN 65015634 - from 2008) -- Can anyone let me know if this is compatible with Windows 7??  Thanks!!

    I have Adobe CS4 Photoshop for Windows (PN 65015634 - from 2008) -- Can anyone let me know if this is compatible with Windows 7??
    Many and sincere thanks!!

    You need to have your computer looked at for upgrading and evaluate your third party hardware, software and files.
    To fix your issue is too complicated and lengthy to go into all of it here, it will require the services of person very familiar and experienced with Mac's to first recover your data and then restore OS X back to a functional state which may or may not require new hardware/software installed.
    You can hire the services of a local Mac computer support technician experienced in these matters.
    Have them look at your Wifi security/speed, RAM amount, extra storage and computer backup proceedures in the process.
    Good Luck.

  • Can anyone let me know abt the new selection

    hi all,
    While we create reports using query designer. when u click on the structure, there are 2 options that turns up new selection and new formula.
    Can anyone let me know the significance of new selection with an example. Why it is used And what is it importance.
    thanxs in advance
    regds
    hari

    Selection is for Restricted Key Figure while Formula is for Calculated Key figure. Both Selection and formula is for locally declared and execute for that query where it is defined at, but CKF and RKF are global in nature, you use them globally in all queries which uses the underlying infoprovider.
    thanks.
    Wond

  • I am trying to buy my album. I have an English ID but am operating in Switzerland in the German part. When I go to buy book the instructions are in French and price in  CHF. Can anyone let me know if I can change the language to English and order in £

    I am trying to buy my album. I have an English ID but am operating in Switzerland in the German part. When I go to buy book the instructions are in French and price in  CHF. Can anyone let me know if I can change the language to English and order in £ and use english Id from switzerland.
    All other systems set to English and i tunes

    see instructions here - since they are in Frencha and german I have no idea if they will solve your ptoblem
    LN

  • Can anyone let me the step by step procedure for FI-SL

    Hi,
    Can anyone tell me the procedure for extraction FI-sl.
    thanxs
    hari

    Hi Hari,
    Generate Extract Structure for FI-SL Tables (Transaction BW01)
    1. Use F4 help to choose the required totals table.
    2. Flag whether you want extract structures to be generated for totals records and/or line items.
    3. Choose Execute.
    4. Result: You have generated the extract structure(s).
    The extract structures contain the name of the totals table:
    ¡ Totals record extract structure: T in the totals table is replaced by B
    ¡ Line item extract structure: T in the totals table is replaced by W
    Table group GLFUNC:
    § Totals table: GLFUNCT
    § Totals table extract structure; GLFUNCB
    § Line item extract structure: GLFUNCW
    Assign DataSource to a Ledger (Transaction BW03)
    1. After starting the transaction, you see a list of all selectable ledgers for which you can generate or maintain DataSources for totals records and/or line items.
    If a required ledger does not appear, you might not have generated an extract structure for the corresponding table. In this case, execute transaction BW01.
    The list contains the following information (columns from left to right)
    · Ledger
    · Description of the ledger
    · Table (totals table corresponding to the ledger)
    · Totals record DataSource
    · Delta-compatibility of the totals record DataSource (from Release 4.70)
    · Status of the totals record DataSource
    · Line item DataSource
    · Status of the line item DataSource
    The status display in the column to the right of the field shows the current status of each DataSource.
    2. Choose a DataSource by placing the cursor in the corresponding row for the ledger and column for the totals records or line items and carrying out a double-click.
    Depending on your choice, the system now displays either the Totals record DataSource or Assign Line Item DataSource dialog box.
    3. Enter the corresponding data.
    When you create a new DataSource, the system proposes a name according to the following naming convention:
    ¡ Total record DataSources: 3FI_SL_xx_TT
    ¡ Line item DataSources: 3FI_SL_xx_SI (“xx“ stands for the ledger in question)
    You can change the proposed name (though the 3 at the beginning cannot be changed). However, you are strongly advised to retain the naming convention from the proposal.
    For the totals record DataSource, the option Activate Delta Updating is only displayed from Release SAP R/3 470. Delta updating is mandatory for line item DataSources. To display these, the flag Activate Delta Updating has to be activated in the dialog box.
    4. Choose Continue.
    The DataSource: Edit Customer Version screen appears. Here, you can exclude individual fields in the ledger from selection or transfer to the BW.
    5. Configure the DataSource and save your settings.
    6. Result: You have generated and can now use a DataSource for data extraction for your FI-SL ledger.
    . for furthur information go thru this..
    http://help.sap.com/saphelp_nw04s/helpdata/en/f3/3a69377f2b8032e10000009b38f8cf/frameset.htm
    Thanks
    @jay

  • Can anyone let me know how to integrate crystal reports with bi 7?

    HI all,
    Can anyone pls let me know the steps involved in integrating crystal reports with bi 7?
    thanks
    Pooja

    1.install BO client tools
    2. install crystal reports
    3.install sap integration kit
    once you install in above sequence you will be able to pull data from BW system.

  • Can anyone let me know differences.

    Can anyone kindly let me know the differences of free characterstics, default values.
    whether free characterstics is used for drill-down as after executing the query or what.

    Hi,
    Free Characteristic:
    Those characteristics that are transferred to the free characteristics area are called Free Chars. They are not displayed in the initial view of the results when you execute the query in the BEx Analyzer or on the Web. You can then integrate these characteristics into the results through navigation steps
    Default Values:
    Default Values is all about filtering. By selecting default values, you can create a query that is based on extensive data, but for which only a specific part of the data is displayed when the query is executed; this data that is displayed is the data in which you are most interested. You can then change the filter and analyze the remaining data as well. For example, all the customers in a query are to be analyzed, but in the initial state of the query, you only want to see specific customers.
    The difference between Filters values and Default values is that Default values are reusable whereas filters are not.
    Whatever we have selected in the free characterist area will be available for us in the Default values.
    Hope this helps.
    Regards,
    Priya

  • Can anyone explain me step by step procedure for creating badi?

    hi all,,
    Can anyone explain me about badi with step by step procedure with an example like trsn code mm01, xd01 etc.
    And what is the significance of badi?
    regs
    hari

    Hi
    Business Add-Ins
    Business Add-Ins are a new SAP enhancement technique based on ABAP Objects. They can be inserted into the SAP System to accommodate user requirements too specific to be included in the standard delivery. Since specific industries often require special functions, SAP allows you to predefine these points in your software.
    As with customer exits (SMOD/CMOD [Page 40]), two different views are available:
    • In the definition view, an application programmer predefines exit points in a source that allow specific industry sectors, partners, and customers to attach additional software to standard SAP source code without having to modify the original object.
    • In the implementation view, the users of Business Add-Ins can customize the logic they need or use a standard logic if one is available.
    In contrast to customer exits, Business Add-Ins no longer assume a two-system infrastructure (SAP and customers), but instead allow for multiple levels of software development (by SAP, partners, and customers, and as country versions, industry solutions, and the like). Definitions and implementations of Business Add-Ins can be created at each level within such a system infrastructure.
    SAP guarantees the upward compatibility of all Business Add-In interfaces. Release upgrades do not affect enhancement calls from within the standard software nor do they affect the validity of call interfaces. You do not have to register Business Add-Ins in SSCR.
    The Business Add-In enhancement technique differentiates between enhancements that can only be implemented once and enhancements that can be used actively by any number of customers at the same time.
    In addition, Business Add-Ins can be defined according to filter values. This allows you to control add-in implementation and make it dependent on specific criteria (on a specific Country value, for example). All ABAP sources, screens, GUIs, and table interfaces created using this enhancement technique are defined in a manner that allows customers to include their own enhancements in the standard.
    A single Business Add-In contains all of the interfaces necessary to implement a specific task. In Release 4.6A, program and menu enhancements can be made with Business Add-Ins. The actual program code is enhanced using ABAP Objects. In order to better understand the programming techniques behind the Business Add-In enhancement concept, SAP recommends reading the section on ABAP Objects
    DEFINING THE BADI
    1) execute Tcode SE18.
    2) Specify a definition Name : ZBADI_SPFLI
    3) Press create
    4) Choose the attribute tab. Specify short desc for badi.. and specify the type :
    multiple use.
    5) Choose the interface tab
    6) Specify interface name: ZIF_EX_BADI_SPFLI and save.
    7) Dbl clk on interface name to start class builder . specify a method name (name,
    level, desc).
    Method level desc
    Linese;ection instance methos some desc
    8) place the cursor on the method name desc its parameters to define the interface.
    Parameter type refe field desc
    I_carrid import spfli-carrid some
    I_connid import spefi-connid some
    9) save , check and activate…adapter class proposed by system is
    ZCL_IM_IM_LINESEL is genereated.
    IMPLEMENTATION OF BADI DEFINITION
    1) EXECUTE tcode se18.choose menuitem create from the implementation menubar.
    2) Specify aname for implementation ZIM_LINESEL
    3) Specify short desc.
    4) Choose interface tab. System proposes a name fo the implementation class.
    ZCL_IM_IMLINESEL which is already generarted.
    5) Specify short desc for method
    6) Dbl clk on method to insert code..(check the code in “AAA”).
    7) Save , check and activate the code.
    Some useful URL
    http://www.esnips.com/doc/e06e4171-29df-462f-b857-54fac19a9d8e/ppt-on-badis.ppt
    http://www.esnips.com/doc/10016c34-55a7-4b13-8f5f-bf720422d265/BADIs.pdf
    http://www.esnips.com/doc/43a58f51-5d92-4213-913a-de05e9faac0d/Business-Addin.doc
    http://www.esnips.com/doc/1e10392e-64d8-4181-b2a5-5f04d8f87839/badi.doc
    www.sapgenie.com/publications/saptips/022006%20-%20Zaidi%20BADI.pdf
    http://www.sapdevelopment.co.uk/enhance/enhance_badi.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/04/f3683c05ea4464e10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/e6/d54d3c596f0b26e10000000a11402f/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/c2/eab541c5b63031e10000000a155106/frameset.htm
    Now write a sample program to use this badi method..
    Look for “BBB” sample program.
    “AAA”
    data : wa_flights type sflight,
    it_flights type table of sflight.
    format color col_heading.
    write:/ 'Flight info of:', i_carrid, i_connid.
    format color col_normal.
    select * from sflight
    into corresponding fields of table it_flights
    where carrid = i_carrid
    and connid = i_connid.
    loop at it_flights into wa_flights.
    write:/ wa_flights-fldate,
    wa_flights-planetype,
    wa_flights-price currency wa_flights-currency,
    wa_flights-seatsmax,
    wa_flights-seatsocc.
    endloop.
    “BBB”
    *& Report ZBADI_TEST *
    REPORT ZBADI_TEST .
    tables: spfli.
    data: wa_spfli type spfli,
    it_spfli type table of spfli with key carrid connid.
    *Initialise the object of the interface.
    data: exit_ref type ref to ZCL_IM_IM_LINESEL,
    exit_ref1 type ref to ZIF_EX_BADISPFLI1.
    selection-screen begin of block b1.
    select-options: s_carr for spfli-carrid.
    selection-screen end of block b1.
    start-of-selection.
    select * from spfli into corresponding fields of table it_spfli
    where carrid in s_carr.
    end-of-selection.
    loop at it_spfli into wa_spfli.
    write:/ wa_spfli-carrid,
    wa_spfli-connid,
    wa_spfli-cityfrom,
    wa_spfli-deptime,
    wa_spfli-arrtime.
    hide: wa_spfli-carrid, wa_spfli-connid.
    endloop.
    at line-selection.
    check not wa_spfli-carrid is initial.
    create object exit_ref.
    exit_ref1 = exit_ref.
    call method exit_ref1->lineselection
    EXPORTING
    i_carrid = wa_spfli-carrid
    i_connid = wa_spfli-connid.
    clear wa_spfli.
    u can find BADI's in different ways...
    1>First go to any transaction->iN THE menu bar SYSTEM->STATUS->Get the program name ->double click->u will go to the program attached to the tcode.Now search term will be CALL CL_EXITHANDLER.Now u will get list of BADI'S available..
    2>Goto SE24->Give class name as CL_EXITHANDLER->Display->double click on get_instance mathod->Now u will go inside the method->Now put break point on the cl_exithandler.Now go to any transaction code and pass dat..U will see that it will be stopped on the break point which u set on the cl_exithandler...In the exit name u can find list of badi's attached to the tcode..
    There are multiple ways of searching for BADI.
    • Finding BADI Using CL_EXITHANDLER=>GET_INSTANCE
    • Finding BADI Using SQL Trace (TCODE-ST05).
    • Finding BADI Using Repository Information System (TCODE- SE84).
    1. Go to the Transaction, for which we want to find the BADI, take the example of Transaction VD02. Click on System->Status. Double click on the program name. Once inside the program search for ‘CL_EXITHANDLER=>GET_INSTANCE’.
    Make sure the radio button “In main program” is checked. A list of all the programs with call to the BADI’s will be listed.
    The export parameter ‘EXIT_NAME’ for the method GET_INSTANCE of class CL_EXITHANDLER will have the user exit assigned to it. The changing parameter ‘INSTANCE’ will have the interface assigned to it. Double click on the method to enter the source code.Definition of Instance would give you the Interface name.
    2. Start transaction ST05 (Performance Analysis).
    Set flag field "Buffer trace"
    Remark: We need to trace also the buffer calls, because BADI database tables are buffered. (Especially view V_EXT_IMP and V_EXT_ACT)
    Push the button "Activate Trace". Start transaction VA02 in a new GUI session. Go back to the Performance trace session.
    Push the button "Deactivate Trace".
    Push the button "Display Trace".
    The popup screen "Set Restrictions for Displaying Trace" appears.
    Now, filter the trace on Objects:
    • V_EXT_IMP
    • V_EXT_ACT
    Push button "Multiple selections" button behind field Objects
    Fill: V_EXT_IMP and V_EXT_ACT
    All the interface class names of view V_EXT_IMP start with IF_EX_. This is the standard SAP prefix for BADI class interfaces. The BADI name is after the IF_EX_.
    So the BADI name of IF_EX_CUSTOMER_ADD_DATA is CUSTOMER_ADD_DATA
    3. Go to “Maintain Transaction” (TCODE- SE93).
    Enter the Transaction VD02 for which you want to find BADI.
    Click on the Display push buttons.
    Get the Package Name. (Package VS in this case)
    Go to TCode: SE84->Enhancements->Business Add-inns->Definition
    Enter the Package Name and Execute.
    Here you get a list of all the Enhancement BADI’s for the given package MB.
    The simplese way for finding BADI is
    1. chooes Tcode Program & package for that Tcode.
    2. Go to Tcode se18
    3. Press F4
    4. search by package or by program.
    http://help.sap.com/saphelp_nw04/helpdata/en/eb/3e7cf7940e11d295df0000e82de14a/frameset.htm
    and
    http://help.sap.com/saphelp_nw04/helpdata/en/eb/3e7cf7940e11d295df0000e82de14a/frameset.htm
    Badihttp://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://esnips.com/doc/e06e4171-29df-462f-b857-54fac19a9d8e/ppt-on-badis.ppt
    http://esnips.com/doc/43a58f51-5d92-4213-913a-de05e9faac0d/Business-Addin.doc
    http://esnips.com/doc/10016c34-55a7-4b13-8f5f-bf720422d265/BADIs.pdf
    http://esnips.com/doc/1e10392e-64d8-4181-b2a5-5f04d8f87839/badi.doc
    http://esnips.com/doc/365d4c4d-9fcb-4189-85fd-866b7bf25257/customer-exits--badi.zip
    http://esnips.com/doc/3b7bbc09-c095-45a0-9e89-91f2f86ee8e9/BADI-Introduction.ppt
    http://help.sap.com//saphelp_470/helpdata/EN/eb/3e7cee940e11d295df0000e82de14a/frameset.htm
    sample code for Purchase requisition
    BAdI Name: ZPUR_RFQ (Implementation name) Purchase Requisitions
    Definition Name: ME_REQ_POSTED
    Interface Name : IF_EX_ME_REQ_POSTED
    Implementing Class: ZCL_IM_PUR_REQ
    Method :            POSTED
    METHOD if_ex_me_req_posted~posted .
      DATA : v_mtart TYPE mtart.
      DATA l_s_eban TYPE ueban.
      LOOP AT im_eban INTO l_s_eban.
        IF l_s_eban-estkz NE 'B'.
          CLEAR v_mtart.
          SELECT SINGLE  mtart INTO v_mtart FROM mara WHERE matnr = l_s_eban-matnr.
          IF v_mtart EQ 'ZERS' OR v_mtart EQ 'FHMI' OR v_mtart EQ 'UNBW'.
            MESSAGE e000(zm_msg) WITH 'You are not allowed' 'to create PR for stock items'.
          ENDIF.
        ENDIF.
        IF  l_s_eban-knttp NE 'F' OR l_s_eban-pstyp NE '9'.
          IF l_s_eban-knttp NE 'A'.
            IF ( l_s_eban-pstyp NE '9' AND l_s_eban-pstyp NE 'D' )  AND l_s_eban-matnr EQ
    space.
              MESSAGE e000(zm_msg) WITH 'You cannot create' 'a PR without material number'.
            ENDIF.
          ENDIF.
        ENDIF.
      ENDLOOP.
    ENDMETHOD.
    <b>Reward points for useful Answers</b>
    Regards
    Anji

  • Can anyone let me know how does the system calculate forecast strategy?

    Hi all,
    I am new in Demand planning,,  I can see a couple of Forecast strategy used in  the production. I would like to know how does the system does the calculation for the forecasting strategies like
    36     Median method
    13     Moving average
    94     Linear regression
    etc.
    Can anyone pls guide me how does the system do the calculation and how to validate those calculations!!
    Thanks
    Pooja

    Hi Pooja,
    The below link will contain the detailed list of all forecast strategies alongwith how
    it will be calculated alongwith the formulas
    http://help.sap.com/saphelp_scm70/helpdata/EN/ac/216b6e337b11d398290000e8a49608/frameset.htm
    Please confirm whether this helps you to resolve your query
    Regards
    R. Senthil Mareeswaran.

Maybe you are looking for

  • Can't scroll or right-click in Mavericks

    I can't scroll or right-click in Mavericks at all with my Magic Mouse. It didn't happen immediately, rather a couple of days after upgrading. I can't use Photoshop due to these problems, and have to use the arrow keys to navigate other programs. Have

  • Using variables in Topology

    Hi All, In ODI do we use variables in topology as well? If so , 1) for which scenarios we use it 2) how we can implement that? Please explain with examples. Thanks, Pankaj Kabdal

  • AIR-LAP1252AG Line protocol Error

    What are the reason for my Access Point to display interface up and line protocol down? I have tried to shut and unshut the interface and it still remain the same? AP# sh ip int br Interface IP-Address OK? Method Status Protocol BVI1 xx.xx.xx.xx YES

  • Possible to change from CS3 Windows to Mac?

    I bought an imac recently, it has CS3 Master collection pre-installed (updatable and working as it should), it's just that it's the windows version and I'm running it through Parallels 3. Would it be possible that Adobe would allow me to change the v

  • Passing arrays from matlab to vi-controls by activex

    Dear specialists, I am trying to set an array of doubles that is defined as a control in my VI by using: invoke(VIhandle, 'SetControlValue', mlarray) where mlarray is defined in Matlab as an 1xn array of doubles. error: ??? Dispatch : Exception occur