mirror of
https://github.com/abap2UI5/abap2UI5.git
synced 2025-04-30 11:06:23 +08:00
new error message for binding (#533)
* bugfix serialization * update * add new error message for binding errors
This commit is contained in:
parent
932cf9082e
commit
eb97edf946
|
@ -124,7 +124,11 @@ CLASS z2ui5_cl_fw_model IMPLEMENTATION.
|
||||||
DATA(lv_name_back) = `MO_APP->` && lr_attri->name.
|
DATA(lv_name_back) = `MO_APP->` && lr_attri->name.
|
||||||
FIELD-SYMBOLS <attribute> TYPE any.
|
FIELD-SYMBOLS <attribute> TYPE any.
|
||||||
ASSIGN (lv_name_back) TO <attribute>.
|
ASSIGN (lv_name_back) TO <attribute>.
|
||||||
z2ui5_cl_fw_utility=>x_check_raise( when = xsdbool( sy-subrc <> 0 ) ).
|
IF sy-subrc <> 0.
|
||||||
|
RAISE EXCEPTION TYPE z2ui5_cx_fw_error
|
||||||
|
EXPORTING
|
||||||
|
val = `BINDING_ERROR - No attribute found with name: ` && lr_attri->name.
|
||||||
|
ENDIF.
|
||||||
|
|
||||||
CASE lr_attri->type_kind.
|
CASE lr_attri->type_kind.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user