Thanks for the reply Klaus.
Do you know of any FM which would return me the a variable of type LIKEY_FILE_CONTENTS ('Table with Strings that Contain the Lines of a File'). Or can this be achieved using the Open dataset Read dataset Close Dataset? I am trying to REPLACE the below with a similar functionality which would return me a variable of type LIKEY_FILE_CONTENTS.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = filename
filetype = 'ASC'
read_by_line = 'X'
NO_AUTH_CHECK = 'X'
TABLES
data_tab = lines
Thanks.