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

open dataset error

Former Member
0 Likes
1,204

Hi Gurus,

If i give the other folder name it is working fine.. Please can you let me know what is the problem.

I am not able to write a file into the particular folder in the application server.

I am getting the sy-subrc eq 8.

Does it require any authorization to write into a folder.

if not please let me know the solution how to solve.

Thanks

Sunil Kumar

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,020

Hi,

Write authorization is needed for the folder.

Regards

Nehruu

8 REPLIES 8
Read only

Former Member
0 Likes
1,021

Hi,

Write authorization is needed for the folder.

Regards

Nehruu

Read only

kesavadas_thekkillath
Active Contributor
0 Likes
1,020

Check whether the path exists

Are you getting the path using f4, if not try with f4 hep and do.

Try with fm F4_DXFILENAME_TOPRECURSION

Generally sy-subrc = 8, is when the file path could not be located.

The path name is also case sensitive.

Read only

0 Likes
1,020

Hi Keshav,

I am not accessing the file from personal file. i am trying to access from the application server.

hence i cannot use the f4help and get the path of the folder.

thanks

Sunil

Read only

kesavadas_thekkillath
Active Contributor
0 Likes
1,020

What do you mean by a personal file, this fm is used for application server f4 help.

Read only

Former Member
0 Likes
1,020

Ask ur BASIS guys to set the file permissions to open and write the data. Other wise u can't do it.

Read only

kesavadas_thekkillath
Active Contributor
0 Likes
1,020

Use the fm AUTHORITY_CHECK_DATASET before using open dataset to check for authorizations.

I doubt that there is something wrong in the path.

Read only

robert_altenstraer
Active Participant
0 Likes
1,020

hi,

do you use full qual domain name ??

ie:
server.sub.domain\dir\dirsub\file.ext

with open dataset you work with SERVICEADM User .. anyway > you have all rights...

Robert

Read only

Former Member
0 Likes
1,020

solved myself by changing the select option to parameter.