Application Development and Automation 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: 
Read only

Getting Value after call transaction

Former Member
0 Likes
355

Hi,

I am calling MI07 transaction from my program.

When the call return I need to check whether the user clicked 'YES' or 'NO'.

Can you please let me know how to check what the user has clicked during POP up to confirm.

After executing the POP UPTOCONFIRM, the control comes to my program. I need to check what the user clicked.

Appreciate your immediate response.

Thanks,

2 REPLIES 2
Read only

Former Member
0 Likes
334

CALL FUNCTION 'POPUP_TO_CONFIRM'

EXPORTING

titlebar = text-044

text_question = text-045

text_button_1 = 'SAVE'

text_button_2 = 'EXIT'

default_button = '1'

display_cancel_button = c_x

IMPORTING

answer = w_indicate.

w_indicate can any one of the value depending on the user click

'1' Save pushbutton

'2' Exit pushbutton

'A' 'Cancel' pushbutton

Read only

0 Likes
334

Thanks a lot for the reply.

I am not able to see the value of w_indicate after the call transaction returns to calling program.

In calling program, I need to execute a para if the user clicks 'YES'.

Thanks a lot for your response.