proradian sap community! » blog archive » generic extraction using function module

13
4/11/2014 Proradian SAP Community! » Blog Archive » Generic Extraction Using Function Module http://proradian.com/blog/2008/06/generic-extraction-using-function-module/ 1/13 Proradian SAP Community! BLOG HOME PRORADIAN SDN COMMUNITY FORUM Search Generic Extraction Using Function Module June 21, 2008 – 4:42 pm By:arun This post explains creating a generic DataSource in SAP R/3 which uses a Funtion Module to extract data and this DataSource can be used in SAP BI/BW to extract data from R/3. cialis philippines Function Module Extraction Steps: 1) Go to T-Code SE11 Check Data Type check box and enter ZFM_EXST_VBAK and press create button 2) A small window pop’s up select check box Structure and press Tick mark.

Upload: siva-rao

Post on 23-May-2017

227 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Proradian SAP Community! » Blog Archive » Generic Extraction Using Function Module

4/11/2014 Proradian SAP Community! » Blog Archive » Generic Extraction Using Function Module

http://proradian.com/blog/2008/06/generic-extraction-using-function-module/ 1/13

Proradian SAP Community!

BLOG HOME

PRORADIAN

SDN COMMUNITY

FORUM

Search

Generic Extraction Using Function Module

June 21, 2008 – 4:42 pm

By:arun

This post explains creating a generic DataSource in SAP R/3 which uses a

Funtion Module to extract data and this DataSource can be used in SAP

BI/BW to extract data from R/3.

cialis philippines

Function Module Extraction Steps:

1) Go to T-Code SE11

Check Data Type check box and enter ZFM_EXST_VBAK and press

create button

2) A small window pop’s up select check box Structure and press Tick

mark.

Page 2: Proradian SAP Community! » Blog Archive » Generic Extraction Using Function Module

4/11/2014 Proradian SAP Community! » Blog Archive » Generic Extraction Using Function Module

http://proradian.com/blog/2008/06/generic-extraction-using-function-module/ 2/13

3) Maintain Structure Windo pop’s up give Short Description, then click on

Components header, In Component and Component type give the extraction

Structure necessary fields as shown. The Currency WEARK field and

Quantity NETWR fields much be included with reference fields.

4) Now go Currency/quantity fields as shown.

NETWR Net value in document currency field, must have reference field that

in in the base table. Enter Currency / Quantity field name as shown andActivate it

5) Create Object Directory Entry Window pop’s up Give Package name as

$temp, save it and press Local Object.

Page 3: Proradian SAP Community! » Blog Archive » Generic Extraction Using Function Module

4/11/2014 Proradian SAP Community! » Blog Archive » Generic Extraction Using Function Module

http://proradian.com/blog/2008/06/generic-extraction-using-function-module/ 3/13

6) Inactive Objects for USER04, Local Objects with selected Object name is

pop’s up Clcik Enter

7) Warning During Activation window pops up to check any Warning in theextraction Structure.

Now Go To T-Code: SE80, Select Function Group, Name RSAX.

Page 4: Proradian SAP Community! » Blog Archive » Generic Extraction Using Function Module

4/11/2014 Proradian SAP Community! » Blog Archive » Generic Extraction Using Function Module

http://proradian.com/blog/2008/06/generic-extraction-using-function-module/ 4/13

9) Now Select RSAX Object Name Folder Right Click, press copy.

10) Now Give Name of a New Function Group Ex: ZZRSAX and pressEnter. ( Function group for transporting the function module to other

environment )

11) Select only one needed Function module Ex:

RSAX_BIW_GET_DATA_SIMPLE and press Enter

Page 5: Proradian SAP Community! » Blog Archive » Generic Extraction Using Function Module

4/11/2014 Proradian SAP Community! » Blog Archive » Generic Extraction Using Function Module

http://proradian.com/blog/2008/06/generic-extraction-using-function-module/ 5/13

12) A small window pop’s up saying Copy Function Module Edit To with

some levitra overnight name Ex:Z5_FM_RSAX_BIW_GET_DATA_SIMPLE and press Enter.

13) Now Go To T-Code SE37 and give Function module name Ex:

Z5_FM_RSAX_BIW_GET_DATA_SIMPLE and press Create button

Page 6: Proradian SAP Community! » Blog Archive » Generic Extraction Using Function Module

4/11/2014 Proradian SAP Community! » Blog Archive » Generic Extraction Using Function Module

http://proradian.com/blog/2008/06/generic-extraction-using-function-module/ 6/13

14) Below Screen pop’s up Check Attributes as shown

15) You will not change Import, Export, Changing Tabs Now Change

Tables Tab give Type spec LIKE and Associated Type

ZFM_EXST_VBAK and short text as Extract Structure

16) Now go to Source Code to Edit as shown in RED

17) Edit the Code RANGES and WHEN ‘xxxxx’. ( xxxxx Is the Name of

Data Source given in RS02)

