Quantcast
Channel: SCN : Unanswered Discussions - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 6719

BC_MSG Timestamp conversion

$
0
0

All,

 

Am trying to read data from BC_MSG table using an abap program. The query am trying to excecute is
Select MSG_ID from BC_MSG WHERE SYSTIMESTAMP - TRAN_DELV_TIME > interval '3600' second

 

Now this SQL statement works fine and returns me the Message ID. However the issue is SYSTIMESTAMP is returned in EST which is fine, but TRAN_DELV_TIME (field in bc_msg) is returned in UTC time which is 5 hours ahead of EST. And hence the subtraction gives negative interval and hence the wrong list of msg_id.

Is there a way I can convert the TRAN_DELV_TIME in EST in the above select statement itself?

 

Thanks


Viewing all articles
Browse latest Browse all 6719

Trending Articles



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