This blog has been translated with Google Translate. the original blog can be found here: ekessler.de
In asemanticallypartitionedobject(SPO) wascreatedbasedon a templateobjectcan causean errorduring activation.Figure1.1shows theconstruction of asemanticallypartitionedDSOs. AsatemplateDSOis used.
Figure1.1: Construction of an SPOwithtemplate
When activating theSPOs, the error occurs "Not possible tocreateexternalSAPHANAviewfor object<SPO>00/ Messageno. RS2HANA_VIEW001".
The error messageisnoted thatattemptstogenerateanexternalSAPHANAView foranSPO(or ahybridprovider).
Figure1.2: Error in activating
Thecause oftheerrorisinthis casethetemplatesDSO.InthetemplatesDSOis the hallmarkExternalSAPHANAView forreportingset, seeFigure1.3.
Figure1.3: Indicator ExternalSAPHANAView forreportingin the TemplateObejkt
When creating theSPOsfirst thereference structurefortheSPOis generated. The reference structureofSPOsused as a templatefor each partitionof theSPOs.
At installation of thereference structure of theSPOobject<SPO>00the metadata of theoriginalobject arecopied. Themetadataof the template objectalso includesthe indicatorExternalSAPHANAView forreporting.
Currentlydoes not supportexternalSAPHANAviews forsemanticallypartitionedobject(and HybridProvider). Therefore, the maintainance option for the indicator ExternalSAPHANAView forreporting is for a semanticallypartitionedobject(see Figure1.4) not available.
Figure1.4: Properties of the reference structure of theSOPs
Wefindthe indicatorHANAMODELFL(ExternalSAPHANAview forBWobject)in the tableRSDODSO(Directory of alldatastores), seeFigure1.5.
Figure1.5: Indicator ExternalSAPHANAview forBWobject
To activate the SPOthe indicatorHANAMODELFLmustbe removedforthereference structure of theSPOs. The reference structurehas the following naming convention <SPO-name>00.Alternatively,you can searchthereference structureonthe name of theSPOsin the tableRSDODSO (for cubes see table RSDCUBE). Figure1.6 showsbothvariants.
Figure1.6: Searchreference structure of theSPOintheRSDODSO
remove indicatorHANAMODELFL(SAP HANAView), seeFigure1.7 and save.
Figure1.7: RemoveindicatorHANAMODELFL(SAP HANAView)
Subsequently, theSPO could be activated withouterror.