mirror of
https://github.com/abapGit/abapGit.git
synced 2025-05-01 12:20:51 +08:00
PARA: fix error handling
This commit is contained in:
parent
95deb3ed57
commit
6c3538a13a
|
@ -132,7 +132,7 @@ CLASS zcl_abapgit_object_para IMPLEMENTATION.
|
||||||
request_language_denied = 9
|
request_language_denied = 9
|
||||||
OTHERS = 10.
|
OTHERS = 10.
|
||||||
IF sy-subrc <> 0.
|
IF sy-subrc <> 0.
|
||||||
zcx_abapgit_exception=>raise( 'error from RS_PRAMETER_DELETE' ).
|
zcx_abapgit_exception=>raise( |error from RS_ACCESS_PERMISSION. SUBRC={ sy-subrc }| ).
|
||||||
ENDIF.
|
ENDIF.
|
||||||
|
|
||||||
SELECT COUNT(*) FROM cross WHERE ( type = 'P' OR
|
SELECT COUNT(*) FROM cross WHERE ( type = 'P' OR
|
||||||
|
@ -173,7 +173,7 @@ CLASS zcl_abapgit_object_para IMPLEMENTATION.
|
||||||
type = 'CR'.
|
type = 'CR'.
|
||||||
ENDIF.
|
ENDIF.
|
||||||
ELSE.
|
ELSE.
|
||||||
zcx_abapgit_exception=>raise( 'error from RS_PRAMETER_DELETE' ).
|
zcx_abapgit_exception=>raise( 'error from RS_CORR_INSERT' ).
|
||||||
ENDIF.
|
ENDIF.
|
||||||
|
|
||||||
ENDMETHOD.
|
ENDMETHOD.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user