You want to delete a software component in order to:
-
get rid of software components that are no longer used.
-
get rid of software components that have been created by mistake (such as a typo in the software component name).
For every delete activity, the executing business user is documented in a log.
To delete a software component, perform the following steps:
-
In the Manage Software Components app, pick the software component that you want to delete out of the list.
-
Click onto the software component to be redirected to its detail page.
-
Choose the Delete button in the upper right corner.
-
You will be prompted to confirm the action and are able to choose if you want to delete only the local repository or the local repository in combination with the remote repository.
|
Empty Software Component |
Used Software Component |
|---|---|
|
The software component contains no object locally in the service instance and no changes are committed to the remote repository. The remote repository, the associated structure package of the software component, and the software component itself are deleted. The deletion of the ABAP structure package and software component is executed without creating a transport request. |
The software component contains objects locally and possible changes are committed to the remote repository. The remote repository is then deleted and the software component is locked. Since the software component is locked, no object changes can be released (pushed to remote) anymore. |
|
|
Local Deletion |
Local and Remote Deletion |
Safe Deletion |
|
Use Case |
Only the local representation of the software component is deleted. Local means all ABAP objects including the parent structure package. |
When deleting local and remote representations, local means only the current system instance is deleted. The software component will be remotely deleted. As a consequence, no actions can be performed anymore. Please make sure to first delete the software component locally on all system instances where it's cloned. The component can't be deleted from the other systems after it's remotely erased. This action can't be undone. |
The Safe Remote Deletion feature ensures that:
|
|
Consequences |
You can re-clone the software component again.
|
This step should be performed as a last step once all local deletions on other system instances have been performed.
|
This utility prevents the remote deletion of a software component if it is still cloned on any local system. |
|
|
Local Deletion |
Remote Deletion |
|
Use Case |
Only the local representation of the software component is deleted. Local means all ABAP objects including the parent structure package. |
You can delete the software component remotely if you select Unregister. This option appears only for components that are not cloned. The linked Git repository will be unregistered from the Manage Software Components app. You cannot use the linked Git repository with the software component again, nor can you link it with new software components. This action is irreversible.
|
|
Consequences |
You can re-clone the software component again. |
The remote Git repository cannot be used again or linked with a new software component. |
-
No further Git actions, including pull, switch branch and others, are possible.
-
Changes to ABAP objects of the deleted software component can no longer be released.
-
Non-released requests, in which object changes have already been recorded before the software component was deleted, must be handled specially.
For example, you can delete the recorded object changes from the transport request. Alternatively, the transport layer of the transport request can be deleted.
The selected software component is deleted centrally if the checkbox remote deletion for SAP-managed or the unregister option for customer-managed components was selected. Otherwise it is only a local deletion, affecting the current system instance.
Here, centrally means the repository visible throughout the global account is deleted.
You can no longer pull or clone the software component to a service instance.
If this software component has already been cloned to a service instance, objects are not deleted in the ABAP instances but the status of the software component and all belonging objects are changed to read-only. You're not able to make any changes to the dedicated structure package and the development package that is contained in there. If you want to delete the objects, you must delete them and import the deletion into other systems, before you delete the software component.
Currently, you can't restore software components that have been deleted. Use new software component names instead of reusing previously deleted software components or software component names.
The Safe Remote Deletion feature in the Manage Software Components app is designed to ensure system integrity by preventing the accidental deletion of active repositories or branches. This feature protects against the creation of ghost software components (SC): local clones that become disconnected from their remote repositories and lose pull and push capabilities.
Currently, this feature is available only for SAP managed software components.
Repository Deletion Scenario
-
Create a new software component in the Manage Software Components Fiori app.
- Navigate to Manage Software Components in your Fiori launchpad.
- Click on the Create button.
- Fill out all the necessary information.
-
Clone the software component into two different systems.
- Click on Clone for the newly created software component.
- Fill out the required information, such as the branch to be checked out, the repository role and rollback mechanism.
- Clone the software component on another system instance in the same global account as well.
-
Attempt to delete the remote software component from one system.
- Click on the Delete button.
- Select the checkbox: Delete remote repository.
- Enter the name of the software component.
- Select the checkbox: "I understand the consequences".
- In the end click on Delete.
The deletion will be triggered asynchronously in the background. Search for the software component and open it. Under the tab History, you will now be able to see the running deletion process as shown in the picture below.

After a few minutes, refresh the table and you will see Error as the status. To see more details, click onto the action, where you will be able to navigate to the Execution Log for more detailed error messages.
Expected Result:
The deletion fails because the software component is still cloned in another system.