Standard Text call
Hi ,
suppose i have created a standard text in SO10 like the following:
*----
event
*----
now i want to call this text using FM 'Read_text'. what shal i do to write this.
Tags:
Former Member replied
Hi Prasenjit Sengupta,
Please use following function as:
data : tbody like TLINE occurs 0 with header line. CALL FUNCTION 'READ_TEXT' EXPORTING CLIENT = SY-MANDT ID = 'ST' LANGUAGE = sy-langu NAME = 'NAME_AT_SO10' OBJECT = 'TEXT' * ARCHIVE_HANDLE = 0 * LOCAL_CAT = ' ' * IMPORTING * HEADER = TABLES LINES = tbody * EXCEPTIONS * ID = 1 * LANGUAGE = 2 * NAME = 3 * NOT_FOUND = 4 * OBJECT = 5 * REFERENCE_CHECK = 6 * WRONG_ACCESS_TO_ARCHIVE = 7 * OTHERS = 8
and you can use loop to process tbody.
loop at tbody.
endloop.
This will solve your problem.
Deniz.