cancel
Showing results for 
Search instead for 
Did you mean: 

creating using xsodata

shahid
Product and Topic Expert
Product and Topic Expert
0 Kudos

In SP6, we can insert the data into the table using .XSODATA.

I am able to insert the data from POSTMAN following Tutorials shared by Thomas.

If I use the URL in chrome, then it also successfully retrieves the data.

ex: Http://...../amohas97/session/services/InsertOrderId.xsodata/InsertOrderIde('1000000001')

Questions is.. How to insert the data using URL in chrome?

I mean what should be the URL for XSODATA to create a record in the table.

I want to call this URL in SAP UI5 application, so that i can create a record in the table using xsodata.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Shahid,

The POST method is used for writing back to HANA using .xsodata. The string should be in the HTTP body of the POST method. So in addition to the URL you have the data separately

In SAPUI5, you can make use of available jquery.post() API for this purpose.

--Shreepad

Answers (0)