on 12-08-2017 2:02 PM
Hi Experts,
I am trying to access OData services which is on local sandbox system in sapui5 application in WEBIDE and I am able to READ data and display in ui5 app but not
able to create POST request, getting "500 Internal Server".
Here I am not using destinations in hana cockpit.
Please guide me.
Can we post the data to local service which is on local server?
Thanks.
Hello Venkatesh. Could you changed the HTTP destination authentication method to the NoAuthentication and changed the .xsaccess to eliminate authentication and test again? thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As you are getting the 500 error, something is wrong on the server side only. As you are able to read and display and bot able to create, I think the create functionality for your entityset is not being maintained in your back end. If you are only handling the back end, could you redefine the create_entity method in the DPC_EXT class of your required entity set. In that method, write the code to create an record in the table with the front end data.
Hope this helps,
Regards,
Arjun Biswas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.