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: 

AL11

Former Member
0 Kudos

How does one limit AL11 to a specific folder path. Although they may view other file paths, they should be only able to view files within a specific folder. When creating the role I have attempted to narrow it down to the object s_dataset and filename, but when I modify this portion it does not allow for any viewing capability. Is there a way to limit if via folder versus filename? Thanks

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Maritza,

Just end the file name permission with "sub folder"/*

Example: If you want to let them see all the files under the temp folder /usr/sap/temp/*

Good luck.

Lye

Message was edited by:

Tse-Hun Lye

Message was edited by:

Tse-Hun Lye

2 REPLIES 2

Former Member
0 Kudos

Maritza,

Just end the file name permission with "sub folder"/*

Example: If you want to let them see all the files under the temp folder /usr/sap/temp/*

Good luck.

Lye

Message was edited by:

Tse-Hun Lye

Message was edited by:

Tse-Hun Lye

Former Member
0 Kudos

Hello Maritza,

AL11 makes a call to function module AUTHORITY_CHECK_DATASET before opening the file (at which time the real S_DATASET authority-check is made).

In this case you can, in addition to defining the file name and the program context from which the file operation should be performed, also use the object S_PATH to protect paths to the files to be 'read' by placing an authorization group on them.

See SAP note 177702 and the documentation in SU21 (Administration) for more detailed infos.

Cheers,

Julius