Hi!
What are the advantages of using the Netweaver Gateway Service over BSP Services?
I think that BSP services are better than services of the Netweaver Gateway Services.
If I create my own BSP service, I can return JSON-Code from it. The advantages, if I use a BSP service is that I can return whatever I want. I for example can return multiple tables, one table and a parameter, many different structures, tables inside of tables and whatever I want. I don´t need to create domains for everything, what I return.
If I create services with the Netweaver Gateway Service, I for example cannot return tables inside of tables. And if I want to return a table and an additional parameter, I have to make two connections to the service. Not every SAP-Environment does have the Netweaver Gateway Service installed, but I think in every SAP-Environment, I can use BSP services. And usually for every app you create your own Netweaver Gateway Service Project. So if you filled the functions in the class which is created by the Netweaver Gateway Service, and you program the next app which uses similar data and at some points the same data, you have to copy the specific class-functions to the Gateway Service Project of the new app. If you use BSP Services, you can just access this path from your new app. For me, it feels like the Netweaver Gateway Service is just a big tool with no additional functionality.
So why does SAP recommend to use the Netweaver Gateway Service??
Greetings, Martin