BEx Analyzer - Filter value
Hello,
Please help me in the following issue:
I have craeted a query that has in the filter charactristics Storage Location and Warhouse.
In th Query designer if I want to restrict the characteristic I can see all the values. In Analyzer, I can not see any values, only not assigned.
This happens for Warhouse. For storag location everything is ok.
Do you have any idea why this could happen?
Thank you,
Ramona
Hi
Check ur DSO for data for that particular field .... if it is present then check for field routine if any..
there should not be any problem in getting value in Cube...
And for your query u can restrict a field in query designer and then your report will run with this restriction only....
Other wise u can have variables defined in query for restriction at run time.....
Thanks,
Vikrant
Similar Messages
-
Bex Analyzer Filter 0CALDAY problem
Hello,
We having a problem in our BEX Analyzer, when we are filtering the characteristic 0CALDAY with a interval range based in the last days of a month (Example from 21.03.2014 to 25.03.2014), the Analyzer shows the messsage error "For characteristic 0CALDAY, enter value in a permitted format". But if we put the range 01.03.2014 to 20.03.2014, the Query executes without problem.
The same occurs with other months either.
Examples:
Report:
Filter range 01.03.2014 to 20.03.2014:
Filter range 21.03.2014 to 25.03.2014 (PROBLEM):
The same filter, but in single values format:
Could anyone help me to solve this problem?
SAPGUI version 7.03 patch 7
BIAddon (Anlyzer) patche 6
Thanks in advance.Corrected with the notes:
1935435 BExAnalyzer: Filter with range does not work correctly
1921770 BExAnalyzer: Filter works incorrectly
1914698 BExAnalyzer: General Filter Problems
Thanks -
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 -
BEx Analyzer: Display values with Zero data
Hi,
I urgently need to know something about BEx QD/Analyzer:
If I drilldown e.g. Customer into the rows, it only shows me those customers for which there are values in place. However, I need to see all Customers, i.e. also the ones where the values are zero.
How can I do this in Bex Analyzer or if needed BEx QD.
Thanks
SabineThanks,
but it won't be possible to create a multiprovider just for that.
Maybe I wasn't clear enough
If a have Customer A, Cust B and Cust C and I drilldown by customer in the rows, then the system only shows me Cust B and Cust C, because for a there has been e.g. no turnover in one specific month.
But in the drilldown in the report, I still want to see Cust A as well, even though the value is zero. So I should just see an empty line (instead of the key figures for Cust A).
Guys, that must be possible!! Help me
Sabine -
BEx: Select Filter Values Issue on Vista/Office2007
Hi,
I have followingYou can use the JavaScript function SAPBWSetFilterByCalendar to call up a calendar. When you select a value, the system filters the data characteristic for the specified DataProvider.
Parameters used are:
1) dataProvider: Logical name of the DataProvider
When the filter operation is only to be applied to a DataProvider, specify its logical name here.
2) dataProviderArray: Logical name of data provider
When the filter operation is to be applied to several data providers, specify their logical names here, for example, new Array (DP1,DP2,DP3)
3) iobjnm: Date characteristic
The system is to filter according to this characteristic.
4) displayDate (optional):Start date
Date the calendar displays when it appears. This parameter is optional. The date format has 4 characters for the year, 2 for the month and 2 characters for the day: YYYYMMDD
<b>Example</b>
Filter DP1 according to 0CALDAY
<a href=Javascript:SAPBWSetFilterByCalendar(DP1,null,0CALDAY,20020213);>Filter Calday</a> -
How to show filter values of restricted key figures in BEx Analyzer?
Hi,
I have following report.
Quantity USA Quantity China
Product 100 150
Quantity USA is a restricted key figure using key figure 'quantity' and a restriction on characteristic 'country' = USA
Quantity China is a restricted key figure using key figure 'quantity' and a restriction on characteristic 'country' = China
I notice that when I put only one of these resticted key figures into the query, there is a line in the filter area of the report in the BEx Analyzer that shows the characteristic 'country' and the value on which it's restricted in the restricted key figures.
E.g.:
Country USA
Quantity USA
Product 100
If I put both restricted key figures in the query, this line is not shown.
Does anyone of you know how I can display this line again when using multiple restricted key figures like this in the query?
Thanks!
Regards,
PascalHi,
I have following report.
Quantity USA Quantity China
Product 100 150
Quantity USA is a restricted key figure using key figure 'quantity' and a restriction on characteristic 'country' = USA
Quantity China is a restricted key figure using key figure 'quantity' and a restriction on characteristic 'country' = China
I notice that when I put only one of these resticted key figures into the query, there is a line in the filter area of the report in the BEx Analyzer that shows the characteristic 'country' and the value on which it's restricted in the restricted key figures.
E.g.:
Country USA
Quantity USA
Product 100
If I put both restricted key figures in the query, this line is not shown.
Does anyone of you know how I can display this line again when using multiple restricted key figures like this in the query?
Thanks!
Regards,
Pascal -
Error in Bex Analyzer including the filter button command in Callback macro
Hello,
I have the following problem with the function filter button in the Bex Analyzer included in the callback macro:
Because of using 2 hierarchies in the filter the setting drill down to level 2 in the query gives no right output in the Bex Analyzer. The drill down level 2 is not shown. SAP recommends the include of a filter button to solve this problem. With a filter button in the sheet the problem was solved.
But after including the filter button command in the callback macro I get an error in MS Excel.
The callback macro starts, the filter was set by the user and the data was refreshed. Because of the refreshing of the filter the callback function the callback function starts several times. After setting the filter the first time, the following macro avoids the several starting of the set filter function:
Sub CallBack(ParamArray varname())
On Error GoTo err_handler
Dim lRange As Range
Set lRange = varname(1)
'Filter entfernend/delete filter
Dim ZeichenFilter As Long
ZeichenFilter = Len(Sheet4.Cells(41, 3).Value)
Dim Filter1 As String, Filter2 As String
Filter1 = Left(Sheet4.Cells(28, 3), ZeichenFilter)
Filter2 = Left(Sheet4.Cells(41, 3).Value, ZeichenFilter)
If Filter1 <> Filter2 And Filter2 <> "" Then
onAction = True
onAction = False
End If
'Filter setzen mit einmaligem durchlaufen/set filter and run one time
If onAction = False Then
onAction = True
Call Sheet4.BUTTON_55_Click
onAction = False
End If
exit_handler:
Exit Sub
err_handler:
MsgBox Err.Description, vbOKOnly, "Error in " & " setMusterSub"
Resume exit_handler
End Sub
After the filter was set the callback macro starts the second time. Then the Bex Analyzer erros with the sandglass. The working on VBA is possible, but not the working with Bex Analyer . Values in Excel werent shown.
How can I avoid this error?Once I am adding VAR_VALUE_1 to the static parameters, the system generates two messages error:
Program error in class SAPMSSY1 method : UNCAUGHT_EXCEPTION
System error in program SAPLRRS2 and form GET_SID-1
Best Regards,
Hanit -
User Variables values are not showing in Bex analyzer
Dear Friends,
I created a report in Bex analyzer ( Excel).
Now i want to show the variables values in the report.
i put text item there and click on it but in filter tab there is no variable is exist.
Any help will be highly appricated.
Regards
Naeemdear i know how to display the variable values.
But unfortunatilly there is nothing appear in filter tab.
my variables are not in filter tab its empty.
i already choose the data provider.
regards
Malik -
Using button control in BEx Analyzer to filter on multiple items
I'm trying to create a button control in BEx Analyzer to duplicate the following command:
DATA_PROVIDER=*&FILTER_IOBJNM_1=<StructureID>&FILTER_IOBJNM_2=<StructureID>&FILTER_IOBJNM_3=<StructureID>&FILTER_VALUE_1=<Item1>&FILTER_VALUE_2=<Item2>&FILTER_VALUE_3=<Item3>&MULTI=X
where <StructureID> is the technical name (the 25-character alphanumberic string) of the structure I want to filter on, and the three items within the structure have technical names <Item1>, <Item2>, and <Item3>. This command works fine on the web, but when I set up a button in BEx Analyzer with the following attributes, it only filters on one item:
Name Index Value
CMD 1 SET_FILTER
DATA_PROVIDER 1 DP_1
FILTER_IOBJNM 1 <StructureID>
FILTER_VALUE 1 <Item1>
CMD 2 SET_FILTER
DATA_PROVIDER 2 DP_1
FILTER_IOBJNM 2 <StructureID>
FILTER_VALUE 2 <Item2>
CMD 3 SET_FILTER
DATA_PROVIDER 3 DP_1
FILTER_IOBJNM 3 <StructureID>
FILTER_VALUE 3 <Item3>
Any ideas?
Thanks,
JasonJason,
thank you for the information. This morning I found out myself by checking the 3.5 Web API Reference which basically offers everything I need.
To facilitate data entry you could try using a reference command area somewhere in your excel sheet where you can easily enter the command data and also can make use of copy/paste. I tried this and it works fine - much better than to enter the values in the dialogue.
Best regards
Thomas -
Bex Analyzer 7.0, Filter on Hierarchy Node (Text Group)
Hi gurus,
I would be glad if anyone of you could help me with this issue.
I made an application with Bex Analyzer 7.0 which does following -> create certain combinations and copy it directly into PowerPoint as a picture. This works great, I can send you the code if you want to. I could even create a blog or wiki ...
My issue appears when I try to copy a value for hierarchy node into Filter in Bex. It is possible to write into Filter some value and the system sets a filter with this value, there is no doubt about it. But I wanted to filter on a whole hierarchy node. I'm not able to do this by copying the value into the line. With the context menu no problem.
Example 1:(works fine)
Characteristics Filter:
0comp_code 1000
Example 2:(doesn't work)
Characteristics Filter:
0comp_code +Group1(Text Node)
I will appreciate any kind of help.
Thank you
StandaAs promissed, here is the code with which we export graphics into powerpoint.
BEx Analyzer 7.0
Following scenario -> user defines combinations in the list, what should be exported (area "D39:D142") Macro copies selections into filter area (D22).
Sub Chart2PPT()
Dim objPPT As Object
Dim objPrs As Object
Dim objSld As Object
Dim shtTemp As Object
Dim chtTemp As ChartObject
Dim objShape As Shape
Dim objGShape As Shape
Dim intSlide As Integer
Dim blnCopy As Boolean
Dim i As Integer
Dim f As Integer
Set objPPT = CreateObject("Powerpoint.application")
objPPT.Visible = True
objPPT.Presentations.Add
objPPT.ActiveWindow.ViewType = 1 'ppViewSlide
For Each cell In Range("D39:D142")
If Cells(i, 4) = "" Then Exit Sub
If Len(Cells(i, 4).Value) < 1 Then Exit Sub
Cells(22, 4) = Cells(i, 4)
For Each shtTemp In ThisWorkbook.Sheets
blnCopy = False
If shtTemp.Type = xlWorksheet Then
For Each objShape In shtTemp.Shapes 'chtTemp In shtTemp.ChartObjects
blnCopy = False
If objShape.Type = msoGroup Then
' if ANY item in group is a chart
For Each objGShape In objShape.GroupItems
If objGShape.Type = msoChart Then
blnCopy = True
Exit For
End If
Next
End If
If objShape.Type = msoChart Then blnCopy = True
If blnCopy Then
' blnCopy = True
If shtTemp.Name = "GraphAbsatz" And (Cells(i, 8).Value = "x" Or Cells(i, 5).Value = "x") Or _
shtTemp.Name = "GraphPreis" And (Cells(i, 8).Value = "x" Or Cells(i, 6).Value = "x") Or _
shtTemp.Name = "GraphUmsatz" And (Cells(i, 8).Value = "x" Or Cells(i, 7).Value = "x") Then
intSlide = intSlide + 1
' shtTemp.UsedRange.CopyPicture 'kopiert nur Grafiken
' objShape.CopyPicture
shtTemp.UsedRange.CopyPicture 'kopiert die ganze Seite
' new slide for each chart
objPPT.ActiveWindow.View.GotoSlide Index:=objPPT.ActivePresentation.Slides.Add(Index:=objPPT.ActivePresentation.Slides.Count + 1, Layout:=12).SlideIndex
objPPT.ActiveWindow.View.Paste
End If
End If
Next
If Not blnCopy Then
' nichts kopieren
' copy used range
' intSlide = intSlide + 1
' shtTemp.UsedRange.CopyPicture
' new slide for each chart
' objPPT.ActiveWindow.View.GotoSlide Index:=objPPT.ActivePresentation.Slides.Add(Index:=objPPT.ActivePresentation.Slides.Count + 1, Layout:=12).SlideIndex
' objPPT.ActiveWindow.View.Paste
End If
Else
' nichts kopieren
' intSlide = intSlide + 1
' shtTemp.CopyPicture
' new slide for each chart
' objPPT.ActiveWindow.View.GotoSlide Index:=objPPT.ActivePresentation.Slides.Add(Index:=objPPT.ActivePresentation.Slides.Count + 1, Layout:=12).SlideIndex
' objPPT.ActiveWindow.View.Paste
End If
Next
' nächste Selektion
i = i + 1
Next
Set objPrs = Nothing
Set objPPT = Nothing
End Sub -
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 -
How to Add a New Filter Value in BEx WAD to Display All Result
Hi experts,
I want to add a new filter value in BEx WAD to display all data records. The scenario is as follows:
The status field can have two values: Active ("A) and Inactive ("I").
But the requirement is to have a third value to display all the data records (Active + Inactive). E.g. the value can be "G". The purpose is to increase the understandability for report users.
Does anyone have an idea?
Regards,
JoonHi Vineet,
thanks for your reply. The problem is that there are only 2 values available for this Characteristic: "A" or "I".
The requirement is to have a third value "G" (instead of the default "All Value") due to historical reason, because all future report users have been working with R/3 reports for quite some time and they are accustomed to using "G" for displaying all values.
Is there any possibility to realize this?
Thanks,
Joon -
How to enter multiple values in BEX Analyzer 7.0
We are on 7.0. I created a query in Query Designer with a variable type of Select Option. When I execute the query in BEX Analyzer, how do I enter multiple selections?
Thanks.
RyanHi Ryan,
You need to click on the button on the right of the variable (with a white square). In the box that pops up, choose your values. On the same screen, click the More>> button to see your selection and change the order if required.
Hope this helps... -
In BeX only Key is display instead of Text in filter value
Hi,
Our company migrated from BW 3.0b to BI 7.0 Netweaver 2004s recently.
Before the migration, a value in the Filtersection of an executed query in the BEx Analyzer was displayed as text. Now after the migration it always displays the key instead of text.
If i put the same InfoObject in the Free Characteristics than it shows text like i choosed in the display section of the properties.
Do you have any clue why?
Thanks
RalphWht FEP are you on??
Try to be on the latest SP available as a part of sanity check.
Try first to download latest FEP from service.sap.com/swdc
Download>Support Packages and Patches">SAP Frontend Components">SAP GUI FOR WINDOWS">SAP GUI FOR WINDOWS 6.40>Win32>Bw700SP09P_904-10001615.exe.exe
download that file rename as .exe and execute it.
Hope it Helps
Chetan
@CP.. -
BEx analyzer variable screen Copy and paste the input values functionality
Hi all,
in bw 3.5 we have functionality on the variable screen we can do directly copy the values and paste in the input screen. But in BI 7.0 BEx analyzer I am not able to find it. Is it required to apply any patches?
Please guide me on this.
ThanksHello All,
We have a similar issue only in 2004s query designer when we execute a query via the web. We have the variable set up to accept multiple single values and we can pick multiple single values and add them, however, we cannot paste a list of, for example, personnel numbers from an excel spreadsheet into the web selection box to add multiple single values at one time. Does this functionality exist?
Regards,
Ann Bohn
Maybe you are looking for
-
How can i browse data in my time capsule with my iPhone?
how can i browse data in my time capsule with my iPhone?
-
I have an iMac with multiple user accounts each with an Apple ID and individual iTunes library and Itunes match linking to iPhones iPads etc. I bought songs on my iPhone yesterday, on trying to listen to them on the iMac (my user account) this mornin
-
Initialisation option for source system in schedular tab
What initialisation option for system in schedular tab signifies? Does it acts as pointer and points to the last record loaded in cube or ods?
-
How to release the cancelled transport request ...
Hi Experts, i have released a TR and it was cancelled bcos my system is very slow. Once the system is up,i was tried to release the TR.But i am not able to release it. Please help me on this. Thanks, Babu
-
We are facing problems when trying to connect to the MBEan Server of BEA weblogic 6.1, when using mx4j. the error comes in the queryMBeans call of RemoteMBeanServer class of mx4j. Anybody aware of this problem? The exceptions that were received are: