cancel
Showing results for 
Search instead for 
Did you mean: 

Message in Popup window?

Former Member
0 Kudos

Hi EXperts,

I have a button, when user click on this button one popup will opens, in that i have one check box and in popup i have two buttons Yes and No, if user click on yes without checking checkbox "i want to display error message" and after checking and click on yes then only i want to close popup, otherwise pouup should be active?... For this i created popup window and messages also... but message is not displaying...?window is closing if u click yes or no buttons.. any help.

Thanks,

kris.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello,

I which view have to created methods for Subscribe event 'YES' button?

You should create the event in popup's view itself. That might be the reason.

Hope this helps!

Regards,

Tejaswini

Former Member
0 Kudos

Hi Teja

I created 'YES" action In popup view itself...

Thanks,

kris.

Former Member
0 Kudos

Hello Kris,

Can you try making that check box field mandatory and than test it.?

Whether then it shows message in the popup view itslf or not?

Regards,

Tejaswini.

Former Member
0 Kudos

Hi teja

how can we make mandatory? i am trying to display error message if the user click without checking checkbox.

Thanks,

kris.

Former Member
0 Kudos

Hello,

To check whether checkbox is selected or not. Please go through below link.

[http://wiki.sdn.sap.com/wiki/display/WDABAP/ImplementingcheckforRequiredfieldsinLayout]

Regards,

Tejaswini.