+ All Categories
Home > Documents > SAND-DNA Nearline for SAP NetWeaver BW 7.0

SAND-DNA Nearline for SAP NetWeaver BW 7.0

Date post: 03-Apr-2018
Category:
Upload: ram-veer-singh-tomar
View: 222 times
Download: 0 times
Share this document with a friend
16
7/28/2019 SAND-DNA Nearline for SAP NetWeaver BW 7.0 http://slidepdf.com/reader/full/sand-dna-nearline-for-sap-netweaver-bw-70 1/16  SAP COMMUNITY NETWORK scn.sap.com  © 2012 SAP AG 1 SAND/DNA Nearline for SAP NetWeaver BW 7.0 Applies to: SAND/DNA Nearline for SAP NetWeaver BW 7.0 Summary This document is a tutorial which provides hand-on introduction to the following aspects of SAND/DNA Nearline for SAP NetWeaver BW 7.0 and the SAP NLS (Nearline Storage) interface. Basic Nearline functionality: o Nearlining and reloading of Infocubes o Query access to Nearline data Author(s): Ram Tomar Company: Bajaj Hindusthan Ltd.. Created on: 04 June 2013 Author Bio Ram Tomar has completed his Master in Computer Application from U.P Technical University. She has 6 years of SAP experience. She has been working on SAP NW BI since 5 years. Apart from SAP BI she has experience in SAP ABAP and hands on experience in SAP QM modules.
Transcript
Page 1: SAND-DNA Nearline for SAP NetWeaver BW 7.0

7/28/2019 SAND-DNA Nearline for SAP NetWeaver BW 7.0

http://slidepdf.com/reader/full/sand-dna-nearline-for-sap-netweaver-bw-70 1/16

 

SAP COMMUNITY NETWORK scn.sap.com

 © 2012 SAP AG 1

SAND/DNA Nearline for SAP

NetWeaver BW 7.0

Applies to:

SAND/DNA Nearline for SAP NetWeaver BW 7.0

Summary

This document is a tutorial which provides hand-on introduction to the following aspects of SAND/DNANearline for SAP NetWeaver BW 7.0 and the SAP NLS (Nearline Storage) interface.

• Basic Nearline functionality:

o Nearlining and reloading of Infocubes

o Query access to Nearline data

Author(s): Ram Tomar

Company: Bajaj Hindusthan Ltd..

Created on: 04 June 2013

Author Bio

Ram Tomar has completed his Master in Computer Application from U.P TechnicalUniversity.

She has 6 years of SAP experience. She has been working on SAP NW BI since 5years. Apart from SAP BI she has experience in SAP ABAP and hands on experiencein SAP QM modules.

Page 2: SAND-DNA Nearline for SAP NetWeaver BW 7.0

7/28/2019 SAND-DNA Nearline for SAP NetWeaver BW 7.0

http://slidepdf.com/reader/full/sand-dna-nearline-for-sap-netweaver-bw-70 2/16

SAND/DNA Nearline for SAP NetWeaver BW 7.0 

SAP COMMUNITY NETWORK scn.sap.com

 © 2012 SAP AG 2

Table of Contents

Introduction ......................................................................................................................................................... 3 Topics .............................................................................................................................................................. 3 

Activating Data Archiving Process for an Infocube ............................................................................................ 3 Nearlining Data from an Infocube ....................................................................................................................... 6 Reloading Nearline Data into SAP Netweaver BW .......................................................................................... 10

 Accessing Nearline Data using SAP Business Explorer (BEx) ........................................................................ 13 Related Content ................................................................................................................................................ 15 Copyright........................................................................................................................................................... 16 

Page 3: SAND-DNA Nearline for SAP NetWeaver BW 7.0

7/28/2019 SAND-DNA Nearline for SAP NetWeaver BW 7.0

http://slidepdf.com/reader/full/sand-dna-nearline-for-sap-netweaver-bw-70 3/16

SAND/DNA Nearline for SAP NetWeaver BW 7.0 

SAP COMMUNITY NETWORK scn.sap.com

 © 2012 SAP AG 3

Introduction

Nearline Storage (NLS) is a type of Data Archiving Process.

Using the NLS, you can archive and store transaction data from InfoCubes and DataStore objects.

