Start of Content Area

CHECK_TEXT_LANGUAGE   Locate the document in its SAP Library structure

CHECK_TEXT_LANGUAGE checks whether the language of a text module is defined in table T002. If not, the system terminates the function module with the exception LANGUAGE.

 

Function call:

 

CALL FUNCTION 'CHECK_TEXT_LANGUAGE'

EXPORTING LANGUAGE = ?...

EXCEPTIONS LANGUAGE =

 

Export parameters:

LANGUAGE

The parameter LANGUAGE contains the text language to be checked.

Reference field: THEAD-TDSPRAS

 

Exceptions:

LANGUAGE

The parameter LANGUAGE contains a text language key that is not defined in table T002.