2008 Aug 06 7:22 AM
i want to get warning message with symbol(warnig icon in yellow color ) in a popup
how to achieve this ?
i have tried with
POPUP_DISPLAY_MESSAG
SWD_POPUP_MESSAGE_SEND
but no satisfactory result
2008 Aug 06 7:34 AM
2008 Aug 06 7:38 AM
simply make use of message statement...
MESSAGE wMessage Num(message class) .
like for example
MESSAGE w796(z_msg_class) .
this will give a popup warning message...
2008 Aug 06 7:39 AM
Hi,
plz chk below code.
DATA: BEGIN OF P_MESSAGE OCCURS 0,
TDFORMAT LIKE TLINE-TDFORMAT,
TDLINE LIKE TLINE-TDLINE,
END OF P_MESSAGE.
CLEAR P_MESSAGE.
REFRESH P_MESSAGE.
CONCATENATE 'Material Document No. : ' IT_GE-MBLNR INTO
P_MESSAGE-TDLINE SEPARATED BY SPACE.
APPEND P_MESSAGE.
CLEAR P_MESSAGE.
CONCATENATE '@02@' INTO P_MESSAGE-TDLINE SEPARATED BY SPACE.
MOVE '@02@' to P_MESSAGE-TDLINE.
APPEND P_MESSAGE .
CLEAR P_MESSAGE.
CALL FUNCTION 'COPO_POPUP_TO_DISPLAY_TEXTLIST'
EXPORTING
TASK = 'DISPLAY'
TITEL = 'This Record Already Exists'
IMPORTING
FUNCTION =
TABLES
TEXT_TABLE = P_MESSAGE .
Hope this helps you.
thanx,
dhanashri.
2008 Aug 06 7:43 AM
2008 Aug 06 12:31 PM