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

Delete AL11 directory

Former Member
0 Likes
5,541

Hello,

On SAP R/3 4.6c, I want to delete a directory from AL11. Not delete content but only remove logical link.

Does anyone know how I can do this ?

many thanks

Hello,

On SAP R/3 4.6c, I want to delete a directory from AL11. Not delete content but only remove logical link.

Does anyone know how I can do this ?

many thanks

12 REPLIES 12
Read only

Former Member
0 Likes
3,504

HI,

Using FILE transaction you can remove the link from the associated Logical File.

Is that what you need?

Regards,

Ankur Parab

Read only

alex_m
Active Contributor
0 Likes
3,504

I think if you delete the directoy then the contents also would be deleted, you can consult with your Basis guys.

Read only

Former Member
0 Likes
3,504

This message was moderated.

Read only

Former Member
0 Likes
3,504

Maybe I can explain the situation.

In AL11 I have a directory called DIR_ORAHOME which contains initilization files et many others files which not have to be accessed.

I had a look in transaction "FILE" but I'm not able to find directories exiting in AL11.

I don't want to drop the directory from the server but only remove it in AL11.

Thanks

Read only

0 Likes
3,504

Hi,

I've got half an answer, and while I've not been able to use it to delete a directory from AL11 I think the potential's there.

In AL11 highlight a directory on the list and choose 'Configure'. Now the fun starts, then next screen hasn't actually pulled through the line you selected, but it does have an option to delete on the menu. So if you could fill the three fields with the right values you could potential delete a directory.

Like I said, half an answer but hopefully it will set you in the right direction.

Regards,

Nick

Read only

0 Likes
3,504

I've already tried to put the correct info and click on delete but it doesn't work...

Read only

0 Likes
3,504

Hi,

The more I look at it that makes sense, that view is only for the user-defined directories, not that standard ones.

I've look at that code the AL11 calls an I think the list of standard directories is hard codes in the transaction. Take a look at program RSWATCH0 subroutine write_db_home, you would have to modify this program to remove this from AL11.

Regards,

Nick

Read only

0 Likes
3,504

This message was moderated.

Read only

0 Likes
3,504

Thank you Nick.

Don't you think removing this in program RSWATCH0 would not produce side effects ?

Read only

0 Likes
3,504

Hi,

Obviously I would never encourage anyone to modify SAP-delivered code

Doing a where-used on the program RSWATCH0 it is called from a number of other programs, but most do a SUBMIT so I guess you would want to remove the DIR_ORAHOME from those too.

Ultimately this is just a report, the risk of changing this in my view is fairly low.

Regards,

Nick

Read only

0 Likes
3,504

Files I'd like to hide (connection string to remote database) have been moved in another directory that is not viewable in R/3.

It's more simple that modifiy a standard program, especially when an upgrade is planned soon

Thank all for your quicks answers.

Read only

Former Member
0 Likes
3,504

This message was moderated.