Quantcast
Channel: SCN : All Content - Data Services and Data Quality
Viewing all articles
Browse latest Browse all 4013

Step by step data loading from BODS to BW target

$
0
0


Configurations at BW system:

 

1) Log on to the SAP BW system.
2) Enter T code ‘SALE’ to create new logical system:

1.jpg

3) To create a logical system, choose Define Logical System.

  • Enter a name for the logical system that you want to create.
  • Enter a description of the logical system.
  • Save your entries.

4) Go to Transaction RSA1 to create RFC connection.

5) Select Source Systems in the Modeling navigation pane on the left.

6) Navigate to BO DataServices right click and select create.

2.jpg

7) Enter Logical System Name and Source System Name as shown above and hit Continue.

3.jpg

8) Data Services will start an RFC Server program and indicates to SAP BI that it is ready to receive RFC calls. To identify itself as the RFC Server representing this SAP BI Source System a keyword is exchanged, in the screen shot above it is "BODREP". This is the Registered Server Program, the Data Services RFC Server will register itself with at SAP. Therefore, provide the same Program ID that you want to use for the call of the RFC Server on Data Services side. All other settings for the Source System can remain on the default settings.
To complete the definition of the Source System, save it.

4.jpg

NOTE: We have to use the same Program ID while creating RFC connection in Management Console(BODS).

BO Data Service - Configure a RFC connection

 

  1. Log on to the SAP data services management console system.

5.jpg

2     Expand to the new "SAP Connections" node and open the "RFC Server Interface" item. In the Configuration tab a new RFC Server is added so that it can register itself inside the SAP System with the given PROGRAM_ID.

6.jpg 

3     Start the RFC server from tab ‘RFC server interface status” :

7.jpg

4     Go to BW and check the connection :

8.jpg

  It will show message like below:

9.jpg

 

Creating BW source:

  1. Double click on BODS connection :

10.jpg

   2    Right click on header and create new application component(Here it’s ZZ_EMPDS) :

11.jpg

12.jpg

   3    Right click on application component and create a new datasource:

13.jpg

   4    Fill the information for datasource as shown below :

         General Info. Tab

14.jpg

   Extraction Tab

15.jpg

   Fields Tab: Here we’ll define the structure of the BW target and save it.

16.jpg

   5   Now, BW will automatically create a new InfoPackage as shown below :

17.jpg

 

 

Creating BODS Datastore and Job:

1     Right click and create a new data store for BW target and fill the  required BW system detail as shown below :

18.jpg

2     Right click on transfer structure and import the datasource( here its transaction datasource ‘ZBODSTGT’ :

19.jpg

20.jpg

3     Right click on File format and create a new file format as shown below :

21.jpg

4     Create a BODS job where Source is flat file and target is BW data source(Transfer structure) as shown below :

22.jpg

Where query mappings are as shown below:

23.jpg 

 

Execute the job:

BODS job to load data in BW can be executed from both the systems, BODS designer and BW system.

Before Executing the job, We have to do following cofigurations in BW InfoPackage :

 

Goto BW, Double click on the InfoPackage for respective datasource(ZBODSTGT) and fill the "3rd party selection" details as below and save it.

Repository    : BODS repository name

JobServer     : BODS running jobserver name

JobName     : BODS job name

24.jpg

 

 

Job Execution from BW system: Right click and execute infopackage. It will trigger BODS job which will load the data into BW datasource.

25.jpg

 

OR

Double click on InfoPackag, go to ‘Schedule’ tab and click on start:

26.jpg

Job Execution from BODS designer: Go to BODS designer, Right click on the BODS job and Execute.

27.jpg

28.jpg

 

 

Verifying Data in BW :

  1. Go to Datasource and right click go to Manage :

29.jpg

When we execute the job, it will generate a request for data extraction from BODS :

30.jpg

2     Select latest request and click on PSA maintenance which will show the data in target datasource.

 

After loading data to BW datasource, it can be mapped and loaded to any BW target like DSO or Cube using process chain in “Schedule” tab of InfoPackage:

Go to ‘Schedule Option-> Enter Process Chain name in ‘AfterEvent’



Viewing all articles
Browse latest Browse all 4013

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>