Hi Ada,
You can proceed with th example provided below:
CALL FUNCTION 'READ_TEXT'
EXPORTING
CLIENT = SY-MANDT "Client
ID = 'ZG01' "Text ID
LANGUAGE = 'EN' "Language
NAME = TH_INDATA_F01-VBELN_A "Text Name
OBJECT = 'VBBK' "Object
- IMPORTING
- HEADER =
TABLES
LINES = TD_LINE "Returning table for Text as Internal Table
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
NOT_FOUND = 4
OBJECT = 5
REFERENCE_CHECK = 6
WRONG_ACCESS_TO_ARCHIVE = 7
OTHERS = 8.
CALL FUNCTION 'IDMX_DI_TLINE_INTO_STRING'
EXPORTING
it_tline = TD_LINE[] "Returning Table
IMPORTING
EV_TEXT_STRING = TEXT "Text as String, as you wanted
Please validate the same at your end and let us know in case you want any further inputs.
BR/Thanks
Pranav Agrawal