07-24-2014 8:58 AM
Hi every body, I need to know information about the status of recording in dynamic configuration tab in SM19.
how do we know that the status is active or not? and what table that contains about the status information?
Thanks,
Yulia
07-24-2014 9:22 AM
Hello Yulia, This FM tells you whether active or not.
FM RSAU_GET_AUDIT_CONFIG
parameter ENABLE
This information was in shared memory.
I hope you help.
07-24-2014 9:19 AM
Did you try to execute SM19 with SAT, SE30 or ST05 ?
(But I don't think you will find a ddic database read, you should find some system function call in function group SECU?)
Regards,
Raymond
07-24-2014 9:22 AM
Hello Yulia, This FM tells you whether active or not.
FM RSAU_GET_AUDIT_CONFIG
parameter ENABLE
This information was in shared memory.
I hope you help.
07-24-2014 9:39 AM
Hi,
Standard code in system for TCODE SM19 with Dynamic configuration.
SELECT * FROM TSL1D INTO ls_tsl1d
WHERE ( AREA = 'AU' OR
AREA = 'BU' OR
AREA = 'CU' )
AND SUBID NE '0'.
ls_rsaumsg-area = ls_tsl1d-area.
ls_rsaumsg-subid = ls_tsl1d-subid.
ls_rsaumsg-subclasid = ls_tsl1d-subclasid.
ls_rsaumsg-severity = ls_tsl1d-severity.
APPEND ls_rsaumsg TO rsaumsg_table.
ENDSELECT.
SELECT * FROM TSL1T
WHERE SPRAS = SY-LANGU AND
( AREA = 'AU' OR
AREA = 'BU' OR
AREA = 'CU' ).
READ TABLE RSAUMSG_TABLE WITH KEY AREA = TSL1T-AREA
SUBID = TSL1T-SUBID
BINARY SEARCH.
IF SY-SUBRC = 0.
RSAUMSG_TABLE-TXT = TSL1T-TXT.
IF TSL1T-AREA = 'AU' AND 'RSTU' CS TSL1T-SUBID.
REPLACE '&A' WITH 'Berechtigung/Berecht.-Profil '(032)
INTO RSAUMSG_TABLE-TXT.
ENDIF.
MODIFY RSAUMSG_TABLE INDEX SY-TABIX.
ENDIF.
ENDSELECT.
Thanks,
Yawa