Categories: ABAP Tutorials

Function Module SAP Tables and Interfaces

Function Module SAP Tables storing information about SAP function modules. SAP?Table name in which function module and function group are in the system.

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

Related Post

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
*"----------------------------------------------------------------------
Share
Published by
John
Tags: SAP TABLE

Recent Posts

The Most Important SAP ISU Tables

SAP ISU Tables for Technical master data, for Billing Master Data, Billing and invoicing Tables?…

December 22, 2020

SAP Fiori 3 UX and Design of SAP Fiori Apps for SAP S/4HANA, SAP TechEd Lecture

SAP Fiori 3 UX and Design of SAP Fiori Apps for SAP S/4HANA, SAP TechEd…

November 18, 2020

The Main SAP Dunning Transaction Codes

Dunning is the business practice of informing a customer of past due payment. Dunning letters…

November 28, 2019

SAP Accounts Payable Tcodes & Accounts Receivable Tcodes ( SAP AP Tcodes & SAP AR Tcodes)

SAP AP Tcodes & SAP AR Tcodes: House Banks Tcodes, Advance Payments or Down Payments,…

August 1, 2019

The Most Important SAP Payment Terms Tables (ZTERM, Text…)

What are the main SAP Payment Terms Tables ? What are the related Tables in…

October 21, 2018

The most Important SAP Work Center Tables in SAP PP

Work center consists of master data related to routing of products. It contains data related…

October 21, 2018