Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3273

Re: Not a valid date in accord with the XML format for ABAP

$
0
0

Hello Mike,

 

Please check as below.

 

1. Use Edm.DateTimeOffset with 0's for the Precision, Scale and Max Length and Null-able is checked.

2. In ABAP Type editor maintain as below.

 

DateTimeOfffset.png

3. Generate run-time objects and clear /IWFND/CACHE_CLEANUP & /IWBEP/CACHE_CLEANUP

4. Send Date as below in milliseconds in the JSON payload

 

{

...

"MyDate":"/Date(1467164260445)/",

...

}

 

Where

Wed Jun 29 2016 07:07:40 GMT+0530 (Asia/Kolkata)

equals

1467164260445 milliseconds

 

Regards,

Ashwin


Viewing all articles
Browse latest Browse all 3273

Trending Articles



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