Find out how to create API snapshots using the Manage API Snapshots app.
To be able to run compatibility checks for your released objects using the ATC checkAPI_COMPATIBILITY
, you need to create API snapshots of your application components beforehand. This app allows you to generate and manage your API snapshots.
The Manage API Snapshots app is part of the business process that helps you to ensure the stability of your released APIs. This overview contains all steps that need to be considered when developing, releasing and reworking APIs for use by others:
Business Process Description of Compatibility Checks for Released APIs
-
Open the Manage API Snapshots app.
-
Click Create. Choose a Name for your snapshot and select the snapshot component from the value help.
-
Click Create again to create your API snapshot, or select Create and Generate to generate a snapshot. The generation process will be shown on the UI. Once the snapshot generation has finished, the action status will change to Completed. You can view the snapshot details by selecting the snapshot.
If you release your object and a snapshot doesn't exist already, it's automatically created. This default snapshot appears in your list of snapshots as SAP Default. An SAP default snapshot has limited use: you can't regenerate or delete this snapshot, but you can regenerate single APIs of the SAP default snapshot in the APIs tab, however. You can set the check relevance of the snapshot as usual. Mind that if at the time of its creation, the SAP default snapshot is the only available snapshot in the respective software component, or if no other snapshot of the respective software component is set to check-relevant, it'll be set to check-relevant automatically.
-
In the Snapshot API Details, you can choose to maintain your snapshot in the following way:
-
Change the name of your snapshot by clicking Edit in the top right corner of your screen in the General Information tab.
-
Regenerate the extracted APIs of your snapshot in the Extracted APIs tab. To regenerate your APIs, select the ones in question and click Regenerate. Remember that the regeneration of APIs is irreversible.
-
Create a note for other people to view by selecting the Notes tab and posting a note.
-
View the change history of your snapshot by selecting the Change History tab.
-
View your error logs in the Generation Log tab.
-
Regenerate your API snapshot by selecting Regenerate in the top right corner of your screen.
-
Set your API snapshot to check or uncheck the relevance by selecting Set Check Relevance.
Only one snapshot per software component can be set as check-relevant.
-
Delete your snapshot by selecting Delete.
You've now created a snapshot that you can use for your compatibility check.
-