The data archiving process consists of three main steps:

...  1.  Creating the archive file/near-line object

2.  Storing the archive file in near-line storage3.  Deleting the archived data from the database

A data archiving process is always assigned to one specific InfoProvider and has the same name as thisInfoProvider. It can be created retrospectively for an existing InfoProvider that is already filled with data.

Nearline storage is recommended for the data that is still in use. Storing historical data in near-line storagereduces the data volume on Info providers; however the data is available for BEx queries.

Topics

• Basic Nearline functionality:

o Nearlining and reloading of Infocubes

o Query access to Nearline data

Activating Data Archiving Process for an Infocube

The objective is to activate a Data Archiving Process (DAP) for the InfoCube ZEDU98I and to determine theparameters of this DAP. Assume that the data will be moved to nearline storage ("nearlined") on a yearlybasis starting with the year 1990. It should be possible to nearline data for different company codesindependently.

Step 1

Use the LISTCUBE transaction to verify the contents of the InfoCube for all years.

Figure 1: Content of Infocube

Page 4: SAND-DNA Nearline for SAP NetWeaver BW 7.0

7/28/2019 SAND-DNA Nearline for SAP NetWeaver BW 7.0

http://slidepdf.com/reader/full/sand-dna-nearline-for-sap-netweaver-bw-70 4/16

SAND/DNA Nearline for SAP NetWeaver BW 7.0 

SAP COMMUNITY NETWORK scn.sap.com

 © 2012 SAP AG 4

Verify the data for the earliest year, 1990.

Figure 2: Verify Infocube Data

Step 2

Start the RSDAP transaction and enter your InfoProvider name in the field provided.

Figure 3 : Create Data Archiving Process

Start editing (creating) the new Data Archiving Process.

On the first tab, uncheck the ‘ADK-Based Archiving’ option and specify the general nearline connection

information as shown in Figure 4.

Select Time slice Archiving as shown in Figure 4.

Figure 4 : Nearline connection info

Step 3

Page 5: SAND-DNA Nearline for SAP NetWeaver BW 7.0

7/28/2019 SAND-DNA Nearline for SAP NetWeaver BW 7.0

http://slidepdf.com/reader/full/sand-dna-nearline-for-sap-netweaver-bw-70 5/16

SAND/DNA Nearline for SAP NetWeaver BW 7.0 

SAP COMMUNITY NETWORK scn.sap.com

 © 2012 SAP AG 5

Nearline connection information also needs to be specified on the Nearline Storage tab (depending on thesupport package level installed). The technical details for communication with the nearline provider must bespecified on this tab as well, as shown in Figure 5.

Figure 5 : Nearline Connection details

Save the Data Archiving Process.

Step 4

On the Selection Profile tab, define the characteristics that will determine the "slice" of data to be saved tonearline storage. As we want to nearline on a yearly basis, "Calendar Year/Month" is used as the primarypartitioning characteristic; as we want to be able to nearline different company codes independently,"Company code" is selected as an additional partitioning characteristic.

The Semantic Group tab is optional and depends on the requirement.

Figure 6 : Defining characteristic of the Nearline slice

Activate the DAP.

Successful activation can be verified by looking at the entry for the Active Version, which should be set toExecutable = Edited Version.

Figure 7 : Activated DAP

Page 6: SAND-DNA Nearline for SAP NetWeaver BW 7.0

7/28/2019 SAND-DNA Nearline for SAP NetWeaver BW 7.0

http://slidepdf.com/reader/full/sand-dna-nearline-for-sap-netweaver-bw-70 6/16

SAND/DNA Nearline for SAP NetWeaver BW 7.0 

SAP COMMUNITY NETWORK scn.sap.com

 © 2012 SAP AG 6

Nearlining Data from an Infocube

Objective is to move data for the year 1990 in the InfoCube ZEDUnn I to nearline storage. This is done usingan Archiving Request from the Manage screen for the InfoCube.

Step 1

After the Data Archiving Process is activated, a new Archiving tab appears in the Manage screen for theInfoCube. As no Archiving Request has been created at this point, no Archiving Request information isdisplayed.

Figure 8 : Archiving Tab

All Archiving Request information for this specific InfoProvider will be available on this grid.

