Code: Alles auswählen.
data:
lt_lines type table of tline,
ls_line type tline,
l_text1(2000),
call function 'READ_STDTEXT'
exporting
id = 'STDTEXTID'
language = sy-langu
name = 'STDTEXTNAME'
tables
lines = lt_lines
exceptions
id = 1
language = 2
name = 3
not_found = 4
reference_check = 5
others = 6.
if sy-subrc <> 0.
exit.
endif.
loop at lt_lines into ls_line.
concatenate l_text1 ls_line-tdline
into l_text1 separated by space.
endloop.
search l_text1 for 'SUCHSTRING'.