Skip to Content

Symptom

  • No authorization check in T-Code: S_ALR_87009145
  • End user can change base value percentage for all assets

Cause

In report S_ALR_87009145, SAP does not implement any authorization check since the report was created to take over values in good performance. In IMG customizing the standard view frameworks performs necessary authorization checks if a user is allowed to perform customizing. If this is allowed, the user is allowed to change base value percentage for all assets.

Resolution

SAP does not provide authorization check in report S_ALR_87009145 within standard system. Nevertheless, You could enter an authorization check in creating a new PAI module in the screen 400 of the report SAPLANBW. This module should contain a form that calls the desired authorization object and raises error message AA048 when it fails. Note: coding below is a modification to standard program. You can refer to KBA 1839926 for more information.

**************

AUTHORITY-CHECK   OBJECT   ‘A_S_ANLKL’
                      ID       ‘ANLKL’             FIELD ANLA-ANLKL
                      ID       ‘BUKRS’             FIELD ANLA-BUKRS
                      ID       ‘ACTVT’             FIELD L_ACTVT.

IF SY-SUBRC NE 0.
      MESSAGE ID ‘AA’ TYPE ‘E’ NUMBER ‘048’
                    WITH TEXT-123 ANLA-BUKRS
                              TEXT-124 ANLA-ANLKL.
ENDIF.

******************

To report this post you need to login first.

Be the first to leave a comment

You must be Logged on to comment or reply to a post.

Leave a Reply