Generic Extraction

Post on 01-Jan-2016

56 views 0 download

description

sap generic extraction-

transcript

1

-Topic :

-Presented By:

SAP R3 Extraction

Pratap Reddy Bodimalla

2

SAP R3 / ECC Extraction

SAP ECC SAP BW

RFC Connection

3

SAP R3 / ECC Extraction

Difference Between Flatfile & SAP R3 / ECC Extraction

In case of Flat file extraction we generate the datasource within BW, But in case of SAP R3 or ECC extraction we login o SAP R3 / ECC system “GENERATE / Create / Install” the data source and then replicate the data source to SAP BW.

4

SAP R3 / ECC Extraction

Master Data

Transaction Data

5

SAP R3 / ECC Extraction

Different Types to Extract Master Data

Generic Extractors

Business Content Extractors

6

SAP R3 / ECC Extraction

Different Types to Extract Transaction Data

7

SAP R3 / ECC Extraction

Extraction 1: Generic Extraction using Table

Scenario:

Table Name : VBAK

Fields required from table VBAK:

Fieldname DescriptionVBELN Sales Document

ERDATDate on Which Record Was Created

NETWRNet Value of the Sales Order in Document Currency

WAERK SD Document Currency

8

SAP R3 / ECC Extraction

Pre-Requisites:

1. Source System Connection between BW & SAP ECC / R3

Steps 1:

In SAP ECC, Go to T-code “RSO2”

9

Steps 2:

Specify DataSource Name and Click on “Create” Button

SAP R3 / ECC Extraction

10

SAP R3 / ECC Extraction

Steps 3:

1. Specify Application Component

2. Specify the Short, Medium & Long Description

3. Specify the table name from where we need to extract the data

4. Click on “SAVE” button

1

2

3

4

11

Steps 4:

Customize the Extract Structure by using Selection & Hide

Selection: Data Selection field of the Info Package

Hide: Fields not to be transferred to BW

So as per the requirement Hide all fields except the required fields.

Save it - 3

3

1 2

SAP R3 / ECC Extraction

12

SAP R3 / ECC Extraction

Steps 5:

Replicate the data source in SAP BW- RSDS

Note:

When we replicate the data source it reads the complete meta data of the datasource and forms the data structure in SAP BW.

13

Note:

RSDS : 7.X data flow

ISFS : 3.X data flow

SAP R3 / ECC Extraction

14

Extraction 2: Generic Extraction using Database View

SAP R3 / ECC Extraction

15

Extraction 3: Generic Extraction using InfoSet

SQ02

SAP R3 / ECC Extraction

16

SAP R3 / ECC Extraction

Extraction 4: Generic Extraction using Function Module

Steps:

Create Extract Structure – SE11

Create Function Module – SE37

Create Data Source – RSO2

17

Create Extract Structure – SE11

Extract Structure:

Set of fields to be extracted by the data Source

SAP R3 / ECC Extraction

18

Create Function Module – SE37

Create Function Group – SE37 similar to RSAX

- Top Include- Second Include

Create Function module by using the Template function module- RSAX_BIW_GET_DATA_SIMPLE

Customize the code in the function module as per requirements.

SAP R3 / ECC Extraction

19

SAP R3 / ECC Extraction

20

SAP R3 / ECC Extraction

21

SAP R3 / ECC Extraction

Create Data Source – RSO2

22

SAP R3 / ECC Extraction

Points to be noted:

We can test the extractor / Data Source in T-code – RSA3.