OData and SAP Netweaver Gateway. Part X. How to Delete OData Service from Service Catalog?


I always thought, creating something is always difficult than destroying, until I had a requirement to DELETE an OData Service from the Service Catalog (t-code /n/iwfnd/maint_service). 🙂

If you have not yet created your first OData Service, then stop here and jump to your Part II. Create your first OData Service.

The first thing, I did was to search for the Delete button. And I found one, as shown below. Without a second thought, I clicked Delete Service button followed by a Yes. But then I received a pop up saying “Delete ICF Node first”.

How to delete registered model and service?

Fair enough. It says ICF Node should be deleted first.

So, I did as instructed. Selected the ICF Node and hit the Delete button. It asked for a transport and then when I clicked OK, it again gave me an error message “Object directory entry cannot be deleted, the object is locked”. 🙁

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 message, “the object is locked” puzzled me. After some hit and try, I figured out that there are 3 Steps to Delete a Service.

  1. Remove System Alias.
  2. Delete ICF Node
  3. Delete the Service.

Step 1: Remove the System Alias for the Service.

If you are not sure how to configure System Alias or what does System Alias mean, then read more about System Alias here.

Remove the System Alias for the Service

After you remove the Alias, it would look like below.

Remove the System Alias for the Service2

Step 2: Delete the ICF Node for the corresponding Service

Delete the ICF Node for corresponding Service

The Status would change to non-green i.e. Service is Initial (not active).

Service is Initial

Step 3: Finally Delete the Service.

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

Hurrah!! Finally, we were able to delete our first Service from the Service Catalog. 🙂

Check all our parts in SAP Netweaver Gateway and OData Service Tutorial for in-depth understanding.

This topic seemed to be too simple to publish. We debated if this article is good enough for our readers. But, at the end we decided, someone’s couple of precious minutes would be saved if they are struggling to delete a service and they stumble upon our post. So, here we are. It is live and it might come handy to someone somewhere in this small SAP World.

So…What Do You Think?

Now we want to hear from you.

What do you think of this tip? Is it too simple to share?

Either way, please leave a quick comment below right now to let us know. 🙂

Step by Step Tutorials on SAP Netweaver Gateway and OData

Also, Check Step by Step Tutorials on SAPUI5

We have a very active Telegram SAP Technical Group. Please join it using below link.
Telegram SAP Technical Discuss Group.

WhatsApp had the limitation of 256 members per group and we were finding a hard time syncing and maintaining information in multiple WhatsApp group. Therefore we have moved to Telegram as it can accommodate more than 10,000 users. Please join.



  1. I like each and every post of yours . Its a great help to all the learners and ppl taking baby steps into any of the SAP modules.Thank You!

    • Dear Sudha – Thank you very much for taking some time off and providing your feedback. We are glad, our posts are helpful.

      Please keep visiting and share our links. 🙂

      Team SAPYard.


Please enter your comment!
Please enter your name here