Mapping BEx Query Elements to the SAP BusinessObjects BI 4 Query Panel.pdf
-
Upload
roman-volynets -
Category
Documents
-
view
51 -
download
3
Transcript of Mapping BEx Query Elements to the SAP BusinessObjects BI 4 Query Panel.pdf
Tweet 0 0
Mapping BEx Query Elements to the SAP BusinessObjectsBI 4 Query PanelBY IHILGEFORTIHILGEFORT ON JANUA RY 17, 2013 · A DD COMMENTA DD COMMENT · IN CRYSTAL REPORTSCRYSTAL REPORTS,
DAS HBOARD SDAS HBOARD S, SAP BUSINESSOBJECTS ENTERPRISESAP BUSINESSOBJECTS ENTERPRISE , S AP NETWEAVER BWS AP NETWEAVER BW, WE BWE B
INTELLIGE NCEINTELLIGE NCE, XC ELSIUSXC ELSIUS
In the following sections of this document you will learn how elements from a BEx queryIn the following sections of this document you will learn how elements from a BEx queryare being leveraged by Web Intelligence and where to find them in the query panel forare being leveraged by Web Intelligence and where to find them in the query panel forWeb Intelligence.Web Intelligence.
Even though the screenshots are focusing on Web Intelligence, the document is alsoEven though the screenshots are focusing on Web Intelligence, the document is also
Follow @ihilgefort
Ask Ingo – Season 4Ask Ingo – Season 4
SAP BusinessObjects BI4SAP BusinessObjects BI4
Data Connectivity OptionsData Connectivity Options
for SAP NetWeaver BWfor SAP NetWeaver BW
Mapping BEx QueryMapping BEx Query
Elements to the SAPElements to the SAP
BusinessObjects BI 4 QueryBusinessObjects BI 4 Query
PanelPanel
SAP BusinessObjects BI 4SAP BusinessObjects BI 4
Service Pack 05 – SupportService Pack 05 – Support
SAP BUSINESSOBJ ECTS BI 4 SERVICE PACK 05 – SUPPORT FOR BEX QUERYSAP BUSINESSOBJ ECTS BI 4 SERVICE PACK 05 – SUPPORT FOR BEX QUERYELEMENTSELEMENTS
SAP BUSINESSOBJECTS BI4 DATA CONNECTIVITY OPTIONS FOR SAP NETW EAVERSAP BUSINESSOBJECTS BI4 DATA CONNECTIVITY OPTIONS FOR SAP NETW EAVERBWBW
ShareShare
Mapping BEx Query Elements to the SAP BusinessObjects BI 4 Query Panel http://www.mastering-sap-and-businessobjects.com/mapping-bex-query-elements-to-the-sap-businesso...
Стр. 1 из 14 24.09.2013 11:06
applicable to Crystal Reports for Enterprise and SAP BusinessObjects Dashboards as allapplicable to Crystal Reports for Enterprise and SAP BusinessObjects Dashboards as allthree BI clients are sharing the integration with the BEx queries via the semantic layer.three BI clients are sharing the integration with the BEx queries via the semantic layer.
So lets start with a very simple BEx Query:So lets start with a very simple BEx Query:
Figure 1: Mapping BEx Query ElementsFigure 1: Mapping BEx Query Elements
As shown in Figure 1 here we are starting with a very simple BEx Query example with aAs shown in Figure 1 here we are starting with a very simple BEx Query example with aset of characteristics in the Rows, in the Free Characteristics, and a set of key figures inset of characteristics in the Rows, in the Free Characteristics, and a set of key figures inthe Columns.the Columns.
for BEx Query Elementsfor BEx Query Elements
SAP BusinessObjects WebSAP BusinessObjects Web
Intelligence 4.0 ServiceIntelligence 4.0 Service
Pack 05 – Whats newPack 05 – Whats new
AnalysisAnalysis BIBI BI 4BI 4BusinessObjectsBusinessObjectsBusinessObjectsBusinessObjectsExplorerExplorerCrystalCrystalReportsReportsDashboardsDashboardsDataDataConnectivityConnectivityInstallation andInstallation andConfigurationConfigurationSAP EnterpriseSAP EnterprisePortalPortal SAPSAPNetWeaverNetWeaverBWBWUncategorizedUncategorizedWebWebIntelligenceIntelligenceXcelsiusXcelsius
Mapping BEx Query Elements to the SAP BusinessObjects BI 4 Query Panel http://www.mastering-sap-and-businessobjects.com/mapping-bex-query-elements-to-the-sap-businesso...
Стр. 2 из 14 24.09.2013 11:06
Characteristics (= Dimension in the Query Outline)Each characteristic will beCharacteristics (= Dimension in the Query Outline)Each characteristic will bepresented in the query outline with separate fields for the key, and description basedpresented in the query outline with separate fields for the key, and description basedon the definition of the InfoObject. For example characteristic Country is shown with aon the definition of the InfoObject. For example characteristic Country is shown with aKey, Text, and Medium Text because the InfoObject has been defined with key, text,Key, Text, and Medium Text because the InfoObject has been defined with key, text,and medium text but no long text.and medium text but no long text.The dimension object in the query outline for the characteristic represents the TextThe dimension object in the query outline for the characteristic represents the Textvalue.value.
In addition each characteristic also has an element called the “default hierarchy” whichIn addition each characteristic also has an element called the “default hierarchy” whichis the very first entry below the dimension object. The “default hierarchy” representsis the very first entry below the dimension object. The “default hierarchy” representsthe hierarchical display in cases a hierarchy has been configured. In case no hierarchythe hierarchical display in cases a hierarchy has been configured. In case no hierarchyhas been configured then the default hierarchy is simply showing the members of thehas been configured then the default hierarchy is simply showing the members of thecharacteristic.characteristic.The “default hierarchy” is very important for BEx queries with hierarchy variables.The “default hierarchy” is very important for BEx queries with hierarchy variables.
Navigational Attributes (= Dimension in the Query Outline)Navigational Attributes (= Dimension in the Query Outline)Navigational Attributes are treated like other characteristics and are also representedNavigational Attributes are treated like other characteristics and are also representedwith the key and text based on the definition of the Navigational Attribute.with the key and text based on the definition of the Navigational Attribute.Key Figures (called Measure in the Query Outline)Key Figures (called Measure in the Query Outline)Each Key Figure can have up to four elements: numeric value, unit, formatted value,Each Key Figure can have up to four elements: numeric value, unit, formatted value,and scaling factor.and scaling factor.Calculated and Restricted Key Figures (called Measure in the Query Outline)Calculated and Restricted Key Figures (called Measure in the Query Outline)Calculated and Restricted Key Figures are treated like any other Key Figure and canCalculated and Restricted Key Figures are treated like any other Key Figure and canhave up to four elements: numeric value, unit, formatted value, and scaling factor.have up to four elements: numeric value, unit, formatted value, and scaling factor.Information about the details of the calculated or restricted Key Figure is not availableInformation about the details of the calculated or restricted Key Figure is not availablein the Query Outline.in the Query Outline.
Analysis, edition forAnalysis, edition for
Microsoft OfficeMicrosoft Office
Analysis, edition for OLAPAnalysis, edition for OLAP
Crystal ReportsCrystal Reports
DashboardsDashboards
Installation andInstallation and
ConfigurationConfiguration
SAP BusinessObjectsSAP BusinessObjects
EnterpriseEnterprise
SAP Enterprise PortalSAP Enterprise Portal
SAP ERPSAP ERP
SAP NetWeaver BWSAP NetWeaver BW
UncategorizedUncategorized
Web IntelligenceWeb Intelligence
XcelsiusXcelsius
July 2013July 2013
April 2013April 2013
January 2013January 2013
June 2012June 2012
March 2012March 2012
February 2012February 2012
January 2012January 2012
November 2011November 2011
June 2011June 2011
May 2011May 2011
April 2011April 2011
March 2011March 2011
February 2011February 2011
Mapping BEx Query Elements to the SAP BusinessObjects BI 4 Query Panel http://www.mastering-sap-and-businessobjects.com/mapping-bex-query-elements-to-the-sap-businesso...
Стр. 3 из 14 24.09.2013 11:06
Figure 2: Mapping BEx Query ElementsFigure 2: Mapping BEx Query Elements
Figure 2 shows the elements for characteristic Country in more details.Figure 2 shows the elements for characteristic Country in more details.
January 2011January 2011
December 2010December 2010
November 2010November 2010
October 2010October 2010
September 2010September 2010
August 2010August 2010
July 2010July 2010
June 2010June 2010
May 2010May 2010
April 2010April 2010
March 2010March 2010
December 2009December 2009
September 2009September 2009
August 2009August 2009
July 2009July 2009
Mapping BEx Query Elements to the SAP BusinessObjects BI 4 Query Panel http://www.mastering-sap-and-businessobjects.com/mapping-bex-query-elements-to-the-sap-businesso...
Стр. 4 из 14 24.09.2013 11:06
Figure 3: Mapping BEx Query ElementsFigure 3: Mapping BEx Query Elements
In Figure 3 we can see the Display attributes for characteristic Sales Organization.In Figure 3 we can see the Display attributes for characteristic Sales Organization.Display Attributes are turned into Detail objects and are shown as subordinates for eachDisplay Attributes are turned into Detail objects and are shown as subordinates for eachof the characteristics. It is important to note, that Display Attributes are shown in theof the characteristics. It is important to note, that Display Attributes are shown in theQuery outline even if they are not part of the BEx Query itself. Display Attributes for theQuery outline even if they are not part of the BEx Query itself. Display Attributes for theCharacteristics are leveraged based on the definition of the InfoObject in SAP NetWeaverCharacteristics are leveraged based on the definition of the InfoObject in SAP NetWeaverBW.BW.
In Figure 3 you can see that the Display Attribute Country for the Characteristic SalesIn Figure 3 you can see that the Display Attribute Country for the Characteristic SalesOrganization is shown as a Detail object in the outline below the dimension object SalesOrganization is shown as a Detail object in the outline below the dimension object SalesOrganization.Organization.
Mapping BEx Query Elements to the SAP BusinessObjects BI 4 Query Panel http://www.mastering-sap-and-businessobjects.com/mapping-bex-query-elements-to-the-sap-businesso...
Стр. 5 из 14 24.09.2013 11:06
Figure 4: Mapping BEx Query ElementsFigure 4: Mapping BEx Query Elements
Figure 4 shows the Characteristic Restrictions area of our BEx Query, which shows threeFigure 4 shows the Characteristic Restrictions area of our BEx Query, which shows threeBEx Variables. BEx Variables are turned automatically into prompts / parameters. ThoseBEx Variables. BEx Variables are turned automatically into prompts / parameters. Thoseprompts will be shown to the user each time the report is being refreshed, but the personprompts will be shown to the user each time the report is being refreshed, but the personcreating the report also has access to these prompts already in the Query outline.creating the report also has access to these prompts already in the Query outline.
Prompts as a result of BEx Variables used in the underlying BEx query can be used in thePrompts as a result of BEx Variables used in the underlying BEx query can be used in the
Mapping BEx Query Elements to the SAP BusinessObjects BI 4 Query Panel http://www.mastering-sap-and-businessobjects.com/mapping-bex-query-elements-to-the-sap-businesso...
Стр. 6 из 14 24.09.2013 11:06
query outline already by using the Variable Manager (see Figure 4). The Variable Managerquery outline already by using the Variable Manager (see Figure 4). The Variable Managerallows the user in the query outline to see the list of available prompts and to configureallows the user in the query outline to see the list of available prompts and to configuredefault values (in addition to default values from a BEx query). The Variable Manager isdefault values (in addition to default values from a BEx query). The Variable Manager isvery important when using BEx queries with a hierarchy and a hierarchy node variable orvery important when using BEx queries with a hierarchy and a hierarchy node variable orBEx queries with time-dependent objects, as the Variable Manager then allows the user toBEx queries with time-dependent objects, as the Variable Manager then allows the user toresolve those dependencies before creating the actual report.resolve those dependencies before creating the actual report.
Figure 5: Mapping BEx Query Elements – Two StructuresFigure 5: Mapping BEx Query Elements – Two Structures
Figure 5 shows a BEx Query with a custom structure in the rows and another customFigure 5 shows a BEx Query with a custom structure in the rows and another customstructure in the columns. In the BEx Query designer only one the structures can containstructure in the columns. In the BEx Query designer only one the structures can containactual key figures – in the example above it is the structure in the columns – and each ofactual key figures – in the example above it is the structure in the columns – and each ofthe structure elements of the structure with key figures will be mapped to measures (=keythe structure elements of the structure with key figures will be mapped to measures (=keyfigures) in the query outline (in the example Quarter 1 to Quarter 2).figures) in the query outline (in the example Quarter 1 to Quarter 2).
Mapping BEx Query Elements to the SAP BusinessObjects BI 4 Query Panel http://www.mastering-sap-and-businessobjects.com/mapping-bex-query-elements-to-the-sap-businesso...
Стр. 7 из 14 24.09.2013 11:06
Figure 6: Mapping BEx Query Elements – HierarchiesFigure 6: Mapping BEx Query Elements – Hierarchies
Figure 6 shows a BEx Query with characteristic Product in the Rows and characteristicFigure 6 shows a BEx Query with characteristic Product in the Rows and characteristicProduct has been configured with a Hierarchy Variable. In case the underlying BEx QueryProduct has been configured with a Hierarchy Variable. In case the underlying BEx Querycontains a Hierarchy Variable, the query outline will not contain a list of availablecontains a Hierarchy Variable, the query outline will not contain a list of availablehierarchies based on the InfoObject in SAP NetWeaver BW, but instead the characteristichierarchies based on the InfoObject in SAP NetWeaver BW, but instead the characteristic
Mapping BEx Query Elements to the SAP BusinessObjects BI 4 Query Panel http://www.mastering-sap-and-businessobjects.com/mapping-bex-query-elements-to-the-sap-businesso...
Стр. 8 из 14 24.09.2013 11:06
will only be shown with the Default Hierarchy and the report designer can use the Defaultwill only be shown with the Default Hierarchy and the report designer can use the DefaultHierarchy to create the report and the user will then be able to select a hierarchy using theHierarchy to create the report and the user will then be able to select a hierarchy using theprompt every time the report is being refreshed.prompt every time the report is being refreshed.
Figure 7: Mapping BEx Query Elements – Variable ManagerFigure 7: Mapping BEx Query Elements – Variable Manager
In Figure 7 you can see the steps involved to resolve a hierarchy variable input in theIn Figure 7 you can see the steps involved to resolve a hierarchy variable input in thequery panel.query panel.
Mapping BEx Query Elements to the SAP BusinessObjects BI 4 Query Panel http://www.mastering-sap-and-businessobjects.com/mapping-bex-query-elements-to-the-sap-businesso...
Стр. 9 из 14 24.09.2013 11:06
In step 1 the report designer is creating a new report based on a BEx query whichIn step 1 the report designer is creating a new report based on a BEx query whichcontains a hierarchy variable.contains a hierarchy variable.In step 2 the report designer is opening the Variable Manager in the query panel. InIn step 2 the report designer is opening the Variable Manager in the query panel. Inthe Variable Manager the report designer is able to set a default value for thethe Variable Manager the report designer is able to set a default value for thehierarchy variable.hierarchy variable.In step 3 – based on the configured default value for the hierarchy variable – theIn step 3 – based on the configured default value for the hierarchy variable – thereport designer is now able to open the list of members for the hierarchy so that thereport designer is now able to open the list of members for the hierarchy so that thereport designer can select specific nodes or leafs from the hierarchy in the report.report designer can select specific nodes or leafs from the hierarchy in the report.
In addition to the member based selection, Web Intelligence, Crystal Reports forIn addition to the member based selection, Web Intelligence, Crystal Reports forEnterprise, and SAP BusinessObjects Dashboards are now (SAP BusinessObjects BI4Enterprise, and SAP BusinessObjects Dashboards are now (SAP BusinessObjects BI4Service Pack 04) also offering a level based selection, which allows the report designer toService Pack 04) also offering a level based selection, which allows the report designer tokeep the report more flexible by not configuring a fixed set of members and leafs butkeep the report more flexible by not configuring a fixed set of members and leafs butinstead to select levels of a hierarchy.instead to select levels of a hierarchy.
Mapping BEx Query Elements to the SAP BusinessObjects BI 4 Query Panel http://www.mastering-sap-and-businessobjects.com/mapping-bex-query-elements-to-the-sap-businesso...
Стр. 10 из 14 24.09.2013 11:06
Figure 8: Mapping BEx Query Elements – Hierarchy Node VariableFigure 8: Mapping BEx Query Elements – Hierarchy Node Variable
Figure 8 shows the Characteristic Restrictions area of the BEx Query Designer with aFigure 8 shows the Characteristic Restrictions area of the BEx Query Designer with aHierarchy Node Variable. In case the BEx query has been configured with a HierarchyHierarchy Node Variable. In case the BEx query has been configured with a HierarchyNode variable (without a hierarchy variable) the characteristic has been configured with aNode variable (without a hierarchy variable) the characteristic has been configured with aspecific hierarchy (in the example shown – Product Hierarchy 1) and the hierarchy nodespecific hierarchy (in the example shown – Product Hierarchy 1) and the hierarchy nodevariable allows the user to filter based on hierarchy nodes or leafs.variable allows the user to filter based on hierarchy nodes or leafs.
In such a scenario the query outline will not show all available hierarchies and also theIn such a scenario the query outline will not show all available hierarchies and also thedefault hierarchy will not be shown in the query outline; in the query outline the reportdefault hierarchy will not be shown in the query outline; in the query outline the reportdesigner will see a single entry for the selected hierarchy.designer will see a single entry for the selected hierarchy.
Mapping BEx Query Elements to the SAP BusinessObjects BI 4 Query Panel http://www.mastering-sap-and-businessobjects.com/mapping-bex-query-elements-to-the-sap-businesso...
Стр. 11 из 14 24.09.2013 11:06
Figure 9: Mapping BEx Query Elements – Time dependencyFigure 9: Mapping BEx Query Elements – Time dependency
In case the underlying BEx query contains time dependent objects – for example aIn case the underlying BEx query contains time dependent objects – for example acharacteristic with time dependent hierarchies (not time dependent hierarchy structures) itcharacteristic with time dependent hierarchies (not time dependent hierarchy structures) itis important to note that the query panel will not prompt for a key date before theis important to note that the query panel will not prompt for a key date before themeta-data is shown to the report design.meta-data is shown to the report design.
In Figure 9 in Step 1 the characteristic Sales Group is shown with two hierarchies – SalesIn Figure 9 in Step 1 the characteristic Sales Group is shown with two hierarchies – SalesGroup Hry 1 and Sales Group Hry 2.Group Hry 1 and Sales Group Hry 2.
Mapping BEx Query Elements to the SAP BusinessObjects BI 4 Query Panel http://www.mastering-sap-and-businessobjects.com/mapping-bex-query-elements-to-the-sap-businesso...
Стр. 12 из 14 24.09.2013 11:06
In Step 2 the report designer is opening the Variable Manager and sets a specific date forIn Step 2 the report designer is opening the Variable Manager and sets a specific date forthe key date variable and based on the set date the query panel is being refreshed and asthe key date variable and based on the set date the query panel is being refreshed and asshown in Step 3 one of the hierarchies is not available anymore for the specifiedshown in Step 3 one of the hierarchies is not available anymore for the specifiedtimeframe.timeframe.
Especially when using BEx queries with time-dependent objects it is important to use theEspecially when using BEx queries with time-dependent objects it is important to use theVariable Manager also in the query panel to resolve the time-dependency so that theVariable Manager also in the query panel to resolve the time-dependency so that thereport designer is able to see the correct information in the query panel.report designer is able to see the correct information in the query panel.
Figure 10: Mapping BEx Query Elements – Local CalculationsFigure 10: Mapping BEx Query Elements – Local Calculations
Mapping BEx Query Elements to the SAP BusinessObjects BI 4 Query Panel http://www.mastering-sap-and-businessobjects.com/mapping-bex-query-elements-to-the-sap-businesso...
Стр. 13 из 14 24.09.2013 11:06
ShareShare
SHARE →
TA GGE D WITH → BI 4BI 4 • BusinessObjectsBusinessObjects • Crystal ReportsCrystal Reports • DashboardsDashboards • Data ConnectivityData Connectivity • SAPSAP
NetWeaver BWNetWeaver BW • Web IntelligenceWeb Intelligence • XcelsiusXcelsius
0 Tweet 0 StumbleUpon
Tweet 0 0 ShareShare
ShareShare
Mapping BEx Query Elements to the SAP BusinessObjects BI 4 Query Panel http://www.mastering-sap-and-businessobjects.com/mapping-bex-query-elements-to-the-sap-businesso...
Стр. 14 из 14 24.09.2013 11:06