How to find out the top 20 queries used in a week
Hi Guru's,
I would like to know how to gather the information regarding the Top 20 queries used in the system per week, by a multicube.
Note: I am using BI 7.0 and also Statistics are turned on.
The aim is to pre-calculate these queries at night to help with the user experience.
Thanks and regards,
Hi
U can check in RSZCOMPDIR if u did not find the info then go to se11 and give RSZ* and press F4 u will get all the tables which relates to reports
Assign points if it helps
Khaja
Similar Messages
-
In DBI , how to find out the Source Query used for the Report
Hi All,
How to find out the Source Query used to display the data in the DBI Reports or Dashboards. We can get it in Apps Front end by Going to Help and Record Histroty. But DBI Runs in Internet Explorer so i dont know how to get the source query ( SELECT Query ) Used.
In IE we have View --> Source . But that does not help since it gives the HTML Coding and not the SELECT Query used.
If anyone has ever worked on it...Please help me in finding it.
Thanks,
Neeraj ShrivastavaHi neeraj,
You can see the query used to display reports.Follow these steps to get the query.
1)Login to oracle apps
2)Select "Daily Business Intelligence Administrator" responsiblity.
3)Now click on "Enable/Disable Debugging" (Now u enabled debugging)
4)now open the report which you want to see the query of
5)In view source it displays query along with the bind varilables.
Feel free to ping me if you have any doubts
thanks
kittu -
How to find out the top 10 data loads based on time duration?.
Hi,
We are working on performance tuning. so we want to find out the top 10 loads which had run long time in date wise.
We need the load start time and end time of the load process, Infosource and datatarget name.
There are nearly 1000 loads, So it is very difficult to collect the load's timings in RSMO.
Is there any another alternative to collect the top 10 loads based on time duration in date wise?
Thanks & Regards,
RajuHi Gangaraju,
You can install BI Statistics for getting these type of data.
Or you check in RSDDSTAT or RSMDATASTATE_EXT or table for the Load process time.
Or goto t-code ST13 to get detailed analysis of a Process chain for a given period.
Hope this helps.
Regards,
Ravi Kanth -
How to find out the script name used in driver program
Hi Folks ,
I want to find out the Scripts(print program) used in my driver pogram .
How is it possible any Tcode availble for this ?
Thanks ,
Jaga.DHi Jagadish,
Go to transaction SE38 and open the program RSNAST00. There search for the subroutine TNAPR_LESEN.
Set a break point at that subroutine and leave. When printing the data from a transaction to a script or form (Like VA01 or VL02N), debugger is started when the processing reaches the subroutine in RSNAST00. There double click on the field TNAPR-FONAM. continue step-by-step execution. The field will display the name of the script or form that is currently being used.
Another way to do this is to go to transaction NACE and check the transaction for which you want to find out the script. There you will find the script and print program that have been set for a particular transaction. -
How to find out the top ten Change log tables in BW
I want to know the top ten change log tables in terms of size. Do we have a SAP standard table where we have the following fields : "changlog table name", "number of records" field or "data in size" field.
Regards,
Prashant M JHi,
Click on change log table in the ODS/DSO at the top you see the name as /bic* which is the name of the database table which could also be seen at SE11.
If you wana see the requests in this change log use rstsodsrequest
and if you wana see the size in terms of kb, mb DB02 or st04
use the table name /bic* and click on tables and indexes option in history tab
DB02 tells you the sizes of the tables present on database. Incase you are not able to your basis team would help you in that
Thanks and regards
Kiran -
How to find out the email you used as a backup
I cannot remember the email address that I associated with my account as an alternative address. Is there any way of finding out this address? Please help as I am trying to retrieve a new password!
Thank you. The version of my ASE is 12.5.4.
This is what I got from select * from syslogins:
suid status accdate totcpu totio spacelimit timelimit resultlimit dbname name password language pwdate audflags fullname srvname logincount procid
1
30 2 10/25/2012 11:41:10.430 AM 0 0 0 0 0 . . ... us_english 02/24/2.0.08 12:55:38.640 PM 0 [NULL] [NULL] [NULL] [NULL]
this is what I got from exec sp_displaylogin 'mylogin':
1 Suid: 46
2 Loginame: mylogin
3 Fullname: FN LN
4 Default Database: mydb
5 Default Language: us_english
6 Auto Login Script:
7 Configured Authorization:
8 Locked: YES
9 Date of Last Password Change: Apr 17 2010 2:36PM
10 Password expiration interval: 0
11 Password expired: NO
12 Minimum password length: 6
13 Maximum failed logins: 0
14 Current failed login attempts:
15 Authenticate with: AUTH_DEFAULT
which one is for last login time? -
Hello,
the software I manage is written in VC++ 6.0 and utilizes the traditional NI driver. The board used is PCI6013/6014.
The AI mode though may be either differential or nonreferenced single ended. By now we configure the board using Measurement and Automation Explorer, which is OK but is not actually friendly for end users. What I would like to have is at least to be able get the current mode somehow so that the program could warn a user the mode should be changed. Better yet if the program could overwrite the current mode setting so that there would be no need to run Measurement and Automation Explorer at all.
I tried to use AI_Configure function. It looks like it does nothing in this respect - at least for this type of board.
Is there any other way to achieve my goal (direct access to registry settings?)?
Thank you in advance,
Mike FaynbergHi Mike,
Actually you are on the right path.
If you use the AI_Configure command then you can set the input configuration of the DAQ Board. As seen in the Traditional DAQ C Function Reference Help (Start > National Instruments > NI-DAQ):
AI_Configure
status = AI_Configure (deviceNumber, chan, inputMode,
inputRange, polarity, driveAIS)
Purpose
Informs Traditional NI-DAQ (Legacy) of the input mode
(single-ended or differential), input range, and input polarity selected for the
device. Use this function if you have changed the jumpers affecting the analog
input configuration from their factory settings. For devices without analog
input configuration jumpers, this function programs the device for the settings
you want.
Parameters
Direction
Name
Type
Description
Input
deviceNumber
i16
assigned by Measurement & Automation Explorer
chan
i16
channel to be configured
inputMode
i16
indicates whether channels are configured for single-ended or differential
operation
inputRange
i16
voltage range of the analog input channels
polarity
i16
indicates whether the ADC is configured for unipolar or bipolar
operation
driveAIS
i16
indicates whether to drive AISENSE to onboard ground
Simply by setting this parameter in your code you can set the configuration of the board to whatever you would like for your application. They won't even have to go into MAX to set up the device!
Enjoy,
Otis
Training and Certification
Product Support Engineer
National Instruments -
How to find out the InfoPackage name using job name BI_BTCH....
Hi Expert,
Can anyone please let me know how do i find the name of the InfoPackage using the Job name BI_BTCH.
Thanks in AdvanceHi,
Change the Start Date and End Date of the Job in the SM37 (Date interval shoul be chnged so that the Job is run atleast once during that time period). Now Enter the Job Name BI_BTCH* and User name as *.
Now it will display the list of all the jobs .check the job details of the finished job and check for ZPAK* in th job log whcih will give the InfoPackage Name.
Thanks,
Nagarjuna -
How to find out the tables that will be affected using a transaction
Hi,
How to find out the list of database tables that will be affected when we use a standard transaction(ex. VA01, MM01..)...?(like When we create a salesorder, which tables and which fields will be affected..?)
Is there any transaction or a simple way to find out the solution?
Thanks,
Pradeep.Hi,
Give transaction code and in menu(system- status), double click onthe Program name.
Check in TOP INCLUDE - you will find all the tables related to that transaction.
Thanks,
Anitha -
How to find out the Transactions used per month & the USER who used that
Hi,
1)How to find out the Transactions used per month & the USER who used that?
2)and can i get the above same for minimum 20 month?
System : SAP- Enterprise Core Component.You can use my program...
*& Report Z_ABAP_TCODE_MONITOR
*****& Program Type : Report *
*****& Title : Z_ABAP_TCODE_MONITOR *
*****& Transaction code : ZTCODE_USAGE *
*****& Developer name : Shailendra Kolakaluri *
*****& Deveopment start date : 26 th Dec 2011 *
*****& Development Package : ZDEV *
*****& Transport No : DEVK906086 *
*****& Program Description : This program is to display
*List all tcodes executed during previous day.
*& Show the number of users executing tcodes
*& Modification history
REPORT Z_ABAP_TCODE_MONITOR.
*& List all tcodes executed during previous day.
*& Show the number of users executing tcodes
TYPE-POOLS : slis.
DATA: ind TYPE i,
fcat TYPE slis_t_fieldcat_alv WITH HEADER LINE,
layout TYPE slis_layout_alv,
variant TYPE disvariant,
events TYPE slis_t_event WITH HEADER LINE,
heading TYPE slis_t_listheader WITH HEADER LINE.
*REPORT z_report_usage.
TYPES: BEGIN OF zusertcode,
date TYPE swncdatum,
user TYPE swncuname,
mandt TYPE swncmandt,
tcode TYPE swnctcode,
report TYPE swncreportname,
count TYPE swncshcnt,
END OF zusertcode.
*data : date type n.
DATA: t_usertcode TYPE swnc_t_aggusertcode,
wa_usertcode TYPE swncaggusertcode,
wa TYPE zusertcode,
t_ut TYPE STANDARD TABLE OF zusertcode,
wa_result TYPE zusertcode,
t_result TYPE STANDARD TABLE OF zusertcode.
PARAMETER: month TYPE dats DEFAULT sy-datum.
*PARAMETER: date TYPE dats.
*select-options : username for wa_usertcode-account.
START-OF-SELECTION.
PERFORM get_data.
PERFORM get_fieldcatalog.
PERFORM set_layout.
PERFORM get_event.
PERFORM get_comment.
PERFORM display_data.
FORM get_data .
*date = sy-datum - 2 .
After start-of-selection add this line (parameter Month required 01 as day).
concatenate month+0(6) '01' into month.
CALL FUNCTION 'SWNC_COLLECTOR_GET_AGGREGATES'
EXPORTING
component = 'TOTAL'
ASSIGNDSYS = 'DEV'
periodtype = 'M'
periodstrt = month
TABLES
usertcode = t_usertcode
EXCEPTIONS
no_data_found = 1
OTHERS = 2.
wa-date = month.
*wa-date = date.
wa-mandt = sy-mandt.
wa_usertcode-account = username.
LOOP AT t_usertcode INTO wa_usertcode.
wa-user = wa_usertcode-account.
IF wa_usertcode-entry_id+72 = 'T'.
wa-tcode = wa_usertcode-entry_id.
wa-report = space.
ELSE.
wa-tcode = space.
wa-report = wa_usertcode-entry_id.
ENDIF.
COLLECT wa INTO t_ut.
ENDLOOP.
SORT t_ut BY report ASCENDING.
CLEAR: wa, wa_result.
endform.
FORM get_fieldcatalog .
fcat-tabname = 't_ut'.
fcat-fieldname = 'DATE'.
fcat-seltext_l = 'Date'.
fcat-key = 'X'.
APPEND fcat.
CLEAR fcat.
fcat-tabname = 't_ut'.
fcat-fieldname = 'MANDT'.
fcat-seltext_l = 'Client'.
fcat-key = 'X'.
APPEND fcat.
CLEAR fcat.
fcat-tabname = 't_ut'.
fcat-fieldname = 'USER'.
fcat-seltext_l = 'User Name'.
fcat-key = 'X'.
APPEND fcat.
CLEAR fcat.
fcat-tabname = 't_ut'.
fcat-fieldname = 'TCODE'.
fcat-seltext_l = 'Transaction Code'.
fcat-key = 'X'.
APPEND fcat.
ENDFORM.
*& Form SET_LAYOUT
text
--> p1 text
<-- p2 text
FORM set_layout .
layout-colwidth_optimize = 'X'.
ENDFORM. " SET_LAYOUT
*& Form GET_EVENT
text
--> p1 text
<-- p2 text
*FORM get_event .
events-name = slis_ev_top_of_page.
events-form = 'TOP_OF_PAGE'.
APPEND events.
*ENDFORM. " GET_EVENT
**& Form GET_COMMENT
text
--> p1 text
<-- p2 text
*FORM get_comment .
DATA: text(30).
text = 'Billing Report'.
heading-typ = 'H'.
heading-info = text.
APPEND heading.
*ENDFORM. " GET_COMMENT
**& Form top_of_page
text
--> p1 text
<-- p2 text
*FORM top_of_page .
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
it_list_commentary = heading[]
I_LOGO =
I_END_OF_LIST_GRID =
*ENDFORM. " top_of_page
*& Form DISPLAY_DATA
text
--> p1 text
<-- p2 text
FORM display_data .
sort t_ut[].
DELETE ADJACENT DUPLICATES FROM t_ut[] COMPARING ALL FIELDS.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = sy-cprog
is_layout = layout
it_fieldcat = fcat[]
i_save = 'A'
is_variant = variant
it_events = events[]
TABLES
t_outtab = t_ut
EXCEPTIONS
program_error = 1
OTHERS = 2.
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. " DISPLAY_DATA -
How to make use of SE37- Function Module & how to find out the table?
Hi ,
1.Could anyone help me what's this SE37-Function module is all about,How to make use of this?
For Eg,If i want to delete a BOM permanently from the system then I have to use the Function module CM_DB_DEL_FROM_ROOT_BOM.
But after giving the particular name what should i do?
Please help me.
2.How to find out the respective table for a particular field sya for T code-COGI, T code MFBF,where its values are getting populated.,Please help in this issue.
Thanks in adavnce for spending some time
Raj.SHi Raj
Function Modules
Function modules are procedures that are defined in special ABAP programs only, so-called function groups, but can be called from all ABAP programs. Function groups act as containers for function modules that logically belong together. You create function groups and function modules in the ABAP Workbench using the Function Builder.
Function modules allow you to encapsulate and reuse global functions in the SAP System. They are managed in a central function library. The SAP System contains several predefined functions modules that can be called from any ABAP program. Function modules also play an important role during updating and in interaction between different SAP systems, or between SAP systems and remote systems through remote communications.
Unlike subroutines, you do not define function modules in the source code of your program. Instead, you use the Function Builder. The actual ABAP interface definition remains hidden from the programmer. You can define the input parameters of a function module as optional. You can also assign default values to them. Function modules also support exception handling. This allows you to catch certain errors while the function module is running. You can test function modules without having to include them in a program using the Function Builder.
The Function Builder also has a release process for function modules. This ensures that incompatible changes cannot be made to any function modules that have already been released. This applies particularly to the interface. Programs that use a released function module will not cease to work if the function module is changed.
Check this link
http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/db988735c111d1829f0000e829fbfe/content.htm
You can execute function module in SE37ie you can perform the activiites defined in the function module by executing it.
By deleting BOM you mention the FM name in se37 and execute. In some function module it will ask input parameters as developed in the program , you have to give the input parameters and execute. -
How to find out the Non Partitioned Tables used 2Gb on oracle
Hi team
how to find out the Non Partitioned Tables used > 2Gb on oracle where not is sys & system
regardsheres 1 I made earlier
set pagesize 999
set linesize 132
col owner format a25
col segment_name format a60
select owner,segment_name,segment_type,(bytes/1024/1024)"MB size"
from dba_segments
where owner not in ('SYS','SYSTEM','XDB','MDSYS','SYSMAN') -- edit for taste
and segment_type = 'TABLE'
having (bytes/1024/1024) > 2000
group by bytes, segment_Type, segment_name, owner
order by 4 asc -
How to find out the script for the table using SQL
Hi,
Could any one tell me that how to find out the script for the table using SQL.
Thanks,
kamalKamal,
You can find the SQL query in Advanced tab of Answers
Thanks,
Balaa... -
How to find out names of reports using a particular view
hi guys,
i am newbie here, i jsut want to know how to find out which reports are using a particular view
many thanks in advance for your helpIf you go to the Properties for the Folder in Discoverer Administrator, there is a Dependents tab that should list any workbooks using the folder. This only works for workbooks saved to the database, so won't help with any created using Discoverer Desktop. If you are gathering statistics and have the The Discoverer V5 EUL business area and its workbooks installed, it can tell you about Folders Used as well. It contains information about queries run whether the workbook is saved to the database or to the file system, but wouldn't contain inforamation about workbooks that had been created but not run.
-
How to find out the selected item in the lsit
Hi all,
How to find out the selected item in the list,can any please post some examples which easy to understand,because iam not a good programmerThis sample program uses a checkbox as selection, you could also use a HOTSPOT.
report zrich_0002 no standard page heading.
data: imara type table of mara with header line.
data: check_box(1) type c,
report_lines type i.
start-of-selection.
* Create the gui status with BACK button in standard place
* and a READ button in the application toolbar
set pf-status 'CHECK'.
select * into corresponding fields of table imara from mara up to 100 rows.
loop at imara.
write:/ check_box as checkbox, imara-matnr, imara-matkl.
hide imara-matnr.
endloop.
report_lines = sy-linno - 1.
top-of-page.
write: 'List of materials'. uline.
top-of-page during line-selection. write: 'Material.....'. uline.
at user-command.
case sy-ucomm.
when 'READ'.
check_box = space.
set pf-status 'CHECK' excluding 'READ'.
do report_lines times.
read line sy-index field value check_box.
if check_box = 'X'.
write:/ 'You have selected material',
imara-matnr.
endif.
enddo.
endcase.
Regards,
Rich Heilman
Maybe you are looking for
-
IPhone 5s bad connection LTE Vodafon Germany
Hello My Company switch all iPhone 4 to iPhone 5s with Vodafon LTE Contract. Now Many users hab bad call experinces and bad voice quality. Vodafon told thats a problem with the iPhones and not with their network... Are there known Problems with 5s an
-
Wiping the BB, few questions
when i back up all my files and then whipe the bb do i get to pick and choose what of the old stuff i want to restore? i am worried that by restoring will put the bad bug back in it, i want to completely whipe it then start over and redownload what i
-
I think this is a network question
My cousin who has a windows laptop has somehow managed to get onto my Apple Express. My cousin is connecting to the internet thru my express and she is able to search my computer and has access to my iTunes library. How can I do the same and get her
-
Exporting Large Files for Web Use
Most of my images are around 3000x2000 in filesize and between 10MB and 15MB. They are for use on the web so I don't want them to be too large (in MB's.) What is the best option: - keep original size and lower the quality-setting from 100% to -let's
-
From 4000 at the 6th statement CONGRATULATIONS! Because you have managed your account responsibly, we've increased your credit line to $8,500.00. This increase is effective right away, so it is available to you now. We hope this increase makes it eas