Skip to content
ERP Preflight

CLASclass· BC-CP-ABA-SC

CL_A4C_BC_FACTORY in SAP Cloud ERP: what replaces it?

Custom code that reads or writes CL_A4C_BC_FACTORY (CLAS) has to move to a released successor before it runs on SAP Cloud ERP or in ABAP Cloud. SAP names 2 successors: CL_BCFG_CD_REUSE_API_FACTORY, XCO_CP_CTS.

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

Use instead of CL_A4C_BC_FACTORY

SAP successor classification: multipleObjects

Migration steps

  1. List every place your custom code reads or writes CL_A4C_BC_FACTORY; the ABAP Test Cockpit cloud-readiness checks report these usages.
  2. Replace each access with one of CL_BCFG_CD_REUSE_API_FACTORY, XCO_CP_CTS; pick the successor whose fields match the usage.
  3. All 2 successors are marked “Released” in the official release data, so the new code can use them in ABAP Cloud.
  4. Re-run the cloud-readiness check on the changed code against your target release.

Release state of CL_A4C_BC_FACTORY per edition

  • SAP BTP ABAP environment:Deprecatedas of SAP BTP ABAP environment — current release · deprecated since SAP BTP ABAP environment — current release
  • SAP Cloud ERP Private:Deprecatedas of SAP S/4HANA 2022 FPS02 · deprecated since SAP S/4HANA 2022
  • SAP Cloud ERP:Deprecatedas of SAP Cloud ERP — current release · deprecated since SAP Cloud ERP — current release

Release history and evidence

5 release states from 5 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.