Get Repository Statistics
sap_get_statisticsRetrieve overall statistics on SAP objects by Clean Core Level, type, and state to assess API scope and plan ABAP Cloud migrations.
Instructions
Get overall statistics about the SAP Cloudification Repository: total object counts by Clean Core Level, by object type, by state, and top application components. Useful for understanding the scope of available APIs and planning ABAP Cloud migration efforts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| version | No | S/4HANA version for Private Cloud or On-Premise systems. Use 'latest' for the most recent version. Format: YEAR for base release, or YEAR_FPS where FPS is the Feature Pack Stack / SP number. IMPORTANT: '2022_1' = FPS01/SP01, '2023_3' = FPS03/SP03, etc. Always use the YEAR_N format when a specific SP/FPS is requested. Use sap_list_versions to see all currently available versions. Ignored for public_cloud and btp systems. Default: latest. | latest |
| system_type | No | SAP system type. 'public_cloud' = S/4HANA Cloud Public Edition (Level A Released APIs only). 'btp' = BTP ABAP Environment / Steampunk (Level A Released APIs only, separate dataset from public_cloud). 'private_cloud' = S/4HANA Cloud Private Edition (Levels A-D, version-specific files available). 'on_premise' = S/4HANA on-premise (Levels A-D, version-specific files available). Default: public_cloud. | public_cloud |
| clean_core_level | No | Maximum Clean Core Level to include in results (cumulative). Replaces the 3-tier extensibility model since August 2025. Level A: Released APIs only (ABAP Cloud, fully upgrade-safe). Level B: + Classic APIs (upgrade-stable, governance recommended). Level C: + Internal/unclassified objects (manageable risk, consult changelog). Level D: + noAPI objects (not Clean Core, should be remediated). For public_cloud and btp systems, only Level A is available. Default: A. | A |