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

error when generating file on the server

Former Member
0 Likes
559

Hello Gurus,

I have a program created ABAP he reads the attributes of a property, and creates a file hierarchy to load in another feature. The story is that when you try to create the file with the instruction:

open dataset p_fiche for output in text mode encoding default.

I am giving this error, that can not generate the file.

Sy-subrc = 8. At first thought it was because they had no authorization to create files in the path specified, but if I have permission and do not understand it is because the cause of this error.

Someone can help me?

Greetings,

2 REPLIES 2
Read only

Former Member
0 Likes
435

In ur case sy-subrc = 8 means 'Operating system could not open file'

. Use addition MESSAGE msg with ur OPEN DATASET statement to know the exact reason for this error.

Regards,

Joy.

Read only

Former Member
0 Likes
435

Check what p_fiche contains ...

If it contains Application server filepath or anyother value ..