FUNCbapi· MM-PUR-OA
BAPI_SAG_GETDETAIL in SAP Cloud ERP: what replaces it?
Custom code that reads or writes BAPI_SAG_GETDETAIL (FUNC) has to move to a released successor before it runs on SAP Cloud ERP or in ABAP Cloud. SAP names one successor: I_SCHEDGAGRMTHDRTP_2.
- Last verified:
- Data source
- Knowledge snapshot #3 · 33e0865dc811
Use instead of BAPI_SAG_GETDETAIL
- I_SCHEDGAGRMTHDRTP_2BDEFReleased
SAP successor classification: oneObject
Migration steps
- List every place your custom code reads or writes BAPI_SAG_GETDETAIL; the ABAP Test Cockpit cloud-readiness checks report these usages.
- Replace each access with I_SCHEDGAGRMTHDRTP_2 (BDEF).
- The successor is marked “Released” in the official release data, so the new code can use it in ABAP Cloud.
- Re-run the cloud-readiness check on the changed code against your target release.
Release state of BAPI_SAG_GETDETAIL per edition
- SAP Cloud ERP Private:Not releasedas of SAP S/4HANA 2023 FPS03
- SAP Cloud ERP:Not releasedas of 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
8 release states from 9 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.