Table to find a list of queries in which a perticular key figure is used.
Hi all,
I have a list of key figures. I have to find all the queries that are using any of them. All these key figures are z key figures.
Please let me know if there is any table to get this information.
Regards,
Deepti.
Hi
Just goto RSD1 and give Keyfigure and click in where used list Icon, then it will show all obejcts which are used that perticular InfoObejct.
See some usefull Tables for Reports
RSZELTDIR Directory of the reporting component elements
RSZELTTXT Texts of reporting component elements
RSZELTXREF Directory of query element references
RSRREPDIR Directory of all reports (Query GENUNIID)
RSZCOMPDIR Directory of reporting components
RSZRANGE Selection specification for an element
RSZSELECT Selection properties of an element
RSZELTDIR Directory of the reporting component elements
RSZCOMPIC Assignment reuseable component <-> InfoCube
RSZELTPRIO Priorities with element collisions
RSZELTPROP Element properties (settings)
RSZELTATTR Attribute selection per dimension element
RSZCALC Definition of a formula element
RSZCEL Query Designer: Directory of Cells
RSZGLOBV Global Variables in Reporting
Thanks
Reddy
Similar Messages
-
How to find the list of Queries/Reports which are using Exceptional Aggregation in SAP BI?
Hi All,
We are interested to know how to find the list of Queries/ Reports which are using Exceptional aggregation in SAP BI.
Please let us know is there any table's to check the list of reports using Exceptional Aggregation in SAP BI.Hi,
Here you go..
1) Go to table RSZCALC and get list of ELTUID where AGGREXC is not INITIAL and AGGRCHA is not initial; now you get only exception aggregation set based on some chars. Also you can further add STEPNR = 1 since your intention is just to get query name , not the calculation details; this will reduce number of entries to lookup and save DB time for next steps.
Here you will get list of exception aggregation UUID numbers from which you can get properties from RSZELTDIR.
2) Pass list of RSZCALC-ELTUID to table RSZELTXREF - TELTUID and get list of RSZELTXREF -SELTUID - this table stores query to it's elements maping kind.
3) Now again pass RSZELTXREF - SELTUID into same table but into different field RSZELTZREF - TELTUID and get RSZELTXREF - SELTUID
This step you get query reference sheet or column or query general UUID for next step.
4) Pass list of RSZELTXREF - SELTUID into RSZELTDIR - ELTUID with DEFTP as 'REP'. Now you get list of query names in RSZELTDIR - MAPNAME and description in TXTLG.
Note: you can also get the reference chars used for exception aggregation from RSZCALC - AGGRCHA field.
Hope this helps.
Please keep in mind, it might take more time depends on how many query elements you have in the system...
Comments added for better DB performance by: Arun Thangaraj -
How to find the list of queries containing a Particular Infoobject
Hi all,
I have requirement to find the list of queries and workbooks which contains a Particular Infoobject. Please advice is there any Database table or Programs exists to find..
Thanks in advance
GAMY..Hi,
Thanks for your replies.
I have tried the oprion already..(RSD1 > Type in the name of the InfoObject and from the menu Edit > choose Where Used list.) but no use. It doesn't show the list of queires..It shows only the data targets.
I would like to know is there any table to achieve the requirement.
Thanks in advance
Ganesh(GAMY) -
How to find the list of Queries for that have statistics enabled in the sys
Hi ,
How to find the list of Queries that have statistics enabled on them in the system.
Please help me in this regard
Thanks
Maruthihi ,
I found three options there like
X - on
D - Default
off
can you please expalin the difference between on and Default
Thanks in Advance
Maruthi -
Hai,
How to find the list of queries currently running in the Database with User Login Information.
Since my database application is running slow, to find the slow queries.Try the below query
SELECT r.start_time [Start Time],r.session_id [SPID],
DB_NAME(database_id) [Database],
s.host_name,
s.program_name,
s.login_name,
SUBSTRING(t.text,(r.statement_start_offset/2)+1,
CASE WHEN statement_end_offset=-1 OR statement_end_offset=0
THEN (DATALENGTH(t.Text)-r.statement_start_offset/2)+1
ELSE (r.statement_end_offset-r.statement_start_offset)/2+1
END) [Executing SQL],
r.status,command,wait_type,wait_time,wait_resource,
last_wait_type
FROM sys.dm_exec_requests r
OUTER APPLY sys.dm_exec_sql_text(sql_handle) t
inner join sys.dm_exec_sessions s
on s.session_id = r.session_id
WHERE r.session_id !=@@SPID -- don't show this query
AND r.session_id > 50 -- don't show system queries
ORDER BY r.start_time
Regards, Ashwin Menon My Blog - http:\\sqllearnings.com -
To get the list of queries in which a particular variable is used - urgent
Hi Friends,
I have a list of variables which were used in some queries, now I need to know list of queries in which the given variable is used.
for example: There is a variable called ZVBASMNT and used in some queries, I want to get the names of the queries in which it was used.
please give some short method for this, if there is any table or Tcode for this please provide, its bit urgent.
Thanks & points will be given for the helpful answer
Regards...
GaneshDear Ganesh,
Yes, You can find.
Goto Metadata Repository in RSA1.
Click on Query
Selct / Click on a Query which uses your variable ZVACITY
Click on your variable
Just observe the USED BY list.
Regards,
Ram. -
Re : To find the list of program in which partcular include program is used
Someone could tell me the function module through which it display the list of program in which a particular include prgram is used.
thanks in advance
Neeraj guptaNeeraj gupta,
This is SAP Business One Core forum. Dedicate to SAP Business One - a solution for SME. Please close your thread since this forum is not related to you.
Thanks,
Gordon -
How to find if one key figure is used in any report
Dear Experts ,
I have one key figure info object .I wanted to know how to find this key figure is used in which report .
As I know "where used list " but this will not help me .
Any suggestions please share .
PuruHi Puru,
Try following approach,
goto RSZELTTXT table and put your key figure name in the long text and click on execute. Get the list of all the ETULID's and go to table RSZCOMPDIR from this table for all the ETLUID's get all the list of COMPUID's and from COMPUID's you will be able to find all the reports from RSRREPDIR in which that key figure is getting used.
Regards,
Durgesh. -
How to find which Restricted Key Figures are using a specific hierararchy??
HI Experts,
I am updating a very important hierarchy which is used in many queries and in many Restricted key figures. Is it possible to find in which Restricted Key Figures this specific hierarchy is used??
Thanks in advance.
Meyling.Hi
I was able to find a solution
I built a new dataset in report builder using the same table as before but tried out the "Group and Aggregate" function and for the case_ship
field I chose "Sum" as my aggregate.... In essence this gave me a very cool and easy daliy sum of the shipped cases.
When I used this new dataset and built my matrix report I was able to easily get the max daily shipment for each product by week, month and
year.
Tom -
The table name or tcode to count the number of Dimensions and Key Figures
Hi all,
Do you have an idea about the table name or tcode to count the number of Dimensions and Key Figures of an Infocube WITHOUT installing the cube from Business Content?
Thanks in adv.
AjayHi,
You can't do that because there's no active table in the system for the Business Content since it hasn't been installed yet...
One thing you could do is go to the Business Content Tab, select "Infoproviders by InfoArea" on the left side, look for the Cube or DSO you want to check, right click on it and select "Display Description".
On the window that opens you'll have a list of all InfoObjects and Key Figures. You also have the option to Display it as Start Schema, where you can see the Dimensions, etc.
Hope this helps.
Luis -
Table to find the list of shopping carts
Hi SRM Gurus,
could you please guide me is there any table if i want to find the shoppingcart cart list for the particular catagory,particular vendor lke that.
Correct answer will be apprecitable.
Thanks In Advance
KalaHi,
How about following table-field ?
BBP_PDIGP-CATEGORY_ID
CRMD_ORDERADM_I-HEADER
CRMD_PARTNER-PARTNER_NO
SRMD_LINK-GUID_SET
SRMD_LINK-GUID_HI
CRMD_ORDERADM_I-HEADER
Regards,
Masa -
The table in which the Calculated key figure properties are stored ?
Hi experts,
Can any of you pls let me know the table which the stores the property like 'Before Aggregation' for CKF. I want to find all the queries which contain CKF with before Aggregation property ?
Kindly help
Regards
AshwinAshwin,
Am not sure whether there is any table can store this kind of information, but you can have a look in the followiing tables:
RSZELTDIR - Directory of the reporting component elements
RSZELTTXT - Texts of reporting component elements
RSZELTXREF - Directory of query element references
RSRREPDIR - Directory of all reports (Query GENUNIID)
RSZCOMPDIR - Directory of reporting components
RSZRANGE - Selection specification for an element
RSZSELECT - Selection properties of an element
RSZELTDIR - Directory of the reporting component elements
RSZCOMPIC - Assignment reuseable component <-> InfoCube
RSZELTPRIO - Priorities with element collisions
RSZELTPROP - Element properties (settings)
RSZELTATTR - Attribute selection per dimension element
RSZCALC - Definition of a formula element
RSZCEL - Query Designer: Directory of Cells
RSZGLOBV - Global Variables in Reporting
Hope it might help you..
Assign Points if it helps
Regards,
Gattu -
List of queries where in a hierarchy being used.
Hi -
Could anyone please tell me how to find out list of queries where in a particular hierarchy is being used.
Not the queries where a infoobject is used.
I want the list of queries where a hierarchy is being used.
Thanks for the help
Praveen TatiHi
Go to the Hierarchies Table and say where Used list
SE16
CGPL_HIERARCHY
COMC_HIERARCHY
COMM_HIERARCHY
COMM_HIERARCHYH
COMM_HIERARCHYT
COMM_HIERARCHYTH
COMM_HIERARCHYWL
HIERARCHY_ENTRY
RSROLEHIERARCHY
UPB_SY_HIERARCHY
UPB_YT_HIERARCHY
UPS_TP_HIERARCHY
UPWB_HIERARCHY
USS_BW_HIERARCHY
BIC/H -- Heirarchy Table
/BIC/K -- Heirarchy SID Table
RXSELTXREF, RSCOMPDIR -- Reports/query relavent tables
You can even go and see the Table RSRRREPDIR -- For the Directory of Reports
Hope it helps -
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. -
Table name to know the list of queries
I want to get the list of reports in which given info object has been used.
Could you help me in indentifying the table name which will provide the this info.Dear R S
I do not know such a table, but maybe there is another solution. If you start the "Transport Connection" and select your InfoObject with grouping option "In Data Flow Afterwards" you should see all queries under node "Query Element".
Greetings,
Stefan
Maybe you are looking for
-
Unable to install iTunes for more than one user account on same PC
My sister and I have different user accounts on our PC. I recently just got an iPod nano, while she has owned one for a few months. After I installed iTunes on my account, it erased iTunes on her account and deleted all of her iTunes playlists. Why i
-
NetStream.Play.Stop : Problem:
Hi, I have develop video streaming application with Flash Media server 3.5 + and Use Dynamic stream feature , this player work correct in all way but issue with NetStream.Play.Stop() command set while playing video without EOF i.e video file .f4v fo
-
How do i import my library to my new laptop ?
Any help appreciated
-
Download from store not working
okay, I found the two songs but the download just sits there. The bar will not even start. Is there something going on with the store?
-
Iphoto won't open after upgrade to Mavericks
After upgrading to Mavericks a few wks ago I am having an issue with iphoto. It did an auto update after upgrading to Mavericks, but now it has a circle with a line through it (blocked). The pop up window says cannot open iphoto because it may be d