Skip to content

Text Containers

Jörg Neumann edited this page Sep 27, 2022 · 2 revisions

Text containers are used to store additional title texts for data containers (if suppored by the data container in question). They are helpful to tell multiple instances of a multi-usage-container apart (e.g. multiple internal tables attached to one log message).

The API is shipped with two text containers:

Classname Instance Creation Description
/USI/CL_BAL_TC_LITERAL_C40 Public The to-be-used text literal is passed to the constructor.
/USI/CL_BAL_TC_REPORT_TEXT_C40 Private
Use create*-Methods
Uses translatable report texts of the current or an explicitly specified program.
Parameter i_text_key is used to pass the three-character text key (text-001).
Parameter i_text can be used to pass the text itself (text-001), so that the text is recognized as used.

Hint: All text container classnames start with "/USI/CL_BAL_TC_" (TC = Text Container). That should make it pretty easy to find them using autocomplete.

Clone this wiki locally