Skip to Content
0
Former Member
Jun 02, 2008 at 04:18 PM

"Text mode " the "Encoding"

1392 Views

Hi all,

This is what my Program I have written but it is showing error like

In "Text mode " the "Encoding" addition must be specified.

My Program:

parameters filename(128) default '/usr/tmp/testfile.dat' lower case.

data msg_text(50).

open dataset filename for output in text mode message msg_text.

if sy-subrc ne 0.

write: 'File canot be opened. Reason:', msg_text.

exit.

endif.

Could you please tell me how to solve this Error.

Thanks and Regards,

Ashok.