on 2023 Mar 01 10:09 PM
Hi I'm trying to access archived records from MB51 and the SU53 is showing its trying to access S_ARCHIVE using 01 instead of 03. Do we have something wrong or is this normal behavior? screenshot-su53-error-on-mb51.jpg
Request clarification before answering.
Hello Ron,
If the user selects the option "Reread Short Docs In Archive" the system calls the function module ARCHIVE_READ_OBJECT. In this function module, ACTVT 01 is checked first. If the user has no authorization for ACTVT 01, the system checks ACTVT 03.
This is the normal behavior.
Best regards,
Andreas
Function Module ARCHIVE_READ_OBJECT:
...
" authority check depending on access type
IF moveflag IS INITIAL. " read a single data object
AUTHORITY-CHECK OBJECT 'S_ARCHIVE'
ID 'ACTVT' FIELD '01' <=====
ID 'APPLIC' FIELD l_applic
ID 'ARCH_OBJ' FIELD object.
IF NOT sy-subrc IS INITIAL.
AUTHORITY-CHECK OBJECT 'S_ARCHIVE'
ID 'ACTVT' FIELD '03' <=====
ID 'APPLIC' FIELD l_applic
ID 'ARCH_OBJ' FIELD object.
IF NOT sy-subrc IS INITIAL.
* MESSAGE e100 RAISING not_authorized.
MESSAGE e480 WITH object RAISING not_authorized.
ENDIF.
ENDIF.
ELSE. " reload a single data object
AUTHORITY-CHECK OBJECT 'S_ARCHIVE'
ID 'ACTVT' FIELD '01'
ID 'APPLIC' FIELD l_applic
ID 'ARCH_OBJ' FIELD object.
IF NOT sy-subrc IS INITIAL.
SET SCREEN 0.
MESSAGE e100 RAISING not_authorized.
ENDIF.
ENDIF.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
58 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.