Function Module SAP Tables storing information about SAP function modules. SAP?Table name in which function module and function group are in the system.
Table of Contents
Function Module SAP Tables
The Main SAP table for Function Modules is TFDIR Function Module. You will find in this table:
- FUNCNAME Name of Function Module
- PNAME Program Name
- INCLUDE INCLUDE number of function module
- FREEDATE Release date of function module
- APPL Application to which function module is assigned
- MAND Client
- FMODE Type of function module (local, remote, …)
- HOST
- UTASK Update
- PNAME_MAIN Program Name
So the main field where the function name is?TFDIR-FUNCNAME – Function module name
Function Module Text in SAP Table
The Description of Function module or Function Module Short Text?is stored in?TFTIT by language
- SPRAS Language Key
- FUNCNAME Name of Function Module
- STEXT Short text for function module
Find more detail on?Function Modules
Get Function Module Information using BAPI
If you want to retrieve some information of a SAP Function module?FUNCTION_INCLUDE_INFO.
It will give some information about the function group.
Link between Function Module and Function Group
The link between Function Group and Function Module can be found in SAP table?ENLFDIR for?Additional Attributes for Function Modules.
- FUNCNAME Name of Function Module
- AREA Function group, to which the function module belongs
- ACTIVE Function module active
Group Function SAP Tables
The SAP Tables in which Group Functions are stored are:
- TLIBG :Person responsible for function class
- TLIBT: for Function Group Short Texts
The field for Group Function will be TLIBG-AREA.
Get Signature of SAP Function Module
In order to generate dynamically the parameters for a SAP Function Module, the BAPI?FUNCTION_IMPORT_INTERFACE?is helpful.
The function FUNCTION_IMPORT_INTERFACE will provide?Interface of a Function Module.
The function will use the following parameters:
function function_import_interface. *"---------------------------------------------------------------------- *"*"Lokale Schnittstelle: *" IMPORTING *" VALUE(FUNCNAME) LIKE RS38L-NAME *" VALUE(INACTIVE_VERSION) TYPE CHAR1 DEFAULT SPACE *" VALUE(WITH_ENHANCEMENTS) TYPE CHAR1 DEFAULT 'X' *" VALUE(IGNORE_SWITCHES) TYPE CHAR1 DEFAULT SPACE *" EXPORTING *" VALUE(GLOBAL_FLAG) LIKE RS38L-GLOBAL *" VALUE(REMOTE_CALL) LIKE RS38L-REMOTE *" VALUE(UPDATE_TASK) LIKE RS38L-UTASK *" VALUE(EXCEPTION_CLASSES) LIKE ENLFDIR-EXTEN3 *" VALUE(REMOTE_BASXML_SUPPORTED) LIKE RS38L-BASXML_ENABLED *" TABLES *" EXCEPTION_LIST STRUCTURE RSEXC *" EXPORT_PARAMETER STRUCTURE RSEXP *" IMPORT_PARAMETER STRUCTURE RSIMP *" CHANGING_PARAMETER STRUCTURE RSCHA OPTIONAL *" TABLES_PARAMETER STRUCTURE RSTBL *" P_DOCU STRUCTURE RSFDO OPTIONAL *" ENHA_EXP_PARAMETER STRUCTURE RSEXP OPTIONAL *" ENHA_IMP_PARAMETER STRUCTURE RSIMP OPTIONAL *" ENHA_CHA_PARAMETER STRUCTURE RSCHA OPTIONAL *" ENHA_TBL_PARAMETER STRUCTURE RSTBL OPTIONAL *" ENHA_DOCU STRUCTURE RSFDO OPTIONAL *" EXCEPTIONS *" ERROR_MESSAGE *" FUNCTION_NOT_FOUND *" INVALID_NAME *"----------------------------------------------------------------------