10.12.10

SAP Note 12241 - Authorization for blocking and deleting.

Symptom:

The authorization for blocking and deleting an asset master record or an asset class was included under the activity 'Change' instead of being identified separately.

Solution

This problem is corrected completely in Release 3.0D.
For 3.0A to 3.0C, you must carry out points 1 and 3 of the solution.
As of Release 3.0D and after, these problems can still occur, if you use your own authorizations (which you defined yourself) and have not updated these authorizations accordingly.
You can install the following advance correction:

    1. Changing the authorization for transactions
    Call up transaction SE93, and enter the following data. You must select the function 'Change.' A popup window appears, in which you then select the function 'Maintain check object'.

    Transaction (use) old activity new activity
    AS05 Block asset 02 05
    AS06 Flag asset for deletion 02 06
    AM05 Block asset class 02 05
    AM06 Flag ast.class for delet. 02 06
    2. Program modification
      a) Program modules MA01MTOP AND MA02STOP

      :
      *------------------ Konstanten fuer Hinzufugen/Anzeigen/Aendern-------*
      DATA: BEGIN OF AKTYP,
      *
      HINZU(1) TYPE C VALUE 'H',
      AENDE(1) TYPE C VALUE 'V',
      ANZEI(1) TYPE C VALUE 'A',
      SPERR(1) TYPE C VALUE 'S', <<< insert
      LOESC(1) TYPE C VALUE 'L', <<< insert
      END OF AKTYP.
      :
      b) Program modules MA01MF00 AND MA02SF00

      Program module MA01MF00

      :
      FORM AUTHORITY_CHECK.
      * Aktivitätstyp
      DATA: L_ACTVT LIKE TACT-ACTVT.
      *
      CASE T020-AKTYP.
      WHEN AKTYP-HINZU.
      L_ACTVT = '01'.
      WHEN AKTYP-AENDE.
      L_ACTVT = '02'.
      CASE T020-FUNCL. <<< insert
      WHEN AKTYP-SPERR. <<< insert
      L_ACTVT = '05'. <<< insert
      WHEN AKTYP-LOESC. <<< insert
      L_ACTVT = '06'. <<< insert
      ENDCASE. <<< insert
      WHEN AKTYP-ANZEI.
      L_ACTVT = '03'.
      ENDCASE.
      :

      Program module MA02SF00
      :
      FORM BERECHT_ALLG_PRUEFEN.
      :
      L_ACTVT LIKE TACT-ACTVT.

      CASE T020-AKTYP.
      WHEN AKTYP-HINZU.
      L_ACTVT = '01'.
      WHEN AKTYP-AENDE.
      L_ACTVT = '02'.
      CASE T020-FUNCL. <<< insert
      WHEN AKTYP-SPERR. <<< insert
      L_ACTVT = '05'. <<< insert
      WHEN AKTYP-LOESC. <<< insert
      L_ACTVT = '06'. <<< insert
      ENDCASE. <<< insert
      WHEN AKTYP-ANZEI.
      L_ACTVT = '03'.
      ENDCASE.


      :
    3. Expanding the authorization Following this, you also have to add the respective activities (05=block / 06=delete) to the desired authorizations for the authorization objects
      a) A_M_ANLKL (Asset classes)
b) A_S_ANLKL (Asset master maint: Company code/asset class)

Key word: Authorization

No comments:

Post a Comment