0

This is a custom OData gateway service that I imported from a transport from a different system.

If I go to /n/iwfnd/maint_service and try to delete the service it says:

Service cannot be deleted, delete ICF Node first

If I try to delete the ICF Node I get:

ICF node 'ZAPMEXTERNALDATA' could not be deleted.
Reason: 'Node is not in original system'
Boghyon Hoffmann
  • 17,103
  • 12
  • 72
  • 170
Derek
  • 7,615
  • 5
  • 33
  • 58

2 Answers2

0

I assume you should do this via transport. As stated in SAP Note 2244649,

Any changes you need to make should be done through transport only. i.e. If you want to delete a service which was transported from development system, then you need to delete the service in development system and then transport that transport request so that the changes get reflected in quality system or production system.

The same rules apply to nodes.

Suncatcher
  • 10,355
  • 10
  • 52
  • 90
  • This makes me think maybe we are doing something fundamentally wrong. We have created two packages, a business suite package and a gateway package that we are planning to ship to customers. When we exported these packages and import them into another system we get the service created as well. If a customer wanted to remove our software, we would have to remove the service in our system first? – Derek Dec 15 '16 at 11:01
  • Exactly! BTW, the same rules apply to any Z object (program, table, search-help, etc.). You cannot just delete anything from QA or PROD. – Suncatcher Dec 15 '16 at 17:53
  • You said you export packages and import them to client. Does your client lacks DEV-system where the development should take place? – Suncatcher Dec 15 '16 at 17:55
  • One thing I don't understand. We are developing something in house and "shipping" it to various clients ( hopefully :) ). But I'm surprised that after we "ship" it, it can't be removed. Is there something wrong with our approach? Is there something we should be doing before shipping it, or packaging it up? Is it proper to be shipping Z objects? Our client does have DEV systems. – Derek Dec 16 '16 at 14:17
0

Here's how I got it resolved.

To delete the service:

  1. Goto TCODE: SE03

  2. Choose IWSG and IWOM with “ZAPM*” as shown below. ( the start of the name of your service ) You can see in the image below that they are "SAP Gateway: Service" and "SAP Gateway: Model M..."

enter image description here

  1. Click execute.

  2. For each of the two object directory entries change them to the current system that you are in and save. In this example, I am in RS9 and want to delete the service.

    enter image description here

    enter image description here

  3. After this you should be able to delete the service from /n/iwfnd/maint_service

Derek
  • 7,615
  • 5
  • 33
  • 58