mirror of
https://github.com/abapGit/abapGit.git
synced 2025-04-30 20:03:20 +08:00
OO serializer: skip includes not found (#6324)
This commit is contained in:
parent
4f2935bf35
commit
cddf583806
|
@ -131,9 +131,9 @@ CLASS zcl_abapgit_oo_serializer IMPLEMENTATION.
|
|||
|
||||
METHOD read_include.
|
||||
|
||||
DATA: ls_include TYPE progstruc.
|
||||
DATA ls_include TYPE progstruc.
|
||||
DATA lv_program TYPE syrepid.
|
||||
DATA lt_source TYPE abaptxt255_tab.
|
||||
DATA lt_source TYPE abaptxt255_tab.
|
||||
|
||||
ASSERT iv_type = seop_ext_class_locals_def
|
||||
OR iv_type = seop_ext_class_locals_imp
|
||||
|
@ -149,7 +149,11 @@ CLASS zcl_abapgit_oo_serializer IMPLEMENTATION.
|
|||
* on 750 kernels, where the READ REPORT without STATE addition does not
|
||||
* return the active version, this method is a workaround for this issue
|
||||
lv_program = ls_include.
|
||||
lt_source = zcl_abapgit_factory=>get_sap_report( )->read_report( lv_program ).
|
||||
TRY.
|
||||
lt_source = zcl_abapgit_factory=>get_sap_report( )->read_report( lv_program ).
|
||||
CATCH zcx_abapgit_exception.
|
||||
* ignore if the report is not found, sometimes the CCDEF include does not exist
|
||||
ENDTRY.
|
||||
rt_source = lt_source.
|
||||
|
||||
ENDMETHOD.
|
||||
|
|
Loading…
Reference in New Issue
Block a user