Saving Workbooks without query results in NW2004s BEx SP10
Hi All,
We are currently setting up all of our workbooks, but cannot find the setting which deletes all the query results in the workbook which we had in BW3.5.
Use to be in Tools > All Queries in Workbook > Delete Results.
Noticed another post about this, but could not find the answer.
Any help appreciated.
Thanks
Matt
Put in an OSS note about this. The feature may be returned to BI7 in the future. It has not been carried through from BW3.5.
You should be warey though and ensure that your sensitive workbooks have the data manually deleted out of them as you can find the workbook with the find utility pretty easily and view the data which has been previously saved. With correct permissions in place you cannot reload fresh data though.
Similar Messages
-
Error while saving workbook or query
Hi guys. After upgrade to 7.0 we are experiencing error while saving workbook or query.
We are using BEx 3.5.
Here is the error:
"Program error in class SAPMSSY1 method: UNCAUGHT_EXEPTION.
An exeption with the type CX_SY_PROGRAM_NOT_FOUND occured, but was neighter handled locally, nor declared in a RAISING clause.
Program CP9QUC052Y8TXQ0C2TM5KB0T92K does not exist"
What can be the cause of this error?Hi Jose!
It was easy.
The problem can be solved by reactivating the personalization
for the BEx.
To reactivate the personilization go to transaction SPRO and navigate:
SAP Reference IMG -> SAP Customizing Implementation Guide -> SAP
NetWeaver -> Business Intelligence -> Settings for Reporting and
Analysis -> General Settings for Reportiung and Analysis
or
open the transaction RS_PERS_ACTIVATE
Check all boxes and execute.
Hope it helps.
Vad. -
Display of Row and Column Headers in NW2004s Bex Analyzer
Hi all,
when I open a query with the NW2004s Bex Analyzer (Excel)Frontend <b>Row and Column Headers are not visible</b>. I need to go to <b>"Tools-Options" and check the box for "Row and Column Headers" which seems to be unchecked by default</b>.
Is there <b>a possibility to make the Row and Column Headers visible by default when I open a query</b> so that I don't have to use Tools-Options every time.
Thanks
AlexThis is fixed with SP8. The default template doesn't have this specified in SP7. It's a very easy fix. Just specify that the column headers are specified by default. Then save this new workbook as the global workbook template such that all queries use this new template. You can customize this standard template however you like!
-
Refresh characteristic texts in query result without logoff in Bex 7.0
Dear Experts,
I'm using a query in BEx 7.0 and switched off all caching parameters in RSRT. For instantly reloading values from Cube/DSO this is working fine.
Some of my characteristics are shown as key + text in query result. Unfortulately these texts are not updated during the query reloads. I do not want the user to logoff / logon the report to get the updated texts.
Interestingly, after a refresh the texts for those characteristics are updated immediately for all filter items, but not in the result area.
Could you give me a hint, how I will be able to refresh those characteristic texts as same as the values in the infoprovider? E.g. using VBA makros or by customizing of specific workbook settings?
Thanks for your help!
Kind regards,
Tim
Edited by: Tim Kley on Apr 19, 2010 2:42 PMHi,
what have you achieved so far concerning this.
My post from today was also going in this topic.
In Bex update after attribute change run
The setting of this paramter I mentioned there could maybe help in your case.
transaction "RS_FRONTEND_INIT" add the parameter "ANA_ENHANCE_REFRESH" with value "X"
o Open the analyzer and connect to system to open WB
o Click on the refresh button
o New functionallity "Full Refresh Of Active Queries" is now available.
Best regards Harry -
Retrieving BEx Query Results Area for use in Excel formulas
Hello,
I run BEx queries in workbooks and then use Excel formulas ( mostly VLOOKUP(LookupValue, ResultsArea, ColumnReturned,) ) to retrieve certain information from the query ResultsArea.
****Problem:
Depending on the query parameters, the query "Results Area" is larger or smaller.
****Non-optimal solution:
One way to define the ever changing Excel range occupied by the Results Area is to create an Excel name as:
QueryRange = OFFSET(QueryFirstCell,,,COUNTA(OFFSET(Sheet1!$A:$A,,COLUMN(QueryFirstCell)-1,,)),COUNTA(OFFSET(Sheet1!$1:$1,ROW(QueryFirstCell)-1,,,)))
Then, the only input required is the top-left cell of the Results Area, which stays the same (unless the query definition changes).
****Question
What is the best way to refer to an ever-changing query Results Area in an Excel formula?
Thank you!
LouisIt is actually much easier than that.
Use a VBA statement like the following:
Set RptRng = ActiveCell.CurrentRegion
This will retrieve the data in the Results Area, no matter what the size is.
Hope this helps...
Bob -
BEx Query results not getting updated
Hi,
I am using a BEx Query based on a multiprovider which is fetching data from a multiple remote cubes and multiple regular cubes.
Now when data in the source system is getting changed the corresponding remote cubes are getting update but query result are not getting re-fresh for at least 2 hours.
We have already tried doing logging out and and logging into the bex system.
Is there some cache setting which is required?
Default cache mode in query is 'Main memory cache without swapping'.
Kindly advice.
Regards
VivekHi,
Just generate your query once with program RSR_GEN_DIRECT_ALL_QUERIES.
By selecting your multiprovider .
Thanks,
Ranjan -
Saving query results to a flat file
Hello Experts!
We have a very specific issue on our current project and I would like to know if any of you have ever done something similar. We are taking query results from BW (after complex calculations, some based on SY-DATE) and saving them to flat files to transfer to a SQL database structure on the Enterprise Portal. From here, the portal team renders the information into more "static" dashboards that include mouse over features and even limited drilldown (i.e. no matter where a user clicks the report always drills down on profit center)
There are many reasons why the model is set up as such (mostly training of executive level end users), and even though it doesn't mesh with the idea that BW could do this work on its own, we have to work with what we have.
We have come up with 3 possible ways to save this data to flat files and hopefully someone can tell us which might be the most effective.
1.) Information Broadcasting. If we broadcast XML files to the portal, will the portals team be able to read that data into a SQL database? Is there another way to use broadcasting to create and send a flat file to specific location?
2.) RSCRM_BAPI. This transaction seems to not support texts.
3.) Open Hub. In order to get the open hub to work, we first have to save all of our query results to direct write data store objects using APD. (calculations based on current date, for example, would require daily full loads to the underlying data providers otherwise.)
What is the best way to accomplish this? Is information broadcasting capable of doing this?
Thanks!Hi Adam,
Do you have to use flat files to load the information to a SQL database? (if so maybe someone else has a suggestion on which way would be the best).
I try to stay away from flat file uploads as there is a lot of manual work involved. May I suggest setting up a connection to your SQL table in the DBCON table and then writing a small abap program to push data into the SQL database (which you can automate).
1) Use APD to push data into a table within BW.
2) Go to transaction SM30 > table DBCON and setup a new entry specifying the conncection parameters to your SQL database.
3) In SE38 Write an ABAP program along the folloing lines (assuming the connection you set in DBCON is named conn1:
data: con_name like dbcon-con_name
con_name = 'conn1'.
exec sql.
set connection :con_name
endexec.
****have a select statement which reads data from your table which the data is saved from the APD into an internal table**********
****loop on the internal table and have a SQL insert statement to insert the records into the SQL table as below******
exec sql.
insert into <SQL TABLE> (column names seperated by ,)
values (column names of the internal table seperated by ,) if the internal table is named itab the columns have to be specified as :itab-column1
If you decide to take this approach you may find more info on DBCON and the process in sdn. Good Luck!
endexec. -
Error while Saving Workbook in BEx
Hi Experts,
When ever I am trying to same a workbook, I get the following error:
"workbook format .xlsm is not supported by the server"
Does anyone of you faced this error earlier ? Please suggest. I am working on SAP Netweaver 2007 and have MS Office 2007 installed in my system..
Best Regards,
RishiHi,
Please let me know if you are opening the workbook in 3.5 Analyser. If
then unfortunately Business explorer Analyzer 3.x is not supporting the
new file-format. Please refer to note 1052761. If you would like to use
new office 2007 file format you need to use Bex Analyzer 7.0. Due to
the architecture of Analyzer 3.x this behaviour cannot be changed.
BW Support Package lower than SP16 it is not
possible to save files in Excel 2007 file formats on the server. But you
can still save files from Excel 2007. When using the SAP Default
Workbook please set the flag "Use XLS file format" as defined in note
1267924. If you create workbooks from scratch ensure that Excel creates
new files in XLS format (in the Excel options).
Afterwards you are able to save files with Excel 2007 in XLS file
format. The new Excel 2007 file formats require the implementation of
the latest BW Support Package.
If you are interested in saving workbooks in xlsm format you have to
use at least SP16 and a recent FEP (e.g. FEP801). But it is
not correct that it will work also when you implement the notes on a SP
level which is older then SP15, as then other corrections are missing.
And these points, I am afraid, cannot be downported to a Support package
less than SP15.
Therefore I have to ask you to import furhter SPs. Then I am pretty sure
that it will work.
Please check also note 1055581 ... where you find the info that
we recommend to use at least SPS15 (which is BW-SP17).
Thanks,
Venkat
So as mentioned above you can still save files from Excel 2007. When
using the SAP Default Workbook please set the flag "Use XLS file format"
as defined in note 1267924. For saving the workbook in the new file
format(xlsm) you need atleast SP16. The latest Sp being SP20, I suggest
you to look for an upgrade. -
Error Message while opening workbook or Query in BEx Analyzer
Hi all,
Whenever I try to open any workbook or query using Bex Analyzer I get an error message saying "Serious error occured while reading history folder" Message class RSOBJS, number 170. But this doesnt stop me from opening the workbook or the query.
Kindly help me to suppress or eliminate this message. I am not able to find this message in the list of messages available in RSRT either.
Thanks and Regards
Mui KanvaHi Mui Kanva,
Does your problem occur in a copied system?
I have same problem in our Quality-BW (copied from productive system). WE are in our QBW not able to activate personalization correct and get the same error messages. I suggest the reason in the fact, that the source-system Myself (QBW) does not work correct. This reason causes that export data sources could not be activated via RFC-Connection.
Please check to activate your source system?
We accept the error messages in our QBW and did not activate the RFC connection.
Regards
Andreas -
Using the client result cache without the query result cache
I have constructed a client in C# using ODP.NET to connect to an Oracle database and want to perform client result caching for some of my queries.
This is done using a result_cache hint in the query.
select /*+ result_cache */ * from table
As far as I can tell query result caching on the server is done using the same hint, so I was wondering if there was any way to differentiate between the two? I want the query results to be cached on the client, but not on the server.
The only way I have found to do this is to disable all caching on the server, but I don't want to do this as I want to use the server cache for PL/SQL function results.
Thanks.e3a934c9-c4c2-4c80-b032-d61d415efd4f wrote:
I have constructed a client in C# using ODP.NET to connect to an Oracle database and want to perform client result caching for some of my queries.
This is done using a result_cache hint in the query.
select /*+ result_cache */ * from table
As far as I can tell query result caching on the server is done using the same hint, so I was wondering if there was any way to differentiate between the two? I want the query results to be cached on the client, but not on the server.
The only way I have found to do this is to disable all caching on the server, but I don't want to do this as I want to use the server cache for PL/SQL function results.
Thanks.
You haven't provided ANY information about how you configured the result cache. Different parameters are used for configuring the client versus the server result cache so you need to post what, if anything, you configured.
Post the code you executed when you set the 'client_result_cache_lag' and 'client_result_cache_size' parameters so we can see what values you used. Also post the results of querying those parameters after you set them that show that they really are set.
You also need to post your app code that shows that you are using the OCI statements are used when you want to use client side result cacheing.
See the OCI dev guide
http://docs.oracle.com/cd/B28359_01/appdev.111/b28395/oci10new.htm#sthref1491
Statement Caching in OCI
Statement caching refers to the feature that provides and manages a cache of statements for each session. In the server, it means that cursors are ready to be used without the need to parse the statement again. Statement caching can be used with connection pooling and with session pooling, and will improve performance and scalability. It can be used without session pooling as well. The OCI calls that implement statement caching are:
OCIStmtPrepare2()
OCIStmtRelease() -
Bex Query - Specific calculation in query result
Hi experts!
I've received a requirement and I cannot find any way to delivery it using the stantard operation or configuration into Bex Query.
We have a query which have three KF with summarization in result. The new requirement is based in the KF "POND" to change the calculation in the result. Below are the actual result and the expected result.
The actual query result.
Line
OP
QTD
TMP
POND
A1
1614073
702
19
13338
Total A
702
19
13338
B1
1587949
840
235
197400
B2
1610938
4.240
28
118720
Total B
5.080
263
316120
Total A + B
5.782
282
329458
The expect result based on the new requerment
Linha
Ordem de Produção
QTD
TMP
POND
A1
1614073
702
19
13338
Total A
702
19
19
B1
1587949
840
235
197400
B2
1610938
4.240
28
118720
Total B
5.080
263
62
TOTAL A + B
5.782
282
57
Check out the "Total A" result for KF "POND", the new calculation is the sum of KF "POND" divided by the sum of KF "QTD" (13338 / 702 = 19)
The same to "Total B" result for KF "POND", the calculation is the sum of "POND" divided by sum of KF "QTD" ( (197400 + 118720) / (840 + 4240) = 62).
I've been using all recourses into Bex query, but I've haven't found any way to deliver this requirement, though.
I'd really appreciate if anyone could give me some suggestion to deliver this requirement.
Thank you.
César Sevilha.Hi Suman!
Thanks for your replay.
The collision options wont help me because I have calculation on the same structure.
I need to keep the division POND by QTD in the result. Check out the table below.
The Formula Bex Query (POND / QTD) is a simple division between KF POND by KF QTD, the result
is a totalization of lines A and B.
The requirement is to keep this division on the result. Check out the column Requirement, this is the result expected.
Line
OP
QTD
POND
Formula
Bex Query (POND / QTD)
Requirement
A1
1614073
702 KG
13.338 KG
19 KG
19 KG
Total A
Result
702 KG
13.338 KG
19 KG
19 KG
result (POND) divided by result (QTD)
B1
1587949
848 KG
197.400 KG
233 KG
233 KG
B2
1610938
4.318 KG
118.720 KG
27 KG
27 KG
Total B
Result
5.167 KG
316.120 KG
260 KG
61 KG
result (POND) divided by result (QTD)
Total A + B
Result
5.869 KG
329.458 KG
279 KG
56 KG
result (POND) divided by result (QTD)
I'd like to know how to keep the division in the result.
Example:
The result of Total B should be 61 kg which is the result of division between the result of KF POND (316.120) by the result of QTD (5167).The currently formula has as result the totalization of B1 and B2.
Thank you in advance.
César Sevilha. -
Hi,
I have a sql*developer version 1.5 but i am getting a problem while saving query result to a file. When i click on "script output "-> "file icon" nothing is showing.
Can anyboby guide me whether its a bug or some other settings are required.
I have oracle 10.2.0.3 working on linux.
Thanks & regards
GirishI am getting the same thing and as far as I know it is a bug.
As a workaround, you can either copy the contents of the script output or run the query as a statement (F9) instead of as a script (F5) and export the query results from the results tab. -
Exporting BEx Query results to CSV or other files.
Hi All,
We have a report designed in WAD, which uses a BEx query to display department’s information. Because of amount of data in the results it crashes when u get all the Free Characters into ROWS(Error is : Result set too large(552244 cells); data retrieval restricted by configuration (maximum =500000 cells). It is a requirement from the user to have all the free characteristics in the rows( which I can understand is not the right way to go ahead). As it is crashing when you add last characteristic(WBS Purpose) into the rows, they aren’t able to export data into spread sheet from the results. (as there are no results)
Now my question is…..is there any way we can export the results from BEX query into any format for example text or csv? If yes, can we schedule that process? Please note that this characteristics are displayed as hierarchies.
Am new to SAP BW and its been only six months since I have been in this role. Any help would be much appreciated???
I looked online and some where in the forum it was mentioned of using program RSCRM_BAPI, but looks like it needs some sort of downloads from SAP.
Is there any other way to export the BEx query results?
Cheers
SandeepHello Sandeep,
You can use the Item "Context Menu" in your WAD and in the properties by default you can see the Options:
Export to Excel & Export to CSV will be there and also there are many options which you wanted to see.
It works for you!!!
With Regards,
PJ. -
Saving query results to text file
Hi experts,
I would like to save a query results to text file.
The query has desined to the correct structure and I wish the query results will be saved automaticly to text file every time the query is running.
The query should cintain some sql code that will save the query to text file instead of show the query results.
What function of SQL should I add to query to achieve that goal. (The query is a long one).
Thanks in advance,
JosephIf you are talking about Query Manager, it is not difficult to do. No matter how long your query coding is, just go to the start point of your query. Then press CtrlShiftEnd to select all the TEXTs. CtrlC and CtrlV will copy the text (query codes) to text file easily.
Thanks,
Gordon -
hi,
Is there a way to save the query results as excel programatically (some kind of utility which does the job)? we are using oracle 10g. This will be a nightly job.. so that every other day morning we have the huge excel report ready for viewing. Any help is appreciated..Did you think to try searching the forum? I typed in the EXACT string you used for your thread title and the first hit was ...
Saving sql query result as excel file
Maybe you are looking for
-
Upgrade problems from 10.2.8 to 10.4
I have recently inherited a iMac G4 flat panel computer running 10.2.8. I'd like to upgrade this to 10.4 (which I have on DVD from another Mac I have that I've recently upgraded to 10.5). Anyway, the problem is that the iMac does not have DVD drive.
-
PS CS4 can't see script in folder
I have a Slideshow Pro script installed that I use in Photoshop to batch export Photoshop files for use in Flas with Slideshow Pro. The file is in c:\program files (x86)\adobe\adobe photoshop cs4\presets\scripts, and I have that location set in prefe
-
Value of an operation parameter depending on the characteristic value
Hi, Is it possible to set the value of the Normal Duration (or any other parameter of the operation) depending on the value of one characteristic? For example: The value of my characteristic A is 2, so I want to set Normal Duration = 10*(Value_of_A)
-
Apps fail to install during iPad restore from backup
I made a clean backup of my iPad2/iOS6, rebooted everything, then tried to restore from backup and there's a bunch of apps that failed to install. I've repeated this process 3x; every time it seems to be a different # of failed to install apps (3-80!
-
How to know that my new ipad specification is wifi+4g?
How to know that my new ipad specification is wifi+4g?