Page 7: Proradian SAP Community! » Blog Archive » Generic Extraction Using Function Module

4/11/2014 Proradian SAP Community! » Blog Archive » Generic Extraction Using Function Module

http://proradian.com/blog/2008/06/generic-extraction-using-function-module/ 7/13

18) Change the Code as shown

19) Now SAVE, Activate the function module.

Goto SE80 select function group, activate function group

Note: With out activation of Function Group, you will not be able tocreate data source in RS02

20) Data Source Creation T-Code RSO2

Create Data Source, give Data Source name must be same as given in the

source code of the function module. Ex ZFMEDS4 then press Create

button

Page 8: Proradian SAP Community! » Blog Archive » Generic Extraction Using Function Module

4/11/2014 Proradian SAP Community! » Blog Archive » Generic Extraction Using Function Module

http://proradian.com/blog/2008/06/generic-extraction-using-function-module/ 8/13

21) Change Data Source for Transaction data: ZFMEDS4 will pop’s up giveApplication Component realted to table as SD and give Texts

Short/Medium/Long description and press Function module button, you will

see Extraction by Function Module gets Enabled to enter Function Module

and Extract Structure name.

SAVE it and Check Extraction

22) Now go to T-code RSA3 Extractor Checker

Give DataSource name as ZFMEDS4 and click Extraction button.

Page 9: Proradian SAP Community! » Blog Archive » Generic Extraction Using Function Module

4/11/2014 Proradian SAP Community! » Blog Archive » Generic Extraction Using Function Module

http://proradian.com/blog/2008/06/generic-extraction-using-function-module/ 9/13

SAP BW/BI side:

Step 1) go to T-Code: RSA1 , double Click Source System and then Select

your Client System> it will take you to DataSources go to Over view,

Application Component >Right Click > press Replicate Metadata.

Find your DataSource providing name as ZFMEDS4

Step 2) Now go Infoprovider create a Cube with infoObject related to

Function module Extraction Structure or Select SAP defined Objects related

to Function Module Extraction Structure as shown. press Activate

Page 10: Proradian SAP Community! » Blog Archive » Generic Extraction Using Function Module

4/11/2014 Proradian SAP Community! » Blog Archive » Generic Extraction Using Function Module

http://proradian.com/blog/2008/06/generic-extraction-using-function-module/ 10/13

Step 3) Using DTP we are sending to data through PSA to Data Target

Page 11: Proradian SAP Community! » Blog Archive » Generic Extraction Using Function Module

4/11/2014 Proradian SAP Community! » Blog Archive » Generic Extraction Using Function Module

http://proradian.com/blog/2008/06/generic-extraction-using-function-module/ 11/13

These icons link to social bookmarking sites where readers can share and

discover new web pages.

1. 7 Responses to “Generic ExtractionUsing Function Module”

2. By Jay on Jun 22, 2008

How would I transport the request to other environment?

Was this comment helpful? : 0 0

3. By lalitha on Aug 1, 2008

good work .

quite helpfull in extracting.

let me know how to get realtime enable for the datasources.

Was this comment helpful? : 0 0

4. By Samir on Jan 11, 2009

Page 12: Proradian SAP Community! » Blog Archive » Generic Extraction Using Function Module

4/11/2014 Proradian SAP Community! » Blog Archive » Generic Extraction Using Function Module

http://proradian.com/blog/2008/06/generic-extraction-using-function-module/ 12/13

Jay,

In the example above, at Step 5, Arun is saving it under $tmp. In a live

envt, you will create the transport request with a basis assigned

package name and it will be a transportable object and not local object

in example of Arun.

You can see the list of it in txn se01 and modify if needed.

Was this comment helpful? : 0 1

5. By Srinivas E on Jan 28, 2009

see it is help full but its need some more information related to function

module. bcause how to identify function module its not clear can postrelated information

ThanqsSrinivas

Was this comment helpful? : 0 0

6. By Siva on Feb 20, 2009

Awesome blog it is. Thanks very much

Was this comment helpful? : 1 0

7. By srivalli on Apr 21, 2009

i have create function module in r/3 side it is working fine. but if i used

bw side it is not working asking some field missing.

Was this comment helpful? : 0 0

8. By Vijaya on Jun 11, 2010

very informatic for a beginer

Was this comment helpful? : 0 0

Post a Comment

Name (required)

E-mail (will not be published) (required)

Website

Page 13: Proradian SAP Community! » Blog Archive » Generic Extraction Using Function Module

4/11/2014 Proradian SAP Community! » Blog Archive » Generic Extraction Using Function Module

http://proradian.com/blog/2008/06/generic-extraction-using-function-module/ 13/13

Submit Comment

Notify me of followup comments via e-mail

Terms Of Use | Privacy Policy | Powered by WordPress | Subscribe to Entries (RSS) | Comments (RSS) |

Theme by Bob| Partner