Skip to content
ERP Preflight

CLASclass· BC-ABA-LA

CL_ABAP_WEAK_REFERENCE in SAP Cloud ERP: what replaces it?

Custom code that reads or writes CL_ABAP_WEAK_REFERENCE (CLAS) has to move to a released successor before it runs on SAP Cloud ERP or in ABAP Cloud. SAP names one successor: CL_ABAP_WEAK_OBJECT_REFERENCE.

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

Use instead of CL_ABAP_WEAK_REFERENCE

SAP successor classification: oneObject

Migration steps

  1. List every place your custom code reads or writes CL_ABAP_WEAK_REFERENCE; the ABAP Test Cockpit cloud-readiness checks report these usages.
  2. Replace each access with CL_ABAP_WEAK_OBJECT_REFERENCE (CLAS).
  3. The successor is marked “Released” in the official release data, so the new code can use it in ABAP Cloud.
  4. Re-run the cloud-readiness check on the changed code against your target release.

Release state of CL_ABAP_WEAK_REFERENCE per edition

  • SAP BTP ABAP environment:Not releasedas of SAP BTP ABAP environment — current release
  • SAP Cloud ERP:Not releasedas of SAP Cloud ERP — current release

Release history and evidence

2 release states from 3 official sources, last verified October 12, 2026.

Full release history and evidence

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