Long texts are displayed using dedicated object types (with technical type = 'TXT' ). 

  • To be able to generate values, a customer-specific ABAP class is to be used. This class is subject to certain requirements (see Generating Texts (P)) and is to be entered in Customizing:

  • Classes for generation methods

  • Assignment of Object Types (Item type)

In contrast to the generation of values, where all public methods of the generation class are called, here, for each text to be generated (TDOBJECT/TDID), the generation method should be specified in Customizing.

The Autotext indicator defines whether texts should be generated automatically when the node is created. For each automatically created text you can define in "Languages for auto.texts", the different languages for which a text should be created automatically.

1. Programming

To be able to generate values, a customer-specific ABAP class is to be used. This class is subject to certain requirements (see Generation of Texts (P)).

  • Create class (SE80, SE24, Eclipse)

  • Create a generation method

image-20240606-064243.png

2. Customizing

Enter this class in Customizing:

  • Classes for generation methods

  • Assignment of Object types

  • Customizing for Texts

image-20240606-064253.pngimage-20240606-064302.pngimage-20240606-064312.png

3. Testing

image-20240606-064321.png