Ansicht
Dokumentation

R_ACMTOOL_DELETE_INACTIVE_V - CDS Access Control: Cleanup Inactive Version

R_ACMTOOL_DELETE_INACTIVE_V - CDS Access Control: Cleanup Inactive Version

Fill RESBD Structure from EBP Component Structure   General Material Data  
This documentation is copyright by SAP AG.
SAP E-Book

Purpose

Use this report to cleanup inconsistent inactive versions and inconsistent entries in table TADIR of access control documents.

Integration

The report operates on the inactive version of access control documents and its corresponding workbench artifacts in table DWINACTIV. Furthermore it checks the existence of a valid entry in table TADIR for an active/inactive CDS access control document.

Prerequisites

To execute any operation on inactive versions or TADIR entry the following authorization is required:

Authorization Object: S_DEVELOP

Authorization Field:

DEVCLASS -
OBJTYPE - 'DCLS'
OBJNAME -
ACTVT - '02'

Features

Selection

The report provides standard select options to select access control document(s).

You can define single value, multi values, ranges, use wildcards (*), etc. to define the selection criteria for access control documents.

Standard Variants

Output

This result list shows:

  • the name of the access control document having an inactive version or workbench artifact or a missing TADIR entry
  • the package of the access control document (column PACKAGE)
  • the author of the access control document (column CREATED BY)
  • an indicator that an inactive version exists (column INACTIVE)
  • an indicator that workbench artifacts for the inactive object exists (column DWINACTIV)
  • an indicator that an active version exists (column ACTIVE)
  • an indicator that the active version is not equal to the inactive version (column UNEQUAL)
  • an indicator that a TADIR entry is missing or TADIR entry has delete flag set (column TADIR)

Inactive access control documents with different active version or without an active version are marked yellow.

Inconsistencies between inactive version (INACTIVE) and workbench artifact (DWINACTIV) are marked red in the corresponding column.

Inconsistencies between access control document and entry in table TADIR are marked red in the column TADIR and Package if package is not available.

Activities

On the result list you can press button F4 to cleanup inconsistent TADIR settings for the access control documents having set no indicator in column TADIR. The report tries to remove the delete flag (DELFLAG) from the existing TADIR entry. If no TADIR entry exists at all (indicated by an empty PACKAGE column) the report is not able to create a TADIR entry from scratch but shows an error message "Specify package for ..." as no package information is present. Those issues cannot be repaired.

Press button F5 to cleanup (delete) the inactive versions and its workbench artifacts (DWINACTIV) from the result list. You should pay attention to those inactive documents that have no corresponding active version (column ACTIVE) or the active version is not equal to the inactive version (column UNEQUAL). That means a developer has changed or created an access control document but has not activated the change yet. When you delete the inactive version, the change is lost. Copy the inactive source text into a text file if you are in doubt. These access control documents are marked yellow in the list.

Deletion is logged in SACMLOG.

Example






Addresses (Business Address Services)   PERFORM Short Reference  
This documentation is copyright by SAP AG.

Length: 3850 Date: 20240601 Time: 060011     sap01-206 ( 60 ms )