Академический Документы
Профессиональный Документы
Культура Документы
With BW data archived to near line storage, BW queries have the capability to
retrieve data from BW database and NLS seamlessly. This means, data is read from
BW and from NLS and data is merged in the query.
The setting is prioritized Top-Down with Query Designer property and query selection
screen variable in the same level. For eg, If the BEx query is set to read from NLS, the
settings in the info provider is overridden and ignored even though it is disabled to read
from NLS.
Let’s see how data retrieved from NLS can be controlled at each level. Assumption is,
there is a DAP with near line storage, data is archived in one or more part providers and
query is created on a Multi provider that includes these part providers.
For example, the settings below enable read from NLS on the part providers only where
Near-Line Access is switched on. It does not retrieve data from archive for those part
providers where Near-Line Access is switched off even though it has data archived.
This is achieved by using Near line storage variable in the User Input Screen.
Use the User Entry variable as the option for Nearline-Storage in Query properties.
This will let the user to decide and retrieve data from NLS even if it is switched off in the
properties of Info provider/Multi provider.
This option helps if online data in BW cannot be retrieved by the query due to issues in
NLS or poor performance in retrieving NLS data.
III. In the properties of the Multiprovider:
MultiProvider -> Extras -> InfoProvider Properties -> Change -> NLS Usage
NLS Switched on at the multi provider level will let the query to access archived data in
all the part providers irrespective of the NLS property in each part provider.
But again, NLS property of query will override if the query is set to “Do not read from
NLS”
InfoProvider -> Extras -> InfoProvider Properties -> Change -> NLS Usage
The table below will help understand the data retrieval behavior of NLS data.
Query or
Multi Provider Part Provider Result
NearLine Variable
Do not Read NLS NLS Switched OFF NLS Switched OFF Data Not Retrieved from NLS
Read NLS NLS Switched OFF NLS Switched OFF Data Retrieved from NLS
According to
NLS Switched OFF NLS Switched OFF Data Not Retrieved from NLS
Part Provider Setting
Do not Read NLS NLS Switched ON NLS Switched OFF Data Not Retrieved from NLS
Read NLS NLS Switched ON NLS Switched OFF Data Retrieved from NLS
According to
NLS Switched ON NLS Switched OFF Data Retrieved from NLS
Part Provider Setting
Do not Read NLS Part Provider Setting NLS Switched OFF Data Not Retrieved from NLS
Read NLS Part Provider Setting NLS Switched OFF Data Retrieved from NLS
According to
Part Provider Setting NLS Switched OFF Data Not Retrieved from NLS
Part Provider Setting
Do not Read NLS Part Provider Setting NLS Switched ON Data Not Retrieved from NLS
Read NLS Part Provider Setting NLS Switched ON Data Retrieved from NLS
According to
Part Provider Setting NLS Switched ON Data Retrieved from NLS
Part Provider Setting
If an info cube has a constant value in the “Provider Specific properties” and NLS is
turned on in that info cube, the constant value is not passed on to NLS interface
resulting in error or incomplete extraction. When data is read from near line storage
using a query or DTP or list cube, Query/DTP will return the following error or fail to
finish the extraction. In rare cases, it does not extract any data from NLS without any
error/warning message.
This is due to program logic used to retrieve information from near line archive.
Apply SAP note 2275935 to adjust the program logic and to avoid this error.
Tips for effectively reporting on NLS:
Maintain the corresponding settings in the Query Designer and in the metadata
of the InfoProvider to prevent the system from reading data for a query from NLS
if no archiving has taken place for the affected InfoProvider.
As of BW 7.4 SP 8 and HANA SP7 ‘HANA Smart Data Access (SDA)’ can be
used for query access to data in Sybase IQ as a near-line storage solution. It
optimizes execution of queries by moving processing as far as possible to the
database connected via SAP HANA Smart Data Access.
Data from NLS is transferred to HANA via SDA. So, most of the processing happens in
HANA and sent to BW application server. From query perspective, data is retrieved
from BW only.
Fig: Reporting on archived data using SDA
Whereas in traditional BW query access to NLS even with HANA, data is retrieved from
NLS and from BW database and the final calculations are performed in the BW
application server. This is applicable for querying of BW data residing in NLS archive for
both partner solutions and native SAP IQ solution.
Fig: Reporting on archived data using traditional query access to NLS
I hope all this information will help in designing more optimized, controlled
NLS reporting and also throw insights on what to expect when planning an
NLS implementation. Thanks for reading!