05-18-2007 10:13 AM
hi all,
how can i show error messages in pop-up window keeping its status as 'e'?
plz help.
rgds,
avijit
05-18-2007 10:18 AM
05-18-2007 10:49 AM
hi
but using this fm...
if we check some condition as if parameter is initial...
then it displays message but does not place cursor in the error field
it just leaves to list.....
could u explain this
05-18-2007 10:20 AM
hi
POPUP_DISPLAY_MESSAGE
POPUP_WITH_TABLE_DISPLAY_OK
if helpful, reward
Sathish.R
Message was edited by:
Sathish R
05-18-2007 10:21 AM
Hi Avjit,
You have to create a pop up on ur own as error messages are displayed only on the bottom of the screen. You can try something like this.
CALL FUNCTION 'POPUP_TO_INFORM'
EXPORTING
titel = 'ERROR'
txt1 = ' Error message'.
Thanks!
Anusha
05-18-2007 10:21 AM
Hi,
Check this FMs
POPUP_IMC_MESSAGE
POPUP_DISPLAY_MESSAGE
Regards,
Ranjit Thakur.
<b>Please Mark The Helpful Answer.</b>
05-18-2007 10:26 AM
05-18-2007 10:46 AM
hi ,
there are two function modules you need to use :
BALW_BAPIRETURN_GET2 <-- this is to convert the internal table filled with messages to BAPIRET structure .
and
FB_MESSAGES_DISPLAY_POPUP <-- This is to display a popup with all the messages ( error type / info type , etc )
Reward if helpful !
Regards,
Ranjita
05-22-2020 6:27 AM
Hi
Use this Class [CL14Z_MESSAGES_SHOW_AS_POPUP]to display the Pop-Up Window where ever its required.
You need to pass few parameters to get this work. sample code is given below.
CALL FUNCTION 'C14Z_MESSAGES_SHOW_AS_POPUP'
EXPORTING
i_msgid = 'ZCL_MSG' "Message Class from which you want to display the message
i_msgty = 'E' " Type of the message
i_msgno = '001' " Message number in message Class
i_msgv1 = 'ZTest' " Dynamic value to be displayed in Message
i_lineno = 1.
Here the output will look some thing like as follows:
Regards
Ram