generic extraction

22
- Topic : - Presented By: 1 SAP R3 Extraction Pratap Reddy Bodimalla

Upload: satishkrishnar

Post on 01-Jan-2016

65 views

Category:

Documents


0 download

DESCRIPTION

sap generic extraction-

TRANSCRIPT

Page 1: Generic Extraction

1

-Topic :

-Presented By:

SAP R3 Extraction

Pratap Reddy Bodimalla

Page 2: Generic Extraction

2

SAP R3 / ECC Extraction

SAP ECC SAP BW

RFC Connection

Page 3: Generic Extraction

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.

Page 4: Generic Extraction

4

SAP R3 / ECC Extraction

Master Data

Transaction Data

Page 5: Generic Extraction

5

SAP R3 / ECC Extraction

Different Types to Extract Master Data

Generic Extractors

Business Content Extractors

Page 6: Generic Extraction

6

SAP R3 / ECC Extraction

Different Types to Extract Transaction Data

Page 7: Generic Extraction

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

Page 8: Generic Extraction

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”

Page 9: Generic Extraction

9

Steps 2:

Specify DataSource Name and Click on “Create” Button

SAP R3 / ECC Extraction

Page 10: Generic 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

Page 11: Generic Extraction

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

Page 12: Generic 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.

Page 13: Generic Extraction

13

Note:

RSDS : 7.X data flow

ISFS : 3.X data flow

SAP R3 / ECC Extraction

Page 14: Generic Extraction

14

Extraction 2: Generic Extraction using Database View

SAP R3 / ECC Extraction

Page 15: Generic Extraction

15

Extraction 3: Generic Extraction using InfoSet

SQ02

SAP R3 / ECC Extraction

Page 16: Generic 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

Page 17: Generic Extraction

17

Create Extract Structure – SE11

Extract Structure:

Set of fields to be extracted by the data Source

SAP R3 / ECC Extraction

Page 18: Generic 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

Page 19: Generic Extraction

19

SAP R3 / ECC Extraction

Page 20: Generic Extraction

20

SAP R3 / ECC Extraction

Page 21: Generic Extraction

21

SAP R3 / ECC Extraction

Create Data Source – RSO2

Page 22: Generic Extraction

22

SAP R3 / ECC Extraction

Points to be noted:

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