Set default characteristic values and restrict maintenance by authorization

Overview

In the standard Change Record, classification data — the class assigned to a Change Record and its characteristic values — can be edited by anyone who has edit access to the Change Record itself. There is no way to lock down specific classes to a smaller group of authorized users, even when a class holds sensitive or regulatory data that should not be open to every Change Record editor. The Change Record also lacks the possibility to derive a value for a characteristic from the Change Record header or from other characteristic values.

eXtended Change Management (XCM) closes both gaps, built on the standard classification BAdI.

  • Restrict classification maintenance: Per Change Record type you register the classes that every user may maintain. All other classes can only be assigned, removed or changed by users who hold the XCM classification authorization. This lets you protect sensitive or compliance-relevant classes with a tighter circle of users than general Change Record edit access allows.
  • Default characteristic values: a BRF+ decision table defines which value a characteristic gets, based on another characteristic value and/or the Change Record header.
  • Restrict classes in the search: in the XCM Change Record Enterprise Search, the class value help offers only the classes a user is allowed to see.

How the restriction works

The restriction is active only when the switch XCM_CLASSIFICATION_CONTROL is active and the Change Record type uses an active XCM process version. For Change Record types that do not use XCM, the standard behaviour applies.

  • Users with authorization (authorization object /XCM/CRCL, ACTVT = 02) can assign and remove any class and change any characteristic value, as in the standard.

  • Users without this authorization can only work with the classes registered as Allowed for the Change Record type (see IMG Customization):

    • They can assign and remove only allowed classes.
    • They can change and remove values only of characteristics that belong to an allowed class.
    • If no class is allowed for the Change Record type, they cannot assign or remove any class.
  • When a user tries something that is not allowed, the change is refused with the standard message C1 178.

  • Default values from BRF+ are also applied only when the switch is active. For a user without authorization, defaults are set only for characteristics of allowed classes.

Switch off: when XCM_CLASSIFICATION_CONTROL is not active, XCM does not restrict anything and does not set default values. Every user with edit access to the Change Record can maintain all classes, as in the standard.

The class value help of the filter Characteristic Values in the XCM Change Record Enterprise Search uses the same list of allowed classes. It is controlled by its own switch, XCM_ESH_CLASSIFICATION_CONTROL, so the search can be restricted independently of the maintenance.

  • Switch active: a class is offered only when all three conditions are met:

    1. The class is registered as Allowed for a Change Record type in the IMG customizing (see IMG Customization). A class that is not registered is never offered, whatever authorizations the user has.
    2. The user has display authorization for that Change Record type (/IAM/IAUTH with /IAM/I_ACT = 03).
    3. The user has the XCM classification authorization for value helps (/XCM/CRCL with ACTVT = F4).
  • If one of these is missing, the class value help stays empty.

  • Switch not active: all classes of class type 106 are offered to every user.

More about searching by class and characteristic values: Enterprise Search for Change Record.

Switches

  • XCM_CLASSIFICATION_CONTROL – restricts the maintenance of classes and characteristic values in the Change Record and enables the BRF+ default values.
  • XCM_ESH_CLASSIFICATION_CONTROL – restricts the class value help in the XCM Change Record Enterprise Search.

Both switches belong to the project SOL_XCM and are maintained in the XCM Switch Framework. With the user list of a switch you can limit it to selected users. The switches are delivered with the BC set /XCM/PR_CUSTOMIZATIONS.

Authorizations

  • /XCM/CRCL, ACTVT = 02 – maintain all classes and characteristic values, not only the allowed ones (checked when XCM_CLASSIFICATION_CONTROL is active).
  • /XCM/CRCL, ACTVT = F4 – see classes in the class value help of the Enterprise Search (checked when XCM_ESH_CLASSIFICATION_CONTROL is active).
  • /IAM/IAUTH, /IAM/I_ACT = 03 for the Change Record type – see the classes allowed for that type in the Enterprise Search.

See Also

IMG Customization
BRF+ Customization
Enterprise Search for Change Record

Keywords

Classification, Characteristic values, Authorization control, Allowed class, Default value, Enterprise Search, XCM_CLASSIFICATION_CONTROL, XCM_ESH_CLASSIFICATION_CONTROL, /XCM/CRCL

Prerequisites

  1. Import the BC set /XCM/PR_CUSTOMIZATIONS and set the switches XCM_CLASSIFICATION_CONTROL and XCM_ESH_CLASSIFICATION_CONTROL to the state you want.
  2. Register the allowed classes per Change Record type (see IMG Customization).
  3. Assign the authorization object /XCM/CRCL with the needed activities to the roles of the users who may maintain all classes or search by class.
  4. For default values, generate and maintain the BRF+ decision table (see BRF+ Customization).