cancel
Showing results for 
Search instead for 
Did you mean: 

How to subtract time from Concatenated field

0 Kudos

Hi all,

I am loading a data from ECC to Oracle using SAP DS,

I concatenated two fields ( date & time ) in one field at target,

ex: A||B = C

from that concatenated field I am trying to subtract 15 hours from time ex: C - 15/24,

but in output I am getting NULL for column C.

If anybody guide me how to overcome this problem.

Thanks & Regards,

Vinodh

Accepted Solutions (1)

Accepted Solutions (1)

venkataramana_paidi
Contributor
0 Kudos

Hi Vinodh,

After concatenation did you convert into datetime or not?   If it is date item , it should work.

Please give me your sample date & time field values.

Thanks & Regards,

Ramana.

0 Kudos

Hi Venkata Ramana,

By using your hint I finished the job, Thank you very much.

to_date(to_char( AAAA(field_name),'YYYY.MM.DD HH:MI:SS'),'YYYY.MM.DD HH:MI:SS') - 15/24

Thanks & Regards,

Vinodh

Answers (0)