Application Development and Automation 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: 
Read only

Functional module

Former Member
0 Likes
5,205

Explain me what is functional module.

4 REPLIES 4
Read only

Former Member
0 Likes
4,285

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. Function modules allow you to encapsulate and reuse global functions in the SAP System.

Unlike subroutines, you do not define function modules in the source code of your program. Instead, you use the Function Builder. The actual ABAP interface definition remains hidden from the programmer. You can define the input parameters of a function module as optional. You can also assign default values to them. Function modules also support exception handling. This allows you to catch certain errors while the function module is running. You can test function modules without having to include them in a program using the Function Builder.

For example FM and how to create function module, refer the foll. link.

http://help.sap.com/saphelp_nw04/helpdata/en/26/64f623fa8911d386e70000e82011b8/content.htm

sathiya Ramasmay

Read only

0 Likes
4,285

Thnaks

Read only

Former Member
0 Likes
4,285

Hi,

Function Modules are Global ABAP programs created by SAP for reusable purpose. They have IMPORT, EXPORT and TABLE parameters, and EXCEPTIONS to through when error occurs.

You can create them from TCode SE37.

Thanks,

Anitha

Read only

Former Member
0 Likes
4,285

Hi,

FMs are reusable modularization units.FMs are encapsulated in function groups and function groups may have global variables that can be globally used by all FMs inside it.

Function groups act as containers for function modules that logically belong together. Function modules allow you to encapsulate and reuse global functions in the SAP System

There are following number of function modules in SAP ECC 5.0

SD - 97

MM - 356

FI- 2479

CO - 880

PM-327

BW - 63

<b>Reward points</b>

Regards