Please also have a look in our OnlineHelp for further information.
The screenshot shows the texts tab in VA01 where the user can store different kinds of texts.
The texts can be attached to the order header or the order items.
To retrieve these texts we can use the function module RFC_READ_TEXT. We have to fill the table TEXT_LINES for each text we want to fetch. These elements must be filled:
- TDOBJECT is the name of the text object (e.g. VBBK for sales order header or VBBP for sales order item)
- TBNAME is the key (in case of VBBP it is the sales order number and the Sales order item number)
- TDID is the text id which defines the kind of text (e.g. 0001 for Material sales text).
- TDSPRAS is the language key
This code shows how to execute the function module:
Goto transaction SE75 to find out more about all available text objects and the underlaying text IDs.
If you want to know what the correct text name, text object and text id of a certain text is, go to the editor and then click on Goto -> Header.