Skip to Content
0
Former Member
Jan 01, 2008 at 02:07 PM

Help in sy-subrc error

48 Views

Hello all,

I have a text tab delimited file in application server.I used open data set and sysubrc was 0 and when i tried to read the file i fot sy-subrc as 4......pls advice.....

filename like rlgrap-filename......."file name in Appln ser

file name

lv_itab(200) type char

OPEN DATASET pfilenaem FOR INPUT IN TEXT MODE DEFAULT MESSAGE.

here sy-subrc gives as 0

Read dataset pfilename into lv_itab.

here sy-subrc is givin as 4.....

i feel the pfilename is of file type and lv_itab is of type char so s ths causin error..........

pls advice....thanks in advance

Title edited by: Alvaro Tejada Galindo on Jan 1, 2008 9:47 AM