SAP FTI_LDB_GET_HREL_TEXT Function Module for Text Determination: Invalidation for Transaction Number
FTI_LDB_GET_HREL_TEXT is a standard fti ldb get hrel text SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Text Determination: Invalidation for Transaction Number processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for fti ldb get hrel text FM, simply by entering the name FTI_LDB_GET_HREL_TEXT into the relevant SAP transaction such as SE37 or SE38.
Function Group: FTI_LDB_GET_TEXT
Program Name: SAPLFTI_LDB_GET_TEXT
Main Program: SAPLFTI_LDB_GET_TEXT
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function FTI_LDB_GET_HREL_TEXT pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'FTI_LDB_GET_HREL_TEXT'"Text Determination: Invalidation for Transaction Number.
EXPORTING
TABNAME = "Table Name
VALUESOURCE_TABLES = "Data Records of Further Tables for Reading Text
SPECIAL_PARAMETERS = "Special parameters
FIELDNAME = "Field Name
DATAELEMENTNAME = "Data Element
DOMAINNAME = "Domain
MODE = "Aufrufmodus: IDENTIFY_TEXT oder READ_TEXT
* FIELDVALUE = "Wert des Feldes, zu dem Text gelesen werden soll
* RECORD = "Data Record With Structure of TABNAME
* RECORD_SPECIFIED = "Flag: Datensatz in RECORD wurde angegeben
* LANGUAGE = "Language
IMPORTING
TEXT_EXISTS_TYPE = "Art, auf die Text gelesen werden kann
TEXT = "Determined text
TEXT_FOR_VALUE_READ = "Text Determined for Specified Value
LIKE_TABNAME = "Ergibt zusammen mit LIKE_FIELDNAME eine Like-Referenz für den gelesenen Text
LIKE_FIELDNAME = "Ergibt zusammen mit LIKE_TABNAME eine Like-Referenz für den gelesenen Text
REQUIRED_FIELDS = "Felder aus TABNAME deren Werte zum Lesen des Textes erforderlich sind
REQUIRED_TABLE_FIELDS = "Felder aus anderen Tabellen, deren Werte zum Lesen des Textes erforderlich sind
EXCEPTIONS
INTERNAL_ERROR = 1 ILLEGAL_CALL = 2 RECORD_REQUIRED = 3 ILLEGAL_RECORD = 4 TABLE_RECORD_REQUIRED = 5 ILLEGAL_TABLE_RECORD = 6 SPECIAL_PARAMETER_MISMATCH = 7
IMPORTING Parameters details for FTI_LDB_GET_HREL_TEXT
TABNAME - Table Name
Data type: TABNAMEOptional: No
Call by Reference: No ( called with pass by value option)
VALUESOURCE_TABLES - Data Records of Further Tables for Reading Text
Data type: TFIELDVALOptional: No
Call by Reference: No ( called with pass by value option)
SPECIAL_PARAMETERS - Special parameters
Data type: TFIELDVALOptional: No
Call by Reference: No ( called with pass by value option)
FIELDNAME - Field Name
Data type: FIELDNAMEOptional: No
Call by Reference: No ( called with pass by value option)
DATAELEMENTNAME - Data Element
Data type: ROLLNAMEOptional: No
Call by Reference: No ( called with pass by value option)
DOMAINNAME - Domain
Data type: DOMNAMEOptional: No
Call by Reference: No ( called with pass by value option)
MODE - Aufrufmodus: IDENTIFY_TEXT oder READ_TEXT
Data type: COptional: No
Call by Reference: No ( called with pass by value option)
FIELDVALUE - Wert des Feldes, zu dem Text gelesen werden soll
Data type: ANYOptional: Yes
Call by Reference: No ( called with pass by value option)
RECORD - Data Record With Structure of TABNAME
Data type: ANYOptional: Yes
Call by Reference: No ( called with pass by value option)
RECORD_SPECIFIED - Flag: Datensatz in RECORD wurde angegeben
Data type: FLAG_XOptional: Yes
Call by Reference: No ( called with pass by value option)
LANGUAGE - Language
Data type: SY-LANGUOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for FTI_LDB_GET_HREL_TEXT
TEXT_EXISTS_TYPE - Art, auf die Text gelesen werden kann
Data type: IOptional: No
Call by Reference: Yes
TEXT - Determined text
Data type: TEXT255Optional: No
Call by Reference: Yes
TEXT_FOR_VALUE_READ - Text Determined for Specified Value
Data type: FLAG_XOptional: No
Call by Reference: Yes
LIKE_TABNAME - Ergibt zusammen mit LIKE_FIELDNAME eine Like-Referenz für den gelesenen Text
Data type: TABNAMEOptional: No
Call by Reference: Yes
LIKE_FIELDNAME - Ergibt zusammen mit LIKE_TABNAME eine Like-Referenz für den gelesenen Text
Data type: FIELDNAMEOptional: No
Call by Reference: Yes
REQUIRED_FIELDS - Felder aus TABNAME deren Werte zum Lesen des Textes erforderlich sind
Data type: TTFIELDNAMEOptional: No
Call by Reference: Yes
REQUIRED_TABLE_FIELDS - Felder aus anderen Tabellen, deren Werte zum Lesen des Textes erforderlich sind
Data type: TTABFIELDOptional: No
Call by Reference: Yes
EXCEPTIONS details
INTERNAL_ERROR - Internal Error
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
ILLEGAL_CALL - Unerwarteter Aufrufparameter
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
RECORD_REQUIRED - Parameter Record Required
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
ILLEGAL_RECORD - Parameter Record has Invalid Format
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
TABLE_RECORD_REQUIRED - Record for Additional Table Required
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
ILLEGAL_TABLE_RECORD - Data Record for Additional Table has Invalid Format
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
SPECIAL_PARAMETER_MISMATCH - Special Parameter Value has Unexpected Type/Value
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for FTI_LDB_GET_HREL_TEXT Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.| DATA: | ||||
| lv_tabname | TYPE TABNAME, " | |||
| lv_internal_error | TYPE TABNAME, " | |||
| lv_text_exists_type | TYPE I, " | |||
| lv_valuesource_tables | TYPE TFIELDVAL, " | |||
| lv_special_parameters | TYPE TFIELDVAL, " | |||
| lv_text | TYPE TEXT255, " | |||
| lv_fieldname | TYPE FIELDNAME, " | |||
| lv_illegal_call | TYPE FIELDNAME, " | |||
| lv_dataelementname | TYPE ROLLNAME, " | |||
| lv_record_required | TYPE ROLLNAME, " | |||
| lv_text_for_value_read | TYPE FLAG_X, " | |||
| lv_domainname | TYPE DOMNAME, " | |||
| lv_like_tabname | TYPE TABNAME, " | |||
| lv_illegal_record | TYPE TABNAME, " | |||
| lv_mode | TYPE C, " | |||
| lv_like_fieldname | TYPE FIELDNAME, " | |||
| lv_table_record_required | TYPE FIELDNAME, " | |||
| lv_fieldvalue | TYPE ANY, " | |||
| lv_required_fields | TYPE TTFIELDNAME, " | |||
| lv_illegal_table_record | TYPE TTFIELDNAME, " | |||
| lv_record | TYPE ANY, " | |||
| lv_required_table_fields | TYPE TTABFIELD, " | |||
| lv_special_parameter_mismatch | TYPE TTABFIELD, " | |||
| lv_record_specified | TYPE FLAG_X, " | |||
| lv_language | TYPE SY-LANGU. " |
|   CALL FUNCTION 'FTI_LDB_GET_HREL_TEXT' "Text Determination: Invalidation for Transaction Number |
| EXPORTING | ||
| TABNAME | = lv_tabname | |
| VALUESOURCE_TABLES | = lv_valuesource_tables | |
| SPECIAL_PARAMETERS | = lv_special_parameters | |
| FIELDNAME | = lv_fieldname | |
| DATAELEMENTNAME | = lv_dataelementname | |
| DOMAINNAME | = lv_domainname | |
| MODE | = lv_mode | |
| FIELDVALUE | = lv_fieldvalue | |
| RECORD | = lv_record | |
| RECORD_SPECIFIED | = lv_record_specified | |
| LANGUAGE | = lv_language | |
| IMPORTING | ||
| TEXT_EXISTS_TYPE | = lv_text_exists_type | |
| TEXT | = lv_text | |
| TEXT_FOR_VALUE_READ | = lv_text_for_value_read | |
| LIKE_TABNAME | = lv_like_tabname | |
| LIKE_FIELDNAME | = lv_like_fieldname | |
| REQUIRED_FIELDS | = lv_required_fields | |
| REQUIRED_TABLE_FIELDS | = lv_required_table_fields | |
| EXCEPTIONS | ||
| INTERNAL_ERROR = 1 | ||
| ILLEGAL_CALL = 2 | ||
| RECORD_REQUIRED = 3 | ||
| ILLEGAL_RECORD = 4 | ||
| TABLE_RECORD_REQUIRED = 5 | ||
| ILLEGAL_TABLE_RECORD = 6 | ||
| SPECIAL_PARAMETER_MISMATCH = 7 | ||
| . " FTI_LDB_GET_HREL_TEXT | ||
ABAP code using 7.40 inline data declarations to call FM FTI_LDB_GET_HREL_TEXT
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.| "SELECT single LANGU FROM SY INTO @DATA(ld_language). | ||||
Search for further information about these or an SAP related objects