Query refresh
Hi,
i get the following error when i refresh a workbook which has 6 queries.
Cannot find the results area for a query, probably all its cells were deleted. please define a new location for the results area.
and then when i click ok in the window.
new window pops up: Repair results areas
enter value.
this happen only when i refresh all of the workbook i tried refreshing each query in the workbook seperately n i dont get this message can someone please tell me how to solve this.
thankyou.
I think you still not solved this problem:
Query results
Did you try what suggested by Eugene ?
Hope it helps!
Bye,
Roberto
Similar Messages
-
Last query refresh failde due to internal errors ?
Hi gurus
we are working on SRM 7.0 with PPS,
when Bidder tries to open his login page and wants to see the Rfx raised against him, He is getting error message,
" Last query refresh failed due to internal error" , some time this is due to another session witht he same query is open , but
I am getting the same error in the following situation,
suppose bidder has submittted his response and after submission he is trying to change the response and couldn't submit before the submission dead line then the version of the response will be c1, and which is not interpreted by the system, and so the error is .
Any help or advice on the issue is highly appreciated.
Regards
NITIN
Edited by: nitinkk on Jan 12, 2012 7:55 AMDear Rahul,
Thanks for replay,
I have checked it but the issue comes with the discribe procedure.
and we have solved it now.
Regards
NITIN -
VBA and Bex 7- Event to use in VB code BEFORE Query Refresh ?
Gurus.. is there a Bex Event that I can use to 'intercept' a Refresh Query command to Bex and run some VBA first ? I'm trying to find a way to solve the analysis grid overlap problem when two queries are provided on one Excel worksheet, and navigation takes place.
I've been able to figure out how to bring the results areas together (by deleting blank rows between them), but I'd like to be able to add a chunk of blank rows between analysis grids before the queries actually refresh.Hi Charlie,
if you're interested:
I've found a way to move the areas after the refresh - using the callback event.
The logic is generally:
- Check where analysis-grid for DP1 ends
- Leave some empty lines
- Move the offset of DP2 here.
- Repeat the same for further DP's.
There's only one hatch: I've got some trouble to reactivate the BEx-context-menu after this momvement.
So far I found only the workaround "do another refresh" to solve this issue; that's ok but not 'beautiful'.
Let me know if you need further input.
Maybe you've got an idea for my issue:
I'm looking for a way to execute the a routine only once after refresh - even if there are multiple queries in a workbook.
The problem is that I do not know the order of the query-refresh or any flag that I could use to identifiy the "last query to be processed in this refresh-run".
Kind regards,
Marco -
Hi All ,
We got this message when refreshing a detailed query from PA in an existing work book
RFC_ERROR_SYSTEM_FAILURE
error : No roll memory of length 86716416 available for event stack
However, if you refresh the query form the server it works fine
Any ideas .. for this problem?..
Regards,
Adityatxs..
-
Af:query refresh problem
Hi OTN,
I am using JDeveloper 1.1.1.3 and ADF Faces with ADF BC Components.I have a search page having af:query component,delete button and a af:table component.While clicking the delete button,It will change the status of selected row and remove from the search result .In my case status is updating in database but not in search grid.It will reflect after clicking the search button of af:query panel.So please point me a solution for programmatically refreshing the af:QueryHi Dinil,
Try this -
1. Open the View Criteria section in your view object.
2. On the right top corner, check if Query Execution mode is "Database".
3. If it is "database", change it to "In Memory".
Hope it works
Regards,
Srinidhi -
How to run a VB macros code on Query refresh?
Hi BW gurus,
Please help me out with this task.
I have a macros as below
<b>Sub Table_To_Cons()
'Copy the occupied rows
Application.DisplayAlerts = False
TargetSheet = ActiveSheet.Name
Sheets("Table").Activate
j = 2
For i = 21 To 65536
If Range("F" & i).Value = "" Then
'MsgBox "The Cell is Empty"
Else
f = Range("F" & i).Value
g = Range("G" & i).Value
Sheets("Consolidated Data").Range("A" & j).Value = f
Sheets("Consolidated Data").Range("B" & j).Value = g
j = j + 1
End If
Next
Sheets("Consolidated Data").Activate
MsgBox "Finished"
' Update Chart
Sheets("Chart1").Select
ActiveChart.PlotArea.Select
ActiveChart.SetSourceData Source:=Sheets("Consolidated Data").Range("A2:B6") _
, PlotBy:=xlRows
End Sub</b>
User are not interested to run the VB macros manually.
Instead they are asking like this.The macros should run and show the latest result everytime when we refresh the query.
Can someone help me out how to achieve this.
Any kind of help is appreciated.
Thanks in Advance
Have a nice day
Regards
Sam MathewHi Sam,
Very interesting that the Properties dialog has changed. I have no experience with NW2004s. I will answer your questions based on what I do have experience with; then, we will need to do some testing to check my assumptions.
Your first question: does this subroutine already exists in a workbook, or do we have to manually type it in? In the days before Excel 2002, the answer was "yes", the subroutine already exists. Since Excel 2002, the answer is maybe. More often than not, "no" ... and you have to type it in.
But, whether it exists or not, you will find out when I answer yoru second question: exactly where should I search for it? Since you have written a macro, you already know about the Visual Basic Editor (VBE). Since I am not sure how much you know about the VBE, I will explain it as if you know nothing. Please do not be offended.
As a general orientation to the Visual Basic Editor (VBE), there are 4 Windows you want to become familiar with:
1. the Project Explorer Window;
2. the Properties Window;
3. the Object Browser Window; and,
4. the Code Window.
You should see the Project Explorer window on the left side of the VBE. If it is not already visible, make it visible in one of 3 ways:
i. use the VBE menu bar and select View >> Project Explorer
ii. use shortcut keys Ctrl+R
iii. use the VBE Standard toolbar and select the icon for Project Explorer
In the Project Explorer window you can all of the "Projects" (workbooks and add-ins), that are loaded.
In the view of your workbook (the one with the macro) there are at least twol groups of "objects" shown:
Microsoft Excel Objects (these are Worksheets and Workbooks)
Modules (I call these "General Code Modules")
There are two other possible types of objects:
+ Forms
+ Class Modules
Visual Basic Code is always written in a Code Window. There are 3 types of code windows:
i. Object Code Windows
ii. General Code Modules
iii. Class Modules
When you use the Excel macro recorder, it always creates the macro in a General Code Module. The subroutine SAPBEXonRefresh also will be in a General Code Module.
To find it (if it exists), you can start in any code module in your workbook, press Ctrl+F, enter SAPBEXonRefresh, click the radio button to Search in Current Project.
Now, to test my assumptions ... while you are in the Visual Basic Editor, with the Project Explorer Window open, please look under Microsoft Excel Objects and see if there is an object named "SAPBEXqueries". If not, stop right there. I cannot help you.
If the SAPBEXqueries object is there, let me explain what it is. This is a worksheet that is VERY hidden. That means, it is hidden so that it cannot be made visible from Excel. It can only be made visible from the VBE. Let's do not now.
Select the SAPBEXqueries object (double-click), then open the Properties window in the VBE.
You can open the properties window using:
+ View Properties Window
+ press F4
+ use the standard toolbar and click the Properties icon
Look at the Visible property. It should 2 - Very Hidden. Change it to Visible. Now switch back to the Excel view. Look in cell F4. What do you see in this cell? It should be: SAPBEXq0001, or something very similar to that.
Now (still in Excel) open the GoTo dialog (Edit >> Go To; or, press F5). This will list all of the Named Ranges in the workbook. If you are on the SAPBEXqueries worksheet, the GoTo dialog should list a number of Named Ranges starting with SAPBEXq000,,,,, Do you see this?
I am very interested to learn what you see when you do these things. And, I am very willing to answer any questions you have as a result of doing this testing.
By the way, when you make the SAPBEXqueries worksheet hidden again, be careful. As soon as you make it hidden (or very hidden), the selection in VBE will change to an object that is NOT hidden. So, if you are not watching carefully, you might think that you are still on the SAPBEXqueries sheet and that you failed to hide it. And, pretty soon, if you are not careful, you will have hidden every worksheet in the workbook!
- Pete -
Hi ,
In BW 3.1 is there anyway to schedule a job refresh a workbook automatically in the background . Can reporting agent be used to acheive this functionality ? I also would like to access the refreshed query from the document store and send it as an email attachment . I know that 3.1 does not support information breoadcasting , but can it be achieved programmatically ?
Any document links that provided more details on this would be appreciated .
ThanksThis is the point-of entry for reporting agent in general:
http://help.sap.com/saphelp_nw04/helpdata/en/28/734d3caa70ea6fe10000000a114084/frameset.htm
For the precalcullation of HTML-reports:
http://help.sap.com/saphelp_nw04/helpdata/en/9e/9f653ade969f4de10000000a114084/frameset.htm -
Displaying the Last Query Refresh date/time
Hello,
on a Webi report, is there a way to display the date/time that the underlying info provider was refreshed?
Thanks,
Nikhi1.- Create Formula in Query (columns - Create Formula)
2.- Create Formula Variable for this Formula (Type Customer EXIT) as individual and optional.
3.- Define the code for customer exits for variables.
*-- To get Timestamp for last load of data to cube
WHEN 'ZLSTLOADDT'.
DATA: lt_tab_1 TYPE TABLE OF rsdcubemulti,
ls_tab_1 TYPE rsdcubemulti,
lt_tab_2 TYPE TABLE OF rsmonicdp,
ls_tab_2 TYPE rsmonicdp.
DATA: l_calday TYPE d,
l_time TYPE sy-uzeit,
l_tzone TYPE ttzz-tzone,
l_string TYPE char20.
SELECT * FROM rsdcubemulti INTO TABLE lt_tab_1
WHERE infocube = i_s_cob_pro-infoprov
AND objvers = 'A'.
SORT lt_tab_1 DESCENDING.
CLEAR ls_tab_1.
READ TABLE lt_tab_1 INTO ls_tab_1 INDEX 1.
REFRESH lt_tab_2.
SELECT * FROM rsmonicdp INTO TABLE lt_tab_2
WHERE icube = ls_tab_1-partcube.
SORT lt_tab_2 DESCENDING.
CLEAR ls_tab_2.
READ TABLE lt_tab_2 INTO ls_tab_2 INDEX 1.
l_tzone = 'INDIA'. "CET, UTC...
CONVERT TIME STAMP ls_tab_2-timestamp TIME ZONE l_tzone
INTO DATE l_calday "aaaammdd
TIME l_time. "hhmmss
l_s_range-low = l_calday.
l_s_range-sign = 'I'.
l_s_range-opt = 'EQ'.
APPEND l_s_range TO e_t_range.
EXIT.
WHEN 'ZLSTLOADTM'.
DATA: lt_tab_1 TYPE TABLE OF rsdcubemulti,
ls_tab_1 TYPE rsdcubemulti,
lt_tab_2 TYPE TABLE OF rsmonicdp,
ls_tab_2 TYPE rsmonicdp.
DATA: l_calday TYPE d,
l_time TYPE sy-uzeit,
l_tzone TYPE ttzz-tzone,
l_string TYPE char20.
SELECT * FROM rsdcubemulti INTO TABLE lt_tab_1
WHERE infocube = i_s_cob_pro-infoprov
AND objvers = 'A'.
SORT lt_tab_1 DESCENDING.
CLEAR ls_tab_1.
READ TABLE lt_tab_1 INTO ls_tab_1 INDEX 1.
REFRESH lt_tab_2.
SELECT * FROM rsmonicdp INTO TABLE lt_tab_2
WHERE icube = ls_tab_1-partcube.
SORT lt_tab_2 DESCENDING.
CLEAR ls_tab_2.
READ TABLE lt_tab_2 INTO ls_tab_2 INDEX 1.
l_tzone = 'INDIA'. "CET, UTC...
CONVERT TIME STAMP ls_tab_2-timestamp TIME ZONE l_tzone
INTO DATE l_calday "aaaammdd
TIME l_time. "hhmmss
l_s_range-low = l_time.
l_s_range-sign = 'I'.
l_s_range-opt = 'EQ'.
APPEND l_s_range TO e_t_range.
EXIT. -
If the user wants to change the value of varables after executing the query for a diff set of variable values ...hw wud s/he do that?
Close & Reopen the query ...???
If the variables r in the filter n if the values are changed in the report for that variable - filter ..it doesn't work....
Refreshing the query wudn't prompt for variable inputs...right ?
How to refresh the query when I am on report?Guys,
<b><u><b>
Refer</b></u></b>
<b>Below is the query template for YTD report:</b>
<b>Filter Characteristic Restrictions</b>
None
<b>Filter - Default values</b>
Posting Period
Controlling Area
Cost Center
Fiscal Year
<b>
Rows/Columns Free Chars</b>
Fiscal Year
Posting Period
<b>Rows/Columns - Columns</b>
0Amount ( Res to Fiscal year Res to Single user entry fiscal year variable & Res to Posting Period Res to Single user entry posting period variable )
0YTD ( Res to Fiscal year Res to Single user entry fiscal year variable & Res to Posting Period Res to Value Range ( 1 - Single user entry posting period variable ) )
<b>Rows/Columns Rows</b>
Cost Center
Controlling Area
When I execute the query & enter the variable values for Fiscal year ( say 2007 ), Posting Period ( say 7 ) - it shows correct data.
Issue : On report when I change the filter of posting period to say 6 it shows only YTD values blanking out 0AMOUNT values for posting period 6 .
<b>
"When I do change variable it doesn't work accordingly "...what happens?
It doesn't show data for 0amount.</b>
Message was edited by:
Jr Roberto -
Dear All,
How is it possible to control the order in which queries refresh in a workbook ?
Regards,
FrederickHi,
Last inserted query will be refreshed first. If you take a look in the hidden sheet you will see in columns B to F beginning in row 4 the inserted queries. if the last entry in column B is in row 6 the query related to row 6 will be refreshed first.
But the whole sheet is filled with the navigation state of the inserted queries. Each stored Table has as reference to which query it belongs the row index of the query.
Example:
In COLUMN AE a table begins. In column AE a reference to the query is stored. So all entries with 6 belong to the query which is stored in row 6,column C.
So if you want to change the refresh order, you must change the position of the rows (move the entries of row 6 to row 5 and row 5 to row 6) and also change the indexes for the stored table.
assign points if helpful... -
How to 'speed up' snapshot query refreshes
Is there a way to force snapshot queries to refresh? Is it tied to a job in the automation service?
Sometimes there are little fires where i need docs to update right away and 'it'll take 15 minutes' isn't received very well...Is there a way to force snapshot queries to refresh? Is it tied to a job in the automation service?
Sometimes there are little fires where i need docs to update right away and 'it'll take 15 minutes' isn't received very well... -
AJAX Query, Refresh Spry
Here is the snippet of code I am using on a master/detail
page (Using spry). The goal is to delete the employee, and upon
completion have the master list use a blind up effect to get rid of
that row in the list.
function deleteEmployee() {
var test = $('employeeIdSpan').innerHTML;
var url = "../ajax/deleteEmployee.php?employee_id=" + test;
new Ajax.Updater('detail', url,
method:'get',
onSuccess: function() {
var masterList = Spry.Data.getRegion('employee_list');
//masterList.loadData();
var currentId = test;
//test is $('employee_id').innerHTML b/c we haven't figured
out how to dynamically show the current users id to the javascript.
var blindEffect = "masterEmployee" + currentId;
//Effect.BlindUp(blindEffect);
Effect.Fade('detail', {from:"100", to:"0"});
onFailure: function() {
alert('Something Went Wrong');
However, it's not working......the Effect.BindUp is breaking
it and I can't figure out why.
Thanks :)
Also, if anyone could be so kind to help me w/ this...
//test is $('employee_id').innerHTML b/c we haven't figured
out how to dynamically show the current users id to the javascript.what version of Spry are u using.
check out this topic:
http://labs.adobe.com/technologies/spry/articles/effects_migration/effects_migration.htm
If u havent found any solution yet, please provide me with an
url of the page so i can take a closer look. -
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. -
Refresh Queries - runs a query that is not in the workbook ??
I have a workbook with a number of BW queries. NONE of these queries have a RRI setup.
If I select Refresh Query when not selecting any one particular query - another query is run. The query that is run is NOT in the workbook. None of the queries in the workbook are refreshed which is the norm.
This behavior is just happening in one workbook
We are using BW 3.5.
Thanks
GillGill,
We had a similar issue a while back (see [Query Refresh goes to Saved View?;), but never found a solution other than recreating the workbook.
In our case, I believe the user may have deleted a worksheet without first deleting the query that was on it. That is one possibile explanation for what you are seeing.
Hope you have better luck resolving this than we did. (I will be watching!)
Bob -
0BWTC_C02 - Viewing number of query executions and refreshes
Hi,
I having been testing some queries I created for infocube 0BWTC_C02. Is there any way to limit the key figure 0TCTNAVCTR to only show navigations that were query refreshes (e.g. ignoring navigations such as removing/adding a drilldown, results row, ect.)? Do any of the available characteristics show what type of navigation was being performed, so that I could restrict the query to only look at certain types of navigations?
Thanks,
AndyHi Pcrao,
I am using the BW statistics infocube 0BWTC_C02.
But as far as I see, the key figure 0TCTNAVCTR( number of navigation steps)now only includes query execution, but also includes all other navigation steps like drill down etc.
Can we do some restriction on navigation type etc to find just the number times query execution takes place?
Thanks,
James
Maybe you are looking for
-
HT201250 Data recovery from WD Elements Hard drive after Time Machine formatted it
I plugged my brother in laws WD Elements hard drive into my MacBook Pro. It asked me if I wished to use this drive as my time machine back up to which I answered no. I was going to copy and paste some movies onto his drive. I not sure how it occurre
-
QM : In-process check Hourly
Hi QM Gurus, Pl give me your valuable suggestions for a In-process inspection Lot in QM could be made hourly for nearly 15 set of samples every time with 4 - 5 MIc's . Is it possible to have Hourly In-process check in QM regards, Bala
-
SBO Error #-111: Failed to Connect to SBOCommon
I have recently moved my databases to a SQL 2008 server on a 64bit platform. When doing so, I installed the SQL Native Client to support the client access. I can go into SAP/b1 and access everything as I did before. (Previously SQL 2005.) When I move
-
User/ Administrator Permissions and Log In.
I have a new Mac book Pro. I am trying to find a definitive answer to my dilemma. Currently I log on with full administrator privileges,but I have read that this is dangerous and that I should create a separate user account. I am fairly comfortable w
-
everytime i write something in the location box (web addresses) it shows my bookmarks. i want it to stop. how do i do it?