How to find active implementation of badi/

I have made badi which have two implementation when i access badi , how do i know that which badi implementation will get called....?
how to find that ,plz let me know..
Saurin Shah

Hi,
    Just keep break-point in both of the implementations.
i.e go to interface and in the method write break-point.
then when you execute something then the process will first stop at one of the implementation.
Like that you can find out.
Reward if helpful.
Regards,
Syed

Similar Messages

  • Check active implementation in badi

    Hi Expert,
    Pl's let me know how to I check active implementation in badi in ECC6.0.
    I have tried to find the solution by using  call function 'SXC_EXIT_CHECK_ACTIVE' , as used in previous version of the server.
    But this is not helping me out.
    Kindly let me know if there exists a way to check the active implementations in badi.
    Tx
    Kshitija

    Can you not do this from SE19?  If you know the BADI definition name just do an F4 on the implementation, and put in the definition name, and select Active Only option, and you should see the list.
    Albert

  • How to find active sessions count on a server in weblogic server console

    Hi All,
    I would like to know how to find active sessions count on a server in weblogic console. I am using weblogic 11g.
    Regards,
    Sunil.

    On the deployment, monitoring tab, you can select web applications. Here the number of current sessions are listed per web application deployed on the domain.
    The deployment itself (deployments, application, monitoring, sessions) shows a list of sessions and where it is located. Unfortunately, there is no aggregation (but that is something you can so yourself as well).
    When you are using a load balancer in front, the count of sessions on per web application on the domain gives you some clue how many sessions there are present on each server.
    That is to say, when load balancer is using round-robin (and does that correct), you can take the total number of sessions divide it by the number of servers.

  • How to find out the exact BAdI

    hi all,
    can any one tell me how to find out the exact badi for the given transaction

    Hi,
    Execute this report !
    It gives you all the badis and user exits present for that particular transaction !
    REPORT z_user_exits_n_badis.
    TABLES:
    tstc,
    tadir,
    modsapt,
    modact,
    trdir,
    tfdir,
    enlfdir,
    sxs_attrt ,
    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,
    p_pgmna LIKE tstc-pgmna .
    DATA:
    wa_tadir TYPE tadir.
    u2022     START-OF-SELECTION *
    START-OF-SELECTION.
    IF NOT p_tcode IS INITIAL.
    SELECT SINGLE * FROM tstc WHERE tcode EQ p_tcode.
    ELSEIF NOT p_pgmna IS INITIAL.
    tstc-pgmna = p_pgmna.
    ENDIF.
    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 IN ('SMOD', 'SXSD')
    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:/(105) sy-uline.
    FORMAT COLOR COL_HEADING INTENSIFIED ON.
    u2022     Sorting the internal Table
    SORT jtab BY object.
    DATA : wf_txt(60) TYPE c,
    wf_smod TYPE i ,
    wf_badi TYPE i ,
    wf_object2(30) TYPE c.
    CLEAR : wf_smod, wf_badi , wf_object2.
    u2022     Get the total SMOD.
    LOOP AT jtab INTO wa_tadir.
    AT FIRST.
    FORMAT COLOR COL_HEADING INTENSIFIED ON.
    WRITE:/1 sy-vline,
    2 'Enhancement/ Business Add-in',
    41 sy-vline ,
    42 'Description',
    105 sy-vline.
    WRITE:/(105) sy-uline.
    ENDAT.
    CLEAR wf_txt.
    AT NEW object.
    IF wa_tadir-object = 'SMOD'.
    wf_object2 = 'Enhancement' .
    ELSEIF wa_tadir-object = 'SXSD'.
    wf_object2 = ' Business Add-in'.
    ENDIF.
    FORMAT COLOR COL_GROUP INTENSIFIED ON.
    WRITE:/1 sy-vline,
    2 wf_object2,
    105 sy-vline.
    ENDAT.
    CASE wa_tadir-object.
    WHEN 'SMOD'.
    wf_smod = wf_smod + 1.
    SELECT SINGLE modtext INTO wf_txt
    FROM modsapt
    WHERE sprsl = sy-langu
    AND name = wa_tadir-obj_name.
    FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
    WHEN 'SXSD'.
    u2022     For BADis
    wf_badi = wf_badi + 1 .
    SELECT SINGLE text INTO wf_txt
    FROM sxs_attrt
    WHERE sprsl = sy-langu
    AND exit_name = wa_tadir-obj_name.
    FORMAT COLOR COL_NORMAL INTENSIFIED ON.
    ENDCASE.
    WRITE:/1 sy-vline,
    2 wa_tadir-obj_name HOTSPOT ON,
    41 sy-vline ,
    42 wf_txt,
    105 sy-vline.
    AT END OF object.
    WRITE : /(105) sy-uline.
    ENDAT.
    ENDLOOP.
    WRITE:/(105) sy-uline.
    SKIP.
    FORMAT COLOR COL_TOTAL INTENSIFIED ON.
    WRITE:/ 'No.of Exits:' , wf_smod.
    WRITE:/ 'No.of BADis:' , wf_badi.
    ELSE.
    FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
    WRITE:/(105) 'No userexits or BADis exist'.
    ENDIF.
    ELSE.
    FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
    WRITE:/(105) 'Transaction does not exist'.
    ENDIF.
    AT LINE-SELECTION.
    DATA : wf_object TYPE tadir-object.
    CLEAR wf_object.
    GET CURSOR FIELD field1.
    CHECK field1(8) EQ 'WA_TADIR'.
    READ TABLE jtab WITH KEY obj_name = sy-lisel+1(20).
    MOVE jtab-object TO wf_object.
    CASE wf_object.
    WHEN 'SMOD'.
    SET PARAMETER ID 'MON' FIELD sy-lisel+1(10).
    CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
    WHEN 'SXSD'.
    SET PARAMETER ID 'EXN' FIELD sy-lisel+1(20).
    CALL TRANSACTION 'SE18' AND SKIP FIRST SCREEN.
    ENDCASE.
    Thanks
    Sarada

  • How to find User Exits/ Enhancments/ BADI's for T-code CJ20N

    Hi All,
        In T-code CJ20N, assume there are two fields A & B. User will input value in A, based on A value I need to fill B field. So I need to find first suitable User Exit/ Enhancment/ BADI.
    Kindly help me in this regard. Pls tell me how to find User Exit/ Enhancment/ BADI for a given t-code.
    Regards
    Jaker.

    Hi,
    Check the following , this might help,
    1. CNEX0037
    2.CNEX0038
    3.CNEX0039
    Regards
    Kiran Sure

  • How to find and implement badi's

    hello can any one tell me how to find badi's for a transaction and implement them if any one can show with example will be helpful if any of standard transaction for sd ,
    regards
    afzal

    Hi,
    Just copy and paste this code in editor and execute it.
    Then give your Transaction coe it will displays all user exits Regrading your T.Code.
    *&  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.
    Thanks,
    Reward If Helpful.

  • How to find active master data source in the bw system

    Hi
    Can anyone guide me how to find the active master data source in the bw system

    Hi,
        You can use the table ROOSOURCE. The field ROOSTYPE specifies the type of datasource whether Transaction or attributes or text. You could write an abap program to filter the table and give you only master data datasources.
    Assign points if helpful
    Regards.

  • How to find active object ?

    Hi,
      Can anybody please guide me , how to  find  an active BW objects like Info cube,ODS,info source and info objects?
    Please answer in details.
    Thanks and regards
    DEP

    Hi,
       basically , i am working on BW 7.
       In administrative workbench, if we click on Meta Data
       repository, we will get all the activated objects in
       BW.can anybody please confirm, is this the way to
       search active info objects ? is there another better
       way?
    Regards
    Dep

  • How to find Active Dynamic tab (disclosed) UIComponent?

    Hi all,
    I newbie to Fusion App. extension, preparing a separate application to integrate. My application consist of multiple taskflows and will be opened as seaparate tabs (uses the default UIShell) template. As a part of my application, I may require to do some coding in managed bean to refresh UI components resides inside my page. To make it happen, I need to find the Acitve tab first (i.e. the one that is disclosed).
    Question:
    Does fusion app provides any API or util (say DynamicTabUtil.findComponent(String pComponentId) -- suppose to search component not from view root but the Active tab) to find the current Active dynamic tab component? If so, please let me know the documentation link. If not, is there any way to get this done. (To get this done, I should aware of the standard oracle uses in generating ids for Dynamic tab).
    Thanks in Advance.
    Ragu

    Sorry for the delay in response.
    Jdeveloper version is 11.1.1.6.3, working for Fusion HCM, have to create an extension project to accomodate some additional functionalities.
    Explanation:
    Application is based on UIShell template, can open task-flows under dynamic tabs. Same screen (i.e. same task-flow id) can be opened multiple times since every task flow has its own transaction. As a part of functionality, I require some coding to be done in managed bean to access some UIcomponent and refresh it. Since same screen can be opened under multiple dynamic tabs, I should not start searching the required screen level UIcomponent from root, instead I need to find the Active Dynamic tab component first (i.e. currently disclosed dynamic tab) and then my screen component.
    Scneario:
    Assume Screen A has an SSN input text fidl with id 'ssnFldId'.
    1. User opens Screen A under a dynamic tab (it becomes first tab)
    2. User opens Screen A again under a new dynamic tab (it becomes second tab and Active)
    3. Based on the screen functionality, UIComponent of SSN field belongs to the second tab needs to be accessed. I know I cannot start searching for this component from root but to pick the correct dynamic tab first, followed by this component.
    Question:
    1. Is there any direct API available (say DynamicTabUtil::getActiveTab()) that returns the dynamic tab UIComponent.
    2. If not, how to find it?
    When I was working ADF Application development using Dynamic Tabs, I was able to access the initial version of Dynamic tab source (4 yrs back), customized for our need, worked with that source, hence I knew how the id gets generated for tab, was able to work with that, don't know how it is in Fusin Apps. Your help would be appreciated.
    Thanks in Advance.
    Thanks,
    Ragu

  • How to find my desired CJ_DOCUMENT BADI ? ...

    Hi there, members of SDN Community suggest me to use CJ_DOCUMENT BADI for FBCJ transaction. Mention that we use 4.6c installation.
    But I've got a basic problem - how to find that BADI ...
    1) I'm checking the SE15, I can see there:
    -> tree (R/3 Repository Information Sys.)  -> Envir.  ->Exit techniques  -> Business Ad-ins -> here I'm choosing Definitions
    In the selection screen I'm entering CJ_DOCUMENT into a Definition name field, press enter and got
    No objects correspond to the selection criteria
    2) When I choose SE18, and search for 'CJ*' I can only find the 'CJ_DSAL_FUNC - BADI for DSAL for Including Customer Functions'). I can't ses my desired CJ_DOCUMENT ...
    So where can I find the CJ_DOCUMENT BADI?
    Or maybe we have no CJ_DOCUMENT BADI ? If so is there some possibility to apply CJ_DOCUMENT BADI for our SAP?
    My questions could seem to be trivial but I'm completely new in SAP enhancements. I'll be thankful for tips and suggestions.
    Greetings. P.

    => goto SE80
    => Select Application Hierarchy and press display.
    => go to your relevant application component and thereafter find the best suitable BAdI.
    Regards,
    SG

  • How to find modules implemented and licensed but not used.

    Hi, one of our customer is in such a situation that they have no idea of which are the modules implemented. They have a big list of modules licensed but these are not necessarily be implemented. Is there a query to find out the same or any other option.
    Regards
    Santy

    Hi,
    Hi, one of our customer is in such a situation that they have no idea of which are the modules implemented. They have a big list of modules licensed but these are not necessarily be implemented. Is there a query to find out the same or any other option.Please see (Note: 420648.1 - How to Establish if a Product is Installed in e-Business Suite) and (Note: 443699.1 - How to check if certain Oracle Applications product/module is implemented?).
    Thanks,
    Hussein

  • How to find (SAPLMRMF)TAB_ERRPROT[] in badi

    i need to implement badi MRM_HEADER_CHECK.
    in scn i seen in that badi implementation this type used
    (SAPLMRMF)TAB_ERRPROT[]  for error how we can identify this structure.

    Hi Ganesh,
    (SAPLMRMF)TAB_ERRPROT[] means table TAB_ERRPROT in program SAPLMRMF. It can be found in include LMRMFTOP as Jānis B wrote before.
    To access (SAPLMRMF)TAB_ERRPROT[] you can do the following in your BADI:
    TYPE-POOLS:    mrm.
    DATA:          ls_errprot TYPE mrm_errprot.
    FIELD-SYMBOLS: <ERRPROT>  TYPE TABLE OF mrm_errprot.
    ASSIGN ('(SAPLMRMF)TAB_ERRPROT[]') TO <ERRPROT>.
    You can use ls_errprot for LOOP or INSERT or APPEND.
    Regards,
    Klaus

  • How to find classes implementing a certain interface at runtime

    I am making an Application and I want have a plug-in nature for the different tools I have.
    My App is packaged in a package with subpackages for the individual tools. I want to beable to remove/add subpackages without crashing the app.
    The only way I can see this working is for the App to search its sub packages for a certain interface (eg an 'AddOnTool' interface) and build a set of available AddOnTools.
    I just dont know if this is possible, but pretty sure it must be!....
    Once I have the set of available AddOnTools I also realise that I have to Construct the one chosen, this I see as my other hurdle!
    If I can be helped with these I'll be mighty Happy!

    You can use getClassLoader() in the Class class to get the ClassLoader, then use getPackages() to get an array of all packages available to your class. How to get a list of all classes, however, I can't find in the documentation; perhaps you can do more research.

  • WLST: How to find 'active' messaging bridges using WLST

    I am a beginner in WLST. However has gone through the WLST reference of online and offline commands also have understood the MBean Data model to some extent. I want to get the runtime MBean of a messaging bridge to know its state whether it is active or inactive for weblogic 10.3.3. Please advice with right direction to go ahead on this. Early response would be appreciated.
    Requirement is to view the runtime status of bridges through a script and start/stop as needed.

    This will probably help you a little on the way
    servers = domainRuntimeService.getServerRuntimes();
    if (len(servers) > 0):
      for server in servers:
        jmsRuntime = server.getJMSRuntime();
          connections = jmsRuntime.getConnections();
          for connection in connections:
               print(connection.getHostAddress());
        jmsServers = jmsRuntime.getJMSServers();
        for jmsServer in jmsServers:
          destinations = jmsServer.getDestinations();The runtime mbeans are listed here: http://download.oracle.com/docs/cd/E12839_01/apirefs.1111/e13951/core/index.html
    In particular the MessagingBridgeRuntimeMBean would be of interest to you.

  • How to find query completion time

    How to find active insert query completion time in oracle?

    friend,
    i don't find anything in the query since time_remaing value show zero.
    select TIME_REMAINING,TOTALWORK,START_TIME,SOFAR from v$session_longops where sid=115.
    TIME_REMAINING TOTALWORK START_TIM SOFAR
    0 21456 11-MAY-09 21456
    0 4588 11-MAY-09 4588
    0 6138 11-MAY-09 6138
    could you please guide me how to calcaluate the completion time?

