Start of Content Area

CHECK_TEXT_ID   Locate the document in its SAP Library structure

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 parameters:

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 in the field TDID of the text header does not exist in table TTXID. It must be defined there together with the object of the text module.