TOBJ: Improve error messages (#6007)

This commit is contained in:
Marc Bernard 2023-01-23 11:28:25 +01:00 committed by GitHub
parent 0dfc5eb80c
commit e1c3fcebdb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -168,7 +168,7 @@ CLASS zcl_abapgit_object_tobj IMPLEMENTATION.
IF sy-subrc <> 0. IF sy-subrc <> 0.
* TOBJ has to be saved/generated after the DDIC tables have been * TOBJ has to be saved/generated after the DDIC tables have been
* activated - fixed with late deserialization * activated - fixed with late deserialization
zcx_abapgit_exception=>raise( 'error from OBJ_GENERATE' ). zcx_abapgit_exception=>raise_t100( ).
ENDIF. ENDIF.
CALL FUNCTION 'OBJ_SET_IMPORTABLE' CALL FUNCTION 'OBJ_SET_IMPORTABLE'
@ -183,7 +183,7 @@ CLASS zcl_abapgit_object_tobj IMPLEMENTATION.
object_enqueue_failed = 4 object_enqueue_failed = 4
OTHERS = 5. OTHERS = 5.
IF sy-subrc <> 0. IF sy-subrc <> 0.
zcx_abapgit_exception=>raise( 'error from OBJ_SET_IMPORTABLE' ). zcx_abapgit_exception=>raise_t100( ).
ENDIF. ENDIF.
* fm OBJ_GENERATE takes the defaults from the DDIC object * fm OBJ_GENERATE takes the defaults from the DDIC object