Ansicht
Dokumentation
READ_STDTEXT - Read standard text on cross-language and/or client basis
BAL Application Log Documentation BAL Application Log DocumentationThis documentation is copyright by SAP AG.
Functionality
The function module READ_STDTEXT reads a standard text (text object = TEXT) in the current client and in the language requested.
If the USE_AUX_LANGUAGE parameter is set to X (not SPACE), the text is read in a chain language possible contained in table T002C if it does not exist in the language requested. If the text is available in the chain language, this text is returned. This is indicated by the language key in the structure HEADER which is then different from the language key of the LANGUAGE parameter.
If the USE_THRUCLIENT parameter is set to X (not SPACE), the text is read in client 000 if it does not exist in the current client.
If both parameters, USE_AUX_LANGUAGE and USE_THRUCLIENT, are set to X, the system tries to read the text as follows:
1.) Original client and original language
2.) Original client and chain language
3.) Zero client and original language
4.) Zero client and chain language
If the text cannot be found, the exception NOT_FOUND is triggered.
Example
Notes
Further information
Parameters
HEADERID
LANGUAGE
LINES
LOCAL_CAT
NAME
USE_AUX_LANGUAGE
USE_THRUCLIENT
Exceptions
IDLANGUAGE
NAME
NOT_FOUND
REFERENCE_CHECK
Function Group
STXDBAL Application Log Documentation General Material Data
This documentation is copyright by SAP AG.
Length: 1596 Date: 20240523 Time: 151828 sap01-206 ( 36 ms )