Skip to content
ERP Preflight

CLASclass· BC-ABA-LA

CL_ABAP_WEAK_REFERENCE: Clean Core status and successor

CL_ABAP_WEAK_REFERENCE is an SAP class (object type CLAS) in application component BC-ABA-LA. In SAP BTP ABAP environment SAP BTP ABAP environment — current release its official release state is “Not released”. SAP names one successor: CL_ABAP_WEAK_OBJECT_REFERENCE.

Last verified:
Data source
Knowledge snapshot #3 · 33e0865dc811
Cite:r/SAPINXHN

Answer

Not released — use the official successor

SAP lists the objects below as the replacement to use instead.

Release: SAP BTP ABAP environment — current release

What this page answers: Whether CL_ABAP_WEAK_REFERENCE may be used in ABAP Cloud / clean core development, in which releases, and what to use instead.

Successors

What to do

Replace reads and writes of CL_ABAP_WEAK_REFERENCE with the successor. Where several successors are listed, pick the one whose fields match your usage, and check that it is released in your target release.

What ERP Preflight reports when custom code uses CL_ABAP_WEAK_REFERENCE

Clean Core Object Guard classifies every reference in uploaded ABAP code. For a CLAS in this state it reports:

Release state per release

Release state per release
EditionReleaseStateSuccessor
SAP BTP ABAP environmentSAP BTP ABAP environment — current releaseNot released
SAP Cloud ERPSAP Cloud ERP — current releaseNot released

Classic API classification (SAP Cloud ERP Private):Classic API· B

Lifecycle per edition

  • SAP BTP ABAP environment

    Current state: Not released (SAP BTP ABAP environment — current release)

    First released in: never released

    Deprecated since: not deprecated

  • SAP Cloud ERP

    Current state: Not released (SAP Cloud ERP — current release)

    First released in: never released

    Deprecated since: not deprecated

+1 more related objects

Evidence and provenance

Only global, reviewed knowledge is shown. Customer data from workspaces is never used by the free tools.

ERP Preflight is independent and not affiliated with SAP SE. SAP, ABAP, Fiori and S/4HANA are trademarks of SAP SE.