mirror of
https://github.com/abapGit/abapGit.git
synced 2025-04-30 20:03:20 +08:00
TOBJ: Deletion of logical transport objects (#5873)
This commit is contained in:
parent
a6dafa35c1
commit
b958377279
|
@ -98,6 +98,10 @@ CLASS zcl_abapgit_object_tobj IMPLEMENTATION.
|
|||
ls_objh-objectname = ms_item-obj_name(lv_type_pos).
|
||||
ls_objh-objecttype = ms_item-obj_name+lv_type_pos.
|
||||
|
||||
IF ls_objh-objecttype = 'L'.
|
||||
zcx_abapgit_exception=>raise( |Use transaction SOBJ to delete transport objects { ls_objh-objectname }| ).
|
||||
ENDIF.
|
||||
|
||||
CALL FUNCTION 'OBJ_GENERATE'
|
||||
EXPORTING
|
||||
iv_objectname = ls_objh-objectname
|
||||
|
@ -111,7 +115,7 @@ CLASS zcl_abapgit_object_tobj IMPLEMENTATION.
|
|||
object_enqueue_failed = 5
|
||||
OTHERS = 6.
|
||||
IF sy-subrc <> 0.
|
||||
zcx_abapgit_exception=>raise( 'error from OBJ_GENERATE' ).
|
||||
zcx_abapgit_exception=>raise_t100( ).
|
||||
ENDIF.
|
||||
|
||||
delete_extra( ls_objh-objectname ).
|
||||
|
|
Loading…
Reference in New Issue
Block a user