Quantcast
Channel: SCN : All Content - SAP LT Replication Server
Viewing all articles
Browse latest Browse all 477

SAP to Oracle date conversion

$
0
0


hi,

 

In our SLT system we are replictaing adat from SAP ECC and sending  it to Oracle DB. We have requirment to add time stamp field to our table and send to oracle as an oracle data type format.

 

So we need oracle to store YYYYMMDDHH:MM:SS in oracle format, we have been trying to code via FM in

 

call function 'Z_TIMESTAMP' importing timestamp = e_zztimstp.

 

Code of FM Z_TIMESTAMP-

 

 

 

DATA: tz    TYPE ttzz-tzone,

        timestamp2 TYPE timestamp,

        date TYPE dats,

        time TYPE tims.



  tz = 'GMTUK'.

  GET TIME STAMP FIELD timestamp.

 

 

in mapping value tab have maintainerd below code..

 

"ZZTIMSTP" TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP

 

can anyone advice if you have implemented this..

 

thanks

 

Nilesh


Viewing all articles
Browse latest Browse all 477

Latest Images

Trending Articles



Latest Images

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