‎2007 Oct 16 9:46 AM
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,
‎2007 Oct 16 11:15 AM
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
‎2007 Oct 16 11:51 AM
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.