Skip to Content
0
Former Member
Sep 29, 2016 at 02:16 PM

Equivalence of Function model in BW 7.5 like IB_CONVERT_FROM_TIMESTAMP

172 Views

Hi community,

I am trying to find a function model in BI/BW to convert timestamp value to time value HHmmss. Already, I have used ADDR_CONVERT_TIMESTAMP_TO_DATE to get date, but also I need the time, and don't have, into my function module dictonary, the function module IB_CONVERT_FROM_TIMESTAMP.

Any suggestion, please let me know.

On the one hand, I am using it to get date....

DATA : lv_input TYPE AD_TSTAMP,

lv_output type SY-DATUM.

lv_input = SOURCE_FIELDS-TSTMP.

CALL FUNCTION 'ADDR_CONVERT_TIMESTAMP_TO_DATE'

EXPORTING

IV_TIMESTAMP = lv_input

* IV_HIGH = ' '

IMPORTING

EV_DATE = lv_output.

WRITE lv_output.

RESULT = lv_output.

Thanks in advance...