Query on Transient Provider
A BW Query is defined on an InfoProvider, which is a transient provider in this scenario. When using a transient provider, the metadata in SAP BW/4HANA is not persisted, but generated at runtime. If the source metadata is changed, the transient provider is adapted automatically.
As prerequisite for this scenario, the ABAP CDS view must have the annotation @Analytics.dataCatagory: #CUBE. A transient provider is then created automatically.
Note
The annotation @Analytics.query:true
is not required, nor does it generate a transient provider.
Instead of predefined InfoObjects, a transient provider offers transient objects, which are generated based on the fields of the ABAP CDS View.
If the ABAP CDS view has the annotation @AbapCatalog.SQLviewName: 'XYZ', then the name of the transient provider is 2CXYZ.
Use cases for this scenario are:
- Use field based models in Embedded BW in SAP S/4HANA
- Quickly leverage BW Query capabilities for ABAP CDS views in SAP S/4HANA
The following BW functionality is supported:
- BW Variables (for fields with Semantic Annotations)
Note
As the Query is based on generated transient objects, and not on InfoObjects, the use of BW hierarchies and related variables is not supported.Note
Parameters defined in the ABAP CDS view must be defined in the BW Query as static filter (as fixed value or as mandatory BW variable) - Restricted key figures.
- Exceptions and conditions.
- Currency conversion.
- Report-to-report interface.
- BW Query and InfoProvider authorization.
Note
Analysis authorizations are not supported, but SAP S/4HANA Analytics privileges are used.
When searching for a transient provider using the InfoProvider search of the New Query dialog, make sure that you select Search for transient provider.
Transactions RSRT and RSRTS_ODP_DIS can be used to find Transient Providers.