Workbook : BexGetData( ) Formula.
Hello Experts,
I am trying to save a workbook developed in BI as an excel. I have used BexGetData( ) formula to map the data from the corresponding infoObjects from the infoprovider.
But it is not saving as an excel. A blank worksheet appears while opening it.
Please let me know your expert comments on this.
Regards.
Hi Richa ,
Open the same workbok again and in design mode select the analsysis grid and assign data provider .do all necessary requirements and DO NOT Save it as it is .Go for save as option and give new name for it , &Save , close it .When you open it next time it will be available.
Its a Std problem with BI 7.0 because of improper config .
You cannot do any changes to existing workbook and save .You can save but changes wil not be effective when you open it next time .you have to go for save as .
Regards
Vels
Similar Messages
-
In BexAnalyser, my workbook is saved with formula Bexgetdata with reference to query.
Issues:
1. But when the same workbook is open from another pc, the cell contain string of path along with formula, which I dont see my pc. When run from another pc, the unable to obtain result. No error message.
2. performance is slow. It take 1mins to call workbook, 2 min to save and 8min to run.
VERSION: BI 7.X support Package 5
Appreciate solution.
thanks
Hema Maniyou have a couple of issues there.
1st - the reason why you are getting a full path, is because Analyzer is not open. Two ways to solve it: start analyzer first and then open the excel file or second way is to open the file and then open the bexanalyzer.xla file from c:\program files\common files\sap\bw......
2nd issue with performance - it seems that you are calling a large query (or multiple queries). It seems that there is a point of no return for the Analyzer - after a certain workbook size, performance suffers. This is largely dependent on your computer specs. Try running it on a more powerful computer as a test and see what comes out of that -
Workbooks not working in formula mode
Hi ,
I have created a workbook in formula mode. When I refresh and enter new variables, then those are not being taken into account. Workbook still shows original data with key figures being displayed as "#NV". Please advise.
Full points promised....
Thanks,
KartheekKartheek,
In the following answer, I am assuming that you are using text variables (e.g. in the columns) and that you have used the right mouse click > convert to formula option (rather than the 'Use Formula' setting against the Analysis Grid).
If so, then something like the following is probably occurring:
1. Bear in mind that when you convert to formula the design object is stripped from the analysis grid: i.e. it is no longer updated with the formatting of the query object
2. You run the query for November forecast in the first instance - this is what was there when you converted to formula and therefore data appears because Nov appears in the column heading which the bexget formula points to.
3. You then change the variable value to July, but as the analysis grid is no longer updated the column still says November - therefore the bexget formula returns #NV because it does not have the data for November any longer. If you overwrote the Nov value with July, the data would appear...
To get around this, insert the dataprovider again, do NOT convert this new one to formula and refer your bexget formulas to the columns / rows in this DP as they will be updated dynamically by the system. Therefore as your variable values change so will the column headings etc. and therefore bexget will return the expected data. You can then hide these rows etc.
Hope this helps,
Keith -
BexGetData over data elements that are not drilled down
Hi,
I create a query in the query designer open the same in the analyzer. I perform navigations on the same and convert the worksheet to formula.
Now the BexGetData formula contains references only to the items that have been drilled down in the rows or columns. Is it possible to reference the data elements in the free characteristics section (which have not been drilled down in the workbook before i convert to formula).
Basically I am trying to avoid having to retrieve a large amount of information if I need to build a formula based on many data elements.
Thanks
Shailesh
Message was edited by:
Shailesh UnnyWell you cannot as the BexGetData works with the Analysis grid and its cells which are displayed in the result areas (rows and columns) and doesnt refer to Free chars
PS-
To avoid formula errors being displayed when you open the workbook in formula mode, configure the data provider for the analysis grid such that the results are displayed offline. This allows you to display the data in your result set without the need to connect to the server.
http://help.sap.com/saphelp_nw2004s/helpdata/en/d3/015369f54f4a0ca19b28c1b45acf00/content.htm
Hope it Helps
Chetan
@CP.. -
Applications of BexGetData and other BW\Excel functions
Hello all!
We've recently upgraded to BI7 and I'm interested in the BW\Excel functions.
Iu2019ve tried to create a blank workbook, assign a data provider, and then use the BexGetData function but it gives me the value #NV. Is the formula directly related to any analysis item thatu2019s in the same workbook?
If the above is possible, or anyone could link me to some in depth documentation to how this and the other formulas work Iu2019d be very grateful!
Iu2019ve seen the brief bit on the SAP page about the BexGetData function by the way; it doesnu2019t answer my question or give much information!
All the best,
RhysThanks for the quick reply.
I managed to work out how to get the key figures to show as bexgetdata formula's through converting to formula mode, but I'm more interested in what other things I can use this for.
Can you reference multiple info providers in bexgetdata formula's in one sheet?
Ideally I'd like to be able to create a highly formatted workbook that uses just a blank worksheet with a few data providers assigned. I'd then do something like this:
Team's New Sales =bexgetdata("New Sales Info",Subtotal 3,New)
Team's Renewal Sales =bexgetdata("Renewal Sales Info Provider,"Subtotal 3", Renewal)
Also how does the bexgetdata formula relate to the analysis grid. Do you have to have one? Can you only reference characteristics which are showing in an analysis grid?
Finally the link you sent me was helpful, but doesn't explain any of the other BW\Excel formula's. Does SAP not support these with any documentation that's vaguely usable?
Cheers,
Rhys -
One workbook, 2 identical queries, different variable values
We have a query which has a number of user-input parameters - Cost Centre, Year, Material etc.
We wish to embed this query twice in a BEx Analyser Workbook - with the same values for Year and Cost Centre, but each with a different Material.
What we are looking to do is make Year and Cost Centre global for the workbook, but Material to be variable. From what I can see our only option is to switch off the ability to collectively process all variables.
Thus my questions are:
1. Is there any way of selectively defining which variables to process during refresh?
2. Is there any other way of setting variable values (properties, macros etc)
Many thanks!Hy,
try the bexgetdata available in Nw2004s/bi.
You generate 1 dataprovider in your workbook (maybe query with businessunit,
cost-centre, material, year and month + further in rows )
Embed the queryresult in your workbook.
Convert the result to formular (bexgetdata)
Now all cells have a formula (bexgetdata) with cell-adresses to the criterias.
For example, create a mastersheet and place year and period (central-variables).
Insert cells/rows at the top of each sheet (business-unit) and fill in the value for businessunit.
Now change the bexgetdata-formula, instead of the references in rows, refer to the
cell-adress of mastersheet and to the cell-adress of each workbooks.
You can use excel-functionality to copy all new formulas in each cell.
You can also copy the formula to each worksheet.
Delete all the lines you do not need. (Deleting the lines will not reduce the
result of the query!)
So you have one query (with a large selection) and you can place different
sub-results to the sheets.
Regards
Roland -
Max. number of queries in one workbook
Hello experts,
is there a mximum number of queries which can be embedded in one workbook?
What are the disadvantages of using many queries in one workbook.
Are there other disadvantages for input ready queries?
Thank you
JohannesJohannes, to follow up on Rakesh' answer, your performance will depend on the amount of data you are pulling out with the queries.
as for the additional disadvantages - unless you use the BExGetData formula, formatting will be your primary issue. Also, when you create buttons for the input ready query, the only time you get to set what Data Provider you are using is when you first code the button. After that, you would need to recreate the button to ensure that you are pointing to the right query.
the advantages are that you can model your reporting requirements any way you want (for example we use two multiproviders with different characteristics and use 6 queries to pull the data out)
Pavel -
I need some expert help on this topic. My company is currently going through a transition stage of moving from Hyperion to BEx. In Hyperion there is a formula similar to the Bexgetdata formula that lets us pull the information out of Hyperion and put it into a spreadsheet.
I went to 3 different training classes and the trainers did not know much about this function. After fooling around with it I somewhat know how to use it but I am running into some very big limitations. For instance, my company has over 2000 cost and profit centers. We need to run P&L's monthly for each of these cost and profit centers. With Hyperion all I had to do was change the profit center in the formula and it gave me that profit centers numbers.
With the bexgetdata function you have to open a new workbook and attach the query to it through Workbook settings. The problem I have is that i have to create a query that has every single account for every single facility for every single month we have data for. Since the query has to refresh in the background it will usually take 20+ minutes and will eventually time out. I thought I could get around this by using the hierarchy and only expanding it to 0. This would only run the data for the top level but also have the data for the profit centers as well. I found out that unless you expand the hierarchy to the profit center level it will not pull the data in Bexgetdata which brings me back to having to create a gigantic query that times out.
Any help would be appreciated.
We use Bex 7.0Richard,
Were you able to resolve this?
Regards, Vishal -
SAP BPC 10.0 NW - Delete excel formulas
Hello Experts,
I have both "Keep formula on data" chekboxes selected (inside Edit Report and inside Sheet Options) and in my computer when I refresh the workbook the formulas are not deleted, but in other computers, also with the same version of EPM add-in the formulas are deleted.
Any ideas?
Thanks,
NadineHello Guys,
I've tried to put the last 2 options selected as you said Nilanjan but no results.
Rohit, the report is static. I've created the report with Insert new member functionality and so the values of some cells are coming from input forms and others are just excel formulas. When I open the report in my computer everything works, when I try to open it in other computers the Excel formulas are deleted...
Do you have any ideia of what is happening?
Thanks in advance,
Nadine -
When uisng the convert to formula funciton in BEx it messes up other colums
when I try to use this functionality I have formatting issues and some of the data in my columsn gets lost. when I try to user the Filter button it gets even worse. We are on the Support pack 15 so this is not the issue. Any ideas why this isn't working?
BExGetData formula doesn't play well with hierarchies and multiple levels for the results rows
-
Convert Query to Formula: BexSetData - Create New Characteristic Combinatio
Hello experts,
I try to save data from an excel workbook via formula BexSetData.
When I change only Key Figures and save data, everything works fine.
But when I try to change the value of a characteristic, the result of the BexSetData-Formula is #NV. This is just the case when I change the characteristic value to a value which doesn't exist in the cube. If I change to an characterisitc combination, which already exist on the cube, everything works fine.
Is it possible to create new charecteristic combinations by using BexSetData?
Master Data is available for the characteristic value.
Thanks in advance
JohannesHello Rik,
thanks a lot for your answer.
the master data for the characterisitc values already exist.
but there is no data record in the cube with the same characterisitc combination.
example:
The following data is on the cube
Plan | Period | Key Figure
A | 012.2009 | 1000
Now I want to create a new data record on the cube with a new Period (master data exist in info object) via BexSetData
Plan | Period | Key Figure
A | 012.2010 | 1000
Thanks
Johannes
Edited by: Johannes Hilscher on May 28, 2010 5:09 PM -
Create a Formatted report for a single record
I am trying to create a report for a single record in a document format instead of row and column format
For example to list a custome information with list of orders.
CustomerID --------------------- Name ------------------------------------
Address 1 ---------------------- Address 2 ------------------------------
City -------------------------------- State -------------------------------------
Zip ---------------------------------
Order List
Order 1 Qty Total Cost
Order 2 Qty Total Cost
We dont have crystal reports setup yet. I am trying to use report designer...but it is not allowing me to do it. It creates different group for each row in the query. Can any one suggest how to do it using report designer or another way in BI 7.0 to create this kind of document. I want to be able to print this document as pdf or other types.
Any help is greatly appreciated..
Thanksyou can do this both in a formatted report or bex, depending on what kind of an outcome that you are looking for.
basically, you are first going to present the data in a tabular format and then move the cells around, so the next time you execute the report (analyzer or report designer) it will stay in that format.
if you are doing it in report designer, first create a query that pulls all required data points and gives them to you in an output as a table. Then, add that query as a data provider for the formatted report, and you can create additional cells and move the key figures around. Report designer is a little crude for formatting, but it works
if you are doing this in BEx Analyzer, then you can do the same thing: create a query and then use the BExGetData formula to pull the required data into required cells
if you are looking for HIGHLY formatted report (for example you want the output to come out on forms, etc), then you would need to use the Crystal Reports.
Regardless of what you use for the presentation of the data, the data generation is controlled by the Query itself. This is one of the tools that SAP is not planning to take away: all the future presentation options will use the query as the data source.
good luck -
Randomly generated competition draw with priority for players that has preference
(1) INPUT
player# ColumnA
Preference
1 player1
music
2 player2
3 player3
music
4 player4
music
5 player5
singing
6 player6
7 player7
8 player8
(2) my original requirement was to pair the players randomly, so i used following solution.
In E1 i have RAND() for 1000 rows (E1000),D1 I have 128 teams
In A1 used this formula
=IF(ROW()-ROW(A$1)+1>$D$1/2,"",RANK(OFFSET($E$1,ROW()-ROW(A$1)+(COLUMN()-COLUMN($A1))*($D$1/2),),$E$1:INDEX($E$1:$E$1000,$D$1)))
copy across to B1 and down as far as you might need.
Assuming you have 128 in D1 then A1:B64 will now include one each of numbers 1 to 128. Subsequent cells will be blank. Change D1 to any even number to regenerate numbers. Note: recalculation of worksheet will re-generate random numbers, hide column E if you
wish
(3) So now i have a new column called PREFERENCE that has preference / interests that players have set.
I want to enhance above formula to give priority to players who have set preferences and do their pairing first with other players who have the same preferences.
If there are no players that have matching pair per perference (e.g singing in above example) then do random match.
If there are no preferences set then simply follow the logic that i have shared above for random pairing.
Appreciate your help!!Hi JainPaddy,
Thanks for posting in MSDN forum.
Based on the description, you are design a workbook with formula. I would like move it to
Excel IT Pro Discussions forum since the issue is relative to end-user.
The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction
with us.
Thanks for your understanding.
Regards & Fei
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Formulas in Workbook causing the Workbook to open very slowly
Hi Everyone,
I have a very long pending issue fro our users. We have a workbook which has two queries inserted. And there is a Formula which is hardocded up to 5000 rows. And due to thiis workbook is opening very slolwly.
The Formulas is
=IF(BExGetData($X$3,$X$6,$B13,$X$4,$X$5,$G13,W$11,W$12)="#NV",,BExGetData($X$3,$X$6,$B13,$X$4,$X$5,$G13,W$11,W$12))
The above formula replaces #NV value with a blank and then if there is any other value apart from #NV, then it calculates a different value in the back end. Since the business , does not know howmany rows of data comes, so he hardcoded the formula for 5000 rows as this is the maximum count.
Can anyone please provide a solution to avoid so many hardcoded formulas and have an alternative using some macross.
Please feel free to ask questions?
Regards,
AAny ideas on this.............. This is a IP Workbook . Basically the formualas are written to 5000 times in the workbook to perform those functions. So, when there are no 5000 rows of records, then also formulas are calculated. Is there any way to write a Macros for the same and include the formula once in the Workbook and loop itusing macros code. And this loop should work for the no.of rows that are present in the workbook. may be 1 rowto 5000 rows and so on.
Regards,
A -
BI 7.0 Workbook excel 2003 formula for comparision
Hello Friends I have a requirement to create a workbook in BI where I have 7 columns on left side of excel workbook and 7 columns on right side of excel workbook in the same sheet of workbook. so Requirement is to put the Code 0, 1, 2, 3,4,5,6
if column 1 on left match with column 1 on right and like that column 2 on left match with column 2 on right
But the below excel formula is not working it always give me 7 which is a false value even though the data in columns 1 & 1 match each other
Can u please suggest me the step by step formula or any VB Code that I can put to get this done. I am not good in VB so please tell me the exact steps. thanks for all sdn help
formula not working
=IF((E15=V15),0,IF((F15=W15),1,IF((G15=X15),2,IF((H15=Y15),3,IF((I15=Z15),4,IF((J15=AA15),5,IF((K15=AB15),6,7)))))))
Thanks
SoniyaI'm afraid I haven't made my question understood clearly.
What I am looking for is a method to get the value of variable inside excel (e.g. put it into a cell / range of a worksheet, so that we can reference it and use it as an input for planning function execution).
Please advice.
Thanks in advance,
Shady
Maybe you are looking for
-
Price Condition entry in Accounting doc.
Hi Gurus, Need help !! During pricing, there is one condition Z123 determined and user adds one more Z123 to get desired amount instead of changing in existing condition. Z123 = 200 Z123 = 22000 When this is posted to accounting, different behaviour
-
My MacBook Pro is very slow to open, between 4 and 6 minutes
Hi, can anyone help me to solve my problems ? 1. it takes between 4 and 6 minutes to get it started. I have gone through the different steps suggested in the "Compétence Mac" magasine in French but to no avail. 2. my Mac will shut down once a day wit
-
IPod resets itself playing .m4a's (music ripped from cd's)
My new ipod video works fine playing mp3's or music from itunes store, but resets itself any time i try to listen to a song from a cd. these songs all have the .m4a file extension. what can i do to fix this?
-
hi guru please i need help am new to sap, i started my instance but it stayed and yellow so i checked my sql server and my production database is showing suspect, nobody can login and work please how do i solve this problem regards bassey
-
Hi, I need to add sales orders through my add-on. I could add the sales orders. But, when I'm adding lines to the sales order, I'm getting the following issue: There is a difference between the document total and its components. [ORDR.DocTotal][line