Skip to content
Permalink
Browse files

replace conversion exit usage #2716

  • Loading branch information...
larshp committed Jun 7, 2019
1 parent 5fb5dc5 commit f8c017a8de341e2c2efabf5ea4c6e2805667330c
Showing with 4 additions and 16 deletions.
  1. +4 −16 src/objects/zcl_abapgit_object_ecatt_super.clas.abap
@@ -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,17 +430,15 @@ 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>.

ls_currently_changed = get_change_information( <ls_version_info> ).

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.

0 comments on commit f8c017a

Please sign in to comment.
You can’t perform that action at this time.