Application Development and Automation 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: 
Read only

UNICODE FLAG

Former Member
0 Likes
737

hie all , i'm trying to run a program that uses open data set in ECC 6, but i keep getting a runtime error saying the file can not be open. i have checked , the file is not in use by any other program and it exists. i have tried both getting from application server (c:\rapidsap01.txt')and dev server (
umdev\usr\interface\rapidsap01.txt')but stil nothing. i read somearticle that talked about setting the unicode flag , does anyone have an idea where i can do that?

error

Runtime Errors DATASET_NOT_OPEN

Exception CX_SY_FILE_OPEN_MODE

Date and Time 12.03.2009 10:59:11

5 REPLIES 5
Read only

Former Member
0 Likes
678

Hi,

The intended file might not be opened in your systems due to many of reasons like no authorization, file doesn't exist etc. check for sy-subrc just after OPEN DATASET.

Thanks,

Asit Purbey.

Read only

Former Member
0 Likes
678

hi,

data : obj type ref to cx_root.

try .

open dataset ........

catch CX_SY_FILE_OPEN_MODE

into obj

endtry.

now the program will not go to dump but still it will not solve the problem.

So For setting the any object for unicode

SET UNICODE ON\OFF

use open dataset..

Read only

former_member242255
Active Contributor
0 Likes
678

try by using OPEn DATASET...IGNORING CONVERSION ERRORS

Read only

Former Member
0 Likes
678

Hi;

have u tried with the new file since it might corrupt.

For unicode please find the details

[Link|http://help.sap.com/saphelp_nw70/helpdata/EN/79/c55458b3dc11d5993800508b6b8b11/content.htm]

regards

Shashi

Read only

Former Member
0 Likes
678

thanx, helped so much