Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

fuctional module

Former Member
0 Kudos

how to use the fuctional module ?

where exactly we can use fuctional module?

1 ACCEPTED SOLUTION

0 Kudos

Function modules are procedures that are defined in special ABAP programs only, so-called function groups, but can be called from all ABAP programs. Function groups act as containers for function modules that logically belong together. You create function groups and function modules in the ABAP Workbench

Function modules allow you to encapsulate and reuse global functions in the SAP System. They are managed in a central function library. The SAP System contains several predefined functions modules that can be called from any ABAP program

More information can be found in the below link

Creation of Funtion Modules

http://help.sap.com/saphelp_nw70/helpdata/en/9f/db988735c111d1829f0000e829fbfe/content.htm

For calling FM and finding FM

http://help.sap.com/saphelp_nw70/helpdata/en/9f/db98ef35c111d1829f0000e829fbfe/content.htm

regards

Saravanan

Reward Points

6 REPLIES 6

Former Member
0 Kudos

hai ,

Function Modules are those which do a particular function

eg upload , download , updation , some sort og validation like that.

se37 is the trs code for function moduless.

Regards,

Sarath P

0 Kudos

Function modules are procedures that are defined in special ABAP programs only, so-called function groups, but can be called from all ABAP programs. Function groups act as containers for function modules that logically belong together. You create function groups and function modules in the ABAP Workbench

Function modules allow you to encapsulate and reuse global functions in the SAP System. They are managed in a central function library. The SAP System contains several predefined functions modules that can be called from any ABAP program

More information can be found in the below link

Creation of Funtion Modules

http://help.sap.com/saphelp_nw70/helpdata/en/9f/db988735c111d1829f0000e829fbfe/content.htm

For calling FM and finding FM

http://help.sap.com/saphelp_nw70/helpdata/en/9f/db98ef35c111d1829f0000e829fbfe/content.htm

regards

Saravanan

Reward Points

prasanth_kasturi
Active Contributor
0 Kudos

hi,

function module is a modularization techinque which helps to prevent redundancy(duplication).its just like for example a machine where we give raw materials and get the processed one.

we use 'call function' syntax to call the function module. press pattern in your application toolbar or ctrl+f 6 . we pass parameters (input) and get the required output throug exporting or changing or tables parameters

we use fm for various puposes like uploading data from files to internal table, as interfaces, updating, in alvs ,downloading, dateconversions. goto se37 and press f4 to get the list of fms and through short desc you can kopw where to use them. it improves prog performance as it avoids duplication

regards

prasanth

Former Member
0 Kudos

Hi,

Function modules are the best way to make use of modularization in our programs,

you can use function modules in your reports , you have to pass some inputs through with you will get the outputs , according to the functionality of the FM.

There are lots of FM available in the system and you can create your own also according to the requirement.

To check the available one...........

Go to SE37

--Type your relevant search as according to the need with * options and press F4

--Select the one suitable to u

-- open it and execute it and understand the functionality as what are the import parameters and export parameters etc.

To use the above FM in your report

--You will find a button Pattern in the top right

--Click that and type the name of the FM if you or you can search as earlier and click ok that FM then can be used in your program.

Former Member
0 Kudos

hi,

Function Modules : Function modules are general purpose ABAP routines that can be called from any ABAP program. The benefit of function modules lies in their reusability, which saves developers from creating redundant code and increases programming efficiency.

Function modules are stored centrally in the Function Builder as part of function groups. Function groups are collection of

logically related function Modules.

Function Modules can be created from Repository Browser(SE80) or from function builder.Function module names can be up to 30 characters long and must begin with either a Y or Z and an underscore (i.e., Y_ and Z_). Only alphanumeric characters and the special character underscore (_) are allowed.Function Module belongs to a function group.The Function modules function (transaction code SE37) to create and maintain function modules.

pls reward if helpful.

Thanks .

Rajyalakshmi.

Former Member
0 Kudos

Hi,

Function modules are procedures that are defined in special ABAP programs only, so-called function groups, but can be called from all ABAP programs. Function groups act as containers for function modules that logically belong together. You create function groups and function modules in the ABAP Workbench

we use fm for various puposes like uploading data from files to internal table, as interfaces, updating, in alvs ,downloading, dateconversions. goto se37 and press f4 to get the list of fms and through short desc you can kopw where to use them. it improves prog performance as it avoids duplication

Reward If Helpfull,

Naresh.