mirror of
https://github.com/abapGit/abapGit.git
synced 2025-05-01 20:32:26 +08:00
SSFO: Avoid side-effect in is_active (#5564)
This commit is contained in:
parent
722a954c43
commit
1af60a9f42
|
@ -318,6 +318,7 @@ CLASS zcl_abapgit_object_ssfo IMPLEMENTATION.
|
||||||
METHOD zif_abapgit_object~is_active.
|
METHOD zif_abapgit_object~is_active.
|
||||||
|
|
||||||
DATA: lv_ssfo_formname TYPE tdsfname.
|
DATA: lv_ssfo_formname TYPE tdsfname.
|
||||||
|
DATA lv_inactive TYPE abap_bool.
|
||||||
|
|
||||||
lv_ssfo_formname = ms_item-obj_name.
|
lv_ssfo_formname = ms_item-obj_name.
|
||||||
|
|
||||||
|
@ -325,9 +326,9 @@ CLASS zcl_abapgit_object_ssfo IMPLEMENTATION.
|
||||||
EXPORTING
|
EXPORTING
|
||||||
i_formname = lv_ssfo_formname
|
i_formname = lv_ssfo_formname
|
||||||
IMPORTING
|
IMPORTING
|
||||||
o_inactive = ms_item-inactive.
|
o_inactive = lv_inactive.
|
||||||
|
|
||||||
rv_active = boolc( ms_item-inactive = abap_false ).
|
rv_active = boolc( lv_inactive = abap_false ).
|
||||||
|
|
||||||
ENDMETHOD.
|
ENDMETHOD.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user