on 03-03-2016 9:28 AM
Hi all,
I'm using a Search GUIBB and would like to display an error message if one of my mandatory search fields is empty.
I would also like that error to have a link to the field in question and have that field appear in red.
How can I do that from my feeder class method process_event ?
Ziv
Hello Ziv,
Try using ET_MESSAGES parameter in the process event method.
Pass the required field as a reference field to appear the mandatory field in red.
Sample code for your reference:
data: ls_messages type fpmgb_s_t100_message,
ls_data type structure_name.
if ls_data-kunnr is initial.
ls_messages-msgid = 'Message class ID'.
ls_messages-msgno = 'Message number'.
ls_messages-severity = 'E'.
ls_messages-ref_name = 'KUNNR'.
append ls_messages to et_messages.
clear ls_messages.
endif.
Hope it will help full.
Regards, Naga
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.