replace conversion exit usage #2716

This commit is contained in:
larshp 2019-06-07 09:05:51 +00:00 committed by Lars Hvam
parent 5fb5dc552f
commit f8c017a8de

View File

@ -278,20 +278,10 @@ CLASS ZCL_ABAPGIT_OBJECT_ECATT_SUPER IMPLEMENTATION.
DATA: lv_changed_time_external TYPE string.
lv_changed_time_external = ii_document->find_from_name( 'LTIME' )->get_value( ).
lv_changed_time_external = ii_document->find_from_name( 'LTIME' )->get_value( ).
CALL FUNCTION 'CONVERSION_EXIT_TIMLO_INPUT'
EXPORTING
input = lv_changed_time_external
IMPORTING
output = rv_changed_time
EXCEPTIONS
wrong_input = 1
OTHERS = 2.
IF sy-subrc <> 0.
RETURN.
ENDIF.
REPLACE ALL OCCURRENCES OF ':' IN lv_changed_time_external WITH ''.
rv_changed_time = lv_changed_time_external.
ENDMETHOD.
@ -440,7 +430,7 @@ CLASS ZCL_ABAPGIT_OBJECT_ECATT_SUPER IMPLEMENTATION.
im_name = mv_object_name
im_obj_type = lv_object_type
IMPORTING
ex_version_info = lt_version_info ).
ex_version_info = lt_version_info ).
LOOP AT lt_version_info ASSIGNING <ls_version_info>.
@ -448,9 +438,7 @@ CLASS ZCL_ABAPGIT_OBJECT_ECATT_SUPER IMPLEMENTATION.
IF is_change_more_recent_than( is_currently_changed = ls_currently_changed
is_last_changed = ls_last_changed ) = abap_true.
ls_last_changed = ls_currently_changed.
ENDIF.
ENDLOOP.