How to Find the Query used by the Workbook ?
Hi ,
I am currently involved in trouble shooting a work book where some master data values are not being displayed.
How do i find, which Query the work books is using ? or Let me know as to how should i proceed in solving the same .
Hi,
If you have access to BW Admin workbench... then choose the option metadatarepository(left side) of the BW admin workbench, search for the workbook(Technical name) and click on the "Network display dataflow" link.
If you want to know the relationship between workbook and the queries:
Check table RSRWORKBOOK which contains the WORKBOOKID and the GENUNIID.
Table RSRREPDIR contains GENUNIID, query name RNAME, AUTHOR, LASTUSER, INFOCUBE
Table RSRINDEXT contains the WORKBOOKID and workbook TITLE
You should join the tables by GENUNIID and select in RSRREPDIR the rows that have COMPTYPE='REP' for queries and object version active/modified.
With this information an infoset query can be created to list all workbook-query-user relationship (and even the query-infocube relationship).
Hope this helps u...
Regards,
KK.
Similar Messages
-
How to find out theTables used in the program
hi experts,
can any one tell what are the ways to find out the tables used in the program
thanks in advance.Hello,
Below are some tips:
1. If custom program- SEARCH for "TABLES" or "SELECT" stmt.
2. The full-proof way will be to activate SQL Trace. Goto tcode ST05, check SQL Trace & then activate trace.
Execute the program. After execution is complete, deactivate trace & then display trace. You will get all the tables which are being used.
BR,
Suhas -
How to find out Query Statistics for the initial selections
Hi,
Is there a way to find out the statistics for the initial query execution(without any navigations)
/SantoshHi,
For knowing the statistics of the Query (Responce performence). U can find out with T-Code RSDDSTAT. The base rule is U have to execute the Query atleast once. If you the aggrigates are there at DATA TARGET level u can get a details view with TCode RSDDV.
Best Regards -
How to find sql query using sqlid
Hi
I am not aware of that sqlid .DBA is saying a particular sqlid is making problem .how to find the particular sql query using sql_id ?Are you aware of modplsql when i executed the query the result is like
DECLARE
rc__ NUMBER;
simple_list__ OWA_UTIL.vc_arr;
complex_list__ OWA_UTIL.vc_arr;
BEGIN
OWA.init_cgi_env (:n__, :nm__, :v__);
HTP.htbuf_len := 84;
NULL;
NULL;
simple_list__ (1) := 'sys.%';
simple_list__ (2) := 'dbms\_%';
simple_list__ (3) := 'utl\_%';
simple_list__ (4) := 'owa\_%';
simple_list__ (5) := 'owa.%';
simple_list__ (6) := 'htp.%';
simple_list__ (7) := 'htf.%';
simple_list__ (8) := 'wpg_docload.%';
IF ((owa_match.match_pattern ('Oly_browse.oly_pattern ',
simple_list__,
complex_list__,
TRUE
THEN
rc__ := 2;
ELSE
NULL;
NULL;
oly_browse.oly_pattern (search_phrase => :search_phrase, --Oly_browse.oly_pattern is package name
btn => :btn,
p_qual => :p_qual,
p_bcat => :p_bcat,
p_stdy => :p_stdy,
p_bloc => :p_bloc,
z => :z
IF (WPG_DOCLOAD.is_file_download)
THEN
rc__ := 1;
WPG_DOCLOAD.get_download_file (:doc_info);
NULL;
NULL;
NULL;
COMMIT;
ELSE
rc__ := 0;
NULL;
NULL;
NULL;
COMMIT;
OWA.get_page (:data__, :ndata__);
END IF;
END IF;
:rc__ := rc__;
END; Edited by: vishnu prakash on Sep 8, 2010 10:16 PM -
How to find sql query using hash value
Hi,
DBVERSION: 9.2.0.8
I generated statspack report and i want to see total query and i have hash_value here.
in v$sql am not able to see all the querys ...pls suggest me other ways..
Thanks,
Srini...Srini wrote:
Thanks Nikolay,
But that views are not available in 9i , my DB is in 9.2.0.8...Use v$SQLAREA
SQL> desc v$sqlarea
Name Null? Type
SQL_TEXT VARCHAR2(1000)
SQL_FULLTEXT CLOB
SQL_ID VARCHAR2(13)
SHARABLE_MEM NUMBER
PERSISTENT_MEM NUMBER
RUNTIME_MEM NUMBER
SORTS NUMBER
VERSION_COUNT NUMBER
LOADED_VERSIONS NUMBER
OPEN_VERSIONS NUMBER
USERS_OPENING NUMBER
FETCHES NUMBER
EXECUTIONS NUMBER
PX_SERVERS_EXECUTIONS NUMBER
END_OF_FETCH_COUNT NUMBER
USERS_EXECUTING NUMBER
LOADS NUMBER
FIRST_LOAD_TIME VARCHAR2(19)
INVALIDATIONS NUMBER
PARSE_CALLS NUMBER
DISK_READS NUMBER
DIRECT_WRITES NUMBER
BUFFER_GETS NUMBER
APPLICATION_WAIT_TIME NUMBER
CONCURRENCY_WAIT_TIME NUMBER
CLUSTER_WAIT_TIME NUMBER
USER_IO_WAIT_TIME NUMBER
PLSQL_EXEC_TIME NUMBER
JAVA_EXEC_TIME NUMBER
ROWS_PROCESSED NUMBER
COMMAND_TYPE NUMBER
OPTIMIZER_MODE VARCHAR2(10)
OPTIMIZER_COST NUMBER
OPTIMIZER_ENV RAW(2000)
OPTIMIZER_ENV_HASH_VALUE NUMBER
PARSING_USER_ID NUMBER
PARSING_SCHEMA_ID NUMBER
PARSING_SCHEMA_NAME VARCHAR2(30)
KEPT_VERSIONS NUMBER
ADDRESS RAW(4)
HASH_VALUE NUMBER
OLD_HASH_VALUE NUMBER
PLAN_HASH_VALUE NUMBER
MODULE VARCHAR2(64)
MODULE_HASH NUMBER
ACTION VARCHAR2(64)
ACTION_HASH NUMBER
SERIALIZABLE_ABORTS NUMBER
OUTLINE_CATEGORY VARCHAR2(64)
CPU_TIME NUMBER
ELAPSED_TIME NUMBER
OUTLINE_SID VARCHAR2(40)
LAST_ACTIVE_CHILD_ADDRESS RAW(4)
REMOTE VARCHAR2(1)
OBJECT_STATUS VARCHAR2(19)
LITERAL_HASH_VALUE NUMBER
LAST_LOAD_TIME DATE
IS_OBSOLETE VARCHAR2(1)
IS_BIND_SENSITIVE VARCHAR2(1)
IS_BIND_AWARE VARCHAR2(1)
CHILD_LATCH NUMBER
SQL_PROFILE VARCHAR2(64)
SQL_PATCH VARCHAR2(30)
SQL_PLAN_BASELINE VARCHAR2(30)
PROGRAM_ID NUMBER
PROGRAM_LINE# NUMBER
EXACT_MATCHING_SIGNATURE NUMBER
FORCE_MATCHING_SIGNATURE NUMBER
LAST_ACTIVE_TIME DATE
BIND_DATA RAW(2000)
TYPECHECK_MEM NUMBER
IO_CELL_OFFLOAD_ELIGIBLE_BYTES NUMBER
IO_INTERCONNECT_BYTES NUMBER
PHYSICAL_READ_REQUESTS NUMBER
PHYSICAL_READ_BYTES NUMBER
PHYSICAL_WRITE_REQUESTS NUMBER
PHYSICAL_WRITE_BYTES NUMBER
OPTIMIZED_PHY_READ_REQUESTS NUMBER
LOCKED_TOTAL NUMBER
PINNED_TOTAL NUMBER
IO_CELL_UNCOMPRESSED_BYTES NUMBER
IO_CELL_OFFLOAD_RETURNED_BYTES NUMBERYou have HASH_VALUE and SQL_FULLTEXT to identify your query. Remember if query is long then you needt to set proper parameters like
set long 80000
set pagesize 200
set linessize 200
Was that helpful? -
How to find Port numbers used by RMI application
Hi, hope u all find me a solution, how to find port numbers used in the RMI application, that is port number which the RMI application communicates between RMIserver and RMIclient. ur answers would b highly appreciated
Currently RMI transport layer does not directly expose any public methods to get the listening ports of the exported RMI objects, but the application can always export RMI server objects at certain designated ports instead of relying on the RMI runtime by specifying them to UnicastRemoteObjcect at the time of exporting.
RMI transport layer try to optimize the number of listeing sockets by exporting all RMI server objects on a single port if no explicit ports were chosen. If the application is really interested in knowing the listeing ports, it can always specify the client and server socket factories to be used for creating Socket and ServerSocket to the RMI runtime at the time of exporting. When a RMI server object is exported, but the listening socket is not yet created, RMI transport layer invokes the createServerSocket(host, port) of server socket factory by passing the host and port details. If no explicit port is specified, underlying socket implementation choses anonymous port. At this point of time application can log these listeing ports to some log file.
Similarly when the stub to the remote object is de-serialized in the client address space, it does also contain the client socket factory along with the end point details (host, port and server object ID). RMI runtime in the client address space needs to establish connection with the remote server object, it try to get the socket from client socket factory by invoking createSocket() on the client socket factory. Now the application can call getLocalPort() on the socket before returning it to the RMI transport layer.
There is a undocumented class RMIStat to dump RMI runtime state information. It provides a lot of static methods to dump RMI state information like object table, transports, threads etc. You can download the source code of this utility from RMI archives, but remember this is not a comman-line utility, you must invoke these static methods as part of the application code.
-- Srinath Mandalapu -
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 query name using Elements of the query builder.
Hi SDNers,
how to find out query name using Elements of the query .
thanks,
satyaaHi,
For having a look at the relation between BEx tables,check the link below:
http://wiki.sdn.sap.com/wiki/display/BI/ExploretherelationbetweenBEx+Tables
-Vikram -
How to find out who has deleted the production Query
Hi All,
I have searche SD , i can find it for infoobject deletion but i couldn't find it for Query.
Please let me know is there any possiblity to kow
How to find out who has deleted the production Query
Awaiting for your replies.
cheersHi Mahesh and all,
Thanks for all your inputs.
I have tried with RSRREPDIR tabel , I am unable to see that query at all.
If I use theT-code SLG1,
please guide me on the steps with paramets to be given in the respective ..object, subobject etc..
OR
could you please suggest any other way.
cheers
leena -
Where and how do I get the SQL Query used by the Microsoft Generic Report Library - Alerts?
Background:
I'm tasked with the following: I need to create a new Report and the SQL
The two canned reports that I can pattern after are: Microsoft Generic Report Library
- Alerts (there is also an alert detail report that can be chosen within the alert report that we may want to use instead)
- Most Common Alerts
I'm trying to do this:
Add another parameter to search on customfield3.
It should be able to report on all alerts that were assigned to the specific team for the time period along with the top 10 (most common alerts) assigned to the team for the time period.
Choose as the objects (group) all servers, but Imay need to adjust the report to just look at all alerts without having to provide objects or a group
The struggle I'm having is: I know SQL. I know how to create an RDL file.
But Where are the RDL files for the canned reports so I can modify the canned RDL and modify its SQL and forms?
What is the SQL/ where can I find the SQL used for the Generic Report Library -> AlertsEasy but you need to extract it from Microsoft Generic Report Pack.
So.. the procedure is as follows:
1) You export and unseal Management Pack from your SCOM using
Boris's OpsgMgr tools (MPViewer
2.3.3)
2) Ok you've got unsealed xml, now the tricky part, use
MpElementsExtract tool, example of usage:
MPElementsExtract.exe <MP.xml> /ex /destination:<destination>
That you way you get several folders out of mp:
DWScripts, DWSubScripts, LinkedReports, ReportResources, Reports
Take a look into content of first 2, there will be pure sql scripts, and rdl's are in Reports folder :)
Other way is to just use SQL profiler and catch SQL query while generating report.
--- Jeff (Netwrix) -
How to find out which type of the driver is used in our application?
Hi all,
can anyone tell me how to find out which type of the driver is used in our application?
Thanks in advance,
PhoenioxHi,
Check out this...
Class.forName("com.mysql.jdbc.Driver"); //if u r using MySql
List drivers = Collections.list(DriverManager.getDrivers());
for(int i=0;i<drivers.size();i++)
Driver driver = (Driver)drivers.get(i);
String driverName = driver.getClass().getName();
System.out.println("Driver "+i+":::"+driverName);
you need to load the driver and display in the same program.
Then only you'l get the required result.
prakhyath -
How to find out the query is accessing the DB tables or not
Hi Gurus ,
How to find out the query is accessing the DB tables or not.
Where exactly we will find this information in SAP BW.
I know that this information we can find in ST03. But where exactly we will find the query information along with DB information?Lakshmi
Activate BI Technical Content for Query analysis and run query against that.
Hope this helps
Thanks
sat -
How can I find the location of the signature used in the Adobe Reader signature feature?
How can I find the location of the signature used in the Adobe Reader signature feature? I've been using the signature feature for a while now and it works great and I'd like to use it on another computer. However, I forgot where I stored the signature. Adobe finds it with no problems (the signature pops up when I click "Place Signature"), but I have no idea where it is.
Hello,
It's here - C:\Documents and Settings\username\Application Data\Adobe\Acrobat\10.0\Security\
For more information, please refer - Cannot create a digital ID/signature
~Deepak -
How do I use the find my phone app to find my phone?
what do i need to do? I have the app in my computer, but I don't know how to find it or use it.To use Find my iPhone on a PC or Mac, open http://www.icloud.com, login with your Apple ID and choose Find my iPhone. There isn't an app for Mac or PC
-
How to write the query using Index
Hi All,
I have to fetch the records from Database table using Index, how can i write the query using Index. Can any body plz send me the sample code.
Help Me,
Balu.Hi,
See the below Example.
select * from vbak up to 100 rows
into table t_vbak
where vbeln > v_vbeln.
sort t_vbak by vbeln descending.
read table t_vbak index 1.
Regards,
Ram
Pls reward points if helpful.
Maybe you are looking for
-
Problem in Deploying ADF Application - development Mode
hi Experts, i have jdev11.1.1.5.0 in a combination with weblogic 10.3.5. my application is working fine, while running on integrated wls (just give right click and on my jspx page - auto deploying). if i going with manually deploying option on same i
-
Strange error while deploying on Weblogic
Hello, We have a simple JEE project (JSF, JEE), and we are using the Weblogic deployer (used by jenkins) to deploy a simple ear on WebLogic. The project is running perfectly under Glassfish on a local desktop. But when we try to deploy it on our dev
-
MIGO user exit to get serial number
Hi Experrts:- I need to change the status of serial number (equipment number ) during Migo (good receipt,Transfer posting). I have checked all the user exits and number of badis but i am not getting serial number at run time if i get serial numbar in
-
Query of Queries on 2 datasources
I'm trying to do a query of queries on 2 different datasources. I run a gaming site and have a 2 programs that are used for tracking. One is written in php, by someone else, that tracks members point status. The other, I wrote in CF, allows members t
-
Hi, I want to send a smartform to Email using an Output Type and Medium as "Simple Mail". In that User will maintain the Recipient addresses (Internet Email Addresses and SAPOffice address etc.) in the Comminication Method while issuing the Output. N