Show TOC

CHECK_TEXT_IDLocate this document in the navigation structure

Use

CHECK_TEXT_ID checks whether the specified text ID is defined in table TTXID. If it exists, the parameter ID_INFO contains the corresponding entry in table TTXID. If it does not exist, the system terminates the function module with the exception ID.

Function call:

CALL FUNCTION 'CHECK_TEXT_ID'
EXPORTING OBJECT = ?...
ID = ?...
IMPORTING ID_INFO =
EXCEPTIONS ID =
            

Export parameters:

OBJECT

The parameter OBJECT contains the text object that belongs to the text ID.

Reference field: THEAD-TDOBJECT

ID

The parameter ID contains the text ID to be checked.

Reference field: THEAD-TDID

Import parameter:

ID_INFO

Contains the attributes defined in table TTXID for the specified text ID.

Reference field: THEAD-TDID

Exceptions:

ID

The text ID specified in the parameter ID or text header, field TDID, does not exist in table TTXID. It must be defined there with the text module object.