mirror of
https://github.com/abapGit/abapGit.git
synced 2025-05-01 12:20:51 +08:00
Fix DDIC errors related to ref to class/interface (#5369)
This commit is contained in:
parent
6746302bb0
commit
5e53bb9626
|
@ -200,7 +200,6 @@ CLASS zcl_abapgit_object_dtel IMPLEMENTATION.
|
||||||
|
|
||||||
" DDIC Step: Replace REF TO class/interface with generic reference to avoid cyclic dependency
|
" DDIC Step: Replace REF TO class/interface with generic reference to avoid cyclic dependency
|
||||||
IF iv_step = zif_abapgit_object=>gc_step_id-ddic AND is_ref_to_class_or_interface( ls_dd04v ) = abap_true.
|
IF iv_step = zif_abapgit_object=>gc_step_id-ddic AND is_ref_to_class_or_interface( ls_dd04v ) = abap_true.
|
||||||
|
|
||||||
ls_dd04v-domname = 'OBJECT'.
|
ls_dd04v-domname = 'OBJECT'.
|
||||||
ELSEIF iv_step = zif_abapgit_object=>gc_step_id-late AND is_ref_to_class_or_interface( ls_dd04v ) = abap_false.
|
ELSEIF iv_step = zif_abapgit_object=>gc_step_id-late AND is_ref_to_class_or_interface( ls_dd04v ) = abap_false.
|
||||||
RETURN. " already active
|
RETURN. " already active
|
||||||
|
|
|
@ -750,7 +750,7 @@ CLASS zcl_abapgit_object_tabl IMPLEMENTATION.
|
||||||
ENDIF.
|
ENDIF.
|
||||||
|
|
||||||
" DDIC Step: Replace REF TO class/interface with generic reference to avoid cyclic dependency
|
" DDIC Step: Replace REF TO class/interface with generic reference to avoid cyclic dependency
|
||||||
LOOP AT lt_dd03p ASSIGNING <ls_dd03p> WHERE datatype = 'REF'.
|
LOOP AT lt_dd03p ASSIGNING <ls_dd03p> WHERE comptype = 'R' AND ( reftype = 'C' OR reftype = 'I' ).
|
||||||
IF iv_step = zif_abapgit_object=>gc_step_id-ddic.
|
IF iv_step = zif_abapgit_object=>gc_step_id-ddic.
|
||||||
<ls_dd03p>-rollname = 'OBJECT'.
|
<ls_dd03p>-rollname = 'OBJECT'.
|
||||||
ELSE.
|
ELSE.
|
||||||
|
|
|
@ -48,9 +48,9 @@ CLASS zcl_abapgit_object_ttyp IMPLEMENTATION.
|
||||||
CHANGING cg_data = ls_dd40v ).
|
CHANGING cg_data = ls_dd40v ).
|
||||||
|
|
||||||
" DDIC Step: Replace REF TO class/interface with generic reference to avoid cyclic dependency
|
" DDIC Step: Replace REF TO class/interface with generic reference to avoid cyclic dependency
|
||||||
IF iv_step = zif_abapgit_object=>gc_step_id-ddic AND ls_dd40v-datatype = 'REF'.
|
IF iv_step = zif_abapgit_object=>gc_step_id-ddic AND ls_dd40v-rowkind = 'R'.
|
||||||
ls_dd40v-rowtype = 'OBJECT'.
|
ls_dd40v-rowtype = 'OBJECT'.
|
||||||
ELSEIF iv_step = zif_abapgit_object=>gc_step_id-late AND ls_dd40v-datatype <> 'REF'.
|
ELSEIF iv_step = zif_abapgit_object=>gc_step_id-late AND ls_dd40v-rowkind <> 'R'.
|
||||||
RETURN. " already active
|
RETURN. " already active
|
||||||
ENDIF.
|
ENDIF.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user