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 path issue

Former Member
0 Likes
2,339

Dear Experts,

I have a program which will generate a file in application server using OPEN DATASET FNAME FOR OUTPUT IN LEGACY TEXT MODE CODE PAGE '1100'.

FNAME = 'ip address of dev server\foldername\filename.txt'

Folder has been created in development server. If i execute the program in development server file is generating into the folder. But if i run the same program in Quality server, file is not generating. I am trying to save the file in folder in development server. I am giving the same path while executing in Quality. The folder has read and write access for my windows user id.

Also i tried to download the file using tcode CG3Y in dev, its downloading. But if i do the same in Quality server its not downloading.

The program has to run in background.

suggest me the solution.

Regards,

Prabu S.

7 REPLIES 7
Read only

Former Member
0 Likes
1,221

I guess there is something worng in the path name format. In the development system, you are checking the file in AL11 or in the presentation server?

Vikranth

Read only

Former Member
0 Likes
1,221

Hi prabhu,

In dev system you are giving the Fname : 'ip address of dev server\foldername\filename.txt'

But in quality if you give the same path it will not work. You need to change path to Fname : 'ip address of quality server\foldername\filename.txt' then it wll work.

Hope it will resolve your problem.

Regds,

Preetham

Read only

0 Likes
1,221

In addition to the previous post, make use of sy-sysid inseted of hard coding the ip address and concatenate the file path. It takes the respective system id. It definetely works .

thanks,

Preetham

Read only

kesavadas_thekkillath
Active Contributor
0 Likes
1,221

Quality & Production - Must be in the same network domain.

Only then the IP can be accessed.

Also look into preethams suggestion.

Read only

Former Member
0 Likes
1,221

Hi,

Some time this type of problem are coming or don't have authorization for your user pls check that both issue's..

and file path wouldn't correct in parameter's

Thanks

Regards

I.Muthukumar

Read only

Former Member
0 Likes
1,221

Please check if you have the same folder name in quality which you have in dev. becoz the folder will not be creatded automatically. it need to be created before writing file into it

Read only

Former Member
0 Likes
1,221

Dear All,

Thank you for your replies. Here my issue is I should use the same folder in dev server for all three servers(DEV, QAS and PRD).

Here they told that they wont create folder in Quality and Production, but if you execute the program in DEV, QAS and PRD the file should generate in the folder in DEV server.

Using basis help i logged into Quality server system and tried to access the file in Development server system through OS level. Its working fine.

I checked authorization for my user. Its there.