on 12-05-2017 4:13 PM
Hello experts,
I just managed to connect the SAP Web IDE to an on-premise S/4HANA system using the Cloud Connector.
Then I created a new project from template in the Web IDE that uses the OData Service as shown below:
When I run the application I get an error telling me that an exception occurred:
When I test the odata uri with metadata it looks fine:
/sap/opu/odata/sap/PP_MRP_COCKPIT_SRV$metadata
the error occurrs when I try to bind the data in my view.xml or when I try to perfom an action on the data like for example:
/sap/opu/odata/sap/PP_MRP_COCKPIT_SRV$count
here's also a view to the
Please give advice how to solve this problem.
regards,
Georg
Problem is solved.
I had to specifiy the sap-client since there are more than one client on the same server. If one thinks about it, it seems obvious but the error message was quite misleading...
here is the point where you specify the sap-client on the SAP Cloud Platform:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bartosz,
thanks for your quick reply.Testing with /sap/opu/odata/sap/PP_MRP_COCKPIT_SRV/Suppliers/$count
shows another error (no service for namespace '', Name 'OPU', Version '0001' found)
and for the other error about the maintenance of area of responsibility, I just don't know what and how and where to fix it... any idea?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Could you please go to your Gateway system, open tcode /iwfnd/maint_service, click on the PP_MRP_COCKPIT_SRV and post a screenshot?
Regarding the area of responsibility, sorry but I have no clue. I would ask someone with a functional knowledge... But you can also try to google:
I think your WebIDE connection is working fine.
The problem is with OData service - in the rwaik.png file you can see the error saying "Maintain area of responsibility". I'm not an expert in any functional problems, but I'm pretty sure that when you solve this problem the error will disappear 🙂
You can test also on a different entity:
/sap/opu/odata/sap/PP_MRP_COCKPIT_SRV/Suppliers/$count
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.