Skip to Content
Technical Articles
Author's profile photo Narayani Krishnamoorthy

Duplicate action external name: Action_Name: error when creating a Service Binding

While creating a Service Binding after adding an action in Behaviour Definition I got an error  : Duplicate action external_name:Action_Name,

I could not understand the meaning of this error as I had not declared the action before – the error was misleading. There were no errors in the back end error log or in the eclipse..

service%20binding

Create Service Binding

 

The actual reason this error occurs is in the Service Binding when we expose both the consumption and the interface views ( that was the reason in my scenario)

 

Service%20Definition

Service Definition

 

Once I removed the interface definition – I could create the service binding without errors

Service%20Binding%20created%20without%20errors

Service Binding created without errors

 

This blog post would be helpful to a lot of people who find this error misleading and have been trying to figure out what could have gone wrong. In the Service Definition we only need to add the consumption projection views.

Please add your comments or thoughts in the comments section below.

Have a great day!!

 

Assigned tags

      4 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Mio Yasutake
      Mio Yasutake

      Thanks for sharing your experience!

      Author's profile photo Narayani Krishnamoorthy
      Narayani Krishnamoorthy
      Blog Post Author

      Thanks

      Author's profile photo Aman Garg
      Aman Garg

      Hi Narayani,

      Thanks for sharing your experience. However, this does not seem to be a real time scenario, because in actual scenarios, we never expose both interface and projection views of same entity to a service definition.

      Thanks,

      Aman Garg

      Author's profile photo Narayani Krishnamoorthy
      Narayani Krishnamoorthy
      Blog Post Author

      Hi Aman,

      Thank you,

      This a real time scenario on my current s/4 2020 on premise project a couple of months ago when I was a complete novice.

      I added projection and interface view together( and had a face palm moment ), when I realised it’s incorrect.

      this blog is starting point to anyone who has had such issues and has been unable to find answers. 

      Cheers