Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to get SM19 Information?

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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.

3 REPLIES 3

raymond_giuseppi
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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.

Former Member
0 Kudos

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