Start of Content Area

CHECK_TEXT_NAME   Locate the document in its SAP Library structure

CHECK_TEXT_NAME checks whether the name of a text module consists of valid characters only. Valid characters are all characters of the system character set except the characters '*' and ',' . If one of these characters occurs in the field specified in the parameter NAME, the system terminates the function module with the exception NAME.

 

Function call:

 

CALL FUNCTION 'CHECK_TEXT_NAME'

EXPORTING NAME = ?...

EXCEPTIONS NAME =

 

Export parameters:

NAME

The parameter NAME contains the text name to be checked.

Reference field: THEAD-TDNAME

 

Exceptions:

NAME

The parameter NAME or the field TDNAME of the text header contain the name of a text module that does not correspond to the SAPscript conventions.

Possible errors:

  • Field contains only blanks
  • Field contains the invalid characters '*' or ','