on 07-24-2012 5:22 PM
Hello
I am throwing an error message by using the below code, say, for example, if user entered a wrong not existing sales order #,
CALL METHOD lo_message_manager->report_t100_message
Systsme is throwing error message, well. But, i want that once clicked/did some action/interaction on the screen by user, then, this message should go away, bcz user started fixing it, so, the message should not perssist there
Any help pls?
Thank you
Hi,
If you are using is_permanent = false as an argument to report_t100_message, then when you trigger an event the message will clear. You need an event to trigger though-- for example the onEnter event of an InputField. There is no event onFocus for an InputField, so you wouldn't be able to clear the message when the user simply starts typing in the field. If you chose to create an onEnter event, you wouldn't necessarily need code in the event's action handler method, you could leave it empty, but its presence means you have an event to trigger. Alternatively, you could call a custom method like validate_fields( ) upon onEnter; if the field is now valid, the message will clear.
Cheers,
Amy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.