mirror of
https://github.com/abapGit/abapGit.git
synced 2025-04-30 20:03:20 +08:00
SICF: workaround pull error
This commit is contained in:
parent
550c3676d2
commit
f928cc24fc
|
@ -6965,11 +6965,22 @@ CLASS lcl_object_sicf IMPLEMENTATION.
|
|||
METHOD change_sicf.
|
||||
|
||||
DATA: lt_icfhndlist TYPE icfhndlist,
|
||||
lt_existing TYPE TABLE OF icfhandler,
|
||||
ls_icfserdesc TYPE icfserdesc.
|
||||
|
||||
FIELD-SYMBOLS: <ls_existing> LIKE LINE OF lt_existing.
|
||||
|
||||
|
||||
lt_icfhndlist = to_icfhndlist( it_icfhandler ).
|
||||
|
||||
* Do not add handlers if they already exist, it will make the below
|
||||
* call to SAP standard code raise an exception
|
||||
SELECT * FROM icfhandler INTO TABLE lt_existing
|
||||
WHERE icf_name = is_icfservice-icf_name.
|
||||
LOOP AT lt_existing ASSIGNING <ls_existing>.
|
||||
DELETE TABLE lt_icfhndlist FROM <ls_existing>-icfhandler.
|
||||
ENDLOOP.
|
||||
|
||||
MOVE-CORRESPONDING is_icfservice TO ls_icfserdesc.
|
||||
|
||||
cl_icf_tree=>if_icf_tree~change_node(
|
||||
|
|
Loading…
Reference in New Issue
Block a user