ABAP顾问
分类:
2008-07-17 10:48:14
REPORT z_barry_test NO STANDARD PAGE HEADING .
CALL FUNCTION 'AUTHORITY_CHECK_DATASET'
EXPORTING
activity = 'READ'
filename = '/usr/sap/DEV/DVEBMGS00/work/ENQLOG09'
EXCEPTIONS
no_authority = 1
activity_unknown = 2
OTHERS = 3.
WRITE sy-subrc .
*activity的可能参数:
* 'READ',
* 'WRITE',
* 'READ_WITH_FILTER',
* 'WRITE_WITH_FILTER',
* 'DELETE',