on 10-01-2020 2:35 PM
How can I display a warning message in Fiori Element based list report application?
I have created OData service using SEGW CDS reference model and tried the below code in DPC EXT class
but it doesn't work. is there any way to do this from backend without doing Fiori Element extension? If I raise exception then the list is not getting displayed.
IF lv_authcheck IS NOT INITIAL OR et_entityset[] IS INITIAL.
DATA(lo_msg_container) = me->mo_context->get_message_container( ).
lo_msg_container->add_message_text_only(
EXPORTING
iv_msg_type = /iwbep/cl_cos_logger=>warning
iv_msg_text = 'List incomplete due to missing authorization'
iv_add_to_response_header = abap_true
).
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.