Application Development 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: 

Pop up msg for Yes/no/cancel

Former Member
0 Kudos

Hi experts,

i have three t-code

zaa1 for create,

zaa2 for change,

zaa3 display,

in zaa2 suppose i dont make any chages and click on BACk button then it directly come out from that tcode , and if i make any chages and click on BACk button then it must show me msg box " Do you want to save ", yes, No .

how to solve this ?

                                                          • Point is assured *********************

3 REPLIES 3

uwe_schieferstein
Active Contributor
0 Kudos

Hello Jim

The usual function module to use is <b>POPUP_TO_CONFIRM</b>.

Regards

Uwe

uwe_schieferstein
Active Contributor
0 Kudos

Hello Jim

Alternatively you could use <b>POPUP_TO_CONFIRM_DATA_LOSS</b>.

The description of <b>POPUP_TO_CONFIRM_LOSS_OF_DATA</b> says:

<i>Do not use! Please use POPUP_TO_CONFIRM</i>

Regards

Uwe

Former Member
0 Kudos

Hello Jim,

Already I replied your thread... you need to use SY-DATAR System variable,if SY-DATAR = 'X',there will be some changes in screen,then use POPUP_TO_CONFIRM FM,This FM will return pop up message like do you want to save ,again it has YES or NO Buttons,

Thanks

Seshu