2008 Dec 03 10:51 PM
Hi all,
I'm using a standard function model in an ALV report, that have some warning messages.
When a warning appears at the bottom, if the user press with the mouse on a line, the enter stops to work.
Is it possible to have warning messages as popups, so that cannot occur?
I already tried with SAP Gui options, but in that case, appears a message on the bottom of the screen, AND a popup. After I press Ok in the popup i still need to press enter.
Any ideas?
Best regards,
Luis Cruz
2008 Dec 04 4:00 AM
Hi Luis,
Use this fun Mod...
CALL FUNCTION 'POPUP_TO_INFORM'
EXPORTING
titel = w_titel
txt1 = w_txt
txt2 = ' '
txt3 = ' '
txt4 = ' '.
Thanks & Regards,
Krishna
2008 Dec 04 4:00 AM
Hi Luis,
Use this fun Mod...
CALL FUNCTION 'POPUP_TO_INFORM'
EXPORTING
titel = w_titel
txt1 = w_txt
txt2 = ' '
txt3 = ' '
txt4 = ' '.
Thanks & Regards,
Krishna
2008 Dec 04 4:09 AM
Hi,
Use FM FC_POPUP_ERR_WARN_MESSAGE
In this FM, just uncheck the field IS_ERROR and give your message title and message text.
Hope this will help.
Regards,
Nitin.
2008 Dec 04 4:30 AM
Hi,
Try POPUP* in se37 and find the function modules which suits your requirement
Regards,
Thiru. R
2008 Dec 04 5:03 AM
2008 Dec 04 10:25 AM
Thanks all...
I explain me wrong.
In my ALV i'm using the standard FM 'STATUS_CHANGE_INTERN'.
That function have some warning messages that i wish to hide, or show as a popup (information messages)
How can I do that?
Regards,
Luis
2008 Dec 04 10:30 AM
Hi..
use this FUnc-module: FC_POPUP_ERR_WARN_MESSAGE
just pass IS_ERROR = ' '.
it will give a pop-up with warrning message..
Thanks and Regards,
GSANA
2008 Dec 04 10:38 AM
Hi
Check out the Documentation of the FM : STATUS_CHANGE_INTERN
It says that "If the message handkler is active, no error messages or exceptions are triggered. Instead an appropriate message is written in the message handler."
It probably is a parameter being passed to the FM that'll solve ur prob.
Cheers
Ravish
2008 Dec 04 1:12 PM
Thanks again...
STATUS_CHANGE_INTERN cannot be used, since it's an external status.
I found a workarround:
EXCEPTIONS:
ERROR_MESSAGE = 99.
2008 Dec 04 10:32 AM
You may use FM
RSDC_SHOW_MESSAGES_POPUP
You can show any kind of message using above FM.
User action will be captured in export structure e_s_exit_command.
Regards,
Mohaiyuddin