Quantcast
Channel: SCN : Unanswered Discussions - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 5115

Unable to process Date field using XSJS

$
0
0

Hi ,

I am trying to write into SAP HANA tables using a stored procedure in OData.

Here i have create a simple SAP UI5 UI where users are entering a Date value.

snap 1.PNG

Now when my date value is being captured in a variable in the javascript , i am able to see right value in debug mode.

But when it is trying to insert the same, i am getting error.

below screenshots are showing values in the variable. The value of date entered is Sep 16,2008.

Snap 2.PNG

When it is writing it in tables , i m getting the above error.

 

snap 3.PNG

i m getting the error message as

 

The following problem occurred: HTTP request failed400,Bad Request,{ "error": { "code": "", "message": { "lang": "en-US", "value": "Syntax error at position 0."}}} -

 

Can you please help me out


Viewing all articles
Browse latest Browse all 5115

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>