SAP Knowledge Base Article - Public

3399818 - Attempt to edit a Custom Logic in development system using ABAP Environment throws error "Object could not be locked" - SAP S/4HANA Cloud

Symptom

User is trying to edit a custom logic in ABAP environment(development system) and getting error message "Object could not be locked. Reason: You are not authorized to make changes (authorization object S_ABPLNGVS)".

Environment

SAP S/4HANA Cloud

Reproducing the Issue

  1. Accessing ABAP Environment in the development system.
  2. Searching by custom logic YY1_ABC.
  3. Open the editor for YY1_ABC.
  4. Trying to edit the object
  5. Getting error message: "Object could not be locked. Reason: You are not authorized to make changes (authorization object S_ABPLNGVS)".

Cause

Custom logics created with Custom Logic app in the context of key user extensibility can only be accessed in display mode in the ABAP Environment in development system.

The ABAP Language Version of this object is "ABAP for Key Users" only. This can be checked in the "Properties > General" of this object in ABAP Environment.

Resolution

Custom logics created with Custom Logic app in the context of key user extensibility can only be edited with the Custom Logic app in customizing tenant.

See Also

SAP Help - Key User Extensibility

SAP Help - Custom Logic

SAP Help - Statements in ABAP for Key Users

SAP Help - Glossary for Extensibility

Keywords

custom logic, ADT, aban environment, development tenant, Object could not be locked. Reason: You are not authorized to make changes (authorization object S_ABPLNGVS), 3SL, 3-System landscape, S/4HANA Cloud, public cloud , KBA , BC-SRV-APS-EXT-BL , Custom Business Logic , Problem

Product

SAP S/4HANA Cloud Public Edition all versions