Code: Alles auswählen.
SELECT SINGLE
starttimestamp
endtimestamp
FROM rspcprocesslog INTO (<fs_tab>-startstamp, <fs_tab>-endstamp)
WHERE
log_id = <fs_tab>-log_id.
CONVERT TIME STAMP <fs_tab>-startstamp TIME ZONE sy-zonlo INTO
DATE <fs_tab>-datum TIME <fs_tab>-zeit.
CALL FUNCTION 'CCU_TIMESTAMP_DIFFERENCE'
EXPORTING
timestamp1 = <fs_tab>-startstamp
timestamp2 = <fs_tab>-endstamp
IMPORTING
difference = <fs_tab>-Dauer
.