Task:
Delete the Software component from Integration Builder.Double Click on Software Component, On Right Hand side -->Go to Software Component Version-->Delete the software component.If all the necessary Objects have been properly deleted, there will be no problem in Deleting the Software Componet version

Error:
When the Objects under the Software Component Versions are not properly deleted, you will get the following Error.
Solution:

Sequence of Steps:
- Delete the created Data Types, Message Types, Message Interfaces, Message Mappings, and Interface Mappings. If there are any errors during activation, try activating the Objects in the manner specified as specified below
- Integration Scenarios
- Actions
- Integration Processes
- Interface Mapping
- Message Mappings
- Message Interfaces
- Message Types
- Data Types
- There should be no Imported SAP Objects in the Software Component. If any delete them and activate changes.
- Delete all namespaces in the editor using (-) sign. Do not save the changes.
- Delete the two default data types that are created in the Interface Objects-->Data Types of the software component version (ExchangeFaultdata, ExchangeLogdata). Now save changes for the s/w component version and activate the changes. Ignore the warnings that pop-up. Your change list should look like the below.
- The radio button for “Interface import should be at “Not permitted” instead of “Import RFC and IDoc Interfaces from SAP Systems Permitted”.
- Now go to Software component version menu in the right hand pane. Click on delete and the software component vanishes from left hand pane


This weblog should help you in deleting the software component Version from Integration builder.