Вы находитесь на странице: 1из 13

4/11/2014

Proradian SAP Community! Blog Archive Generic Extraction Using Function Module

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 pops up select check box Structure and press Tick mark.

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

1/13

4/11/2014

Proradian SAP Community! Blog Archive Generic Extraction Using Function Module

3) Maintain Structure Windo pops 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 and Activate it

5) Create Object Directory Entry Window pops up Give Package name as $temp, save it and press Local Object.

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

2/13

4/11/2014

Proradian SAP Community! Blog Archive Generic Extraction Using Function Module

6) Inactive Objects for USER04, Local Objects with selected Object name is pops up Clcik Enter

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

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

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

3/13

4/11/2014

Proradian SAP Community! Blog Archive Generic Extraction Using Function Module

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

10) Now Give Name of a New Function Group Ex: ZZRSAX and press Enter. ( 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

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

4/13

4/11/2014

Proradian SAP Community! Blog Archive Generic Extraction Using Function Module

12) A small window pops 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

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

5/13

4/11/2014

Proradian SAP Community! Blog Archive Generic Extraction Using Function Module

14) Below Screen pops 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)

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

6/13

4/11/2014

Proradian SAP Community! Blog Archive Generic Extraction Using Function Module

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 to create 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

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

7/13

4/11/2014

Proradian SAP Community! Blog Archive Generic Extraction Using Function Module

21) Change Data Source for Transaction data: ZFMEDS4 will pops up give Application 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.

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

8/13

4/11/2014

Proradian SAP Community! Blog Archive Generic Extraction Using Function Module

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

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

9/13

4/11/2014

Proradian SAP Community! Blog Archive Generic Extraction Using Function Module

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

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

10/13

4/11/2014

Proradian SAP Community! Blog Archive Generic Extraction Using Function Module

These icons link to social bookmarking sites where readers can share and discover new web pages.

1.

7 Responses to Generic Extraction Using 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? : 4. By Samir on Jan 11, 2009
http://proradian.com/blog/2008/06/generic-extraction-using-function-module/ 11/13

4/11/2014

Proradian SAP Community! Blog Archive Generic Extraction Using Function Module

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 post related information Thanqs Srinivas Was this comment helpful? : 6. By Siva on Feb 20, 2009 Awesome blog it is. Thanks very much Was this comment helpful? :
1 0 0 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
http://proradian.com/blog/2008/06/generic-extraction-using-function-module/ 12/13

4/11/2014

Proradian SAP Community! Blog Archive Generic Extraction Using Function Module

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

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

13/13

Вам также может понравиться