SAP Netweaver Gateway and OData. Section X. How Can an OData Service Be Removed from a Service Catalog?

It never occurred to me that it would be easier to create something than to kill it, until I was asked to DELETE an OData service from the Service Catalog (t-code /n/iwfnd/maint service).

Proceed to your Part II if you haven’t yet created your first OData Service.Start by establishing an OData service.

My initial action was to look for the Delete button. I also discovered one, as seen below. I immediately hit the Delete Service option and then the Yes button. However, a pop-up message stating “Delete ICF Node first” then appeared.

How to delete registered model and service?

Alright, it makes sense. It states that the ICF Node must be removed first.

So I followed the directions. After choosing the ICF Node, press the Delete button. After requesting a transfer, it once more displayed the error notice “Object directory entry cannot be deleted, the object is locked” when I clicked OK.

Delete ICF Node in OData

Until this point, I had not thought of posting any article on How to Delete an OData Service? But the I was confused by the message “the object is locked.” I eventually discovered that there are three steps involved in deleting a service.

Take out the System Alias.

Remove the ICF Node

Take the Service down.

First, take out the service’s system alias.

You may learn more about System Alias here if you’re unsure about how to set it up or what it means.

Remove the System Alias for the Service

Following the removal of the Alias, it would seem as follows.

Remove the System Alias for the Service2

Step 2: Remove the associated Service’s ICF Node.

Delete the ICF Node for corresponding Service

The status would become non-green, meaning that the service is initial and not operational.

Service is Initial

The last step is to delete the service.

Can't delete OData service from "/n/iwfnd/maint_service"

Hooray! We were able to remove our initial service from the Service Catalog at last.

For a thorough understanding, review every section in the SAP Netweaver Gateway and OData Service Tutorial.

It looked like this topic would be too easy to publish. We disagreed about whether this piece was suitable for our readers. However, in the end, we came to the conclusion that if someone is having trouble deleting a service and they come across our post, they will save a few valuable minutes.Thus, here we are. It is operational and could be useful to someone in this small SAP world.

you may be interested in this blog here:-

LUW(Logical Unit of Work) define?

Navigating SAP’s E070 Table in SAP: The Heartbeat of Transport Management

Streamlining Success: Automating Business Processes in Salesforce

Related Posts

SAP Netweaver Gateway and SAP OData. Section IV. OData Service Association and Navigation

As of our third tutorial in the series on SAP Netweaver Gateway and OData, our data models are built to independently retrieve item data from EKPO and header data from…

SAP Netweaver Gateway and OData. Section VI. Commonly Asked Questions

The SAP Netweaver Gateway and OData Tutorials’ five earlier sections included practical exercises along with some technical insights.Those lessons would be helpful and sufficient for ABAPers, but in order to…

Leave a Reply

Your email address will not be published. Required fields are marked *

You Missed

ABAP Programming Model for SAP Fiori – 11 – Enabling Draft Functionality for Transactional Apps

  • By Varad
  • September 17, 2024
  • 2 views
ABAP Programming Model for SAP Fiori – 11 – Enabling Draft Functionality for Transactional Apps

Just 4 Versions of the same program to understand OOPs ABAP

  • By Varad
  • September 16, 2024
  • 5 views

SAP Netweaver Gateway and OData SAP. Section I: A Brief History

  • By Varad
  • September 16, 2024
  • 3 views
SAP Netweaver Gateway and OData SAP. Section I: A Brief History

SAP Netweaver Gateway and OData. Section Two. Make your initial ODataService.

  • By Varad
  • September 14, 2024
  • 3 views

SAP Netweaver Gateway and SAP OData. Section 3. Options for Queries in OData Service URL

  • By Varad
  • September 13, 2024
  • 4 views

SAP Netweaver Gateway and SAP OData. Section IV. OData Service Association and Navigation

  • By Varad
  • September 12, 2024
  • 7 views