cancel
Showing results for 
Search instead for 
Did you mean: 

Connecting SAP Web IDE to on-premise

georg_peters2
Explorer
0 Kudos

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

Accepted Solutions (0)

Answers (3)

Answers (3)

georg_peters2
Explorer

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:

georg_peters2
Explorer
0 Kudos

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?

BJarkowski
Active Contributor
0 Kudos

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:

https://help.sap.com/doc/f86dc2eb1f8b48c880a7607213104b27/1708%20500/en-US/0c32805495198f4ce10000000...

BJarkowski
Active Contributor
0 Kudos

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