on 12-30-2014 8:35 AM
Dear Colleagues and Experts,
This is the code snippet:
method if_fpm_guibb_form~process_event.
data lv_action_button type string.
case io_event->mv_event_id.
when cl_fpm_event=>gc_event_close_dialog_box.
io_event->mo_event_data->get_value(
exporting
iv_key = 'DIALOG_BUTTON_ACTION'
importing
ev_value = lv_action_button ).
if lv_action_button = 'OK'.
et_message = do_some_check( ).
endif.
endcase.
endmethod.
Event though the method do_some_check( ) returns some error message with severity error, the dialog box is still closed and the error message is not shown anywhere.
Can you help me here please.
Best regards,
Steve Sandrio
Hi Steve Sandrio,
You forgot to set EV_RESULT = IF_FPM_CONSTANTS=>GC_EVENT_RESULT- FAILED
Kind regards, Aliaksandr.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.