TIMESTAMP Süre Ekleme

Fonskiyon : TIMESTAMP_DURATION_ADD
Örnek Parametreler :
TIMESTAMP_IN                    20,190,719,122,220
TIMEZONE                        UTC
DURATION                        -10
UNIT                            MIN


data: Lv_CREATETSP type TIMESTAMP.
 get time stamp field Lv_CREATETSP .
if S_ISLID[] is initial.

 CALL FUNCTION `TIMESTAMP_DURATION_ADD`
    EXPORTING
      timestamp_in    = Lv_CREATETSP
      timezone        = `UTC`
      duration        = `-10`
      unit            `MIN` " minute
    IMPORTING
      timestamp_out   = Lv_CREATETSP
    EXCEPTIONS
      timestamp_error = 1
      OTHERS          2.



endif.