mirror of
https://github.com/abapGit/abapGit.git
synced 2025-05-01 12:20:51 +08:00
AVAR: Unlock after deserialize (#4560)
* AVAR: Unlock after deserialize * Dequeue Co-authored-by: Lars Hvam <larshp@hotmail.com>
This commit is contained in:
parent
99b3168666
commit
0392543ff5
|
@ -105,7 +105,8 @@ CLASS ZCL_ABAPGIT_OBJECT_AVAR IMPLEMENTATION.
|
|||
EXCEPTIONS
|
||||
no_authorization = 1 ).
|
||||
IF sy-subrc <> 0.
|
||||
zcx_abapgit_exception=>raise( |No authorization for { ls_is-object } { ls_is-name }| ).
|
||||
lo_aab->dequeue( ).
|
||||
zcx_abapgit_exception=>raise_t100( ).
|
||||
ENDIF.
|
||||
|
||||
LOOP AT lt_ids INTO ls_is.
|
||||
|
@ -117,15 +118,12 @@ CLASS ZCL_ABAPGIT_OBJECT_AVAR IMPLEMENTATION.
|
|||
EXCEPTIONS
|
||||
no_authorization = 1
|
||||
id_not_exists = 2
|
||||
id_not_transportable = 3 ).
|
||||
CASE sy-subrc.
|
||||
WHEN 1.
|
||||
zcx_abapgit_exception=>raise( |No authorization for { ls_is-object } { ls_is-name }| ).
|
||||
WHEN 2.
|
||||
zcx_abapgit_exception=>raise( |{ ls_is-object } { ls_is-name } does not exist| ).
|
||||
WHEN 3.
|
||||
zcx_abapgit_exception=>raise( |{ ls_is-object } { ls_is-name } must be transportable| ).
|
||||
ENDCASE.
|
||||
id_not_transportable = 3
|
||||
OTHERS = 4 ).
|
||||
IF sy-subrc <> 0.
|
||||
lo_aab->dequeue( ).
|
||||
zcx_abapgit_exception=>raise_t100( ).
|
||||
ENDIF.
|
||||
ENDLOOP.
|
||||
|
||||
tadir_insert( iv_package ).
|
||||
|
@ -139,8 +137,10 @@ CLASS ZCL_ABAPGIT_OBJECT_AVAR IMPLEMENTATION.
|
|||
no_changes_found = 5
|
||||
cts_error = 6 ).
|
||||
IF sy-subrc <> 0.
|
||||
zcx_abapgit_exception=>raise( |Error saving AVAR { ms_item-obj_name }| ).
|
||||
lo_aab->dequeue( ).
|
||||
zcx_abapgit_exception=>raise_t100( ).
|
||||
ENDIF.
|
||||
lo_aab->dequeue( ).
|
||||
|
||||
ENDMETHOD.
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user