Skip to Content

creating using xsodata

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Aug 01, 2013 at 11:55 AM

    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

    Add comment
    10|10000 characters needed characters exceeded