AUTHORITY_CHECK_DATASET SAP Function module - Check Authorization for File Access
AUTHORITY_CHECK_DATASET is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below are the pattern details for this FM showing its interface including any import, export parameters etc and for your convenience any standard documentation available. All this information and more can be viewed if you enter the function module name AUTHORITY_CHECK_DATASET into the relevant SAP transaction such as SE37 or SE80.
Pattern for FM AUTHORITY_CHECK_DATASET - AUTHORITY CHECK DATASET
Associated Function Group: SABC
Released Date: 02.03.2005
CALL FUNCTION 'AUTHORITY_CHECK_DATASET' "Check Authorization for File Access EXPORTING * program = " authb-program ABAP program in which access occurs activity = " c Access Type (See Function Documentation) filename = " authb-filename File name EXCEPTIONS NO_AUTHORITY = 1 " You are not authorized for this access ACTIVITY_UNKNOWN = 2 " Access type unknown . " AUTHORITY_CHECK_DATASET
SAP Documentation for FM AUTHORITY_CHECK_DATASET
This function module allows you to check authorization to access files (with the key words
The authorization check is performed uwing the authorization object
Description of function parameters:
CALL FUNCTION 'AUTHORITY_CHECK_DATASET' EXPORTING PROGRAM = 'ZDATASET' ACTIVITY = SABC_ACT_READ FILENAME = '/tmp/sapv01' EXCEPTIONS NO_AUTHORITY = 1 ACTIVITY_UNKNOWN = 2.
The values to be passed as the
Documentation extract taken from SAP system, Copyright (c) SAP AG