Quantcast
Channel: SCN: Message List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 9165

Re: DATE displayed as 00000000

$
0
0

 

Thank you both for reply.

 

First thing is that No dates has zero as Patric have stated and I can display them well in ABAP. It is the issue in Studio and hbsql at LINUX level.

 

I tried the

select bname,bcode,to_date(gltgv,'YYYYMMDD') from "SAPQ12"."USR02";

 

I get the same syntax error. It is funny that not all date field has an issue.

 

Could not execute 'select bname,bcode,to_date(gltgv,'YYYY-MM-DD') from "SAPQ12"."USR02"' in 743 ms 752 µs . [303]: invalid DATE, TIME or TIMESTAMP value: Error while parsing DATE/TIME at function to_date()

 

Try this SQL in Studio -

select bname,bcode,erdat,gltgv from "SAPQ12"."USR02";

 

The GLTGV will be displayed 00000000 and erdat will be displayed normally.

 

I checked ABAP DATA elelement and they are both same.

 

I really do not know where is the issue.

Please let me know if anybody has any idea about it.

Best Regards,

SS


Viewing all articles
Browse latest Browse all 9165

Trending Articles



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