Skip to Content
0
Sep 03 at 02:11 PM

HANA Cloud XSOData Fails on Update

323 Views Last edit Sep 22 at 01:07 AM 2 rev

I built a xsodata service in BTP Cloud Foundry using the node package (@sap/xsjs) for retrocompatibility and my xsodata GET, POST and DELETE is working fine, but the PUT method is giving me the following error:

Checking the LOG section of my application (xsodata node service) in BTP, I noticed this error:

"msg":"[24][0] SQL Exec::Error: \nError: feature not supported: UPDATE FROM statement isn't supported"

Searching a bit about this error, I noticed tat the "UPDATE FROM" features doesn't work in HANA Cloud anymore. Is it possible that the node package from SAP (@sap/xsjs) is implemented with this error for the PUT method, or am I missing something?

In case of any doubt, here's my code: https://github.com/AlexandreFossati/mta-xsodata

Attachments

screenshot-1.png (4.1 kB)