mirror of
https://github.com/abapGit/abapGit.git
synced 2025-05-01 12:20:51 +08:00
SFPI deserialization: delete if exists
This commit is contained in:
parent
3c80012b37
commit
860896abd2
|
@ -103,6 +103,10 @@ CLASS ZCL_ABAPGIT_OBJECT_SFPI IMPLEMENTATION.
|
||||||
lv_name = ms_item-obj_name.
|
lv_name = ms_item-obj_name.
|
||||||
lv_xstr = cl_ixml_80_20=>render_to_xstring( io_xml->get_raw( ) ).
|
lv_xstr = cl_ixml_80_20=>render_to_xstring( io_xml->get_raw( ) ).
|
||||||
|
|
||||||
|
IF zif_abapgit_object~exists( ) = abap_true.
|
||||||
|
zif_abapgit_object~delete( ).
|
||||||
|
ENDIF.
|
||||||
|
|
||||||
TRY.
|
TRY.
|
||||||
li_interface = cl_fp_helper=>convert_xstring_to_interface( lv_xstr ).
|
li_interface = cl_fp_helper=>convert_xstring_to_interface( lv_xstr ).
|
||||||
tadir_insert( iv_package ).
|
tadir_insert( iv_package ).
|
||||||
|
|
Loading…
Reference in New Issue
Block a user