mirror of
https://github.com/abapGit/abapGit.git
synced 2025-05-01 04:08:27 +08:00
ENHC: Fix diffs due to OTR (#5538)
`cl_enh_composite` already handles OTR shorttext and there's no need to use `zcl_abapgit_sotr_handler`. Update test case: https://github.com/abapGit-tests/ENHC Co-authored-by: Lars Hvam <larshp@hotmail.com>
This commit is contained in:
parent
882a64cb68
commit
a96fed4b26
|
@ -136,10 +136,6 @@ CLASS zcl_abapgit_object_enhc IMPLEMENTATION.
|
|||
li_enh_composite->if_enh_object~activate( ).
|
||||
li_enh_composite->if_enh_object~unlock( ).
|
||||
|
||||
zcl_abapgit_sotr_handler=>create_sotr(
|
||||
iv_package = iv_package
|
||||
io_xml = io_xml ).
|
||||
|
||||
CATCH cx_enh_root INTO lx_enh_root.
|
||||
zcx_abapgit_exception=>raise_with_text( lx_enh_root ).
|
||||
ENDTRY.
|
||||
|
@ -229,12 +225,6 @@ CLASS zcl_abapgit_object_enhc IMPLEMENTATION.
|
|||
io_xml->add( iv_name = 'LONGTEXT_ID'
|
||||
ig_data = lv_longtext_id ).
|
||||
|
||||
zcl_abapgit_sotr_handler=>read_sotr(
|
||||
iv_pgmid = 'R3TR'
|
||||
iv_object = ms_item-obj_type
|
||||
iv_obj_name = ms_item-obj_name
|
||||
io_xml = io_xml ).
|
||||
|
||||
CATCH cx_enh_root INTO lx_enh_root.
|
||||
zcx_abapgit_exception=>raise_with_text( lx_enh_root ).
|
||||
ENDTRY.
|
||||
|
|
Loading…
Reference in New Issue
Block a user