Skip to Content
0
Former Member
Sep 28, 2005 at 04:14 AM

Open dataset problem

43 Views

Dear all,

I tried to trasfer the contents to the path specified,but here sy-subrc = 8,ie.file could not be opened,but this works in testing and quality,but in production it produces this error,

my code is:

clear : dsn.

concatenate path 'ixxx.txt' into dsn.

open dataset dsn for output in text mode encoding non-unicode ignoring

conversion errors.

if sy-subrc = 0.

loop at itab.

transfer itab to dsn.

endloop.

endif.

close dataset dsn.

Can anyone provide a solution.

Thanks and regards,

Latha prabhu.