on 01-12-2007 3:07 PM
Hello,
I wanted to grant a program access to the SAP work directory. In order to implement a generic solution across our system landscape, I tried the value <P=DIR_HOME> in the authorization object S_DATASET but this doesn't work.
Any suggestion?
Regards,
Lode
I got an answer from SAP. Parameter substitution is not supported in authorizations.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Siddhesh,
DIR_HOME points to /usr/sap/D01/DVEBMGS00/work. So I used "<P=DIR_HOME>/*" in S_DATASET (substitute <, > by angle brackets) but it doesn't work!
Regards,
Lode
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Do not modify the S_DATASET Object, use the table SPTH and specify your work directory directly into the PATH field.
as explained in the following link:
http://help.sap.com/saphelp_47x200/helpdata/en/fc/eb3d69358411d1829f0000e829fbfe/frameset.htm
Regards,
Siddhesh
Hi Siddhesh,
I realise that my question was not very clear. Some words seem to have dissappeared in my message.
When I add the value "/usr/sap/D01/DVEBMGS00/work/*" to S_DATASET it works, however when I use the profile parameter DIR_HOME, it doesn't. There seems to be a problem with parameter substitution.
"<P=DIR_HOME>/*"
Regards,
Lode
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Lode,
The R/3 System automatically performs the following checks in operations with sequential files:
-It checks the authorization object S_DATASET to see whether the current
program may access the specified file.
-It checks in table SPTH to see whether the specified file is registered for file access from ABAP. Table SPTH also allows you to check the users authorization.
Check this link its interesting to find out , how it internally works, maybe this could be what is hampering your operations:
http://help.sap.com/saphelp_47x200/helpdata/en/fc/eb3d4f358411d1829f0000e829fbfe/frameset.htm
Hope that helps.
Regards,
Siddhesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.