Code: Alles auswählen.
PARAMETERS: p_FNAME TYPE rlgrap-filename,
p_time type p.
WHILE sy-subrc = 0.
OPEN DATASET p_FNAME FOR INPUT IN TEXT MODE encoding utf-8.
IF SY-SUBRC = 0.
exit.
else.
wait up to p_time seconds.
ENDIF.
endwhile.
CLOSE DATASET P_FNAME.