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

Application Server?

Former Member
0 Likes
1,473

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.

15 REPLIES 15
Read only

Former Member
0 Likes
1,450

Talk to your manager like where is the path to store data,no need to create folder,this will be basis job..

Read only

0 Likes
1,450

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.

Read only

0 Likes
1,450

Hello Gopi,

Check with path in AL11 /interfaces/QR3/MM/ZMMOF3007/ZMMOF3007_bkpf.txt ' this is case sensitive

Read only

0 Likes
1,450

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.

Read only

0 Likes
1,450

can i see ur code ?

Read only

0 Likes
1,450

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

Read only

0 Likes
1,450

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.

Read only

Former Member
0 Likes
1,450

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

Read only

0 Likes
1,450

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.

Read only

0 Likes
1,450

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

Read only

0 Likes
1,450

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.

Read only

0 Likes
1,450

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

Read only

0 Likes
1,450

Hi Seshu,

what is Object '0010'?I was not able to find that one what you told.Can u explain me clearly?

thanks,

Gopi.

Read only

former_member194669
Active Contributor
0 Likes
1,450

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

Read only

former_member194669
Active Contributor
0 Likes
1,450

Please FTP to move the file to application server using some telnet client. but before that check whether you write auth to directory.

aRs