Sep 19, 2018

Function Module DDUT_TEXTTABLE_GET to Determine Text Table for a Table of ABAP Dictionary

Determine Text Table for a Table of ABAP Dictionary

Functionality
This function module defines the name of the text table for a table defined in the ABAP Dictionary.

Pass the name of the table for which you want the text table in parameter TABNAME. If this table does not exist in the ABAP Dictionary or if it does not have a text table, the EXPORT parameters are empty. Otherwise the name of the text table is returned in export parameter TEXTTABLE. The name of the field from this text table that is used as check field for the text foreign key relationship is returned in export parameter CHECKFIELD.

Notes
If the name of the text table is known, your definition can be read with one of the function modules
DDIF_TABL_GET, DDIF_FIELDINFO_GET or DDIF_NAMETAB_GET as needed.

Parameters
TABNAME
TEXTTABLE
CHECKFIELD




Related posts: