‎2007 Jun 13 8:14 PM
Hello All,
I need to open a file on appServer using OPEN DATA SET FOR INPUT TEXT.
sy-subrc is 8.
But i can open another file in same directory.
What happened??
Thank's
‎2007 Jun 13 8:24 PM
The file path is case sensitive. Please try to use the same case.
Sy-subrc = 8, I guess file path not found.
Hope it helps,
Shreekant
‎2007 Jun 14 1:14 PM
May be file is not present in APP server or
User doesn't have the permession to access that file
‎2007 Jun 13 8:24 PM
‎2007 Jun 13 9:01 PM
Hi,
You might mentioned the Wrong path, please look at the` path
Regards
Ashok Reddy
‎2007 Jun 14 12:59 PM
The path is correct.
When i try to open with content 'Test', I obtain to open.
But when content is:
C;MT65E-07X055;ZMTEXP;MT - ADSL 3º TRI - TGBK;65000002;11062007;15092007;
I;1;MT65E-07X055;MT - ADSL 3º TRI - TGBK;28;2007;PINV-BRT;MTRXCD;2007;
I;2;MT65E-07X055-001;TGBK;28;2007;
The sy-subrc is 8.
‎2007 Jun 14 1:11 PM
If the path is correct, try with giving the file name with extension like .txt and all
( if it is user input )
Like "test.txt"
~ laxmi
if u find the answer helpful, reward it .
‎2007 Jun 14 1:16 PM
hi,
go to T-code AL11 and first check whether the file is there in APP server......... or not.
if the file exists then i think ur giving the path wrong(including the folder name is also case sensitive).
so chek the logical path,file and folder name oprectly.......
Thanks,
Ravinder.
‎2007 Jun 14 1:35 PM
Hi,
Is the problem with the OPEN command or with the READ command? I ask this because your file contains special characters like 3º
Try the following:
OPEN DATASET '???' FOR INPUT IN LEGACY TEXT MODE.
‎2007 Jun 14 1:15 PM
Hi,
Check your file name and path using the transaction AL11.
Thanks
Ram M
‎2007 Jun 14 1:18 PM
Hi,
Verify the path and file name in p_file.
Make sure that the file actually exists
Regards