Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

runtime errors: dataset_not_open cx_sy_file_open_mode

Former Member
0 Kudos

Hi,

I've created a directory in UNIX os level for the output of ABAP program open dataset...

But encountered the above error and no file written to the directory.

Any setting required on the SAP or UNIX level? Need your advice. thanks.

Best Regards

Shese

1 REPLY 1

Former Member
0 Kudos

use

OPEN DATASET v_o_file FOR OUTPUT IN TEXT MODE ENCODING DEFAULT

MESSAGE v_message.

TRANSFER l_appl_str TO v_o_file.

CLOSE DATASET.