100% found this document useful (1 vote)
3K views13 pages

Steps For Function Module Extraction

This document provides steps for extracting data from an SAP system using function module extraction: I. Create an extract structure in SE11 to define the data to extract. II. Create a function module in SE37 and import the extractor program. III. Place the function module and extract structure in the RSO2 extraction workbench for function module extraction.

Uploaded by

viswa5671931
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
3K views13 pages

Steps For Function Module Extraction

This document provides steps for extracting data from an SAP system using function module extraction: I. Create an extract structure in SE11 to define the data to extract. II. Create a function module in SE37 and import the extractor program. III. Place the function module and extract structure in the RSO2 extraction workbench for function module extraction.

Uploaded by

viswa5671931
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 13

STEPS FOR FUNCTION MODULE EXTRACTION

•I. CREATE EXTRACT STRUCTURE


•II. CREATE FUNCTION MODULE
•III. AFTER CREATING PLACE ABOVE TWO (FM, EX.STRU.) IN RSO2 BY
SELCTING TAB EXTRACTION BY FUNCTION MODULE TAB

Go to SE11
Select the data type radio button . Enter your structure name

Specify the technical name


And click on create
In the next screen specify the structure radio button

Click on continue

Give Some Short Description In


Enter The Fields Name From Kna1 (If You Want Data From Kna1 Table)
Then save check activate the structure

Structure name is “YSTRUCTURE1”


Now create function module.
GO TO “SE37”
Create function group
For that menu option go tofunction group create group

Specify the function group name and click on save


Now Create The Function Module In Se37
Specify the technical name and click on create

In the next screen specify the function group name


And click on save
in the next screen

Go to import tab
Enter the values, which is already having data source “extractor program”.
Copy from extractor program and paste is here.
To copy that program data
Go to se11 and open “ROOSOURCE table” in another screen
Open new window and give se11 T-code
Specify ROOSOURCE table name and click on display
Click on contents
In the next screen specify the datasourse name as 2LIS_11_HDR” TO GET THE
EXTRACTOR NAME

And click on execute


In the next screen select the first one and double click on it

The system opens a new screen

In that copy the extractor name MCEX_BW_LO_API ” which is available 3rd last of the
row
Now open se37 t-code
Specify the extractor name and click on display

System opens the new screen

In that go to imports tab


This is your existed “2lis_02_hdr” program copy
And paste in your actual program, which you are creating i.e. Y_ext_stru_fm11
next screen will be my fm program screen like this

Like paste all the clams’ data (type, associated type, data values)
And check the check boxes also how exactly we have in the extractor
Then go to the table tab in both of the screens and copy paste all the things previously
how exactly you are done like these

Now you mention our extract structure name, which we have created “YSTRUCTURE1”
and specify Type spec is LIKE
Go to source code, select statement, and write a code
“Select mandt kunnr land1 name1 name2 from kna1 into table e_t_data.”

Then click on save

Then again go to se37 T-code


And open function group already what you created previously
In the next screen click on main program

Then double click on LYGGROUPTOP


In the next screen specify TYPE-POOLS: SBIWA, SBIW.
Save check and activate the group

You might also like