Technical Articles
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..
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 Definition
Once I removed the interface definition – I could create the service binding without errors
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!!
Thanks for sharing your experience!
Thanks
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
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