SAP Knowledge Base Article - Public

3633412 - Error: No Authorization to Create Package with Prefix 'TEST' or '$' in ABAP Development Tools (ADT)

Symptom

  • When attempting to create an ABAP package in ABAP Development Tools (ADT), the following error is encountered:
    "No authorization to create package with prefix 'TEST' or '$'", even though the package name follows the naming convention (e.g., starts with ZTESTXX).
  • The Business user is connected to the development tenant, and the required role BR_DEVELOPER is already assigned. despite this, the authorization error persists.

Environment

SAP S/4HANA Cloud Public Edition

Cause

The error occurs because the ABAP Cloud Project is not properly connected in ABAP Development Tools (ADT). Development must be performed within the structure packages provided for each tenant type, such as ZLOCAL, ZCUSTOM_DEVELOPMENT, or ZPARTNER. 

Resolution

Create a ABAP Cloud Project as per Connect to the ABAP System | SAP Help Portal

The development system is provided with the following software components and corresponding structure sub packages that have the same name:

  • ZLOCAL
  • ZCUSTOM_DEVELOPMENT
  • ZPARTNER

The relevant sub package depends on the type of tenant being used:

  • Standard Development Tenant
    • Tenants: DEV/080 (Development), DEV/100 (Customizing)
    • Sub package: ZCUSTOM_DEVELOPMENT
  • Partner Demo Tenant (Multi-Off Delivery | SAP Help Portal context)
    • Tenants: Partner Demo Development Tenant (DEV/080) Partner Demo Customizing Tenant (DEV/100) 
    • Sub package: ZPARTNER
  • Partner Add-On Tenant (Scalable Delivery | SAP Help Portal context)
    • Tenant : Partner Add-On Development Tenant (DEV/080), Partner Add-On Customizing Tenant (DEV/100) 
    • Sub package: In Scalable Delivery, First need to create a software component in partner namespace (General Rules | SAP Help Portal),then use own partner namespace 

To resolve the authorization error related to package prefixes like 'TEST' or '$', select the appropriate sub package when creating an ABAP package in ABAP Development Tools (ADT).

See Also

For more information refer to: Software Components and Packages | SAP Help Portal

Keywords

authorization, ABAP package, prefix TEST, SAP S/4HANA Cloud Public Edition, ZLOCAL, ZCUSTOM_DEVELOPMENT, development tenant, scalable delivery, partner namespace, software component, sub packages, No Authorization to Create Package with Prefix 'TEST' or '$' , ADT, ABAP development Tool, Subpackage, ZPARTNER, ABAP Cloud Project, ABAP Package, BC-DWB-AIE, No Authorization , KBA , BC-DWB-AIE , Installation and infrastructure for ABAP tools in Eclipse , BC-SRV-APS-EXT-SL , Manage and Import Software Collections , Problem

Product

SAP S/4HANA Cloud Public Edition all versions