ECATT automation of Bex analyzer
Hi,
How can i create a test script in ECATT to automate transaction RRMX(to start Business explorer analyzer) SAP BW.
Not able to find enough documentation on ECATT and therefore gated since last 1 week.
Kidly Reply ASAP
Thanks
Jitin
Hi Anupam,
Go through the below link
[Migration of 3.x BEx Queries to BI7.0 - Useful Tips |http://wiki.sdn.sap.com/wiki/display/BI/Migrationof3.xBExQueriestoBI7.0-Useful+Tips]
[Queries or Workbooks Migration - Errors and Fixes|https://wiki.sdn.sap.com/wiki/display/BI/QueriesorWorkbooksMigration-ErrorsandFixes]
Regards
KP
Similar Messages
-
Automated start of Excel BEx Analyzer via Web VBScript
Hi all,
at first... all the versions:
SAPGUI 6.40 Patch Level 19, BW 3.5 Addon Patch 9, BI 7.0 with NetWeaver 2004s, Excel 2002 SP3.
I got the following working code to start Excel out of our Intranet, start the BEx Analyzer and connect to our BW:
<html>
<head>
<title>Excel Script</title>
<SCRIPT LANGUAGE="VBScript">
sub bwreport()
Dim app
Dim myConnection ' As Object
Dim logonToBW2 ' As Boolean
' Launch Excel
set app = createobject("Excel.Application")
' Make it visible
app.Visible = true
' Open xla file
app.Workbooks.Open("C:ProgrammeSAPFrontEndBWsapbex.xla")
app.Run("SAPBEX.XLA!sapBEXinit")
' Logon to BW
logonToBW2 = False
Set myConnection = app.Run("SAPBEX.XLA!SAPBEXgetConnection")
With myConnection
.client = "001"
.User = "myuser"
.Password = "mypw"
.Language = "de"
.systemnumber = "00"
.ApplicationServer = "xxx.xxx.xxx.xxx"
.UseSAPLogonIni = false
.Logon 0, True
If .IsConnected = 0 Then
MsgBox "Verbunden"
.Logon 0, False
If .IsConnected <> 1 Then
MsgBox "Fehler beim Verbinden"
End If
End If
End With
app.Run("SAPBEX.XLA!SAPBEXinitConnection")
logonToBW2 = True
' Give the user control of Excel
app.UserControl = true
end sub
</SCRIPT>
<P> </P>
</head>
<body>
<button onclick= "bwreport()">Alternative Excel</button>
</body>
</html>
I'm still working on two issues here and hope you can help me:
1.
app.Workbooks.Open("C:\Programme\SAP\FrontEnd\BW\sapbex.xla")
The Webscript will be used by many BW-Users so the full installation path is not the same for all users. Is there a way to start the Analyzer without the full path ?
When I start Excel with "Excel.Application" via OLE out of my Script, then BEx is not automatically loaded, that's why I need the above line.
But when I start Excel manually, it's loaded automatically. So there has to be some way Excel "knows" the location of an installed BEx Add-In. Maybe there is some addition to say Excel to start all it's usual Add-Ins, or to start in standard behaviour ?
2.
app.Run("SAPBEX.XLA!sapBEXinit")
Before I added this line, I always got the BEx Analyzer title "xxxsapbexxxx" and was unable to use any macros or functionality of the BEx Analyzer.
I found hints and code examples to use "RunAutoMacros" so sapbex.xla is fully initialized but wasn't able to make it work in my code.
So I checked the macros of sapbex.xla and "sapBEXinit" seems to do the job although I'm not sure if this is a complete/clean initialization of the sapbex.
Thx,
Thomas
Message was edited by: Thomas Kassumeh
Message was edited by: Thomas KassumehWelcome to SDN.
First of all thanks for sharing the script, good work.
coming to your first question.
you can get the path by reading the system registry
its under <b>"SAP.BusinessExplorer.Analyzer\path"</b>
if you analyze the FM "RSAH_LAUNCH_EXCEL" in BW system, you can get the logic for your script.
Regards
Raja -
Single Sign On and BeX Analyzer
Hello All,
Does anyone know of a way of using windows authentication (via Active Directory) to automate the login prompt in the BeX Excel Analyzer? I have found a solution for the BI portal via SPNego, but have not been able to find any discussion or documentation about automating the BeX Excel Analyzer login prompt. Any help is greatly appreciated.
Thanks, --MattHi Derick,
I want to make our discussion into 2 parts
1) Sign on
2) Viewing data based on the Heirarchy
1)Before discussing about the Sign on i want to know which connectivity you are using ? Live offcie or QaaWS.
2) We can make the second point possible in two ways One is with providing restriction at universe level
and the other one is through the use of flash variables.
Using flash variables:
The main idea of using flash variables is reading the User ID from BO authentication and based on that we fetch the Heirarchy level of that user. Then we use some excel logic to hide the data from Low level heirarchy(Here we use Dynamic Visibility for components).
I hope this is what you ar looking for....
If so i have more points to acheive such scenario.
Please provide the your BO environment details, such that it will be easy to identify the better best wat to acheve it.
Regards,
AnjaniKumar C.A. -
BEx Analyzer Workbook, display query 2 under query 1
Hello Guys,
actually I got a problem and did not find a solution for that.
I have a query, displaying all cars from one particular salesorg. Under this query I want to add a new query displaying all other cars, not belonging to that salesorg. Now I have two problems:
1) Is there an automated way to display one query among another in bex analyzer, if the number of rows in each query is not constant?
2) Can I negate the variable from my first query (not salesorg in first query)?
Thank You!
MarkusHi Markus Alber,
why can't you do this in one query?
You can create two selections:
One for that particular salesorg can use restriction on "salesorg"
another selection uses "salesorg" restrictions of excluding that particular salesorg
Feng -
I have a problem in BEx analyzer : When i create variable in query for certain criteria or selection , then i got error in BEx anlayzer.
Run-time error '-2147417848(8001010108)':
Automation Error
The Object invoked has disconnected from its clients.
Any Pointer are appreciated.
-KshitijHi Kshitij,
Frontend Patch Level
I was unable to get the link for the post so I am pasting it here. This was given by voodi.
Installations and Upgrades - SAP Frontend Components - SAP GUI FOR WINDOWS -
SAP GUI FOR WINDOWS 6.20
SAP GUI FOR WINDOWS 6.40
SAP GUI FOR WINDOWS 7.10 CORE
Best regards,
Kazmi
Message was edited by:
Kazmi -
SAP BEX Analyzer Set values for variables
Please help us out in sorting out this problem,
We are automating BEx Analyzer for a Testing Project with Quick Test Professional (QTP) a functional automation tool uses VB script.
Problem:
There are 5 steps in automation
Invoke BEx Application
Log in to BEx server
Run Query
Set values for Variables for Query
Display Report
We are able to do 1,2,3 steps using BEx API functions and running BEx macros but we struck up with 4th step,
1. Invoke BEx Application
Launch Excel
Dim app
Set app = createobject("Excel.Application")
Make it visible
app.Visible = true
Attach add-in to Excel file
app.Run ("'C:\Program Files\SAP\Business Explorer\BI\BExAnalyzer.xla'!SetStart")
2. Log in to BEx server
Login to Bex server
Function logonToBW(app)
Dim myConnection
Dim logonToBW2
On Error Resume Next
logonToBW2 = True
' Create logon to system with following user and system details
Set myConnection = app.Run ("'C:\Program Files\SAP\Business Explorer\BI\BExAnalyzer.xla'! SAPBEXgetConnection")
With myConnection
.client = "600"
.User = "USERNAME"
.Password = "Welcom123"
.Language = "en"
.systemnumber = "00"
.System = "BWDCLNT600"
.systemid = "BWD"
.ApplicationServer = "156.158.7.161"
.SAProuter = ""
.Logon 0, true
If .IsConnected = 0 Then
.Logon 0, False
If .IsConnected <> 1 Then
MsgBox "Automatic logon failed. Please enter your username and password in the next screen ..."
Exit Function
End If
End If
End With
' Run connection query to see if connected
app.Run ("'C:\Program Files\SAP\Business Explorer\BI\BExAnalyzer.xla'!SAPBEXinitConnection")
logonToBW2 = True
End Function
3. Run a Query
app.Run "'C:\Program Files\SAP\Business Explorer\BI\BExAnalyzer.xla'! runQuery", "ZZCCA3_M01_Q0003"
Till here the script is running fine then the Select values for Variables window is displayed.
This is where exactly we struck up; in this window we need to select values.
Name of the Fields
Field Name Technical name of characteristic Variable Name Value
1 Company Code 0COMP_CODE ZM_COMPCODE 1000
2 Cost Center Hierarchy 0COSTCENTER ZS_CCTRN 1000MDON
3 Cost Center Node 0COSTCENTER ZS_CCTRN 1000COP
4 Cost Element 0COSTELEMENT ZS_COELN 1000GDON_6999
5 Fiscal Year 0FISCYEAR 0P_FYEAR 2007
To select values for variables, we are trying below code but its giving an error,
app.Run "'C:\Program Files\SAP\Business Explorer\BI\BExAnalyzer.xla'!SAPBEXSetFilterValue", 1000, "0COMP_CODE"
app.Run "'C:\Program Files\SAP\Business Explorer\BI\BExAnalyzer.xla'!SAPBEXSetFilterValue", 1000MDON, " 0COSTCENTER "
app.Run "'C:\Program Files\SAP\Business Explorer\BI\BExAnalyzer.xla'!SAPBEXSetFilterValue", 1000COP, "0COSTCENTER"
app.Run "'C:\Program Files\SAP\Business Explorer\BI\BExAnalyzer.xla'!SAPBEXSetFilterValue", 1000GDON_6999, "0COSTELEMENT "
app.Run "'C:\Program Files\SAP\Business Explorer\BI\BExAnalyzer.xla'!SAPBEXSetFilterValue", 2007, " 0FISCYEAR"
Any help highly appreciated, thanks in advance.Hi Reinhard,
Pleas look at this:
Passing a range to SAPBEX.XLA!SAPBEXSetFilterValue
Best regards,
Eugene -
Drill Down Macro command BEx Analyzer BI 7.0
Hi All,
I'm having the following poblem. I'm working as a testautomation specialist having automated a test using (amongst others) the BEx Analyzer (SAP BW 3.X).
In short, when the results of a query are shown in an excel sheet, I automated the vertical drilldown of every row in that resultssheet. I used the BEx Analyzer macro command: Run("sapbex.xla!SAPBEXfireCommand", "HDEX", myCell).
Since we are going to use the new version of the SAP Bex Analyzer (BI 7.0), I have to convert/migrate all my testautomation scripts. And I just can not succeed in making this vertical drill down work in SAP Bex Analyzer 7.0. The SAPBEXfireCommand is not supported in SAP Bex Analyzer 7.0. Does anyone has an idea what SapBexAnalyzer (Excel) macro I can use to drill down in SAP Bex Analyzer 7.0? Any help really appreciated, I'm really struglling with this one and also no luck finding any solution on the internet so far.
Thanks!i'd suggest u research some oss notes.
Take a look at the following:
1073426
1045244
1039191
these may not be exact solutions, but will guide you to other notes as well... -
Hello All,
Does anyone know of a way of using windows authentication (via Active Directory) to automate the login prompt in the BeX Excel Analyzer? I have found a solution for the BI portal via SPNego, but have not been able to find any discussion or documentation about automating the BeX Excel Analyzer login prompt. Any help is greatly appreciated.
Thanks, --MattHi,
Please check the following thread.It may be hepful.
Re: SAP R/3 Authentication with Active Directory on Win2k server.
Regards. -
Error when starting Bex analyzer
Hi All!
We have a world wide BW-SEM application. In one country they get the following error message when starting Bex analyzer:
<install error> Missing ActiveX component: Business Explorer Global Services
Does anyone have a hint on what to do?
Thanks for your help!
Best Regards
Pontushi
try to check with SAPBEXC.xla
and take a look oss note 585643
may need to manual register .dll with regsvr32
Do an Installation check of the BEx Analyzer as follows:
In the bex analyzer menu, Business explorer -> Installation Check -> Once the excel sheet opens, press the start button to start the check. Check the entries in red to see any missing/old ocx, dlls. -
Satatus of Data in Bex Analyzer
Hello ,
is it possible to hide "status of data" in bex analyzer ? I have read some documents but all are say it is only possible with Web Designer.
I have a query from a Multiprovider and I don't wnt to show Status of data information in the report .
thank you ,
blueYou can goto design mode in the workbook and delete the text element which is showing status of data, come out of design mode and save the workbook.
Edited by: Pravender on May 18, 2010 2:19 PM -
Difference between bexbrowser and Bex analyzer
Hi,
can any body tell me what is the difference between bex browser and bex analyzer and how end users will access the reports and how they access SAP.Hi
*BEx Web Analyzer *
The BEx Web Analyzer is a standalone, convenient Web application for data analysis that you can call using a URL or as an iView in the portal.
The Web Analyzer allows you to execute ad hoc analyses on the Web: When you have selected a data provider (query, query view, InfoProvider, external data source), the data is displayed in a table with a navigation pane. You can navigate to the data and use other Web Analyzer functions available in the application toolbar. For example, you can change the type of data display, use the information broadcasting functions to broadcast your analyses to others, and create printable versions of your analyses.
In the Web Analyzer, you can save the data view generated from navigation and analysis as a query view by choosing Save View in the context menu, and you can save the ad hoc analysis by choosing Save As. When the query view is saved, only the data view is saved; when the ad hoc analysis is saved, the entire Web application is saved, including the properties of Web items and the layout of the data.
Check the link for more info
http://help.sap.com/erp2005_ehp_03/helpdata/EN/00/e8d13f7fb44c21e10000000a1550b0/frameset.htm
Bex Browser
The Business Explorer Browser (BEx Browser) makes it possible for you to access all document types of the Business Information Warehouse that are assigned to your role or that you have stored in your favorites. You can select and open documents assigned to you in the BEx Browser or store and manage new documents in the BEx Browser.
Document types that you can work with in the BEx Browser are:
· BW workbooks
· Documents that are stored in the Business Document Service (BDS)
· Links (references to file system, shortcuts)
· Links to internet sites (URLs)
· SAP transaction calls.
· Web applications and Web templates
· Crystal Reports
Regards
Shilpa -
Difference between Bex Analyzer and Bex WAD
Hi Every one,
I am pretty new to SAP, and working on SAP BW Front end.
I am pretty aware of Bex Analyzer and also Browser, but i always have a doubt about Bex WAD.
In my present job i talk to the users and take the requirments and create queries in the Bex analyzer which i am comfortable doing it.
I also know all the features of Analyzer and created quries and also published it on web, and also created workbooks and inserting multiple quries in the workbook etc etc..
However i have zero knowledge on WAD and how it is useful to me, and as if now i haven't got any requirment from the client for me to create any report in WAD or do some thing in WAD.
I have gone through SAP SDN help etc but i am not understanding it at all.
So can any one explain me in a laymans terms what WAD is and how it will be useful to me?
and also if possible send me link which has got PDF screen shots of what WAD is?
Points is for sure.
Regards,
RamRaj,
Thanks for the reply, but i still did not get the understanding about WAD. i have studied the link which you sent me.
I am still not able to understand how it is helpful for people like me,
See i create my report in Query designer, and i can execute the query in Analyser. and if i want i can execute it in the Web from my query designer, and also i can create chart on the web if i want.And i can Broadcaste it in the Web.
and also if i want i can create it in the workbook and create chart in that work book.
Then what is the point of Web Application Designer (WAD).
See i have created the Query in Designer in Development say Sales report Query on the infoprovider for SD, now what should i do with it in WAD.
How can i get it in WAD, i went to start> all Programs>Bex> WAD and i logged in to development and a sereen opend. And from here what i can do, i mean how can i open my created query in WAD?
As you guys know i am new to SAP itself, but i dont see any advantage about WAD, i read all the articals and there i found that i can create Web Items, HTML etc etc, but i already have HTML, when i execute my query from the Designer i get it in Web Browser...
See my question is simple, i have a query which i have created in the Query Designer, now how can i get it to WAD and after getting it what can i do with it??
If any one has a screen shots of there pls send me.
And Sanjeev has sent me a PDF which i saw earlear and i done the same in my WAD but i am not about to get it to work.
I have given the points to every one but still what i need i did not get yet.
Regards,
Ram -
Problem in BEx analyzer output in BI dev and BI Quality
Hi All
I am facing a problem in BEx analyzer output in BI Dev and BI Quality server where the query is make on BI infoset.
When i am executing the query in BI dev server then it is giving the output result but when i tried to executing the BI query in BI quality server the i got 'No available data found result'.
I have also checked the same selection input result in infoprovider for infoset and output is getting for the same.
Please suggest for regarding solution.
thanks & regards,
Gourav SekhriHi,
check whether you have loaded data in to quality server if no, please load data for all the target involved in info set. If data loaded check all the target 'request for reporting available 'or not.
Also check whether data is showing in infoset or not.. if data availble there change your selection critiria accordingly.
Thanks
BVR
Edited by: binu v. rajan on Aug 20, 2011 4:23 PM -
Conversion of characteristic values before displaying in Bex Analyzer
Dear all,
does anybody know whether it's possible to get influence on the manner in which a characteristic is embedded into an BEx Analyzer sheet (may be via user exit, function module exits or something else) .
In our project we have characteristics (describing production parameters) with numeric values which can't be used successfully with EXCEL AutoFilter functions because they are strings in EXCEL. Due to our data warehaouse design koncept it is not all right for us to store these values as key figures. So we are searching for methods to convert these string values into numeric values before we give them into the EXCEL sheet.
Lot of thanks for you in advance!
Dorothea Gebauer.High Leo Gillian,
at first thank you very much for your answer. Unfortunately your information is not practicable for us. There are hundreds of characteristics, in the future there may be mor than two thousend, which have to be converted before they are embedded into the sheets. Therefore we need an automatically done conversion.
with best regards Dorothea Gebauer -
Unable to Upload data from text file into BEx Analyzer selection screen
Hi,
No response from BEx Analyzer when I am trying to upload around 40,000 material from text file into BEx Analyzer selection screen using "Upload selections" options. But I am able to upload only 10,000 material from text file. I never faced same kind of issue when I am using BEx Analyzer 3.x. Please let me know I have to change any settings related to BEx or any other.
Thanks
Sri Krishna Ponnada.Hello
It seems you are reaching the .NET memory limitation informed in note 1040454.
Because 3.5 does not use .NET it can work that.
Regards,
Ricardo
Maybe you are looking for
-
When I place images in iBook Author, they are automatically assigned these properties: "Object Causes Wrap" and a "Picture Frame" stroke. I don't want that and couldn't find where can I change it in the Preferences. Anyone has an idea?
-
Isue with using attachment in jsp
I am trying to create a JSP which allows user to upload an attachment file. the attachment should get added to the process instance attachment list. The functionality works well if I upload a .txt file, but doesnt work for other formats such as .jpg
-
I want to carry my imac via car. And suggestions?
-
Problem in Storing ByteArray(Value) with String (Key) using put method
Hello Folks: I wish to store a byte array with associated with a String. For this I use the put method in Java which stores put(Object key, Object value). I have written a piece of code which works but I am not able to understand it. Its not outputin
-
BID approval workflow -single approver
Hello Masa, This is in continuation with my earlier post on other thread """""" Hello Masa, Sorry to hijack this thread but since my problem is of same nature (and may be simpler) Hence I thought I would make use of the same. I am activating Bid Inv