mirror of
https://github.com/abapGit/abapGit.git
synced 2025-05-02 13:03:01 +08:00
SXCI: Inactive classic BAdIs (#5006)
* SXCI: Inactive classic BAdIs Implements a workaround since SAP does not show inactive classic BAdIs properly (missing entry in table `dwinactive`). * Update zcl_abapgit_object_sxci.clas.abap * Update src/objects/zcl_abapgit_object_sxci.clas.abap Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com> * Change by Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com> Co-authored-by: Lars Hvam <larshp@hotmail.com>
This commit is contained in:
parent
0379bc6d11
commit
2b8c21bdbc
|
@ -22,7 +22,10 @@ CLASS zcl_abapgit_object_sxci IMPLEMENTATION.
|
||||||
|
|
||||||
METHOD zif_abapgit_object~changed_by.
|
METHOD zif_abapgit_object~changed_by.
|
||||||
|
|
||||||
|
SELECT SINGLE uname FROM sxc_attr INTO rv_user WHERE imp_name = ms_item-obj_name.
|
||||||
|
IF sy-subrc <> 0.
|
||||||
rv_user = c_user_unknown.
|
rv_user = c_user_unknown.
|
||||||
|
ENDIF.
|
||||||
|
|
||||||
ENDMETHOD.
|
ENDMETHOD.
|
||||||
|
|
||||||
|
@ -171,6 +174,10 @@ CLASS zcl_abapgit_object_sxci IMPLEMENTATION.
|
||||||
|
|
||||||
METHOD zif_abapgit_object~is_active.
|
METHOD zif_abapgit_object~is_active.
|
||||||
rv_active = is_active( ).
|
rv_active = is_active( ).
|
||||||
|
|
||||||
|
"Note: SAP does not show inactive classic BAdIs as "Inactive objects" in SE80
|
||||||
|
"Therefore, rv_active will always be true. The implementation state (runtime
|
||||||
|
"behaviour of the BAdI) will be serialized as part of the XML
|
||||||
ENDMETHOD.
|
ENDMETHOD.
|
||||||
|
|
||||||
|
|
||||||
|
@ -276,8 +283,7 @@ CLASS zcl_abapgit_object_sxci IMPLEMENTATION.
|
||||||
ls_classic_badi_implementation-implementation_data-atime,
|
ls_classic_badi_implementation-implementation_data-atime,
|
||||||
ls_classic_badi_implementation-implementation_data-uname,
|
ls_classic_badi_implementation-implementation_data-uname,
|
||||||
ls_classic_badi_implementation-implementation_data-udate,
|
ls_classic_badi_implementation-implementation_data-udate,
|
||||||
ls_classic_badi_implementation-implementation_data-utime,
|
ls_classic_badi_implementation-implementation_data-utime.
|
||||||
ls_classic_badi_implementation-implementation_data-active.
|
|
||||||
|
|
||||||
io_xml->add( iv_name = 'SXCI'
|
io_xml->add( iv_name = 'SXCI'
|
||||||
ig_data = ls_classic_badi_implementation ).
|
ig_data = ls_classic_badi_implementation ).
|
||||||
|
|
Loading…
Reference in New Issue
Block a user