Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Declare lv_duration_sec_int4 explicitly in zcf_dst_cls.prog.abap #2

Merged
merged 1 commit into from
Aug 21, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/zcf_dst_cls.prog.abap
Original file line number Diff line number Diff line change
Expand Up @@ -1512,7 +1512,10 @@ CLASS lcl_dst_app IMPLEMENTATION.
r_secs = DATA(lv_duration_secs) " Time Interval in Seconds
).

DATA(lv_duration_sec_int4) = CONV int4( lv_duration_secs ).
" This variable works better if declared explicitly.
DATA lv_duration_sec_int4 TYPE cx_point_in_time.

lv_duration_sec_int4 = CONV int4( lv_duration_secs ).

CALL FUNCTION 'POINT_IN_TIME_CONVERT'
EXPORTING
Expand Down