Object S_DATASET provides authorizations for accessing files from ABAP/4 programs.
You use this object to assign authorizations for accessing operating system files (with the ABAP/4 key word OPEN DATASET, READ DATASET, TRANSFER and DELETE). This key word can also be used to assign the authorization for using operating system commands as a file filter.
In ABAP/4 programs, you perform the authorization check with the function module AUTHORITY_CHECK_DATASET.
The object consists of the following fields:
- PROGRAM ABAP/4 program name
Name of the ABAP/4 program that contains the access. You can restrict the file access to a few known access programs.
- ACTVT Activity
- 33: Normal file read
- 34: Normal file write or deletion
- A6: Read file with filter (operating system command)
- A7: Write to a file with filter (operating system command)
- FILENAME File name
Name of the operating system file. Here, you can restrict the accessible files.