Query to display workbooks ?
Hai all,
I have all the workbooks and the EUL is created and stored in the database, I want to know is there anyway I can query the database to fetch all the customized workbooks and all the users who have created it ?
I trired querying eul4_documents but not of any use..
any comments ?
Thanks
Yusuf
Hi,
just change the scheme in the "from" and go for it...
SELECT
DOC.DOC_NAME WORKBOOK_NAME ,
U.USER_NAME OWNER_NAME,
--OWN_USR.EU_ID OWNER_ID,
OWN_USR.EU_USERNAME USER_ID
FROM
EUL_XX.EUL5_DOCUMENTS DOC,
EUL_XX.EUL5_EUL_USERS OWN_USR ,
FND_USER U
WHERE
OWN_USR.EU_ID = DOC.DOC_EU_ID
AND TO_CHAR(U.USER_ID(+)) = SUBSTR(OWN_USR.EU_USERNAME,2,10)
;
Similar Messages
-
Problem refreshing query when opening workbook in VBA
I have a report menu in a workbook not containing any queries - only the description, technical name and additional information about the reports.
I use Run ("SAPBEX.XLA!SAPBEXreadWorkbook"), <TECHNICAL_NAME> to open the respective workbooks, which works fine.
However, if I try to refresh the query, BEx displays a message saying:
"Can only refresh this query agains a server of release 2.0 or higher: <QUERY DESTINATION RANGE>"
We're using BW 3.5!
After that, BEx is a complete mess:
- Open workbook dialog is from a previous version (without History, Favorites, Roles buttons)
- All workbooks are displayed, but if I try to open one, BEx claims that "The workbook does not exist in the document store". Then why display it, dear SAP programmers?
Now, if I disconnect and reconnect, the query can be refreshed as if I had opened the workbook directly instead of using VBA.
Our users like the idea of a report menu, so any help would be appreciated!Changed the error handling as follows, dropped the SAPBEXinitConnection function, which is completely redundant:
Sub OpenWBTechName()
On Error GoTo ErrorHandler
Run ("SAPBEX.XLA!SAPBEXreadWorkbook"), <TECHNAME>
Exit Sub
ErrorHandler:
If Err.Number = 1004 Then ExtraInfo = "Start BEx Analyzer!"
res = MsgBox("Sorry, could not open requested report!" & vbCrLf & vbCrLf & ExtraInfo, vbExclamation + vbOKOnly, "Open SAP/BW workbook report: ERROR!")
End Sub -
Hello Experts,
When I am assigning data providers to a query in a workbook and viewing it after some days the old data is coming and not the current data.
On going to design mode i can see that the query's area has shrinked and its not over the same area anymore.
I dont want to assign data providers all the time. Kindly tell me whats the solution for this?
RohitWhen I am assigning data providers to a query in a workbook and viewing it after some days the old data is coming and not the current data.
You need to refresh your workbook to see current data or enable the property to refresh workbook on opening.
On going to design mode i can see that the query's area has shrinked and its not over the same area anymore.
Ya,thats how it displays you see data only in analysis mode.
I dont want to assign data providers all the time. Kindly tell me whats the solution for this?
You neednot do this all the time.Its one time activity.
Hope this helps. -
How can I insert Query in a Workbook
Hi,
I am new in BI 7.0. I am trying to insert a query in a workbook. but the tools button is not giving me the option to insert query like 3.X
How can i insert query in 7.0
Can anybody please give me the step by step instruction.
Thanks in Advance1. Open BEx ANalyzer.
2. Create new excel workbook by hitting the "New" icon in Excel.
3. Logon to a backend BI system.
4. Click the design mode icon.
5. Put your mouse on a cell and insert a table.
6. Assign a dataprovider to this table.
7. Switch off design mode.
Hope it Helps
Chetan
@CP.. -
How do you have more than one parameterized Query to display "All"?
hi,
I am using:
Jdeveloper 9.0.5.2
Oracle Database 9.2.0.1
Toplink
Struts
I have been able to create a parameterized query to display an html read only table.
I populated a dropdown list with values from the database
and the values I select will be the parameters to my read only table.
The drop down list is on the same page as the read only table.
I have all this working but I also need to hard code an option in the Drop down to "All"
to represent all values of this parameter.
I was able to trick the jsp page using two read only tables
and displaying the one with the parameterized query when a parameter other than "All" was chosen
and then display the other only when "All" was chosen.
This does not seem the best way to do it.
What if I had more than one parameter and I wanted to show "All"
the values of one and a certain values for another.
I would then need at least 4 read only tables.
How do I accomplish this in an easier way?
Thanks in advance.I am not exactly sure what you are asking... Are you having trouble with TopLink, or another part of your application?
Peter Krogh -
Not able to replace new query in old workbook
Hi All,
I am having a workbook on a query which was developed long back,due to few changes i created new query and now i want to replace that query in old workbook which it is not allowing also tried to create new workbook with new query but when i run workbook it shows no applicable data found ,when i run query the data is coming.
I need all your suggestion on this
Regards
DevaHi Dev,
Open your Workbook and Go to the Sheet in which the desired query (to be removed) is embedded.
In the "BEx Toolbar" 3rd Last Icon if you place cursor on it it will say "Tools" > Click on Tools and you will see an Option "Remove Query" or if you want to remove All queries from Work book there is another option Tools> All Queries in Workbook --> Detach.
This will remove the Query from Workbook.
Then in same Tools--> you can see Insert Query click on it and point (select) your new Query.
This will insert the new query in Workbook.
Save the Workbook.
Hope this will resolve your issue.
Do post back if you face any probs.
Thanks
CK -
Warning pop up before query results display
Hi,
Iam getting one pop up Box before query results display in that box I am getting around 10 messages like below.
*Warning period 00000000- No vaild translation date to specify (ZMRATECMN)"
after I click on the CLOSE tab on that box it is displaying query results.
It seems this is warning related to currency traslation.
How to avoid this pop up box display with the messages.Please help me.Hi,
You can supress the messages in RSRT. Select your query and click the button warnings button in toolbar. There you can see all the messages. select the check boxes of the corresponding messages you want to supress and click save.
Thanks
Venkat -
SCCM report query that displays count of cpus per host and if host is physical or virtual
Hello,
I have this query that displays the count of CPUs per host. How can I add a column to show if the host a physical or virtual?
SELECT
DISTINCT(CPU.SystemName0) AS [System Name],
CPU.Manufacturer0 AS Manufacturer,
CPU.Name0 AS Name,
COUNT(CPU.ResourceID) AS [Number of CPUs],
CPU.NumberOfCores0 AS [Number of Cores per CPU],
CPU.NumberOfLogicalProcessors0 AS [Logical CPU Count]
FROM [dbo].[v_GS_PROCESSOR] CPU
GROUP BY
CPU.SystemName0,
CPU.Manufacturer0,
CPU.Name0,
CPU.NumberOfCores0,
CPU.NumberOfLogicalProcessors0I see that you have posted this exact question in another forum for CM12, however this is an CM07 forum.
Are you CM07 or CM12?
If you are CM12, use my answer here.
http://www.systemcentercentral.com/forums-archive/topic/sccm-report-query-for-cpu-cores/
If you are CM07, this is NOT a simple how exactly do you detect that a computer is a VM? You can guess by looking at the manufacturer name but it is only a guess.
Garth Jones | My blogs: Enhansoft and
Old Blog site | Twitter:
@GarthMJ -
Ink rows in query of a workbook
Hello,
I'd like to ink the rows in color blue in a query in a workbook. I know these rows are always F22:S23. Is ist possible about macros ore something else to format these cells in my color I want in the query? We use BEx 7.
Many thanks in advanceHi,
1. Goto Design mode of workbook
2. Click on 'Analysis Grid' ,
3. Uncheck the option 'Apply Formatting' and go back to workbook (exit design mode),
4. Format/ink the colors whatever you like and save it.
It should work, let me know if you need more details on the approach.
Thanks,
Umashankar -
Formatted search query for displaying invoice items details
hi all,
i need to display all the items in AP invoice.kindly suggest me a query for that.
in AP invoice
Ex. row items
code--descqtyprice--
total
I0001--XXXXXXX5--
100 -
500
query should display this row as
code--desc--
price
I0001--XXXXXXX--
100
I0001--XXXXXXX--
100
I0001--XXXXXXX--
100
I0001--XXXXXXX--
100
I0001--XXXXXXX--
100
=================================
the query should display as the qty is 5 so it will display the same item 5 times
kindly suggest me some query for formatted search
its very urgent
regards
sandipHi Sandip,
DoQuery("Select b.ItemCode from OINV a,INV1 b Where a.DocEntry=b.DocEntry")
Hope its help for you
Give me reward points,
Regards,
G.Suresh. -
Why does the Query Result display "X" as a result
Hello All,
I have a query in which there are 6 Characteristics and 1 calculated key figure. But when the query is executed the query result displays as "X" in the column against all the 6 characteristics.
Can anybody provide solution as to why the result displays "X" as a result.
Regards,
VikramHello all,
Everybody answered it correctly. But when i debugged the query, i did not get any calculation which is getting divided by 0 and there were no mixed units of measurements. Probably it was an erroneous transport earlier. I only created and request again and transported the query from dev and the query is running fine.
Thanks everybody.
Vikram -
Insertin a query in a workbook
We are on the new version and I don't see the option under the tools to add a query to a workbook. Has this featured been removed?
thanksNikki,
It is up to you where you insert the said items but you might like to consider the following:
- When you insert the query (analysis grid) it has a tab page where you can define whether the results set should be 'clipped' or added with a scroll bar. This will enable you to insert items around the analysis grid and you can then be sure they will not be overwritten because the results will be 'contained'. The standard setting is 'full size', in which case, anaything underneath / to the right will be overwritten if the query expands so you need to change it.
- If you want to have persistent changes to the query format then you can do this by changing the excel styles for the relevant query parts and then using the 'Themes' within the 'Workbook Settings' to save and apply them
- There is no way to enter the variable screen into the worksheet as such. The concept now is that the users enter their variable values and then use the navigation pane to filter the results set - which is not that different from 3.5. So therefore you put the navigation pane / filters etc. in the wrokbook. If you want the user to access the variables then they have to select the button on the 'Analysis' toolbar, or you can create a button that calls the variable screen up using the button wizard (CMD>SHOW_VARIABLE_SCREEN).
Hope this helps,
Rgds, Keith -
Rows to columns/Transpose the records Query and Display output
hi ,
can anyone help me query this and transpose it to this format?
i am still a beginner in sql.
thanks for help!
Rows to columns/Transpose the records Query and Display output
id startdate endate
1111 1/2/2001 11/3/2001
1111 2/5/2002 4/3/2002
1111 2/6/2000 2/5/2001
3333 5/2/2003 11/3/2003
3333 6/2/2003 12/3/2003
3333 2/6/2005 2/5/2005
desired output
id startdate1 endate1 startdate2 endate2 startdate3 endate3
1111 1/2/2001 11/3/2001 2/5/2002 4/3/2002 2/6/2000 2/5/2001
3333 5/2/2003 11/3/2003 6/2/2003 12/3/2003 2/6/2005 2/5/2005Have you only 3 dates for each id ?
So, try :
SQL> l
1 with tbl as
2 (select 1111 as id, to_date('01/02/2001','DD/MM/YYYY') startdate, to_date('11/03/2001','DD/MM/YYYY') enddate from dual union all
3 select 1111 as id, to_date('02/05/2002','DD/MM/YYYY') startdate, to_date('04/03/2002','DD/MM/YYYY') enddate from dual union all
4 select 1111 as id, to_date('02/06/2000','DD/MM/YYYY') startdate, to_date('02/05/2001','DD/MM/YYYY') enddate from dual union all
5 select 3333 as id, to_date('05/02/2003','DD/MM/YYYY') startdate, to_date('11/03/2003','DD/MM/YYYY') enddate from dual union all
6 select 3333 as id, to_date('06/02/2003','DD/MM/YYYY') startdate, to_date('12/03/2003','DD/MM/YYYY') enddate from dual union all
7 select 3333 as id, to_date('02/06/2005','DD/MM/YYYY') startdate, to_date('02/05/2005','DD/MM/YYYY') enddate from dual )
8 select id, max(decode(dr,1,startdate)) start1,
9 max(decode(dr,1,enddate)) end1,
10 max(decode(dr,2,startdate)) start2,
11 max(decode(dr,2,enddate)) end2,
12 max(decode(dr,3,startdate)) start3,
13 max(decode(dr,3,enddate)) end3
14 from (select id, startdate,enddate, dense_rank() over (partition by id order by startdate) dr from tbl)
15* group by id
SQL> /
ID START1 END1 START2 END2 START3 END3
1111 02/06/00 02/05/01 01/02/01 11/03/01 02/05/02 04/03/02
3333 05/02/03 11/03/03 06/02/03 12/03/03 02/06/05 02/05/05
SQL> HTH,
Nicolas. -
Some of the description of object ID for job master query is displayed in g
some of the description of object ID for job master query is displayed in german language although the language is set as english.This happens in production system.wat may be the issue with this....
ya i checked it is EN only.....but still some problem exists......
-
Query to display BOMs Header and Item
Hello SAP gurus
I am trying to create a query to display BOMs with header and item. For that I am using tables MAST, STKO and STPO.
The table join is:
MAST -> STKO -> STPO
MAST - WERKS, STLNR and STLAL
STKO - STLNR and STPOZ
The system dont show anything...
Can someone help me?
Thanks in advance.
Adelmo SilvaYes, it works but...
If I have 2 alternatives, the system show everything even if i select alternative 1 or 2.
I am missing something... because system is showing all alternatives...
System is showing something like this:
Material BOM AltBOM BOM St Item ICt Component Valid from Quantity Un
726121012 00131075 1 01 0010 L 109219 17-12-2007 0,200 KG
726121012 00131075 1 01 0020 L 109230 17-12-2007 0,003 KG
726121012 00131075 1 01 0030 L 109232 17-12-2007 1,166 M2
726121012 00131075 1 01 0040 L 726004012 17-12-2007 0,120 M3
726121012 00131075 1 01 0010 L 109526 17-12-2007 0,200 KG
726121012 00131075 1 01 0020 L 109232 17-12-2007 1,166 M2
726121012 00131075 1 01 0030 L 726004012 17-12-2007 0,120 M3
Edited by: Adelmo Silva on Jan 9, 2008 9:07 AM
Maybe you are looking for
-
Hello experts... Can any body have the step by step process for how to deply the par files? please let me know if you have any weblogs? Thanks padma
-
Does anyone else share my frustration with BT for their lack of help over setting up their Home Hub 5 (HH5)? I have just taken out an Infinity contract and had my new HH5 installed. I have some fairly basic requirements for setting up my home network
-
Can we create a StructDescriptor for a pl/sql Type declared in a Package?
Hi, I went thru many threads on the forum regarding passing Structs and Arrays from java to pl/sql and back. In one of the threads, Tom Trevor has asked this question, but I do not see any definitive answer there. (if it's there, maybe I didn't get i
-
I have asked a similar question to this before because I cant get my head around the problem at all. the code bellow produces the result shown in the FIRST picture bellow (note that I have selected the chive div in the code to make a blue outline app
-
Modify existing SAP Query / Quickview
Hello, Greetings! We have a requirement to modify an existing SAP Query. This query was created much earlier by a user who is no longer present. We have the query name, user group, and the program for the query. This query, we assume was created usin