BADI in BW Report

Hello Experts,
I need some advice from an expert or anyone with BADI experience. 
I have to run a report that calculates an accrual value based on a future date. This requires me to use a virtual key figure and calculate it dynamically when the query is executed. The query needs to pull information from an InfoCube and DSO based on a specific Input value.
The virtual key figure lies in the DSO but relies on information queried from the infocube for the calculation below:
Given a calendar date, the program would query DSO and pull accrual information. Then, the program needs to take the date and query the Infocube (Headcount/actions) and pull all actions within the calendar year and their respective dates.
Do I need to create a FM that queries both the Infocube and DSO or could I do this in the Compute Method itself?
The part of the code I'm confused about is bringing in the Variable Input Parameters and utilizing this as a filter criteria when retrieving data from the infocube, then storing this information to be used in the KF calculation.
Does anyone have BADI code that is similar they could provide? Or provide some insight on how to implement the above criteria?
Points will be awarded for any relevant responses.  Thanks in Advance!
-DC

Hi,
  Refer
https://forums.sdn.sap.com/click.jspa?searchID=12294601&messageID=3896250
https://forums.sdn.sap.com/click.jspa?searchID=12294601&messageID=4477494
Regards
Kiran Sure

Similar Messages

  • How to call a badi implementaion from report program

    Hi ABAP Guru,
    I have ZBADI_FALLBACK_DEF new badi created by me and there two implementation ZBADI_FALLBACK_IMP and ZBADI_FALLBACK_IMP1
    Now I am calling this badi from report program
    DATA:
       W_HANDLE TYPE REF TO ZBADI_FALLBACK_DEF.
    * GET BADI - for getting objects..................
    GET BADI W_HANDLE.
    * CALL BADI - for calling interface methods.
    CALL BADI W_HANDLE->ADD.
    This is fine,,,
    But I want to call only one implementaion ZBADI_FALLBACK_IMP.But here two implementaion is called.Please help....

    Hi Palash,
    Then you create filter BADI  and  use filter in implementation.
    While getting BADI reference use filter
    GET BADI W_HANDLE FILTERS
    Thanks & Regards,
    Arun

  • BADI for payroll report

    Hi,
      I found a BADI(pben_pay0008) for payroll driver(rpcalcu0) and implemented it from se19. It was asking me to enter the filter before i save it. So i gave molga as 10. Then I added a break-point statement in the method. Activated it by clicking a button at top as we do for our reports.
    But when I run the payrolldriver it does not stop at break-point.
    Is there any other place where I have to activate. Or is this some thing to do with filter. Package I gave the same as i use for reports.
    Your help will be highly appreciated.
    Thanks.

    If any one can please look into this..

  • BADI 014 in report RFUMSV00

    Hello I have to add new fields in report RFUMSV00. As you know the selection screen shows a section where you can customise the layout of many section. I have to add one field in totals section.
    Now I found a BADI (FI_TAX_BADI_014) that should be used to add field catalog for ALV. But I don't know how to use it. The BADI instance is not implemented.
    Is there someone who had experience on it?
    Thanks
    F.

    Hi Eduardo,
    thanks for your quick reply.
    Do you know the possible solution for my question? The picture shows the peculiarity of the vat code.
    When I run the report RFUMSV00, I don't see in the "Input tax: Line items" the information related to ESA transaction. I can see only the transaction ESE. My client would like to see also the ESE information in the "Input tax: line items.
    Below is shown the AS IS:
    Do you have any suggestion?
    Thanks a lot for your support
    Regards
    Giampaolo

  • Call BADI form BW report

    Hi Experts,
    i want  to implementing some programming logic in the report.i have checked badi and founs it useful but i didn't get the the way
    as how to invoke the badi interface or function in the report.
    Points will be given to ear;y answer.
    ThANKS.
    HR

    Since you're on the web, I'm assuming your requirement is to call or initiate Oracle Forms from within the output from Oracle Reports.
    The problem then is how to call Oracle Forms from a PDF or HTML document. This you can do by inserting a hyperlink against a layout object in the output. This hyperlink can then call an HTML page containing an <APPLET> tag which describes the Forms Java client to the Browser with appropriate parameters.
    There are hyperlink properties that can be set against any layout object in Reports. To pass parameters in these properties use "&<columnName>" when creating the URL.

  • Any available BADI for Delta Report correction in SAP APO?

    Dear Experts,
    I hope you can help us on this topics:
    we implemented successufully ZXCIFUSERU09 in SAP APO in order to change the location of certain PO we are transferring from R3 to APO. This is mainly needed to avoid to create in APO all the plants we are using in R3 for performance/sizing reason.
    Now we are trying to apply the same logic in delta report too in order to be sure delta report will give us only the real exception and not the list of orders where via exit ZXCIFUSERU09  we changed the location.
    This is to avoid delta report is showing inconsistency that are not
    true .
    Dop you have any idea wich is the correct exit in APO we can use to do that? we tried with method RELEVANT_FOR_COMPARE_R3_PO but this called after the comparison with R3 data have been already done and so it cannot help us.
    Thank you in advance for your feedback,
    Barbara

    Hello DB49,
    thank you for your answer we have further investigated and we think the issue is in method
    RELEVANT_FOR_COMPARE_R3_PO
    where structure CT_APO_ORDER is empty . Do we need to add the data in this table as per your experience with other similar methods ro not?
    We tried to add the data and result is that the comparison is done between the 2 structures:
    CT_APO_ORDER  and CT_R3_ORDER but for the first schedule line only! it seems a bug as the report is comparing both the lines in CT_APO_ORDER with the same schedule line in CT_R3_ORDER...
    Do you think we need to add the data in CT_APO_ORDER or the data sould be already there and we only need to manipulate them?
    Based on your reply and our test that I would like to ask SAP to correct the method as it seems a bug.
    I also found Note 1363487 - BADI /SAPAPO/CIF_DELTA3 - add parameter CT_APO_ORDER that is confirm the structure CT_APO_ORDER should contain APO po data,....
    Thank you very much for your feedback!
    regards,
    Barbara

  • How to link a custom BADI with standard report.

    Hi All,
    I have a requirement to create a Custom BADI and to link it through the Standard Program. How to do this. As i cannot modify Standard Program.
    I have put some checks in custom BADI, which i want to be done before anyone runs standard program. I have a doubt of how to do this in between (before executing Standard Program) as i cannot use my Custom BADI in Standard Program. Then how to trigger the BADI and where. Is there any way to accomplish the same ?
    Thanks in advance.
    Regards,
    Neha

    Hi Neha,
    I am stuck to the same problem. if you have got the answer please share it.
    Nilesh

  • Popup List works bad in multirecord report

    This is an strage behaviour:
    If I use a popuplist in a report that can be modified, it shows correctly the Description I want to show, but when I select one choice, it returns Code instead of Description into the text box.
    My query is very simple:
    select dsmuni , idmuni
    from int_localidad
    order by 1
    Please, any ideas?
    Thanks in advance.
    David.

    Hi David,
    Ok, now I know what you mean... unfortunately that is the way it works! As you said, kind of useless really. What is the point of displaying the key value which usually is meaningless for the user when what you need to display is the description associated with that key value?
    That is why I rarely use tabular forms, and when I have to, I never use pop up LOVs with them. I try to use select lists instead (if possible) or simply add an "Edit" icon and use a normal form (in the same page or in a separate page) to edit the record.
    There are workarounds though, I don't remember any from the top of my head but you can search the forum for them...
    Good luck!
    Luis

  • WinXP Ok vs Win2000 Bad character mode report

    Hello,
    We have a character mode report designed and running in a Windows XP machine.
    To make it work was necessary to create a custom PRT file that contains the condensed and non condensed codes used by the report.
    After some tries it is running ok.
    But it will be used in a Windows 2000 Server machine. After installing reports and patches we made a copy of the custom prt file file used in the XP installation and tested.
    Unfortunately it doesn't work and the printed page is totally misformated. It seems that the control characters doesn't work...
    Trying to understand wy, we use the "print to file" option in xp machine. The control characters are generated ok: "".
    Doing the same thing when running in a Win2000 machine it generates wrong control characters.
    In addition, if we open the file generate by the Win2000 machine in the WinXP machine, the control characters seems to be ok.
    Does anyone know why does it occur and/or how to fix that?
    Thanks,
    Vinicius Pacheco

    OK people, the problem is solved!
    The problem was the Epson Dfx5000 printer driver! WinXp and Win2K drivers have a thing in the property page called Advanced Features which has to do with the way the data is spooled to the printer. If you turn it on (default), you get bitmap reports all the time, otherwise you get what you want correctly. This was found by my Supervisor.
    i hope this is useful.
    Thanks and regards to for all

  • Crystal Reports performance is too slow

    Dear SDNers,
    I have designed a crystal report which is fetching data from a Z developed function module. From crystal report side, used filters.But while executing report, it is calling the function module multiple times.
    due to this performance is very bad. Why report is calling mutiple times of the function module. Do need to modify from crystal report side or from function module side. Please clarify.
    Regards,
    Venkat

    A similar issue was seen a year ago It was regarding a function module call being executed multiple times from  CR4Ent tool. It involved the usage of sub reports inside that report and the issue was generic for any function module used for testing.
    At that time, the issue was resolved by upgrading to the latest available patch of CR4Ent and also by applying the latest patch at SAP R3 end.
    If you are able to post the exact support package and patch level of CR4Ent and also for the SAP R3 system, then someone can tell whether its the latest or not.
    -Prathamesh

  • Runtime error "DATA_INCONS_IN_EXIT_MANAGEM" while executing a BADI

    Hi Experts,
    I am trying to use a BADI in my report Program.
    But it is throwing a runtime error "DATA_INCONS_IN_EXIT_MANAGEM".
    I debugged the program and found that the call to the GET_INSTANCE method of Class CL_EXITHANDLER is raising this error.
    It is because the instance parameter is Initial.
    Can you please let me know, what is the mistake i am doing.
    My report code is as follows:
    *& Report  Z_GKR_BADI_01
    REPORT  z_gkr_badi_01.
    CLASS cl_exithandler DEFINITION LOAD.
    DATA: l_badi_instance TYPE REF TO zif_ex_gkr_matnrdata,                 "BADI Interface
          mara LIKE mara.
    PARAMETERS: p_matnr LIKE mara-matnr OBLIGATORY.
    START-OF-SELECTION.
      CALL METHOD cl_exithandler=>get_instance
        EXPORTING
          exit_name              = 'ZGKR_MATNRDATA'                                                                   "BADI Definition Name
          null_instance_accepted = 'X'
        CHANGING
          instance               = l_badi_instance.
      CALL METHOD l_badi_instance->get_materials
        EXPORTING
          matnr = p_matnr
        IMPORTING
          mara  = mara.
      WRITE: /5 mara-matnr,
                mara-matkl,
                mara-meins.
    Cheers
    Gaurav Raghav

    Hi lakshmi,
    I am new to BADI and i am doing a tutorial.
    The Complete Code is given with at the thread starting.
    In the Interface method i am retreiving Material details from the table MARA based on MATNR.
    The code is as follows:
    *& Report  Z_GKR_BADI_01
    REPORT  z_gkr_badi_01.
    CLASS cl_exithandler DEFINITION LOAD.
    DATA: l_badi_instance TYPE REF TO zif_ex_gkr_matnrdata,
          mara LIKE mara.
    PARAMETERS: p_matnr LIKE mara-matnr OBLIGATORY.
    START-OF-SELECTION.
      CALL METHOD cl_exithandler=>get_instance
        EXPORTING
          exit_name              = 'ZGKR_MATNRDATA'
          null_instance_accepted = 'X'
        CHANGING
          instance               = l_badi_instance.
      CALL METHOD l_badi_instance->get_materials
        EXPORTING
          matnr = p_matnr
        IMPORTING
          mara  = mara.
      WRITE: /5 mara-matnr,
                mara-matkl,
                mara-meins.
    Interface Method Implementaion in BADI
    METHOD zif_ex_gkr_matnrdata~get_materials.
      IF NOT matnr IS INITIAL.
        SELECT SINGLE *
          FROM mara
          INTO mara
          WHERE matnr = matnr.
      ENDIF.
    ENDMETHOD.
    I checked and i didn't find the entry in the table mentioned by you.
    But isnt the entry supposed to come automatically once i define the BADI.
    The BADI Definition name is ZGKR_MATNRDATA.
    Please help me regarding the same.

  • Statspack Report.

    OS - win2003 server
    DB - 9.2.0.5.0
    Can you have a look on Statspack Report and offer your valuable suggestions?
    Current Instance
    ~~~~~~~~~~~~~~~~
       DB Id    DB Name      Inst Num Instance                                                                                                                                                             
      340547761 CHRYSLER            1 chrysler                                                                                                                                                             
    Instances in this Statspack schema
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       DB Id    Inst Num DB Name      Instance     Host
      340547761        1 CHRYSLER     chrysler     NOID2K36BGTP
                                                   B1
    Using  340547761 for database Id
    Using          1 for instance number
    Completed Snapshots
                               Snap                    Snap
    Instance     DB Name         Id   Snap Started    Level Comment
    chrysler     CHRYSLER         1 17 Jan 2008 10:05     5
                                  2 17 Jan 2008 10:09     5
                                  3 17 Jan 2008 10:16     5
                                  4 17 Jan 2008 10:48     5
                                  5 17 Jan 2008 11:02     5
                                  6 17 Jan 2008 11:12     5
    Specify the Begin and End Snapshot Ids
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Enter value for begin_snap: 4
    Begin Snapshot Id specified: 4
    Enter value for end_snap: 6
    End   Snapshot Id specified: 6
    PAR VERSN
    HOST_NAME                                                        DB Name
    Instance     BTIME
    NO  9.2.0.5.0
    NOID2K36BGTPB1                                                   CHRYSLER
    chrysler     20080117 10:48:11
    ETIME
    20080117 11:12:09
    Specify the Report Name
    ~~~~~~~~~~~~~~~~~~~~~~~
    The default report file name is sp_4_6.  To use this name,
    press <return> to continue, otherwise enter an alternative.
    Enter value for report_name: Statspack Report
    Using the report name Statspack Report
    SP2-0333: Illegal spool file name: "Statspack Report" (bad character: ' ')
    STATSPACK report for
    DB Name         DB Id    Instance     Inst Num Release     Cluster Host
    CHRYSLER       340547761 chrysler            1 9.2.0.5.0   NO      NOID2K36BGTP
                                                                       B1
                Snap Id     Snap Time      Sessions Curs/Sess Comment
    Begin Snap:       4 17-Jan-08 10:48:11       22       6.5
      End Snap:       6 17-Jan-08 11:12:09       27       7.4
       Elapsed:               23.97 (mins)
    Cache Sizes (end)
    ~~~~~~~~~~~~~~~~~
                   Buffer Cache:       184M      Std Block Size:         8K
               Shared Pool Size:       904M          Log Buffer:       512K
    Load Profile
    ~~~~~~~~~~~~                            Per Second       Per Transaction
                      Redo size:             10,225.13          4,901,244.00
                  Logical reads:                700.13            335,593.67
                  Block changes:                 68.68             32,918.67
                 Physical reads:                 15.03              7,206.67
                Physical writes:                 14.41              6,906.00
                     User calls:                  1.22                584.00
                         Parses:                  0.73                349.33
                    Hard parses:                  0.03                 13.67
                          Sorts:                  0.40                193.00
                         Logons:                  0.01                  4.67
                       Executes:                  1.46                701.67
                   Transactions:                  0.00
      % Blocks changed per Read:    9.81    Recursive Call %:    91.60
    Rollback per transaction %:    0.00       Rows per Sort:  1016.53
    Instance Efficiency Percentages (Target 100%)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                Buffer Nowait %:  100.00       Redo NoWait %:  100.00
                Buffer  Hit   %:   99.57    In-memory Sort %:   99.65
                Library Hit   %:  100.00        Soft Parse %:   96.09
             Execute to Parse %:   50.21         Latch Hit %:   99.98
    Parse CPU to Parse Elapsd %:   56.76     % Non-Parse CPU:   99.34
    Shared Pool Statistics        Begin   End
                 Memory Usage %:   53.83   53.90
        % SQL with executions>1:   84.54   84.53
      % Memory for SQL w/exec>1:   62.62   62.65
    Top 5 Timed Events
    ~~~~~~~~~~~~~~~~~~                                                     % Total
    Event                                               Waits    Time (s) Ela Time
    CPU time                                                           32    79.76
    direct path read                                      390           3     7.21
    db file scattered read                                275           2     3.78
    log file parallel write                               515           1     2.44
    db file sequential read                               365           1     2.07
    Wait Events for DB: CHRYSLER  Instance: chrysler  Snaps: 4 -6
    -> s  - second
    -> cs - centisecond -     100th of a second
    -> ms - millisecond -    1000th of a second
    -> us - microsecond - 1000000th of a second
    -> ordered by wait time desc, waits desc (idle events last)
                                                                       Avg
                                                         Total Wait   wait    Waits
    Event                               Waits   Timeouts   Time (s)   (ms)     /txn
    direct path read                      390          0          3      7    130.0
    db file scattered read                275          0          2      5     91.7
    log file parallel write               515        449          1      2    171.7
    db file sequential read               365          0          1      2    121.7
    control file parallel write           467          0          0      1    155.7
    control file sequential read          294          0          0      1     98.0
    db file parallel write                 35          0          0     10     11.7
    db file parallel read                   1          0          0    251      0.3
    LGWR wait for redo copy                19          1          0     12      6.3
    SQL*Net message from dblink            18          0          0      4      6.0
    latch free                             14          0          0      5      4.7
    log file sync                          14          0          0      1      4.7
    SQL*Net break/reset to clien           36          0          0      0     12.0
    log buffer space                       19          0          0      1      6.3
    SQL*Net more data to client           103          0          0      0     34.3
    direct path write                       8          0          0      1      2.7
    SQL*Net message to dblink              18          0          0      0      6.0
    SQL*Net message from client         1,606          0     11,104   6914    535.3
    wakeup time manager                    47         47      2,580  54895     15.7
    SQL*Net more data from clien           11          0          0     14      3.7
    SQL*Net message to client           1,611          0          0      0    537.0
    Background Wait Events for DB: CHRYSLER  Instance: chrysler  Snaps: 4 -6
    -> ordered by wait time desc, waits desc (idle events last)
                                                                       Avg
                                                         Total Wait   wait    Waits
    Event                               Waits   Timeouts   Time (s)   (ms)     /txn
    log file parallel write               515        449          1      2    171.7
    control file parallel write           467          0          0      1    155.7
    db file parallel write                 35          0          0     10     11.7
    control file sequential read          188          0          0      2     62.7
    LGWR wait for redo copy                19          1          0     12      6.3
    latch free                              4          0          0     17      1.3
    rdbms ipc message                   2,392      1,859      9,366   3916    797.3
    pmon timer                            487        487      2,651   5443    162.3
    smon timer                              4          4      2,307 ######      1.3
    SQL ordered by Gets for DB: CHRYSLER  Instance: chrysler  Snaps: 4 -6
    -> End Buffer Gets Threshold:   10000
    -> Note that resources reported for PL/SQL includes the resources used by
       all SQL statements called within the PL/SQL code.  As individual SQL
       statements are also reported, it is possible and valid for the summed
       total % to exceed 100
                                                         CPU      Elapsd
      Buffer Gets    Executions  Gets per Exec  %Total Time (s)  Time (s) Hash Value
            415,514            2      207,757.0   41.3     5.45      5.44 1116368370
    Module: SQL*Plus
    INSERT INTO STATS$SQLTEXT ( HASH_VALUE , TEXT_SUBSET , PIECE , S
    QL_TEXT , ADDRESS , COMMAND_TYPE , LAST_SNAP_ID ) SELECT ST1.HAS
    H_VALUE , SS.TEXT_SUBSET , ST1.PIECE , ST1.SQL_TEXT , ST1.ADDRES
    S , ST1.COMMAND_TYPE , SS.SNAP_ID FROM V$SQLTEXT ST1 , STATS$SQL
    SUMMARY SS WHERE SS.SNAPID = :B3 AND SS.DBID = :B2 AND SS.INST
            223,045            2      111,522.5   22.2     1.09      1.38 3446574552
    Module: SQL Developer
    select column_name from  all_updatable_columns where TABLE_NAME
    = :OBJECT_NAME and owner = :OBJECT_OWNER and updatable = 'YES'
            208,951            1      208,951.0   20.8    10.42     14.21 1240367379
    Module: SQL*Plus
    BEGIN statspack.snap ; END;
            208,539            1      208,539.0   20.7    10.47     14.11 2522684317
    Module: sqlplus.exe
    BEGIN statspack.snap; END;
             81,198            1       81,198.0    8.1     0.73      0.73  401938015
    Module: Oracle SQL Developer
    SELECT s.owner, s.synonym_name, 'SYNONYM' as object_type FROM sy
    s.all_synonyms s, sys.all_objects o WHERE s.table_name = o.objec
    t_name AND s.table_owner = o.owner AND object_type IN ('PACKAGE'
    , 'PROCEDURE', 'SEQUENCE', 'TABLE', 'TYPE', 'VIEW', 'FUNCTION' )
    ORDER BY s.owner, s.synonym_name
             58,656           10        5,865.6    5.8     3.34      3.33 3247664323
    insert into source$(obj#,line,source) values (:1,:2,:3)
             57,404            2       28,702.0    5.7     0.28      0.30 3259503395
    Module: SQL Developer
    select * from (SELECT OBJECT_NAME, OBJECT_ID ,'' short_name,
    decode(( SELECT count (1) FROM SYS.ALL_TAB_PARTITIONS WHERE TAB
    LE_OWNER =owner  AND TABLE_NAME = object_name ),0,'FALSE','TRUE'
    )  partition,                                 OWNER OBJECT_OWNER
                   FROM SYS.ALL_OBJECTS O               WHERE O.OWNE
             51,583            1       51,583.0    5.1     0.77      0.75 2077069258
    Module: Oracle SQL Developer
    SELECT owner, object_name, object_type FROM sys.all_objects WHER
    E object_type IN ('PACKAGE', 'PROCEDURE', 'SEQUENCE', 'TABLE', '
    TYPE', 'VIEW', 'FUNCTION' ) ORDER BY owner, object_name
             41,310            2       20,655.0    4.1     0.27      0.29 1607513402
    Module: SQL Developer
    SELECT OWNER,TABLE_NAME FROM all_external_tables
    SQL ordered by Gets for DB: CHRYSLER  Instance: chrysler  Snaps: 4 -6
    -> End Buffer Gets Threshold:   10000
    -> Note that resources reported for PL/SQL includes the resources used by
       all SQL statements called within the PL/SQL code.  As individual SQL
       statements are also reported, it is possible and valid for the summed
       total % to exceed 100
                                                         CPU      Elapsd
      Buffer Gets    Executions  Gets per Exec  %Total Time (s)  Time (s) Hash Value
             20,776            1       20,776.0    2.1     0.20      0.21 1305228895
    Module: SQL*Plus
    select owner , object_name , object_type from dba_objects where
    object_type = 'TABLE'
             15,709           10        1,570.9    1.6     0.97      1.07 3098922061
    delete from source$ where obj#=:1
             11,854            1       11,854.0    1.2     0.11      0.21 4208944292
    Module: SQL Developer
    with pri_cols as ( SELECT cols.column_name column_name, cols.pos
    ition column_position              FROM all_constraints cons, al
    l_cons_columns cols            WHERE cons.constraint_type = 'P'
               AND cons.constraint_name = cols.constraint_name
          AND cons.owner = cols.owner            and cols.table_name
              7,493            1        7,493.0    0.7     0.17      1.87 1279266739
    Module: SQL Developer
    select count(*) from IMP_TEMPSS_PARTSLANG
              3,904           47           83.1    0.4     0.00      0.14  815501214
    select t.schema, t.name, t.flags, q.name from system.aq$_queue_t
    ables t, sys.aq$_queue_table_affinities aft,      system.aq$_que
    ues q where aft.table_objno = t.objno and aft.owner_instance = :
    1 and        q.table_objno = t.objno and q.usage = 0 and       b
    itand(t.flags, 4+16+32+64+128+256) = 0 for update of t.name, aft
              3,467           14          247.6    0.3     0.50      0.53 1554250272
    Module: SQL Developer
    select count(1) from all_objects where owner <> 'PUBLIC' and  ob
    ject_name in (:S0)
              1,694            4          423.5    0.2     0.08      0.08 1547382267
    Module: SQL Developer
    select object_type,owner,object_name,rank from (    select objec
    t_type,owner,object_name,0 rank    from all_objects    where obj
    ect_name = :NAME    and UPPER(owner) = nvl(:OWNER,UPPER(sys_cont
    ext('USERENV', 'CURRENT_SCHEMA')))    and object_type not in ( '
    SYNONYM' )     union all    select ao.object_type,ao.owner,ao.ob
              1,317          188            7.0    0.1     0.00      0.03 3371479671
    select t.name,  (select owner_instance from sys.aq$_queue_table_
    affinities   where table_objno = t.objno)  from system.aq$_queue
    _tables t where t.name = :1 and t.schema = :2 for update skip lo
    cked
                892            1          892.0    0.1     0.02      0.01 3021556466
    Module: SQL Developer
    SELECT OBJECT_NAME, OBJECT_ID,             DECODE(STATUS, 'INVAL
    ID', 'TRUE', 'FALSE') INVALID,              'TRUE' runnable,
    SQL ordered by Gets for DB: CHRYSLER  Instance: chrysler  Snaps: 4 -6
    -> End Buffer Gets Threshold:   10000
    -> Note that resources reported for PL/SQL includes the resources used by
       all SQL statements called within the PL/SQL code.  As individual SQL
       statements are also reported, it is possible and valid for the summed
       total % to exceed 100
                                                         CPU      Elapsd
      Buffer Gets    Executions  Gets per Exec  %Total Time (s)  Time (s) Hash Value
             NVL( b.HAS_BODY, 'FALSE') HAS_BODY FROM SYS.ALL_OBJECTS
    a,      (SELECT 'TRUE' HAS_BODY, object_name tmp_name FROM SYS.
    ALL_OBJECTS WHERE OWNER = :SCHEMA AND OBJECT_TYPE = 'PACKAGE BOD
                890            2          445.0    0.1     0.09      0.10 1201167771
    Module: SQL Developer
    SELECT T.TABLE_NAME,     'TABLE' OBJECT_TYPE ,     (SELECT O.OBJ
    ECT_ID        FROM ALL_OBJECTS O        WHERE O.OWNER = T.OWNER
           AND O.OBJECT_TYPE = 'TABLE'        AND O.OBJECT_NAME = T.
    TABLE_NAME) OBJECT_ID FROM   ALL_TABLES T WHERE  T.OWNER = :1 AN
    D    T.TABLE_NAME LIKE :2 AND    T.IOT_NAME IS NULL AND    T.NES
                779           10           77.9    0.1     0.02      0.05 3067006941
    delete from dependency$ where d_obj#=:1
                748          146            5.1    0.1     0.05      0.05 3951809012
    insert into dependency$(d_obj#,d_timestamp,order#,p_obj#,p_times
    tamp,d_owner#, property)values (:1,:2,:3,:4,:5,:6, :7)
                632            2          316.0    0.1    10.53     17.92 4043595143
    Module: SQL*Plus
    INSERT INTO STATS$SQL_SUMMARY ( SNAP_ID , DBID , INSTANCE_NUMBER
    , TEXT_SUBSET , SHARABLE_MEM , SORTS , MODULE , LOADED_VERSIONS
    SQL ordered by Reads for DB: CHRYSLER  Instance: chrysler  Snaps: 4 -6
    -> End Disk Reads Threshold:    1000
                                                         CPU      Elapsd
    Physical Reads  Executions  Reads per Exec %Total Time (s)  Time (s) Hash Value
             17,317            2        8,658.5   80.1    10.53     17.92 4043595143
    Module: SQL*Plus
    INSERT INTO STATS$SQL_SUMMARY ( SNAP_ID , DBID , INSTANCE_NUMBER
    , TEXT_SUBSET , SHARABLE_MEM , SORTS , MODULE , LOADED_VERSIONS
    , FETCHES , EXECUTIONS , LOADS , INVALIDATIONS , PARSE_CALLS ,
    DISK_READS , BUFFER_GETS , ROWS_PROCESSED , COMMAND_TYPE , ADDRE
    SS , HASH_VALUE , VERSION_COUNT , CPU_TIME , ELAPSED_TIME , OUTL
              8,659            1        8,659.0   40.1    10.42     14.21 1240367379
    Module: SQL*Plus
    BEGIN statspack.snap ; END;
              8,658            1        8,658.0   40.0    10.47     14.11 2522684317
    Module: sqlplus.exe
    BEGIN statspack.snap; END;
              3,880            1        3,880.0   17.9     0.17      1.87 1279266739
    Module: SQL Developer
    select count(*) from IMP_TEMPSS_PARTSLANG
                299            2          149.5    1.4     1.09      1.38 3446574552
    Module: SQL Developer
    select column_name from  all_updatable_columns where TABLE_NAME
    = :OBJECT_NAME and owner = :OBJECT_OWNER and updatable = 'YES'
                 12            5            2.4    0.1     0.05      0.13 3444463493
    Module: SQL Developer
    SELECT TEXT FROM SYS.ALL_SOURCE  WHERE TYPE = :TYPE AND OWNER =
    :OWNER AND NAME = :NAME  ORDER BY LINE
                 12            4            3.0    0.1     0.03      0.13 3833423502
    Module: SQL Developer
    SELECT TEXT FROM SYS.ALL_SOURCE WHERE TYPE = :1 AND OWNER = :2 A
    ND NAME = :3 ORDER BY LINE
                  9            1            9.0    0.0     0.00      0.07 3687727603
    insert into col$(obj#,name,intcol#,segcol#,type#,length,precisio
    n#,scale,null$,offset,fixedstorage,segcollength,deflength,defaul
    t$,col#,property,charsetid,charsetform,spare1,spare2,spare3)valu
    es(:1,:2,:3,:4,:5,:6,decode(:7,0,null,:7),decode(:5,2,decode(:8,
    -127/*MAXSB1MINAL*/,null,:8),178,:8,179,:8,180,:8,181,:8,182,:8,
                  8            2            4.0    0.0     0.28      0.30 3259503395
    Module: SQL Developer
    select * from (SELECT OBJECT_NAME, OBJECT_ID ,'' short_name,
    decode(( SELECT count (1) FROM SYS.ALL_TAB_PARTITIONS WHERE TAB
    LE_OWNER =owner  AND TABLE_NAME = object_name ),0,'FALSE','TRUE'
    )  partition,                                 OWNER OBJECT_OWNER
                   FROM SYS.ALL_OBJECTS O               WHERE O.OWNE
                  7            5            1.4    0.0     0.02      0.06 3508476732
    insert into idl_ub1$(obj#,part,version,piece#,length,piece) valu
    es(:1,:2,:3,:4,:5,:6)
    SQL ordered by Reads for DB: CHRYSLER  Instance: chrysler  Snaps: 4 -6
    -> End Disk Reads Threshold:    1000
                                                         CPU      Elapsd
    Physical Reads  Executions  Reads per Exec %Total Time (s)  Time (s) Hash Value
                  5            8            0.6    0.0     0.00      0.03 1008661772
    update idl_ub1$ set piece#=:1 ,length=:2 , piece=:3 where obj#=:
    4 and part=:5 and piece#=:6 and version=:7
                  5            1            5.0    0.0     0.11      0.21 4208944292
    Module: SQL Developer
    with pri_cols as ( SELECT cols.column_name column_name, cols.pos
    ition column_position              FROM all_constraints cons, al
    l_cons_columns cols            WHERE cons.constraint_type = 'P'
               AND cons.constraint_name = cols.constraint_name
          AND cons.owner = cols.owner            and cols.table_name
                  2            3            0.7    0.0     0.00      0.01  761440199
    insert into idl_ub2$(obj#,part,version,piece#,length,piece) valu
    es(:1,:2,:3,:4,:5,:6)
                  1            3            0.3    0.0     0.00      0.01 1249304535
    update idl_ub2$ set piece#=:1 ,length=:2 , piece=:3 where obj#=:
    4 and part=:5 and piece#=:6 and version=:7
                  1            2            0.5    0.0     0.27      0.29 1607513402
    Module: SQL Developer
    SELECT OWNER,TABLE_NAME FROM all_external_tables
                  1           10            0.1    0.0     0.03      0.02 1825174980
    delete from access$ where d_obj#=:1
                  1           10            0.1    0.0     0.02      0.05 3067006941
    delete from dependency$ where d_obj#=:1
                  1           10            0.1    0.0     3.34      3.33 3247664323
    insert into source$(obj#,line,source) values (:1,:2,:3)
                  1          146            0.0    0.0     0.05      0.05 3951809012
    insert into dependency$(d_obj#,d_timestamp,order#,p_obj#,p_times
    tamp,d_owner#, property)values (:1,:2,:3,:4,:5,:6, :7)
                  0            2            0.0    0.0     0.00      0.00   10821553
    Module: SQL Developer
    ALTER SESSION SET TIME_ZONE = '05:30'
                  0            3            0.0    0.0     0.00      0.01   66972507
    Module: SQL Developer
    SELECT TO_DATE(TIMESTAMP, 'YYYY-MM-DD:HH24:MI:SS') FROM SYS.ALL_
    OBJECTS WHERE OWNER = :1 AND OBJECT_NAME = :2 AND OBJECT_TYPE =
    :3
                  0            2            0.0    0.0     0.02      0.00   80089551
    Module: SQL Developer
    SELECT LAST_DDL_TIME FROM SYS.ALL_OBJECTS WHERE OWNER = :1 AND O
    BJECT_NAME = :2 AND OBJECT_TYPE = :3
                  0            1            0.0    0.0     0.00      0.00  120978412
    select col#,intcol#,ntab# from ntab$ where obj#=:1 order by intc
    SQL ordered by Reads for DB: CHRYSLER  Instance: chrysler  Snaps: 4 -6
    -> End Disk Reads Threshold:    1000
                                                         CPU      Elapsd
    Physical Reads  Executions  Reads per Exec %Total Time (s)  Time (s) Hash Value
    ol# asc
                  0            5            0.0    0.0     0.00      0.00  130926350
    select count(*) from sys.job$ where next_date < :1 and (field1 =
    :2 or (field1 = 0 and 'Y' = :3))
                  0            5            0.0    0.0     0.00      0.00  155765854
    select count(*),min(piece#),max(piece#) from idl_ub1$ where obj#
    =:1 and part=:2 and version=:3
                  0            1            0.0    0.0     0.00      0.00  162044583
    select col#,intcol#,charsetid,charsetform from col$ where obj#=:
    1 order by intcol# asc
                  0            2            0.0    0.0     0.00      0.00  179957765
    select count(*),min(piece#),max(piece#) from idl_char$ where obj
    #=:1 and part=:2 and version=:3
                  0            3            0.0    0.0     0.00      0.00  204386021
    select col#, grantee#, privilege#,max(mod(nvl(option$,0),2)) fro
    m objauth$ where obj#=:1 and col# is not null group by privilege
    #, col#, grantee# order by col#, grantee#
                  0           10            0.0    0.0     0.00      0.00  292617943
    delete from vtable$ where obj#=:1
                  0            1            0.0    0.0     0.73      0.73  401938015
    Module: Oracle SQL Developer
    SELECT s.owner, s.synonym_name, 'SYNONYM' as object_type FROM sy
    SQL ordered by Executions for DB: CHRYSLER  Instance: chrysler  Snaps: 4 -6
    -> End Executions Threshold:     100
                                                    CPU per    Elap per
    Executions   Rows Processed   Rows per Exec    Exec (s)   Exec (s)  Hash Value
             280               0              0.0       0.00        0.00 1316169839
    select job, nvl2(last_date, 1, 0) from sys.job$ where (((:1 <= n
    ext_date) and (next_date < :2))    or  ((last_date is null) and
    (next_date < :3))) and (field1 = :4 or (field1 = 0 and 'Y' = :5)
    ) and (this_date is null) order by next_date, job
             280             280              1.0       0.00        0.00 1693927332
    select count(*) from sys.job$ where (next_date > sysdate) and (n
    ext_date < (sysdate+5/86400))
             188             188              1.0       0.00        0.00 3371479671
    select t.name,  (select owner_instance from sys.aq$_queue_table_
    affinities   where table_objno = t.objno)  from system.aq$_queue
    _tables t where t.name = :1 and t.schema = :2 for update skip lo
    cked
             146             146              1.0       0.00        0.00 3951809012
    insert into dependency$(d_obj#,d_timestamp,order#,p_obj#,p_times
    tamp,d_owner#, property)values (:1,:2,:3,:4,:5,:6, :7)
              76              76              1.0       0.00        0.00 2997854589
    insert into access$(d_obj#,order#,columns,types) values (:1,:2,:
    3,:4)
              47               0              0.0       0.00        0.00  633914867
    select q_name, state, delay, expiration, rowid, msgid,    dequeu
    e_msgid, chain_no, local_order_no, enq_time, enq_tid, step_no,
    priority, exception_qschema, exception_queue, retry_count, corr
    id,     time_manager_info   from SYS.AQ_EVENT_TABLE   where time
    managerinfo <= :1 and state != :2   for update skip locked
              47             188              4.0       0.00        0.00  815501214
    select t.schema, t.name, t.flags, q.name from system.aq$_queue_t
    ables t, sys.aq$_queue_table_affinities aft,      system.aq$_que
    ues q where aft.table_objno = t.objno and aft.owner_instance = :
    1 and        q.table_objno = t.objno and q.usage = 0 and       b
    itand(t.flags, 4+16+32+64+128+256) = 0 for update of t.name, aft
              47               0              0.0       0.00        0.00  870116171
    select q_name, state, delay, expiration, rowid, msgid,    dequeu
    e_msgid, chain_no, local_order_no, enq_time, enq_tid, step_no,
    priority, exception_qschema, exception_queue, retry_count, corr
    id,     time_manager_info   from SYSTEM.DEF$_AQERROR   where tim
    e_manager_info <= :1 and state != :2   for update skip locked
              47               0              0.0       0.00        0.00 1153132087
    select q_name, state, delay, expiration, rowid, msgid,    dequeu
    e_msgid, chain_no, local_order_no, enq_time, enq_tid, step_no,
    priority, exception_qschema, exception_queue, retry_count, corr
    id,     time_manager_info   from SYSTEM.DEF$_AQCALL   where time
    managerinfo <= :1 and state != :2   for update skip locked
              47               0              0.0       0.00        0.00 3920324236
    select q_name, state, delay, expiration, rowid, msgid,   dequeue
    SQL ordered by Executions for DB: CHRYSLER  Instance: chrysler  Snaps: 4 -6
    -> End Executions Threshold:     100
                                                    CPU per    Elap per
    Executions   Rows Processed   Rows per Exec    Exec (s)   Exec (s)  Hash Value
    msgid, chainno, local_order_no, enq_time, enq_tid, step_no,
    priority, exception_qschema, exception_queue, retry_count, corri
    d,   time_manager_info, sender_name, sender_address, sender_prot
    ocol   from SYS.AQ_SRVNTFN_TABLE   where time_manager_info <= :1
              30              30              1.0       0.00        0.00 2201541053
    insert into error$(obj#,sequence#,line,position#,textlength,text
    ) values (:1,:2,:3,:4,:5,:6)
              26             115              4.4       0.00        0.00 1749333492
    select position#,sequence#,level#,argument,type#,charsetid,chars
    etform,properties,nvl(length, 0), nvl(precision#, 0),nvl(scale,
    0),nvl(radix, 0), type_owner,type_name,type_subname,type_linknam
    e,pls_type from argument$ where obj#=:1 and procedure#=:2 order
    by sequence# desc
              21               0              0.0       0.00        0.00 1683508596
    delete from idl_sb4$ where obj#=:1 and part=:2
              21               0              0.0       0.00        0.00 1894783783
    delete from idl_char$ where obj#=:1 and part=:2
              21               0              0.0       0.00        0.00 2479503691
    delete from idl_ub1$ where obj#=:1 and part=:2
              21               0              0.0       0.00        0.00 3926364396
    delete from idl_ub2$ where obj#=:1 and part=:2
              20              20              1.0       0.00        0.00 3401267293
    insert into settings$(obj#, param, value) values (:1, :2, :3)
              14              62              4.4       0.00        0.00 1356713530
    select privilege#,level from sysauth$ connect by grantee#=prior
    privilege# and privilege#>0 start with (grantee#=:1 or grantee#=
    1) and privilege#>0
              14              14              1.0       0.04        0.04 1554250272
    Module: SQL Developer
    select count(1) from all_objects where owner <> 'PUBLIC' and  ob
    ject_name in (:S0)
              13              13              1.0       0.00        0.00 3468666020
    select text from view$ where rowid=:1
              12              12              1.0       0.00        0.00  825987371
    Module: SQL Developer
    declare     l_line varchar2(255);     l_done number;     l_buffe
    r long; begin   loop     exit when length(l_buffer)+255 > :maxby
    tes OR l_done = 1;     dbms_output.get_line( l_line, l_done );
       l_buffer := l_buffer || l_line || chr(10);   end loop;  :done
    := l_done;  :buffer := l_buffer; end;
              12               0              0.0       0.00        0.00 2222871512
    Module: SQL Developer
    SQL ordered by Executions for DB: CHRYSLER  Instance: chrysler  Snaps: 4 -6
    -> End Executions Threshold:     100
                                                    CPU per    Elap per
    Executions   Rows Processed   Rows per Exec    Exec (s)   Exec (s)  Hash Value
    SELECT LINE,POSITION,TEXT FROM USER_ERRORS WHERE TYPE=:1AND NAME
    =:2
    SQL ordered by Parse Calls for DB: CHRYSLER  Instance: chrysler  Snaps: 4 -6
    -> End Parse Calls Threshold:      1000
                               % Total
    Parse Calls  Executions   Parses  Hash Value
              47           47     4.48  633914867
    select q_name, state, delay, expiration, rowid, msgid,    dequeu
    e_msgid, chain_no, local_order_no, enq_time, enq_tid, step_no,
    priority, exception_qschema, exception_queue, retry_count, corr
    id,     time_manager_info   from SYS.AQ_EVENT_TABLE   where time
    managerinfo <= :1 and state != :2   for update skip locked
              47           47     4.48  815501214
    select t.schema, t.name, t.flags, q.name from system.aq$_queue_t
    ables t, sys.aq$_queue_table_affinities aft,      system.aq$_que
    ues q where aft.table_objno = t.objno and aft.owner_instance = :
    1 and        q.table_objno = t.objno and q.usage = 0 and       b
    itand(t.flags, 4+16+32+64+128+256) = 0 for update of t.name, aft
              47           47     4.48  870116171
    select q_name, state, delay, expiration, rowid, msgid,    dequeu
    e_msgid, chain_no, local_order_no, enq_time, enq_tid, step_no,
    priority, exception_qschema, exception_queue, retry_count, corr
    id,     time_manager_info   from SYSTEM.DEF$_AQERROR   where tim
    e_manager_info <= :1 and state != :2   for update skip locked
              47           47     4.48 1153132087
    select q_name, state, delay, expiration, rowid, msgid,    dequeu
    e_msgid, chain_no, local_order_no, enq_time, enq_tid, step_no,
    priority, exception_qschema, exception_queue, retry_count, corr
    id,     time_manager_info   from SYSTEM.DEF$_AQCALL   where time
    managerinfo <= :1 and state != :2   for update skip locked
              47          188     4.48 3371479671
    select t.name,  (select owner_instance from sys.aq$_queue_table_
    affinities   where table_objno = t.objno)  from system.aq$_queue
    _tables t where t.name = :1 and t.schema = :2 for update skip lo
    cked
              47           47     4.48 3920324236
    select q_name, state, delay, expiration, rowid, msgid,   dequeue
    msgid, chainno, local_order_no, enq_time, enq_tid, step_no,
    priority, exception_qschema, exception_queue, retry_count, corri
    d,   time_manager_info, sender_name, sender_address, sender_prot
    ocol   from SYS.AQ_SRVNTFN_TABLE   where time_manager_info <= :1
              21           21     2.00 1683508596
    delete from idl_sb4$ where obj#=:1 and part=:2
              21           21     2.00 1894783783
    delete from idl_char$ where obj#=:1 and part=:2
              21           21     2.00 2479503691
    delete from idl_ub1$ where obj#=:1 and part=:2
              21           21     2.00 3926364396
    delete from idl_ub2$ where obj#=:1 and part=:2
              14           14     1.34 1356713530
    SQL ordered by Parse Calls for DB: CHRYSLER  Instance: chrysler  Snaps: 4 -6
    -> End Parse Calls Threshold:      1000
                               % Total
    Parse Calls  Executions   Parses  Hash Value
    select privilege#,level from sysauth$ connect by grantee#=prior
    privilege# and privilege#>0 start with (grantee#=:1 or grantee#=
    1) and privilege#>0
              14           14     1.34 1554250272
    Module: SQL Developer
    select count(1) from all_objects where owner <> 'PUBLIC' and  ob
    ject_name in (:S0)
              13           13     1.24 3468666020
    select text from view$ where rowid=:1
              12           12     1.15  825987371
    Module: SQL Developer
    declare     l_line varchar2(255);     l_done number;     l_buffe
    r long; begin   loop     exit when length(l_buffer)+255 > :maxby
    tes OR l_done = 1;     dbms_output.get_line( l_line, l_done );
       l_buffer := l_buffer || l_line || chr(10);   end loop;  :done
    := l_done;  :buffer := l_buffer; end;
              12           12     1.15 2222871512
    Module: SQL Developer
    SELECT LINE,POSITION,TEXT FROM USER_ERRORS WHERE TYPE=:1AND NAME
    =:2
              11           11     1.05  701589132
    Module: SQL Developer
    BEGIN       /* NOP UNLESS A TABLE OBJECT */       IF dictionary_
    obj_type = 'TABLE' AND sys.dbms_cdc_publish.active > 0       THE
    N         sys.dbms_cdc_publish.change_table_trigger(dictionary_o
    bj_owner,dictionary_obj_name,sysevent);       END IF;       END;
              11           11     1.05 4144490151
    delete from error$ where obj#=:1
              11           11     1.05 4151580176
    update obj$ set obj#=:6,type#=:7,ctime=:8,mtime=:9,stime=:10,sta
    tus=:11,dataobj#=:13,flags=:14,oid$=:15,spare1=:16, spare2=:17 w
    here owner#=:1 and name=:2 and namespace=:3 and(remoteowner=:4 o
    r remoteowner is null and :4 is null)and(linkname=:5 or linkname
    is null and :5 is null)and(subname=:12 or subname is null and :
              10           10     0.95  292617943
    delete from vtable$ where obj#=:1
              10           10     0.95  412513799
    select o.owner#, u.name,        o.name,            o.namespace,
            o.obj#,   d.d_timestamp, nvl(d.property,0), o.type#, o.s
    ubname  from dependency$ d, obj$ o, user$ u  where d.p_obj#=:1
    and   (d.p_timestamp=:2 or d.property=2)  and   d.d_obj#=o.obj#
    and   o.owner#=u.user#  and decode(:3,0,0,o.type#)=:3
              10           10     0.95 1077743770
    SQL ordered by Parse Calls for DB: CHRYSLER  Instance: chrysler  Snaps: 4 -6
    -> End Parse Calls Threshold:      1000
                               % Total
    Parse Calls  Executions   Parses  Hash Value
    delete from argument$ where obj#=:1
    SQL ordered by Sharable Memory for DB: CHRYSLER  Instance: chrysler  Snaps: 4 -6
    -> End Sharable Memory Threshold:   1048576
    Sharable Mem (b)  Executions  % Total  Hash Value
           3,898,908            2     0.4   3259503395
    Module: SQL Developer
    select * from (SELECT OBJECT_NAME, OBJECT_ID ,'' short_name,
    decode(( SELECT count (1) FROM SYS.ALL_TAB_PARTITIONS WHERE TAB
    LE_OWNER =owner  AND TABLE_NAME = object_name ),0,'FALSE','TRUE'
    )  partition,                                 OWNER OBJECT_OWNER
                   FROM SYS.ALL_OBJECTS O               WHERE O.OWNE
           2,519,473            1     0.3    680078008
    Module: SQL Developer
    SELECT O.OBJECT_NAME, O.OBJECT_TYPE, O.OBJECT_ID FROM   ALL_OBJE
    CTS O WHERE  O.OWNER = :1 AND    O.OBJECT_NAME LIKE :2 AND    O.
    OBJECT_TYPE IN (:3) AND    O.SUBOBJECT_NAME IS NULL AND    O.SEC
    ONDARY = 'N' AND    ( O.OBJECT_TYPE <> 'INDEX' OR         (
          EXISTS (SELECT 1                   FROM   ALL_INDEXES I
           1,882,420            1     0.2   4208944292
    Module: SQL Developer
    with pri_cols as ( SELECT cols.column_name column_name, cols.pos
    ition column_position              FROM all_constraints cons, al
    l_cons_columns cols            WHERE cons.constraint_type = 'P'
               AND cons.constraint_name = cols.constraint_name
          AND cons.owner = cols.owner            and cols.table_name
           1,687,994            4     0.2   1547382267
    Module: SQL Developer
    select object_type,owner,object_name,rank from (    select objec
    t_type,owner,object_name,0 rank    from all_objects    where obj
    ect_name = :NAME    and UPPER(owner) = nvl(:OWNER,UPPER(sys_cont
    ext('USERENV', 'CURRENT_SCHEMA')))    and object_type not in ( '
    SYNONYM' )     union all    select ao.object_type,ao.owner,ao.ob
           1,406,016            2     0.1   2033073833
    Module: SQL Developer
    select parameter,value from nls_session_parameters  union all SE
    LECT 'DB_TIMEZONE' name, DBTIMEZONE  value FROM DUAL union all S
    ELECT parameter, value FROM nls_database_parameters WHERE parame
    ter='NLS_CHARACTERSET'
    SQL ordered by Version Count for DB: CHRYSLER  Instance: chrysler  Snaps: 4 -6
    -> End Version Count Threshold:        20
    Version
       Count  Executions   Hash Value
          53            2   2033073833
    Module: SQL Developer
    select parameter,value from nls_session_parameters  union all SE
    LECT 'DB_TIMEZONE' name, DBTIMEZONE  value FROM DUAL union all S
    ELECT parameter, value FROM nls_database_parameters WHERE parame
    ter='NLS_CHARACTERSET'
    Instance Activity Stats for DB: CHRYSLER  Instance: chrysler  Snaps: 4 -6
    Statistic                                      Total     per Second    per Trans
    CPU used by this session                       3,185            2.2      1,061.7
    CPU used when call started                     3,185            2.2      1,061.7
    CR blocks created                                 48            0.0         16.0
    Cached Commit SCN referenced                       0            0.0          0.0
    Commit SCN cached                                  0            0.0          0.0
    DBWR buffers scanned                               0            0.0          0.0
    DBWR checkpoint buffers written                   22            0.0          7.3
    DBWR checkpoints                                   0            0.0          0.0
    DBWR free buffers found                            0            0.0          0.0
    DBWR lru scans                                     0            0.0          0.0
    DBWR make free requests                            0            0.0          0.0
    DBWR revisited being-written buff                  0            0.0          0.0
    DBWR summed scan depth                             0            0.0          0.0
    DBWR transaction table writes                      6            0.0          2.0
    DBWR undo block writes                            12            0.0          4.0
    SQL*Net roundtrips to/from client              1,570            1.1        523.3
    SQL*Net roundtrips to/from dblink                 18            0.0          6.0
    active txn count during cleanout                 188            0.1         62.7
    background checkpoints completed                   0            0.0          0.0
    background checkpoints started                     0            0.0          0.0
    background timeouts                            1,682            1.2        560.7
    branch node splits                                 0            0.0          0.0
    buffer is not pinned count                   436,985          303.9    145,661.7
    buffer is pinned count                       948,328          659.5    316,109.3
    bytes received via SQL*Net from c            803,800          559.0    267,933.3
    bytes received via SQL*Net from d              6,405            4.5      2,135.0
    bytes sent via SQL*Net to client             831,677          578.4    277,225.7
    bytes sent via SQL*Net to dblink               3,735            2.6      1,245.0
    calls to get snapshot scn: kcmgss              7,027            4.9      2,342.3
    calls to kcmgas                                  763            0.5        254.3
    calls to kcmgcs                                  208            0.1         69.3
    change write time                                375            0.3        125.0
    cleanout - number of ktugct calls              3,728            2.6      1,242.7
    cleanouts and rollbacks - consist                  0            0.0          0.0
    cleanouts only - consistent read               3,527            2.5      1,175.7
    cluster key scan block gets                   27,451           19.1      9,150.3
    cluster key scans                             12,274            8.5      4,091.3
    commit cleanout failures: block l                  0            0.0          0.0
    commit cleanout failures: buffer                   0            0.0          0.0
    commit cleanout failures: callbac                  2            0.0          0.7
    commit cleanout failures: cannot                   0            0.0          0.0
    commit cleanouts                               1,219            0.9        406.3
    commit cleanouts successfully com              1,217            0.9        405.7
    commit txn count during cleanout               3,574            2.5      1,191.3
    consistent changes                                95            0.1         31.7
    consistent gets                              926,553          644.3    308,851.0
    consistent gets - examination                304,799          212.0    101,599.7
    current blocks converted for CR                    0            0.0          0.0
    cursor authentications                            13            0.0          4.3
    data blocks consistent reads - un                 95            0.1         31.7
    db block changes                              98,756           68.7     32,918.7
    db block gets                                 80,228           55.8     26,742.7
    deferred (CURRENT) block cleanout                613            0.4        204.3
    dirty buffers inspected                        3,379            2.4      1,126.3
    enqueue conversions                               90            0.1         30.0
    enqueue releases                               2,288            1.6        762.7
    Instance Activity Stats for DB: CHRYSLER  Instance: chrysler  Snaps: 4 -6
    Statistic                                      Total     per Second    per Trans
    enqueue requests                               2,290            1.6        763.3
    enqueue timeouts                                   0            0.0          0.0
    enqueue waits                                      0            0.0          0.0
    execute count                                  2,105            1.5        701.7
    free buffer inspected                          3,379            2.4      1,126.3
    free buffer requested                          4,937            3.4      1,645.7
    hot buffers moved to head of LRU                 243            0.2         81.0
    immediate (CR) block cleanout app              3,527            2.5      1,175.7
    immediate (CURRENT) block cleanou                240            0.2         80.0
    index fast full scans (full)                       0            0.0          0.0
    index fetch by key                           248,987          173.2     82,995.7
    index scans kdiixs1                          457,728          318.3    152,576.0
    leaf node 90-10 splits                             1            0.0          0.3
    leaf node splits                                  36            0.0         12.0
    logons cumulative                                 14            0.0          4.7
    messages received                                553            0.4        184.3
    messages sent                                    553            0.4        184.3
    no buffer to keep pinned count                     0            0.0          0.0
    no work - consistent read gets               483,400          336.2    161,133.3
    opened cursors cumulative                        806            0.6        268.7
    parse count (failures)                            14            0.0          4.7
    parse count (hard)                                41            0.0         13.7
    parse count (total)                            1,048            0.7        349.3
    parse time cpu                                    21            0.0          7.0
    parse time elapsed                                37            0.0         12.3
    physical reads                                21,620           15.0      7,206.7
    physical reads direct                         17,317           12.0      5,772.3
    physical writes                               20,718           14.4      6,906.0
    physical writes direct                        17,317           12.0      5,772.3
    physical writes non checkpoint                20,698           14.4      6,899.3
    pinned buffers inspected                           0            0.0          0.0
    prefetched blocks                              3,662            2.6      1,220.7
    prefetched blocks aged out before                  0            0.0          0.0
    process last non-idle time            16,807,669,922   11,688,226.7 ############
    recovery blocks read                               0            0.0          0.0
    recursive calls                               19,103           13.3      6,367.7
    recursive cpu usage                            2,568            1.8        856.0
    redo blocks written                           29,780           20.7      9,926.7
    redo buffer allocation retries                    19            0.0          6.3
    redo entries                                  51,190           35.6     17,063.3
    redo log space requests                            0            0.0          0.0
    redo log space wait time                           0            0.0          0.0
    redo ordering marks                               17            0.0          5.7
    redo size                   

    I know, I must apply the latest patch to make it 9.2.0.8.0. coming back to your question, I am actually new in this company, don't know much about their nature of database. their database appears to run prety slow. specially, when they perfrom bulk DML activity. I've already suggested them to disable the indexes
    and drop the constraints, but that didn't seem to work eighter. I though, you guys would able to offer something , which would make sence in order to kill the ongoing problem. Anyways, thanks for the inputs
    hare krishna
    Alok

  • Required User Exit Or Badi.

    Hi Friends,
    I am searching for the user exit or Badi .
    The scenario is:- First i create a Purchase Requisition
    in ME51N. After creating the PR, the transaction ME59 is run which automatically creates Purchase order from the PR. The automatic creation of PO from PR is done by the user exit or Badi.
    Please tell me the Badi or user exit.
    Points will given to useful response.
    Regards,
    Mandeep.

    Hi Mandeep, this is BADI for ME51N.
    report ZUDAY_BDC_TCL1 no standard page heading line-size 255.
    include bdcrecx1.
    TABLES EBAN.
    DATA: BEGIN OF ITAB OCCURS 0,
    NUMBER(3) TYPE C,
    MATNR LIKE EBAN-MATNR,
    TXZ01 LIKE EBAN-TXZ01,
    MENGE(13) TYPE C,
    MEINS LIKE EBAN-MEINS,
    EEIND TYPE RM06B-EEIND,
    EKGRP LIKE EBAN-EKGRP,
    MATKL LIKE EBAN-MATKL,
    WERKS(4) TYPE C,
    END OF ITAB.
    DATA: LVALUE TYPE I,
    COUNT TYPE I,
    TEMP(20) TYPE C,
    CTRL TYPE I,
    CTRL1(3) TYPE C,
    PAGES(5) TYPE c VALUE '10',
    PVALUE(3) TYPE C VALUE 0.
    start-of-selection.
    PERFORM GETDATA.
    SORT ITAB BY NUMBER.
    perform open_group.
    LOOP AT ITAB.
    IF ITAB-NUMBER <> LVALUE.
    COUNT = 0.
    perform bdc_dynpro using 'SAPMM06B' '0100'.
    perform bdc_field using 'BDC_CURSOR'
    'EBAN-BSART'.
    perform bdc_field using 'BDC_OKCODE'
    '/00'.
    perform bdc_field using 'EBAN-BSART'
    'NB'.
    perform bdc_field using 'RM06B-LPEIN'
    'T'.
    perform bdc_field using 'EBAN-EKGRP'
    '008'.
    perform bdc_dynpro using 'SAPMM06B' '0106'.
    perform bdc_field using 'BDC_CURSOR'
    'EBAN-MATNR(01)'.
    perform bdc_field using 'BDC_OKCODE'
    '/00'.
    PAGES = 10.
    CTRL = 0.
    LOOP AT ITAB WHERE NUMBER = ITAB-NUMBER.
    CTRL = CTRL + 1.
    IF CTRL >= 19.
    PAGES = PAGES + 10.
    ENDIF.
    CTRL1 = CTRL.
    IF CTRL >= 19.
    CTRL1 = '19'.
    ENDIF.
    IF CTRL >= 10.
    PVALUE = ''.
    ENDIF.
    perform bdc_field using 'RM06B-BNFPO'
    PAGES.
    Concatenate 'EBAN-MATNR(' PVALUE CTRL1 ')' into Temp.
    CONDENSE Temp NO-GAPS.
    perform bdc_field using Temp itab-MATNR.
    Concatenate 'EBAN-TXZ01(' PVALUE CTRL1 ')' into Temp.
    CONDENSE Temp NO-GAPS.
    perform bdc_field using Temp itab-TXZ01.
    Concatenate 'EBAN-MENGE(' PVALUE CTRL1 ')' into Temp.
    CONDENSE Temp NO-GAPS.
    perform bdc_field using Temp itab-MENGE.
    Concatenate 'EBAN-MEINS(' PVALUE CTRL1 ')' into Temp.
    CONDENSE Temp NO-GAPS.
    perform bdc_field using Temp itab-MEINS.
    Concatenate 'RM06B-EEIND(' PVALUE CTRL1 ')' into Temp.
    CONDENSE Temp NO-GAPS.
    perform bdc_field using Temp itab-EEIND.
    Concatenate 'EBAN-EKGRP(' PVALUE CTRL1 ')' into Temp.
    CONDENSE Temp NO-GAPS.
    perform bdc_field using Temp itab-EKGRP.
    Concatenate 'EBAN-MATKL(' PVALUE CTRL1 ')' into Temp.
    CONDENSE Temp NO-GAPS.
    perform bdc_field using Temp itab-MATKL.
    Concatenate 'EBAN-WERKS(' PVALUE CTRL1 ')' into Temp.
    CONDENSE Temp NO-GAPS.
    perform bdc_field using Temp itab-WERKS.
    perform bdc_dynpro using 'SAPMM06B' '0102'.
    perform bdc_field using 'BDC_CURSOR'
    'EBAN-MENGE'.
    perform bdc_field using 'BDC_OKCODE'
    '/00'.
    perform bdc_field using 'EBAN-TXZ01'
    ITAB-TXZ01. "'HD GLAD BOY tank silver'.
    perform bdc_field using 'EBAN-MENGE'
    ITAB-MENGE. "'500'.
    perform bdc_field using 'RM06B-EEIND'
    ITAB-EEIND."'27.06.2007'.
    perform bdc_field using 'EBAN-EKGRP'
    ITAB-EKGRP. "'001'.
    perform bdc_field using 'EBAN-BADAT'
    '15.06.2007'.
    perform bdc_field using 'EBAN-FRGDT'
    '26.06.2007'.
    perform bdc_field using 'EBAN-PREIS'
    '55.48'.
    perform bdc_field using 'EBAN-WAERS'
    'GBP'.
    perform bdc_field using 'EBAN-PEINH'
    '1'.
    perform bdc_field using 'EBAN-REPOS'
    'X'.
    perform bdc_dynpro using 'SAPMM06B' '0106'.
    Concatenate 'ElBAN-MATNR(' PVALUE CTRL1 ')' into Temp.
    CONDENSE Temp NO-GAPS.
    perform bdc_field using 'BDC_CURSOR' Temp.
    perform bdc_field using 'BDC_OKCODE'
    '/00'.
    ENDLOOP.
    LVALUE = ITAB-NUMBER.
    perform bdc_dynpro using 'SAPMM06B' '0106'.
    perform bdc_field using 'BDC_CURSOR'
    'RM06B-BNFPO'.
    perform bdc_field using 'BDC_OKCODE'
    '=BU'.
    perform bdc_field using 'RM06B-BNFPO'
    '80'.
    *AT END OF NUMBER.
    perform bdc_transaction using 'ME51'.
    REFRESH BDCDATA.
    *ENDAT.
    ENDIF.
    ENDLOOP.
    perform close_group.
    *& Form GETDATA
    text
    --> p1 text
    <-- p2 text
    FORM GETDATA .
    CALL FUNCTION 'UPLOAD'
    EXPORTING
    FILENAME = ' '
    FILETYPE = ' '
    TABLES
    DATA_TAB = ITAB
    EXCEPTIONS
    CONVERSION_ERROR = 1
    INVALID_TABLE_WIDTH = 2
    INVALID_TYPE = 3
    NO_BATCH = 4
    UNKNOWN_ERROR = 5
    GUI_REFUSE_FILETRANSFER = 6
    OTHERS = 7
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    ENDFORM. " GETDATA.
    kindly reward if found helpful.
    cheers,
    Hema.

  • Need to deactivate structural auth. check for a custom Report

    Hi all experts:
    I have a report that is based on PNPCE logical database and it displays work hours for a project, all non-sensitive information.  We would like a wide range of users to have access to this but since this is based on PNPCE logical database whenever a user runs it, the str. authorization check is performed.  I have tried deactivate this check with P_ABAP object and coers 2 but it only ignores infotype auth. check but still checks the structural.  We don't want to expand str. profile for users. 
    Do you know if there is a way to deactive this just for one report?
    Your help will be greatly appreciated.
    Regards,
    Net

    Thanks Kiran. I had tried that value but still got the same message.  I am having problem understanding exactly when this value 2 ignores structural authorization because it works on some reports and not others.  Anyway, we implemented BADI for this report to ignore structural auth. check and it is working fine.
    Thanks again,
    NT

  • Link between universes and reports and universe name change

    I want to change a universe name.
    What is the impact on my WebI reports and DeskI reports ?
    Is it risky ? Will the link between reports and universes be saved ?
    Does someone know how the link between reports and universes works for WebI reports and DeskI reports ?
    Thanks

    The Universe name is stored within the data context of the report so the report (deski and webi) refer to a Universe.
    Changing the name of that Universe has a very bad effect: the reports usually stop working!
    In order to change the name, you must manually visit each report and change the Universe associated with EACH QUERY IN EACH REPORT!!  It can be done, but it is time consuming.  And you'll need both Universe names in the CMS until you're done
    Deski -> View Data, Definition, Click on the ... beside the Universe
    Webi -> Edit Query, Properties, Click on the ... beside the Universe
    M

Maybe you are looking for