CLASclass· BC-SRV-ASF-CAL
CL_SCAL_API in SAP Cloud ERP: what replaces it?
Custom code that reads or writes CL_SCAL_API (CLAS) has to move to a released successor before it runs on SAP Cloud ERP or in ABAP Cloud. SAP names 3 successors: CL_FHC_CALENDAR_RUNTIME, I_FACTORYCALENDARBASIC, I_PUBLICHOLIDAYCALENDARBASIC.
- Last verified:
- Data source
- Knowledge snapshot #3 · 33e0865dc811
Use instead of CL_SCAL_API
- CL_FHC_CALENDAR_RUNTIMECLASReleased
- I_FACTORYCALENDARBASICCDS_STOBReleased
- I_PUBLICHOLIDAYCALENDARBASICCDS_STOBReleased
SAP successor classification: multipleObjects
Migration steps
- List every place your custom code reads or writes CL_SCAL_API; the ABAP Test Cockpit cloud-readiness checks report these usages.
- Replace each access with one of CL_FHC_CALENDAR_RUNTIME, I_FACTORYCALENDARBASIC, I_PUBLICHOLIDAYCALENDARBASIC; pick the successor whose fields match the usage.
- All 3 successors are marked “Released” in the official release data, so the new code can use them in ABAP Cloud.
- Re-run the cloud-readiness check on the changed code against your target release.
Release state of CL_SCAL_API 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 Cloud ERP Private — latest release · released since SAP S/4HANA 2022 · deprecated since SAP S/4HANA 2023 FPS00
- SAP Cloud ERP:Deprecatedas of SAP Cloud ERP — current release · deprecated since SAP Cloud ERP — current release
Objects with the same successor
These objects have the same official successor, so their usages can be migrated in the same change.
Release history and evidence
12 release states from 12 official sources, last verified October 12, 2026.
Full release history and evidenceTerms used on this page
ERP Preflight is independent and not affiliated with SAP SE. SAP, ABAP, Fiori and S/4HANA are trademarks of SAP SE.