Application Development 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: 

How to create Our own folders in AL11.

Former Member
0 Kudos

Hi,

How to create/ add our own folders in AL11 sap directories.

I tried to use config option, add was successful, But unable to see that folder in AL11 list.

Any suggestions How to added our own floders in AL11.

Regards,

RC

7 REPLIES 7

Former Member
0 Kudos

the basis-administration persons create the folders for use ..they would help u...

Former Member
0 Kudos

Hi,

it is possible,

Write this code in your program..

data: unixcom like rlgrap-filename.

data: begin of tabl occurs 500,

line(400),

end of tabl.

dir =

unixcom = 'mkdir mydir'. "command to create dir

"to execute the unix command

call 'SYSTEM' id 'COMMAND' field unixcom

id 'TAB' field tabl[].

"check the directory created or not.

FredericGirod
Active Contributor
0 Kudos

Hi,

look the code of RSWATCH0, the directory are hard coded.

the program make a link between a sap_name and the name define in the config. Just create a directory into the server is not enough. You have to duplicate the SAP program, and add your own directory inside.

Or create a directory into a directory list by SAP. If it's on other directory and you are into Linux, you could ask your administrator to make a mount -o bind ..

Rgd

Frédéric

Former Member
0 Kudos

Frédéric ,

Yes, in unix we can mount from one server to local server.But unfortunatly we are running windows platforms.We have shared point in another server that we have to show in AL11.

Can we map this into the program you suggested.

- Kristene

0 Kudos

To create an entry in AL11:

1. Make sure the folder exists at the OS level and you can do a "dir" on it

2. Go to AL11

3. If your system settings are correct and if you have the proper SAP auths you should see a configure button at the top - click CONFIGURE

4. In the boxes enter:

Directory Name:
server-name\directory-2-B-displayed

Param. Name: Z_<directory-name>

ServerName: all

5. Click the SAVE button

Green arrow back and the new AL11 entry should now exist.

Mark Munoz

0 Kudos

Thanks Mark. The solution provided worked for me.

Former Member
0 Kudos

I was seeing some misonformation here....lets clarify:

what you need is an existing physical directory

likely you'll also want to share that directory

users need access to it..in this case the SAPServiceSID user must be owner/have read access at least to the share

in AL11, select a line, click configure and save as indicated... the directory name is DIR_YOURDIRECTORY, param name is
host\share or D:\pathtoshare as appropriate and Servername is all

the FILE transaction allows for a Logical ALIAS with physical directory on each server to be used for coding a generic drop and pickup routines. looks like
host\share\<FILENAME>

no other coding or information required for this to work....use the tcodes as provided!!

~former SAP Platinum Basis/BI