Step 2

Create a new Archiving Request by clicking the Archiving Request.

Determination of the nearline slice is based on a relative time calculation. As we want to nearline a completeyear in our example, we set the value of the “Only Complete” field to “Year(s)”. This ensures that theArchiving Request nearlines complete years. In order to nearline the year 1990, we have to determine theoffset from the system date when the Archiving Request is created. In 2012, we would choose all datarecords older than 21 years. This results in an Archiving Request specifying that the Calendar Year / Monthmust be less than or equal to December 1990.

Settings on the "Further Restrictions" tab should be ignored in this exercise.

In the Process Flow Control section, adjust the "Continue Processing Until Target Status" setting to carry outthe Archiving Request only up to the point where the request is generated. This means that the ArchivingRequest will not actually be executed in this step, which simply defines the slice.

Select to start it In Background (or In Dialog as you will only generate the request but not yet execute it) andchoose the button that does not simulate as shown in the Figure 9.

Page 7: SAND-DNA Nearline for SAP NetWeaver BW 7.0

7/28/2019 SAND-DNA Nearline for SAP NetWeaver BW 7.0

http://slidepdf.com/reader/full/sand-dna-nearline-for-sap-netweaver-bw-70 7/16

SAND/DNA Nearline for SAP NetWeaver BW 7.0 

SAP COMMUNITY NETWORK scn.sap.com

 © 2012 SAP AG 7

Figure 9 : Defining the Data to be Nearlined

Step 3

Going back to the Archiving tab on the Manage screen, you can see some of the relevant Archiving Requestmetadata:

Figure 10 : Archiving Request

Click the button in the Lock Status field to start executing the Archiving Request. On the dialog box thatappears, under Action, choose to continue until Status 70. This covers the complete loop, including datadeletion in SAP NetWeaver BW. Start the job in the Background.

Figure 11 : Continue until archive request is completed

Page 8: SAND-DNA Nearline for SAP NetWeaver BW 7.0

7/28/2019 SAND-DNA Nearline for SAP NetWeaver BW 7.0

http://slidepdf.com/reader/full/sand-dna-nearline-for-sap-netweaver-bw-70 8/16

SAND/DNA Nearline for SAP NetWeaver BW 7.0 

SAP COMMUNITY NETWORK scn.sap.com

 © 2012 SAP AG 8

The overall status of the job is displayed along with corresponding metadata on the grid showing allArchiving Requests.

Figure 12 : Active request

You can access the corresponding nearline data via the adjoint nearline provider with the $N suffix. In thisexample, this is the InfoCube ZEDUnn I$N.

Figure 13 : Data in Nearline Provider

Compare this to the values from Figure 2, the results should be the same.The grid also shows that we have nearlined 363 records in one data package, using roughly 126 kilobytes inthe database as shown in Figure 14.

Figure 14 : Info of Active Job

Step 4

Page 9: SAND-DNA Nearline for SAP NetWeaver BW 7.0

7/28/2019 SAND-DNA Nearline for SAP NetWeaver BW 7.0

http://slidepdf.com/reader/full/sand-dna-nearline-for-sap-netweaver-bw-70 9/16

SAND/DNA Nearline for SAP NetWeaver BW 7.0 

SAP COMMUNITY NETWORK scn.sap.com

 © 2012 SAP AG 9

Use the listcube transaction to verify that the data for the year 1990 has been deleted from SAP NetWeaverBW.

Figure 15 : Verify data deletion from BI Infocube

Page 10: SAND-DNA Nearline for SAP NetWeaver BW 7.0

7/28/2019 SAND-DNA Nearline for SAP NetWeaver BW 7.0

http://slidepdf.com/reader/full/sand-dna-nearline-for-sap-netweaver-bw-70 10/16

SAND/DNA Nearline for SAP NetWeaver BW 7.0 

SAP COMMUNITY NETWORK scn.sap.com

 © 2012 SAP AG 10

Reloading Nearline Data into SAP Netweaver BW

Objective is to reload nearline data back into SAP NetWeaver BW.

Step 1

Identify and select the Archiving Request used to nearline the data of company code 4000 for the year 1991.In the example, this is the request with the SID 243.

Figure 16: Archived Requests

