Start of Content Area

CHECK_TEXT_OBJECT   Locate the document in its SAP Library structure

CHECK_TEXT_OBJECT checks whether the specified text object is defined in table TTXOB. If yes, the parameter OBJECT_INFO contains the corresponding entry of table TTXOB. If no, the system terminates the function module with the exception OBJECT.

 

Function call:

 

CALL FUNCTION 'CHECK_TEXT_OBJECT'

EXPORTING OBJECT = ?...

IMPORTING OBJECT_INFO =

EXCEPTIONS OBJECT =

 

Export parameters:

OBJECT

The parameter OBJECT contains the text object to be checked.

Reference field: THEAD-TDOBJECT

 

Import parameters:

OBJECT_INFO

Contains the attributes defined in table TTXOB for the specified text object.

Reference field: THEAD-TDOBJECT

 

Exceptions:

OBJECT

The parameter OBJECT or the field TDOBJECT in the text header contain the name of a text object that is not defined in table TTXOB.