cancel
Showing results for 
Search instead for 
Did you mean: 

Urgent : Issue with Pop to confirm

Former Member
0 Kudos

l_popup = l_window_manager->create_popup_to_confirm(

text = str_table

button_kind = 1

message_type = 1

close_button = 'X'

window_title = 'Confirmation'

window_position = if_wd_window=>co_center ).

Here is my code to show pop to confirm screen. I want OK pop up so i used the value "1" for button_kind parameter but i get this runtime error saying

"No Button 7 Is Defined for Popup POPUP_TO_CONFIRM"

even after passing the value as 1 iam not able figure out why the system is taking the valye as 7. can someone please give me an immediate solution for this.

Thanks,

Suri

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

hi, Suri

you can refered the demo "WDR_TEST_POPUP_TO_CONFIRM".

Former Member
0 Kudos

Thanks pei that helped.

Iam able to see that pop up with OK button now. But the other issue still persist. Once i press the OK button the pop does not go away it is poping up again as if its in loop. can someone rectify this.

Thank,

Suri

former_member205703
Participant
0 Kudos

Hi Suri,

Try this

button_kind = '4'

Regards

Amol

Former Member
0 Kudos

Amol,

i have been using 4 all this time. but i dont want a YES/NO button i want OK button. Please let me know if have some work around for this.

Thanks

Madhu2004
Active Contributor
0 Kudos

Hi,

i tried with same thing in m y system and it is working .

Do one thing :

<b>Check the fixed values in the domain of WDR_POPUP_BUTTON_KIND.</b>

whether 1 is defined for ok.

Madhu

Former Member
0 Kudos

Hi Suri,

Why don't you just try with

<i>button_kind = if_wd_window=>co_buttons_ok</i>

Regards,

Neha

<i><b>PS:Reward if helpful</b></i>

Former Member
0 Kudos

Neha,

I used if_wd_window=>co_buttons_ok instead of 1 but i still get the same runtime error