10-10-2008 5:38 AM
Can anyone help here
I am missing the Favorites button in transaction SAPAPO/AMON1 - Alert Monitor Display. I need to know what object
controls this so I can create a new role and assign access as needed to selected Admin staff who will assign user access to required Favorites
Thanks
10-10-2008 4:15 PM
Hi Tyson,
as Julius describes St01 gives you a clear list ofauthorization object, which are checked:
Objekt Text
S_TCODE RC=0 TCD=/SAPAPO/AMON1;
C_APO_AMON RC=0 ACTVT=22;
C_APO_AMON RC=0 ACTVT=16;
C_APO_AMON RC=0 ACTVT=06;
C_APO_AMON RC=0 ACTVT=02;
C_APO_AMON RC=0 ACTVT=02;
C_APO_AMON RC=0 ACTVT=06;
C_APO_AMON RC=0 ACTVT=22;
C_APO_AMON RC=0 ACTVT=16;
C_APO_AMON RC=0 ACTVT=02;
In the MODULE initialize_1600 OUTPUT of functiongroup /SAPAPO/ASTAND there is the coding:
* Prüfe Änderungsberechtigung
AUTHORITY-CHECK OBJECT 'C_APO_AMON'
ID 'ACTVT' FIELD '02'. "change
IF sy-subrc NE 0.
l_exclude_tab_1600 = 'DELETE_SET'.
APPEND l_exclude_tab_1600.
l_exclude_tab_1600 = 'SAVE'.
APPEND l_exclude_tab_1600.
l_exclude_tab_1600 = 'FAVOURITES'.
APPEND l_exclude_tab_1600.
. . .
So if a user has not got the Object 'C_APO_AMON' and the allowance to make changes the button 'Favourites' is not displayed.
Regards
p121848
10-10-2008 6:03 AM
If security can control it, then the accepted way which works in most cases is to start an ST01 auth trace in a QAS or DEV system and trace whether authority makes the button visible; or once the tcode is started then whether the button is usable / savable.
Generally, favourites belong to the user, so they will most probably change it anyway (for themselves).
I can imagine that changing user's favourites is an origanizational control (e.g. support). So perhaps you should reconsider the choice of transaction (or choice of user who has access to it)...?
Cheers,
Julius
10-10-2008 4:15 PM
Hi Tyson,
as Julius describes St01 gives you a clear list ofauthorization object, which are checked:
Objekt Text
S_TCODE RC=0 TCD=/SAPAPO/AMON1;
C_APO_AMON RC=0 ACTVT=22;
C_APO_AMON RC=0 ACTVT=16;
C_APO_AMON RC=0 ACTVT=06;
C_APO_AMON RC=0 ACTVT=02;
C_APO_AMON RC=0 ACTVT=02;
C_APO_AMON RC=0 ACTVT=06;
C_APO_AMON RC=0 ACTVT=22;
C_APO_AMON RC=0 ACTVT=16;
C_APO_AMON RC=0 ACTVT=02;
In the MODULE initialize_1600 OUTPUT of functiongroup /SAPAPO/ASTAND there is the coding:
* Prüfe Änderungsberechtigung
AUTHORITY-CHECK OBJECT 'C_APO_AMON'
ID 'ACTVT' FIELD '02'. "change
IF sy-subrc NE 0.
l_exclude_tab_1600 = 'DELETE_SET'.
APPEND l_exclude_tab_1600.
l_exclude_tab_1600 = 'SAVE'.
APPEND l_exclude_tab_1600.
l_exclude_tab_1600 = 'FAVOURITES'.
APPEND l_exclude_tab_1600.
. . .
So if a user has not got the Object 'C_APO_AMON' and the allowance to make changes the button 'Favourites' is not displayed.
Regards
p121848
10-17-2008 1:14 AM