Maybe you are looking for

  • Sharing iphoto 08 with pc

    I have a imac that I back up to an external hard drive. I have a PC on which I've installed Bonjour for Windows to print wirelessly through my Mac. Can I transfer my iphoto library to my PC?

  • Display full address in Safari in iOS 7

    Does anybody know if it's possible to have Safari display the full address in the address bar with iOS 7? I it matters, I'm running iOS 7 on my 3rd gen iPad. I know I can click on the address to have it display the he full oath, but I'd like it to al

  • Which 845G Max-L bios version are you running?

    Before I flash my 845G Max-L bios from v1.1 to v1.4, I thought I'd post a message asking what bios version are the owners of the 845G Max-L board are currently running. I noticed that v1.4 fixes 'CPU microcode', but I don't believe that Intel would l

  • Colour and transparent boolean

    Hello everyone,  I want to set the boolean indicator to colour and transparant. This mean when error occurs, boolean indicator will be changed to red and transparent, so this boolean will not cover the below floor map. I set all boolean onto the actu

  • Syncing BSO and ASO when there are extra members in ASO

    Hi All, I have a BSO cube for planning application and an ASO cube which is used for reporting purposes. Now the problem is heavy changes were made in planning like deleting members, moving members to a different parent etc and the ASO cube was not u