Click the button in the Status field to trigger the reload. Reload the data in the background.

Figure 17: Reload the Data

The reload request appears in the list of all requests in the Archiving tab, after the grid is refreshed. Thecorresponding Archiving Request is set to a status of yellow as shown in Figure 18.

Page 11: SAND-DNA Nearline for SAP NetWeaver BW 7.0

7/28/2019 SAND-DNA Nearline for SAP NetWeaver BW 7.0

http://slidepdf.com/reader/full/sand-dna-nearline-for-sap-netweaver-bw-70 11/16

SAND/DNA Nearline for SAP NetWeaver BW 7.0 

SAP COMMUNITY NETWORK scn.sap.com

 © 2012 SAP AG 11

Figure 18: Reload Request in the Requests List

The reload involves three phases: copy, verify and delete.When the reload has finished, all requestsdisplayed on the grid once again have a status green:

Figure 19: Completion of Reload Request

The reloaded slice of data is now not available via the adjoint nearline provider. Because it has beenreloaded, it is available only from the online provider:

Figure 20: Reloaded Data Available via Online Provider

Page 12: SAND-DNA Nearline for SAP NetWeaver BW 7.0

7/28/2019 SAND-DNA Nearline for SAP NetWeaver BW 7.0

http://slidepdf.com/reader/full/sand-dna-nearline-for-sap-netweaver-bw-70 12/16

SAND/DNA Nearline for SAP NetWeaver BW 7.0 

SAP COMMUNITY NETWORK scn.sap.com

 © 2012 SAP AG 12

The reloaded data appears as a new APO request in the list of data load requests.

Figure 21: Reloaded Data as APO Request in Request List

This request is not yet compressed, as can be seen from the list. It must be compressed before this dataslice can be nearlined again.

Page 13: SAND-DNA Nearline for SAP NetWeaver BW 7.0

7/28/2019 SAND-DNA Nearline for SAP NetWeaver BW 7.0

http://slidepdf.com/reader/full/sand-dna-nearline-for-sap-netweaver-bw-70 13/16

SAND/DNA Nearline for SAP NetWeaver BW 7.0 

SAP COMMUNITY NETWORK scn.sap.com

 © 2012 SAP AG 13

Accessing Nearline Data using SAP Business Explorer (BEx)

Objective is to access nearline data using a BEx Query.

Step 1

Start the BEx Query Designer (BW 7 Version) and create a new query on the InfoCube as shown inFigure 22.

Figure 22: New BEx Query

Check the data: only the online data of the InfoCube will be visible.

Step 2 

In order to see the nearline data as well, use theRSRT transaction to adjust the query properties.

Figure 23: Adjust the Query Properties

In the query properties window, click to check the “Read Near-Line Storage As Well” option box.

Page 14: SAND-DNA Nearline for SAP NetWeaver BW 7.0

7/28/2019 SAND-DNA Nearline for SAP NetWeaver BW 7.0

http://slidepdf.com/reader/full/sand-dna-nearline-for-sap-netweaver-bw-70 14/16

SAND/DNA Nearline for SAP NetWeaver BW 7.0 

SAP COMMUNITY NETWORK scn.sap.com

 © 2012 SAP AG 14

Figure 24: Read Near-Line Storage as Well

Step 3

The complete result set, merging online and nearline data, is displayed.

Figure 25: Complete Result Set

This is similar to the results now shown in BEx.

Page 15: SAND-DNA Nearline for SAP NetWeaver BW 7.0

7/28/2019 SAND-DNA Nearline for SAP NetWeaver BW 7.0

http://slidepdf.com/reader/full/sand-dna-nearline-for-sap-netweaver-bw-70 15/16

SAND/DNA Nearline for SAP NetWeaver BW 7.0 

SAP COMMUNITY NETWORK scn.sap.com

 © 2012 SAP AG 15

Related Content

SAND website 

SAP BI Archiving 

NLS Best Practices 

Page 16: SAND-DNA Nearline for SAP NetWeaver BW 7.0

7/28/2019 SAND-DNA Nearline for SAP NetWeaver BW 7.0

http://slidepdf.com/reader/full/sand-dna-nearline-for-sap-netweaver-bw-70 16/16


Recommended