Function Module

  • November 2019
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Function Module as PDF for free.

More details

  • Words: 449
  • Pages: 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

Related Documents

Function Module
November 2019 16
Function
December 2019 67
Function
November 2019 54
Function
June 2020 25
Module
November 2019 51