By setting an access level for an object, you can define the scope of objects that are allowed to access the current object. Access levels are supported for all object types in BRFplus. By default, each object is assigned the most restrictive access level (Application). Choosing one of the other access levels will therefore extend the scope of objects that are permitted to access the current object. Generally, it is advisable to always use the most restrictive access level and only extend the scope if needed. This is because with an extended scope, the risk of unwanted side effects increases.
Note
From a technical perspective, it is uncritical to extend the access level of an object. As opposed to this, restricting the access level of an object (for example, from Top Component to Application) can lead to unexpected results if the object is already used by an external application that depends on the extended access rights.
For data objects, the system prevents the restriction of an object's access level once the object has already been transported into another system. This is to ensure that references to the object that may have already been created in the subsequent systems remain valid.
The following access levels are available:
Application
Object can be accessed by all other objects that belong to the same BRFplus application.
Application Component
Object can be accessed by other objects belonging to an application assigned to the same component like the object's application.
Superordinate Component
Object can be accessed by other objects belonging to an application assigned to a component with the same superordinate component as the component assigned to the object's application. For example, an object assigned to component FI-GL can access an object assigned to FI-AA with access level Superordinate Component because both objects have the same superordinate component, FI
Top Component
Objects can be accessed by all other objects under the same top component. For example, three objects assigned to components FI-GL, FI-AR, FI-AA-AA can all access object O belonging to any of the FI-* components if O is assigned to access level Top Component because all three objects have the same top component as O, namely FI.
Global
Object can be accessed by other objects from all other applications, regardless of their assigned component.
Open the object in the Object Manager panel.
Under the General section, choose the level in the Access Level field.