How do I List all queries in Dashboard or Report with a link to every Individual query?
Hello Brio Experts,
I have a BQY where I have created lots of individual queries. Almost 12- 15 queries in a single bqy file. Its very difficult for me to look for each query every time I want to use one. Can you help me how do I create a list of these queries in a dashboard or a report page on the top where it takes me to the query when I click on it ( Just like a hyperlink to each query).I am using 8.3.2 and no way my company will update the version. Really Appreciate your help
Thanks in a advance
Biju Jacob
IBM.
You cannot create links in report section that will take you to other sections within BQY.
You could create a Dashboard with a contol (Listbox or Dropdown) that could provide a way for you to move to a query section upon interaction with that control.
You will need to look at the Object Model within the Script Editor, review the manuals and online help related to Creating Dashboards.
if you have a script that you developed and have questions/issues i am sure that there are a number of people who will help.
-W
Similar Messages
-
How to get list of queries .....
how to get list of all queries on a particular cube, with descriptions?
(meta data repository is not avilable)Hi..
1. In the Bex you can fild the list of queries under a data target, by opening 'Queries'.
In the dialog box that appears, select the Infoarea button which is in the left pane.
You will get list of all Data targets. If you expand it you can find the queries built on those data target.
2. If you want to get the list of queries from Tables, you have to link the following tables:
RSZRANGE
RSZELTXREF
RSZELTTXT
RSRREPDIR
RSZSELECT
RSZCOMPDIR
Regards,
Debjani.. -
How to print/list all the groups/users present in Weblogic using Java code
Hi,
Weblogic version : 11.1.1.5
How to print/list all the groups/users present in Weblogic using Java code
I want to make a remote connection to Weblogic server and print all the users/groups present in it.
I have gone through the below mentioned site, but I cannot use the same approach since most of the API' are deprecated for example "weblogic.management.MBeanHome;"
http://weblogic-wonders.com/weblogic/2010/11/10/list-users-and-groups-in-weblogic-using-jmx/
Thanks in advance,
Edited by: 984107 on 05-Feb-2013 05:26
Edited by: 984107 on 05-Feb-2013 22:59see this http://www.techpaste.com/2012/06/managing-user-groups-wlst-scripts-weblogic/
Hope this helps. -
How can I list all the domains configured for Weblogic Servers?
How can I list all the domains configured for Weblogic Servers?
I saw a note, which says the following:
"WebLogic Server does not support multi-domain interaction using either the Administration Console, the weblogic.Admin utility, or WebLogic Ant tasks. This restriction does not, however, explicitly preclude a user written Java application from accessing multiple domains simultaneously."
In my case, I just want to list all the domains, is that possible by using any scripts?
Thanks
AJIf you use WLS Node Manager and the Config Wizard was used to create the domains, then the list of domains should be in a location like this:
<MIDDLEWARE_HOME>\wlserver_10.3\common\nodemanager\nodemanager.domains
Enterprise Manager Grid Control also has support for multi-domain management of WLS in a console. -
How can I list all users who have access to a particular TABLE or VIEW
Hi,
Can someone tell me how I can list all users who have access to a particular TABLE or VIEW.
AbhishekHi,
Take a look on this link: http://www.petefinnigan.com/tools.htm
Cheers -
How can I list all users and their DEFAULT tablespace?
How can I list all users and their DEFAULT tablespace?
PeterPeter, the following short article that lists the most heavily used Oracle rdbms dictionay views might be of interest based on your question:
How do I find information about a database object: table, index, constraint, view, etc… in Oracle ? http://www.jlcomp.demon.co.uk/faq/object_info.html
HTH -- Mark D Powell -- -
How do I list all classes in a Jar file?
How do I list all classes in a Jar file?
Its no problem if the jar file contains classes, but I have an EAR file, which contains a jar-file, and I want to list all classes in that jar-file.
I would like to do something like this:
java.util.jar.JarFile jarfile = new java.util.jar.JarFile( new File("/meYear.ear"), true );
java.util.jar.JarEntry jar = jarfile.getJarEntry( "myJar.jar" );
// Cast it to a new JarFile:
java.util.jar.JarFile newJar = (java.util.jar.JarFile)jar;
But the method getEntry returns something like jarFile$JarEntry, if I try to class cast it I get an classCastException. -
How can i get all these values in single row with comma separated?
I have a table "abxx" with column "absg" Number(3)
which is having following rows
absg
1
3
56
232
43
436
23
677
545
367
xxxxxx No of rows
How can i get all these values in single row with comma separated?
Like
output_absg
1,3,56,232,43,436,23,677,545,367,..,..,...............
Can you send the query Plz!These all will do the same
create or replace type string_agg_type as object
2 (
3 total varchar2(4000),
4
5 static function
6 ODCIAggregateInitialize(sctx IN OUT string_agg_type )
7 return number,
8
9 member function
10 ODCIAggregateIterate(self IN OUT string_agg_type ,
11 value IN varchar2 )
12 return number,
13
14 member function
15 ODCIAggregateTerminate(self IN string_agg_type,
16 returnValue OUT varchar2,
17 flags IN number)
18 return number,
19
20 member function
21 ODCIAggregateMerge(self IN OUT string_agg_type,
22 ctx2 IN string_agg_type)
23 return number
24 );
25 /
create or replace type body string_agg_type
2 is
3
4 static function ODCIAggregateInitialize(sctx IN OUT string_agg_type)
5 return number
6 is
7 begin
8 sctx := string_agg_type( null );
9 return ODCIConst.Success;
10 end;
11
12 member function ODCIAggregateIterate(self IN OUT string_agg_type,
13 value IN varchar2 )
14 return number
15 is
16 begin
17 self.total := self.total || ',' || value;
18 return ODCIConst.Success;
19 end;
20
21 member function ODCIAggregateTerminate(self IN string_agg_type,
22 returnValue OUT varchar2,
23 flags IN number)
24 return number
25 is
26 begin
27 returnValue := ltrim(self.total,',');
28 return ODCIConst.Success;
29 end;
30
31 member function ODCIAggregateMerge(self IN OUT string_agg_type,
32 ctx2 IN string_agg_type)
33 return number
34 is
35 begin
36 self.total := self.total || ctx2.total;
37 return ODCIConst.Success;
38 end;
39
40
41 end;
42 /
Type body created.
[email protected]>
[email protected]> CREATE or replace
2 FUNCTION stragg(input varchar2 )
3 RETURN varchar2
4 PARALLEL_ENABLE AGGREGATE USING string_agg_type;
5 /
CREATE OR REPLACE FUNCTION get_employees (p_deptno in emp.deptno%TYPE)
RETURN VARCHAR2
IS
l_text VARCHAR2(32767) := NULL;
BEGIN
FOR cur_rec IN (SELECT ename FROM emp WHERE deptno = p_deptno) LOOP
l_text := l_text || ',' || cur_rec.ename;
END LOOP;
RETURN LTRIM(l_text, ',');
END;
SHOW ERRORS
The function can then be incorporated into a query as follows.
COLUMN employees FORMAT A50
SELECT deptno,
get_employees(deptno) AS employees
FROM emp
GROUP by deptno;
###########################################3
SELECT SUBSTR(STR,2) FROM
(SELECT SYS_CONNECT_BY_PATH(n,',')
STR ,LENGTH(SYS_CONNECT_BY_PATH(n,',')) LN
FROM
SELECT N,rownum rn from t )
CONNECT BY rn = PRIOR RN+1
ORDER BY LN desc )
WHERE ROWNUM=1
declare
str varchar2(32767);
begin
for i in (select sal from emp) loop
str:= str || i.sal ||',' ;
end loop;
dbms_output.put_line(str);
end;
COLUMN employees FORMAT A50
SELECT e.deptno,
get_employees(e.deptno) AS employees
FROM (SELECT DISTINCT deptno
FROM emp) e;
DEPTNO EMPLOYEES
10 CLARK,KING,MILLER
20 SMITH,JONES,SCOTT,ADAMS,FORD
30 ALLEN,WARD,MARTIN,BLAKE,TURNER,JAMES
CREATE OR REPLACE FUNCTION concatenate_list (p_cursor IN SYS_REFCURSOR)
RETURN VARCHAR2
IS
l_return VARCHAR2(32767);
l_temp VARCHAR2(32767);
BEGIN
LOOP
FETCH p_cursor
INTO l_temp;
EXIT WHEN p_cursor%NOTFOUND;
l_return := l_return || ',' || l_temp;
END LOOP;
RETURN LTRIM(l_return, ',');
END;
COLUMN employees FORMAT A50
SELECT e1.deptno,
concatenate_list(CURSOR(SELECT e2.ename FROM emp e2 WHERE e2.deptno = e1.deptno)) employees
FROM emp e1
GROUP BY e1.deptno;
DEPTNO EMPLOYEES
10 CLARK,KING,MILLER
20 SMITH,JONES,SCOTT,ADAMS,FORD
30 ALLEN,WARD,MARTIN,BLAKE,TURNER,JAMES
CREATE OR REPLACE TYPE t_string_agg AS OBJECT
g_string VARCHAR2(32767),
STATIC FUNCTION ODCIAggregateInitialize(sctx IN OUT t_string_agg)
RETURN NUMBER,
MEMBER FUNCTION ODCIAggregateIterate(self IN OUT t_string_agg,
value IN VARCHAR2 )
RETURN NUMBER,
MEMBER FUNCTION ODCIAggregateTerminate(self IN t_string_agg,
returnValue OUT VARCHAR2,
flags IN NUMBER)
RETURN NUMBER,
MEMBER FUNCTION ODCIAggregateMerge(self IN OUT t_string_agg,
ctx2 IN t_string_agg)
RETURN NUMBER
SHOW ERRORS
CREATE OR REPLACE TYPE BODY t_string_agg IS
STATIC FUNCTION ODCIAggregateInitialize(sctx IN OUT t_string_agg)
RETURN NUMBER IS
BEGIN
sctx := t_string_agg(NULL);
RETURN ODCIConst.Success;
END;
MEMBER FUNCTION ODCIAggregateIterate(self IN OUT t_string_agg,
value IN VARCHAR2 )
RETURN NUMBER IS
BEGIN
SELF.g_string := self.g_string || ',' || value;
RETURN ODCIConst.Success;
END;
MEMBER FUNCTION ODCIAggregateTerminate(self IN t_string_agg,
returnValue OUT VARCHAR2,
flags IN NUMBER)
RETURN NUMBER IS
BEGIN
returnValue := RTRIM(LTRIM(SELF.g_string, ','), ',');
RETURN ODCIConst.Success;
END;
MEMBER FUNCTION ODCIAggregateMerge(self IN OUT t_string_agg,
ctx2 IN t_string_agg)
RETURN NUMBER IS
BEGIN
SELF.g_string := SELF.g_string || ',' || ctx2.g_string;
RETURN ODCIConst.Success;
END;
END;
SHOW ERRORS
CREATE OR REPLACE FUNCTION string_agg (p_input VARCHAR2)
RETURN VARCHAR2
PARALLEL_ENABLE AGGREGATE USING t_string_agg;
/ -
How to export 2 different report with a link at the same time
Hi,
Do anybody know how to export 2 different report with a link at the same time. I currently create a report which link to another report. But when I want to export the 1st report I also want the 2nd report also be exported.
Thank you very much.
Best Rgds,
SL VoonExport all the three components individually.
It will generate 3 script files. Now run them from SQL>
null -
How to find list of Queries built on Multiprovider &steps to transport quer
Dear Experts,
I got a task to Check if any queries are built on a multiprovider and to change the filter condition on 0INFOPROV to restrict some more Infoproviders in all the queries built on multiprovider .
Request you to help me out how can i find list of queries created based on Multiprovider wise and steps to be followed to restrict 0INFOPROV.
And one more doubt is, what are steps to be followed to transport the queries.
Thanks in advance for favorable assistance.
Thanks & Regards,
Ramesh - Kumar.Hi..
Follow the steps below:
1) Goto RSA1 -> Metadata Repository -> Select Multiprovider -> Find (Cntrl+F) give your object name -> Double click on search result object, this will give you detailed view of used that particular Objects.
2) To restrict infoprovider within that Multiprovider for Query reullts, Double click on Multiprovider -> choose Change mode -> You'll be able to select/deslect the check boxes under the Infoprovider Tabs (Infocube, DSO, Info Objct, Infosets, Aggr levels) there you can check the infoproviders as per your requirements then selelct the display options with Display All Infoproviders (1st option) at down then continue and save the settings.
Hope this helps you.
Thanks,
Ramanan. -
How do you list all your created scripts?
Hi all.....
Is there a way to list all of the scripts that you have created that are in your database? I tried the SELECT * FROM CAT but that wont list your scripts. Any ideas?786304 wrote:
If we have stand alone procedures and functions
user_source or dba_source gives the list
**If we have the procedures and functions within the packages How will us know?**
Can anybody give me the query for that one
Thanks,Hi,
Check out this.
SELECT dbms_metadata.get_ddl('PACKAGE','your_package_name') FROM dual;
SELECT dbms_metadata.get_ddl('PACKAGE_BODY','your_package_name') FROM dual;Hope this Helps.
regards,
achyut k -
How can I list all files in a subdirectory in a jar
Hello.
I have wrote a program which lists all class files in given directory.
I used Class.getResource(""), and File.list().
Now I turned the program into single jar file.
It never works.
I know the reason but do not know how to fix the problem.
What can I do?
Thank you in advance.If you are trying to list the files of jar file from java code you can use this code.
Try with the below code
=============================================
try {
// Open the JAR file
JarFile jarfile = new JarFile("filename.jar");
// Get the manifest
Manifest manifest = jarfile.getManifest();
// Get the manifest entries
Map map = manifest.getEntries();
// Enumerate each entry
for (Iterator it=map.keySet().iterator(); it.hasNext(); ) {
// Get entry name
String entryName = (String)it.next();
// Get all attributes for the entry
Attributes attrs = (Attributes)map.get(entryName);
// Enumerate each attribute
for (Iterator it2=attrs.keySet().iterator(); it2.hasNext(); ) {
// Get attribute name
Attributes.Name attrName = (Attributes.Name)it2.next();
// Get attribute value
String attrValue = attrs.getValue(attrName);
} catch (IOException e) {
=================================================
use import java.util.*;
and import java.io.*; -
How do I detach all queries in Workbook under 04s BEX?
BEx versions prior to 04s allows you to select Tools -> All Queries in the Workbook -> Detach
now however within 04s, its seems this functionality has disappeared?hi Greg,
If you are trying to delete the query assignment in the workbook, then you have to switch to "Design Mode" and the click on the "Analysis Grid" and in "Analysis Grid Properties" window delete Data Provider.
Hope this helps.
Bhargava -
How can I list all the column names of a table by programming?
Hi,
Now I want to write an function which has the following features:
Firstly, The function was given a parameter as table name.
Then, it will lists all the columns names of the table.
e.g
table: person
---firstName------lastName----+
Michale Jackson
We can get the columns 'firstname' and 'lastName' by calling the function with table name 'person'.
And I also wonder that where I can get reference book or any other materials?
Thanks.
Edited by: wenjing wang on Feb 15, 2008 6:42 AM
Edited by: wenjing wang on Feb 15, 2008 6:57 AMhi,
hope the below code helps u. Just take the headee which contains the field name and split it like below and compare it with the field name u want here 'last name'.
here,
'First name' will be in wt_filedata1 and remaining field names in wt_filedata2, so 'do' continues.
c_tab must be the separator, either , or + or tab etc..
CODE:
read table person into wl_header index 1.
do.
split wl_header at c_tab into: wt_filedata1 wt_filedata2.
if wt_filedata1 <> 'lastname'.
cnt1 = cnt1 + 1.
wl_header = wt_filedata2.
else.
exit.
endif.
enddo.
Please reward if it is useful.
regards,
sri -
How to find list of queries that the Cost Center infoobject is used in.
Hi
Is there any easy way of finding the list of queries that has cost center (0COSTCENTER) used in them? Please let me know.
Thanks for your help.or try to create and run this program (SE38)
Where-used list of an attribute (either display or navigational)
REPORT ZZZ_IO_QUERY.
tables : RSZRANGE, "table
RSZELTXREF,
RSZELTTXT,
RSRREPDIR,
RSZSELECT,
RSZCOMPDIR.
data : begin of IT_RSZSELECT occurs 0,
iobjnm like RSZSELECT-iobjnm,
eltuid like RSZSELECT-eltuid,
end of IT_RSZSELECT,
begin of IT_RESULT occurs 0,
iobj like RSZSELECT-iobjnm,
iobjnm like RSZSELECT-iobjnm,
infocube like rszeltxref-infocube,
compid like rszcompdir-compid,
txtlg like rszelttxt-txtlg,
laytp like rszeltxref-laytp,
end of IT_RESULT.
data : iobj2 like RSZSELECT-iobjnm,
l_count type I.
select-options : IOBJ for RSZSELECT-IOBJNM.
write :/ 'Infoobject : ', IOBJ+3.
write at /20(30) 'Name'.
write at 50(15) 'Infocube'.
write at 65(30) 'Query Tech Name'.
write at 95(50) 'Description'.
loop at IOBJ.
l_count = 0.
concatenate '%' iobj-low into iobj2.
select iobjnm eltuid
from rszselect
into table it_RSZSELECT
where ( iobjnm in IOBJ or
iobjnm like IOBJ2 )
and objvers = 'A'.
loop at it_RSZSELECT.
it_result-iobj = iobj.
it_result-iobjnm = it_RSZSELECT-iobjnm.
select *
from rszeltxref
where teltuid = it_RSZSELECT-eltuid
and objvers = 'A'.
Query description
field txtlg
select *
from rszelttxt
where eltuid = rszeltxref-seltuid
and objvers = 'A'.
endselect.
Query technical name
field compid
select *
from rsrrepdir
where compuid = rszeltxref-seltuid
and objvers = 'A'.
endselect.
endselect.
it_result-infocube = rszeltxref-infocube.
if it_result-infocube = ''.
it_result-infocube = rsrrepdir-infocube.
endif.
it_result-compid = rsrrepdir-compid.
it_result-txtlg = rszelttxt-txtlg.
it_result-laytp = rszeltxref-laytp.
append it_result.
endloop.
sort it_result by infocube.
loop at it_result.
l_count = l_count + 1.
write at / l_count.
write at 20(30) it_result-iobjnm.
write at 50(15) it_result-infocube.
write at 65(30) it_result-compid.
write at 95(50) it_result-txtlg.
endloop.
endloop.
Maybe you are looking for
-
I'm trying to type a website on the search engine but it won't let me type the website. Like, when I type a letter it'll automatically clear it unless I hold the letter down. How do I fix this?
-
Photoshop CC (2014) crashing on startup
Photoshop 2014 is crashing on startup after first time install. Dialog appears "Adobe Photoshop CC 2014 has stopped working" It seems to happen within seconds of startup about 80% of the time. Other times it will not crash for minutes. Anyone have an
-
Hi, I am working in a SAP XI support project. I need to give a report/presentation on how XI's performance over the last 6months or 1 year. Please suggest me how the report could like and what could be the parameters to be included... Also, do share
-
How do I add LaTeX or an image to a PDF in Preview?
I would like to be able to annotate a PDF with math formulas. I saw an option for adding latex, but I can't get it to work. I could create the image of the formula that I want to add, but I can't seem to add an image to the PDF either. Any suggestion
-
Permission request for going full screen and border alert removal.
Ok so I play some applications games on facebook and currently everytime I go to full screen via the game it requires me to "allow" the program to go full screen. Also there is always a border alert if my cursor touches it and causes an alert to pop