Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

to get warning message with symbol in a popup

Former Member
0 Kudos
1,150

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

5 REPLIES 5

Former Member
0 Kudos
289

hiii

refer to following link

i hope it helps you.

regards

twinkal

former_member195383
Active Contributor
0 Kudos
289

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...

Former Member
0 Kudos
289

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.

former_member188685
Active Contributor
0 Kudos
289

Check this Function module..

FC_POPUP_ERR_WARN_MESSAGE

0 Kudos
289

thankyou all its done with your help