cancel
Showing results for 
Search instead for 
Did you mean: 

Capturing Pop-Up' s User Input.

selvakumar_mohan
Active Participant
0 Kudos

Hi All,

I need help regarding how to capture the input that the user does in the pop-up window. Eg: to find whether the user has clicked on OK button or CANCEL button. please help me finding out the same.

Thanks & Regards,

Selvakumar M.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi selvakumar mohan,

Its possible to create seperate events for ok and cancel. inside that event you are able to set some attributes that will identify the clicked button.

my_popup->subscribe_to_button_event(

button = if_wd_window=>co_button_yes

action_name = 'ACTIONFORYES'

action_view = l_api

is_default_button = abap_true ).

my_popup->open( ).

Regards

Sarath

selvakumar_mohan
Active Participant
0 Kudos

Thank you sarath. That gave me the idea what i should do. thanks again for the needful done.

Regards,

Selvakumar M.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Refer to these examples.

DEMO_POPUPS_01,DEMO_POPUPS_02,DEMO_POPUPS_03

Go for the pop view and see coding related to methods in view