Multiple queries in a workbook and final result
Hi All,
Is there any way Bw can handle the below.
I have a workbook with 2 queries:
1. Total sales by employee
2. The monthly budget for this employee
I want to put the total sales and budget from each query in sheet 3 of my workbook. Can BW handle this. I'm thinking a macro could handle this, but was hoping BW could. Any advice.
Thanks.
Hi Mike,
To insert multiple queries in a single woorkbook.
In the Business Explore --> Analyser --> Open the first query and then click on tools button of the BEx add on components and select the option ( Insert Query ).
Reg's,
Pratap Reddy Bodimalla.
Similar Messages
-
Inserting Multiple queries into a workbook
Hi Friends,
I have to insert multiple queries into a workbook and each query should be in a different worksheet of the work book.
I have gone thru some of the SAP documentation, for example http://help.sap.com/saphelp_nw04/helpdata/en/3a/89883989676778e10000000a11402f/frameset.htm
In above link under the fatures section it says
If you want to insert a query into the active workbook:
Open a workbook and, from the BEx toolbar, choose Tools ® Insert Query.... The query is then inserted into the current worksheet starting at the active cell
But when i chech in the tools under desig tools, i have lot of options like insert grid,insert checbox, radio button extc, but i dont have "Insert query".
I am using BI7 Bex analyazer, The Only way i am able to insert a new query into a work sheet using BI7 is that first i have to design the work sheet but including design elemenst in my case i am using Grid. But this is not giving the correct display.
Did anyone insert multiple queries in the same workbook? if you can you please let me know how did u acheive this?.
Thanks in adv.
Regards
BNHi Rajesh,
Thanks for your response, but in BI7 Bex analyser you dont have the option of insert query from tools.
Rather what i did is (maynot be the correct way), i have executed the query and saved it as work book and in the tools there is an option "copy Sheet". If you select this the same layout is copied to the 2nd sheet, there just change the assignment of design items to a new Dataprovider. Attach the new query to the new Dataprovider.
It works for me, as of now
But i have questions regarding selection screen.
1. In this work book i am embbeding 6 queries and each query individually has variables. When i execute the workbook i get the selection screen, in the selection screen all the common variables are shown in one grouping and other in a different grouping. Is this correct way of selection screen display?.
2. I want to see the variable screen every time i open the work book, how can i acheive this?.
Regards
BN -
How to embed multiple queries in single workbook
Hi,
I am working in BI 7.0 environment. My requirement is
1) I have 6 different SD queries.
2) I need to create workbook out of each query.
3) I need to embed workbook created from each query into a single work book (each worksheet in workbook should have workbook created from 1single query).
This way the final workbook will have six work sheets with six different queries (all saved as workbooks).
Can anyone please give me an idea to create the workbook.
We are latest version of Excel.
Thanks in advance.Hi Padma,
You can embed multiple queries in a workbook.Please follow below steps.
1. Open the query in a Bex analyzer (first query)
2. Go to second tab and select a cell and insert anlaysis item (second icon on the Bex Toolbar)
3. Right click and assign query to the data provider.
4. Goto next tab and insert analysis item for third query . Similarly you can insert many queries but embedding multiple queries will degrade performace.
5. Goto workbook settings (last icon in Bex tool bar) for workbook properties like refresh workbook on open. pop up variable screen on refresh etc.
Also please go thru below links .
http://help.sap.com/saphelp_nw04/helpdata/en/ba/45583ca544eb
51e10000000a114084/content.htm
Hope this helps. Let me know if you have any queries.
Regards
Suvarna -
Multiple Queries in a workbook
Hi Gurus
If we have multiple queries in a workbook in 3.5 version and when we upgrade it to BI 7.0 version the data got overwrited........ (I heard this scenario from my friend)
But how to solve this kind of scenario. Does scrolling option works... Please give me some suggestion how to solve this kind of issue
Regards
NagaA 3.x workbook when opened in 7.0 works fine except for some issues. Variables are shown in text element of 3.x workbook , when this workbook is opened in 7.0 the variables are also shown. By design text element does not show variables except for text variables. There are issues like flickering of workbook when opening the 3.x workbook in 7.0. Variants from 3.x are not imported in 7.0.
check this out. -
Insert multiple queries using either WORKBOOK, WAD or Report Designer
Hello Guys
I have a task where I have to insert multiple queries into one single page/sheet & print it out later. For this I can use any one of the tools available: Workbook, WAD or Report Designer.
1. Workbook - Here I have read that we can use a call back MACRO and some other features.
2. WAD - Here I have read that we can use: 1. Multiple data providers (one for each query) & 2. Multiple web analysis items linking to each individual data provider.
3. Report Designer - Since this is the actual 'formatting' tool provided by SAP, I am assuming that this is the right environment to achieve my task.
My question: Which one out of the above 3 tools is actually feasible? Can someone explain me in detail about how to go about this task. Any 'How to..' docs from SAP would also be most helpful.
Regards.Hi Kashyap,
I have done similar requirement in Workbook,it has better features and more user friendly than others......it depends on the individual...but U cna meet your requirement thru Workbooks...
If the Req are complicated then we go for MAcros ,where in we can satify the critical req,say some sort of Dynamic reqs.
There are lot of threads on Multiple queries in one Workbook....Just search in SDN and u will get lot of Threads on this topic.
Come bak if u have any other doubts.
Rgds
SVU123 -
Embedding multiple queries into a workbook in 7.0
Hi,
we are currently upgrading to 7.0 and I am really struggling to figure out how to embed mulitple queries into a single workbook. The input query function no longer features on the Analyser toolbar. Any help would be very much appreciated.
Thankyou.We have a need to use the same query multiple times in the same workbook. Query results could be on separate pages, or on same page of the workbook.
However, all of the results areas react to filtering and drilldowns done from any page and the end result is that the all results are always the same on each page.
Ideally, the first page would be a summary of all sales, then maybe the second would be a summary of product line sales, then the third to be a summary of customer sales.
I know I can create new queries for each of these views, but there must be a better way. Has anyone discovered a method?? -
Multiple Queries in a workbook in 2004s
Hello folks,
I am currently working on a report rendering strategy for BI 7.0 2004s installation for our organization. While exploring the various options provided by the system, I notice a whole lot of new look to the Bex Analyzer in 7.0. In the earlier version there used to be options to insert multiple queries in a single workbook, but in the new version , I don't seem to see this as an option. Has this feature been taken out or is there another way that I am missing to do this ?
Are there any how to's for the new Bex Analyzer ?
I appreciate your response ...
ThanksNikki,
All I did was...
- Inserted an analysis grid in the design mode at the bottom of the first query.
- Assigned a new query by creating a new data provider in the grid properties.
- Once I exited the design mode, the new query got refreshed.
Try using a different query for the new one and see if you are still getting that critical error.
Sadly, I am getting the same critical error since this morning when I tried to open the workbooks with multiple queries that I created earlier without any problem. I am investigating in the same direction, keep me posted if you get this solved. -
How to run multiple queries in a workbook
Hi,
I have 3 queries in a workbook with the same variables. How can I refresh all the 3 queries when I change the variable value. It allows me to refresh only one query at a time but I need to refresh all the 3 queries at once whenever variable value changes.
Thanks,
KalPrakash,
Do you have any more information on where i would find the setting to;
"Refresh individual queries within a workbook (Single DataProviderRefresh)"
is it on the
i) dataprovider setting
ii) workbook setting
iii) elsewhere?
many thanks
Ian -
Merge to HDR Pro preview and final result very different
I'm using CS5 and beginning to use HDR. When I merge to HDR pro and make adjustments to images the preview window is extremely different from the final image. I'm merging original camera raw images from a Nikon D200. Workflow in ACR is set to 16bit. Output from HDR pro is also 16bit. I adjust using the preview window, but after final processing the resulting image is grossly different, much more saturated and more vibrant among other differences.
Any clues about what I'm doing wrong?
BobAfter writing my comment here, I found something elsewhere on the forum that suggested that the problem was that color profile of the input files and the workspace in Photoshop are different. I found that to be true in my case. The RAW files in Lightroom 4 are probably being converted to TIFFs as they are sent to Merge to HDR Pro. In any case, they are being sent with the same color profile they had in Lightroom, which in my case is is ProPhoto RGB. When HDR Pro sends its results to Photoshop, it converts the output to the same color space that Photoshop is set to. I have Photoshop set to sRGB, because that is what most monitors and printers use, and I do my final work in Photoshop. As a result, I was seeing something quite different in Photoshop than what I say in HDR Pro. I found two ways to deal with this. First, set the color profile in Photoshop to be the same as the input files, or Lightroom if that is where they come from. The second method is to bring the files into Photoshop as TIFFs and convert them to the working color space that Photoshop uses and then from the File menu choose Automate and from the menu that pops up, choose Merge to HDR Pro. I have had good results using both methods.
-
Passing multiple values to web service and retrieving results
Post Author: mwong
CA Forum: Xcelsius and Live Office
I'm trying to use this webservice to make a stock quote xcelsius widget:
http://www.swanandmokashi.com/HomePage/WebServices/StockQuotes.asmx
The input is ticket symbol and can be separated by commars: e.g.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:swan="http://swanandmokashi.com"> <soapenv:Header/> <soapenv:Body> <swan:GetQuotes> <!Optional:> <swan:QuoteTicker>msft, ibm</swan:QuoteTicker> </swan:GetQuotes> </soapenv:Body></soapenv:Envelope>
The response looks like
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <GetQuotesResponse xmlns="http://swanandmokashi.com"> <GetQuotesResult> <Quote> <CompanyName>MICROSOFT CP</CompanyName> <StockTicker>MSFT</StockTicker> <StockQuote>30.4498</StockQuote> <LastUpdated>2/1/2008 4:00pm</LastUpdated> <Change>-2.1502</Change> <OpenPrice>31.10</OpenPrice> <DayHighPrice>33.25</DayHighPrice> <DayLowPrice>30.25</DayLowPrice> <Volume>291072128</Volume> <MarketCap>283.4B</MarketCap> <YearRange>26.60 - 37.50</YearRange> <ExDividendDate>Nov 13</ExDividendDate> <DividendYield>1.26</DividendYield> <DividendPerShare>0.41</DividendPerShare> <PercentChange>-6.60%</PercentChange> </Quote> <Quote> <CompanyName>INTL BUSINESS MAC</CompanyName> <StockTicker>IBM</StockTicker> <StockQuote>109.08</StockQuote> <LastUpdated>2/1/2008 4:00pm</LastUpdated> <Change>1.97</Change> <OpenPrice>107.16</OpenPrice> <DayHighPrice>109.40</DayHighPrice> <DayLowPrice>105.86</DayLowPrice> <Volume>8047060</Volume> <MarketCap>151.6B</MarketCap> <YearRange>88.77 - 121.46</YearRange> <ExDividendDate>Nov 7</ExDividendDate> <DividendYield>1.40</DividendYield> <DividendPerShare>1.50</DividendPerShare> <PercentChange>1.84%</PercentChange> </Quote> </GetQuotesResult> </GetQuotesResponse> </soap:Body></soap:Envelope>
How do i get this map to the excel cell? I created table looks like following but selecting a range of cells doesn't seem to work.
StockTicker
CompanyName
StockQuote
Change
DayHighPrice
DayLowPrice
LastUpdated
thanks!
Michellewe have added multiple elments to the node
like
..wdContext.nodeItem_37().addElement(i,element);
and the fm is executed.
sequence is
wdContext.currentRequest_ZfmBomtemp1Element().modelObject().execute();
return (IPrivateBOMandRecipe.IRequest_ZfmBomtemp1Node) getChildNode(gen_delegate.infoRequest_ZfmBomtemp1);
return (IPrivateBOMandRecipe.IRequest_ZfmBomtemp1Element) nodeRequest_ZfmBomtemp1().getCurrentElement();
This way only the current element is passed. -
How to send notifications to multiple person with same role and with result
How to send notifications to multiple people with resultout as approve/reject?
We are looping the notification by attaching a cursor query to find the different emp nos to send for approval.
I cannot associate a role because these emp nos are sub-set of a role which I have created and i am getting thru the cursor query.
For FYI notification there is no problem, but for approval notification, I am not unable to send approval notifications to all the people.It stops at the first person in the loop.Pls suggest alternate way. Thanks in advance.Manju,
I would use the cursor to populate the API for creating an ad-hoc role within the workflow process as a function. Then set your notification performer as the ad-hoc role.
Here is an example function:
create or replace procedure sample_emp_fill(itemtype in varchar2,
itemkey in varchar2,
actid in number,
funcmode in varchar2,
resultout in out varchar2) as
cursor get_name is
select ename from scott.emp where mgr = 7839 and empno != 7566;
role_name varchar2(50);
names varchar2(500);
begin
if (funcmode = 'RUN') then
role_name := 'ad_hoc_role_'|| itemkey;
for row in get_name loop
names := names || row.ename || ' ';
end loop;
WF_DIRECTORY.CreateAdHocRole( role_name=>role_name,
role_display_name=>role_name,
language=>'AMERICAN',
territory=>'AMERICA',
role_description=>role_name,
notification_preference=>'QUERY',
role_users=>names,
email_address=>' ',
fax=>'',
status=>'ACTIVE',
expiration_date=>'');
resultout := wf_engine.eng_completed||':'||wf_engine.eng_null;
return;
end if;
end; -
Hi,
i need help to get a javascript form for this chart.
The criteria are:
- If all selections are above the vertical line, the result is "apt"
- If 1 or more selections are under the vertical line, the result is "not apt".
Is there some that can help me?Pleeease:)Hi GKaiseril,
i've grouped the radio buttons by:
GroupA: A.1; A.2; A.3; A.4; A.5
GroupB: B.1; B.2; B.3; B.4; B.5
GroupC: C.1; C.2; C.3; C.4; C.5
GroupD: D.1; D.2; D.3; D.4; D.5
GroupE: E.1; E.2; E.3; E.4; E.5
GroupF: F.1; F.2; F.3; F.4; F.5
If 1 or more of: A.1; A.2; B.1;B.2;B.3;B.4;C.1;C.2;C.3;C.4;D.1;D.2;D.3;E.1;E.2;E.3;F.1;F.2;F.3; is selected --> Result will be "not apt"
If non of: A.1; A.2; B.1;B.2;B.3;B.4;C.1;C.2;C.3;C.4;D.1;D.2;D.3;E.1;E.2;E.3;F.1;F.2;F.3 is selected --> Result will be "apt"
How do i make the form? I'm not used to work with acrobat. -
Multiple Queries in Workbook - Refresh Screen Shows Up for Every Query
We have multiple queries in a workbook. All of these queries have the exact same selections for the variable selection screen. When all the queries are refreshed once, the selection screen used to show up once and all the queries are refreshed with the same selections.
We were on BI 7.0 and SP10. We recently moved to SP12. Since the SP12 installation, the multiple query refresh pops-up the selection screen for every query. It is nothing like "multiple query refresh" at once since the user has to click "execute" button for every single query. It is interesting to note that the selection screen only contains hierarchy variables and hierarchy node variables. The other variables of selection screen do not show up. I couldn't find any OSS note on this topic. Please let me know if anyone has any comments on this issue. I will assign points to useful posts.hi Sameer,
try to update front end patch to latest version ?
Using the BI 7.x Add-On for SAP GUI 7.10 - Requirements
hope this helps. -
2 Queries within 1 workbook in BEx BI7.0
Hi Experts,
I know that there is a new method of creating a workbooks in BI7.0 using the Design Mode.
Suppose I have put 2 queries within 1 sheet in excel (one on top of the other). I did this by inserting 2 analysis grids within the same worksheet.
When I try to drill down the query on top, the area it occupies expands and completely overwrites the query at the bottom. As such, the bottom query disappears.
Is there a setting somewhere which will make the system adjust the position of the query at the bottom in this scenario?
I remember that with 3.x, when you insert 2 queries within the same worksheet in the workbook and you try to do a drilldown, the system would ask if you want it to overwrite or adjust the affected query area.
I am trying to look for the same functionality in BI7.0 workbook creation.
Thanks for your help in advance.
EmeleeSome leads..
Multiple queries in a workbook
Multiple queries on same sheet
Hope it Helps
Chetan
@CP.. -
Combine Queries in one workbook
Hi guys,
I am looking for a way to combine multiple queries in one workbook.
For example: If I set a filter in one query to the month November, the same filter (e.g. November) should apply to all other queries (which are on another worksheet or on the same worksheet).
How can I do this?
Many thanks,
SabinHi Sabine,
You have two options:
1. the easy one is to use same variables in the refresh screen for all queries in the same workbook; if you do this, then use the "refresh all queries" option, you will get the same restrictions applying to all queries in the workbook simultaneously.
2. the more difficult way to do this is to use a lot of Visual Basic. Using Visual Basic, you can "read" the filter value set on a particular query, then "apply" that filter value to every other query in the workbook. OR, you can use the "Copy Filter Value" function. I prefer the latter for a number of reasons.
From your earlier notes, I assume you want to use option 2. To help you further, it would be useful to know what version of BW you are using, and how your users typically refresh queries (i.e., with a button in the workbook, or using the Business Explorer toolbar?).
It would also be helpful to know your level of comfort with VBA in Excel.
Here are some notes on the "Copy Filter Value" function:
Function SAPBEXcopyFilterValue(fromCell As Range, Optional atCell As Range) As Integer
Return value of zero indicates that no errors were encountered. Otherwise, function returns number of errors encountered.
If atCell is not specified, the active cell is used to determine which characteristic to return information for. If the active cell is not part of a query definition, then function returns an error state.
Characteristics (fromCell and atCell) must have same technical name; for example, cannot copy filters for Ship-to (0SHIP_TO) in Sales cube to Ship-to (YCOCUSSH) in a Shipments cube
Queries (copying from and to) must be in same Excel Workbook.
Sub CopyFilterOnce()
Dim filterRng1 As Range, filterRng2 As Range
'in this example, we are copying filters from query on sheet
'with code name Query1 to query on sheet with code name Query2
Set filterRng1 = Query1.Range("F10")
Set filterRng2 = Query2.Range("D13")
retVal = Run("SAPBEX.xla!SAPBEXcopyFilterValue", filterRng1, filterRng2
End Sub
Hope this helps.
- Pete
Maybe you are looking for
-
Justification for using HashMap and not ArrayList
Hi, I've recently completed a project for my course and now I'm doing the write up for it. Part of my project was to load a dictionary into a data structure. I went with a HashMap because I had code from a previous project to help implement it, the d
-
PWB- Connection between selection screen and Application Form
Hi Experts, I need your help regarding PWB. My requirement is, I need to fetch date and amount placed on selection screen into application form and those values I need to print through pwb using SAPScript. I am new to PWB so not getting how exactly I
-
Change Data Capture on an existing database
Hi Readers, I am using the Sql Server CTP5 Developer edition on which i am able to perform CDC only if i start with creating a new database and then load the tables.The complete data change could be captured. But when i implement the same on a existi
-
How do I clear msgs that I've already deleted from the search page on the iPhone with IOS 6
How can I clear messages that still show up on my search page even after I've deleted them
-
To clarify: I choose several images in bridge (DNG) and choose open in camera raw so I can mass edit. An error appears saying, "Camera Raw Editing is not enabled. What should I do?