What is Function Module in Sap ?
Vijay Kumar
Sap Basis and Hana consultant at Tata Consultancy Services||Axelos ITIL V4 Certified ||Microsoft Certified|| Microsoft DP-900 Certified
Function modules are the Small programs or piece of reusable code that contains the actions that it needs to do. Like calling the programs internally, sending the data or updating it. Everyone can use function module independently to continue their tasks
Each function module is part of a function group, which holds modules that logically belong together. Function modules are important for updating databases. When speaking about function modules RFC plays a major role, RFC (Remote function call) is also a type of function which helps to call within sap or outside sap
Features of function module :
Function Group Association: They are part of a group known as a function group. This grouping helps organize related function modules together.
Defined Data Exchange Interface: Function modules have a fixed interface for exchanging data. This simplifies the passing of input and output parameters, making it more straightforward to send information to and receive results from the function module. It allows you to set default values for input parameters and supports exception handling, enabling the capturing and handling of errors.
Callable by Name: To use a function module, you call it by its unique name in a CALL FUNCTION statement. This allows for easy invocation of the specific functionality provided by the function module
Types of function modules in sap :
1) Normal Function Module
2) RFC Function Module
3) Update Function Module
Will see briefly about the types of function module in next article....