mirror of
https://github.com/abapGit/abapGit.git
synced 2025-05-01 12:20:51 +08:00
FUGR: better error message
This commit is contained in:
parent
eb68d22ff5
commit
0add070e67
|
@ -143,6 +143,7 @@ CLASS lcl_object_fugr IMPLEMENTATION.
|
||||||
|
|
||||||
DATA: lv_include TYPE rs38l-include,
|
DATA: lv_include TYPE rs38l-include,
|
||||||
lv_area TYPE rs38l-area,
|
lv_area TYPE rs38l-area,
|
||||||
|
lv_message TYPE string,
|
||||||
lt_source TYPE TABLE OF abaptxt255.
|
lt_source TYPE TABLE OF abaptxt255.
|
||||||
|
|
||||||
FIELD-SYMBOLS: <ls_func> LIKE LINE OF it_functions.
|
FIELD-SYMBOLS: <ls_func> LIKE LINE OF it_functions.
|
||||||
|
@ -208,7 +209,8 @@ CLASS lcl_object_fugr IMPLEMENTATION.
|
||||||
canceled_in_corr = 10
|
canceled_in_corr = 10
|
||||||
OTHERS = 11.
|
OTHERS = 11.
|
||||||
IF sy-subrc <> 0.
|
IF sy-subrc <> 0.
|
||||||
lcx_exception=>raise( 'error from RS_FUNCTIONMODULE_INSERT' ).
|
lcx_exception=>raise( |error from RS_FUNCTIONMODULE_INSERT: {
|
||||||
|
sy-subrc } { sy-msgid }{ sy-msgno }| ).
|
||||||
ENDIF.
|
ENDIF.
|
||||||
|
|
||||||
INSERT REPORT lv_include FROM lt_source.
|
INSERT REPORT lv_include FROM lt_source.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user