READ - Read text elements


Basic form

READ TEXTPOOL prog ... INTO itab ... LANGUAGE lg.

Effect

Reads the text elements for the program prog and the language lg from the library into the internal table itab . The line structure of the table itab is described in the section on text elements

The return code value is set as follows:


SY-SUBRC = 0 Text elements were read.
SY-SUBRC <> 0 Unable to read text elements.

Example

Read text elements for the program PROGNAME :
DATA: PROGRAM(8) VALUE 'PROGNAME', TAB LIKE TEXTPOOL OCCURS 50 WITH HEADER LINE. READ TEXTPOOL PROGRAM INTO TAB LANGUAGE SY-LANGU.

Related INSERT TEXTPOOL , DELETE TEXTPOOL

Index
© SAP AG 1996