‎2007 Jun 13 1:19 AM
Hi Guys,
I have a doubt.For storing the data in Application server first we have to make our PM to create the Folder.Once he created the then we can use that folder for storing the files.In AL!! i sawed the path where he created.I used that path in my program screen and run the program in Background using SM36 and SM37.Then i got error like File not found.Can any body help me reagrding this.Does i need to create file also r no neeed?
Thanks,
Gopi.
‎2007 Jun 13 1:24 AM
Talk to your manager like where is the path to store data,no need to create folder,this will be basis job..
‎2007 Jun 13 1:35 AM
Hi Seshu,
They created a folder in Application Server.I went to application server and sawed the path where the folder got created .I am using that path for accessing Application server.Now I am using a varinat for my slection screen program.In my selection screen program i am mentioning path.Then i am executing the program in Background using SM 36 and SM 37.I am getting Error as 'No file or Directory'. Path is ' /interfaces/QR3/MM/ZMMOF3007/ZMMOF3007_bkpf.txt ' .
Thanks,
Gopi.
‎2007 Jun 13 1:43 AM
Hello Gopi,
Check with path in AL11 /interfaces/QR3/MM/ZMMOF3007/ZMMOF3007_bkpf.txt ' this is case sensitive
‎2007 Jun 13 1:49 AM
Hi Seshu,
I checked the path in AL11.I was not able to find the that text file.Thast why i am asking does we need to create any text file or not?
I asked 3 hours back for creating the folder.They told that its done.Is there any security issue to get solved once they created does it have any intermediate process like Security thing ?
Thanks,
Gopi.
‎2007 Jun 13 1:57 AM
‎2007 Jun 13 1:58 AM
Can you tell me whether the file in unix server has been created or not ??
In case only folder exists and there is no file in folder you need to create a file using OPEN DATASET....FOR OUTPUT or ask your PM to create the required file in the mentioned folder
‎2007 Jun 13 2:12 AM
Hi Seshu,
I didn't developed the program.Some previous developer's developed and i am using that one for just single dump.
Thanks,
Gopi.
‎2007 Jun 13 1:31 AM
Gopi,
You don't have to create the file. It should be done by the program. Just to make sure you are using "open data set" not 'Gui_download'.
Check the following..
1. The user has access to the folder (no security issue)
2. you have appropriate path (there is a difference between / and \ )
3. Handle the sy-subrc to know what kind of error you get from the program
Reward if you find it helpful
‎2007 Jun 13 1:39 AM
Hi Nallasamy,
I am using a custom Program developed by some previous developers.This program works like this.It takes the table name and Applicatin server path as Input.
What i did was i just created a variant and executed the program in Background using SM36 and SM37.Then i got error ' No such file or directory'.
can u plz help regarding this one.
Thanks,
Gopi.
‎2007 Jun 13 2:15 AM
Gopi,
May be your are trying to open an incorrect directory. Check the whole path and make where it is the correct file path where you want to put your files.
Rgds,
Naren
‎2007 Jun 13 3:14 AM
Hi Guys,
Can anybody tell me how to create a file manually without writing a program in Application server.The problem with the program i am using it should have a file in the application server then only it can dump the data that's why i am getting " No file or such directory ".
Thanks,
Gopi.
‎2007 Jun 13 3:25 AM
use SXDB Transaction
GOTO SXDB Transaction -> object 0010 -> enter -> click on copy button -> select option from as local file and to as application server file.
This is 4.6C Version navigation
Reward points if it is helpful
Thanks
Seshu
‎2007 Jun 13 3:29 AM
Hi Seshu,
what is Object '0010'?I was not able to find that one what you told.Can u explain me clearly?
thanks,
Gopi.
‎2007 Jun 13 3:13 AM
Hi,
Before writing file appl server check whether directory exist or not.
* Read directories of an application server
CALL FUNCTION 'RZL_READ_DIR'
EXPORTING
name = directory
nrlines = 1
TABLES
file_tbl = file_table
EXCEPTIONS
argument_error = 1
not_found = 2
send_error = 3
OTHERS = 4.
Which return the list of files in such a directory. Look also at Function Group SAL3
aRs
‎2007 Jun 13 3:35 AM
Please FTP to move the file to application server using some telnet client. but before that check whether you write auth to directory.
aRs