cancel
Showing results for 
Search instead for 
Did you mean: 

message on a custom pop-up

Former Member
0 Kudos

Hi Experts,

I have created a custom pop-up which acts like a search for contracts. This opens when i click a custom button on the standard screen. But I need to display some information on the pop-up on how to enter the search criteria and if there is any error in the entry. If I use 'add message' , I see the messages on the standard screen after I close the pop up. But when I directly execute the pop up component , I see the messages on the component itself on the right corner. Can you please let me know how should i get the messages.

Thank you,

Geetha

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Geetha,

Before open the popup you need to change the display mode. Try this code:

gr_popup->set_display_mode( if_bsp_wd_popup=>c_display_mode_surrounded ).
gr_popup->open( ).

Regards,

Isaac

Former Member
0 Kudos

Thank you Isaac, It worked .

Regards,

Geetha

Former Member
0 Kudos

Hello Isaac,

May I know the deep reason about this ?Why the display mode related with message output ?

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

I think if you put the add_message statement after that popup is called then it will be visible in the pop-up itself, have you tried?

Regards,

Shobhit