08-20-2009 3:23 PM
Dear Experts,
I created a Editable alv by using REUSE_ALV_GRID_DISPLAY Function module.
I can able to edit & saving.It is working fine.
But in edit form, after making the changes , if I click on 'BACK' or "CANCEL' with out saving ,
then a POP_UP should come, with "Data Not Saved'.
Like this a popup required.
Is it possible in ALV gris by FM method.
Please help me to solve this issue.
Thanks in advance,
Regards,
Rahul.
08-20-2009 3:33 PM
In parameter is_layout, there is a field confirmation_prompt. Set it to "X" and if one of the functions 'Back(F03)', 'Exit(F15)' or 'Cancel(F12)' is triggered, the system asks the user if he wants to leave the list.
Else you may disable those standard functions and add yours, managed in i_callback_user_command
Regards,
Raymond
08-20-2009 3:33 PM
In parameter is_layout, there is a field confirmation_prompt. Set it to "X" and if one of the functions 'Back(F03)', 'Exit(F15)' or 'Cancel(F12)' is triggered, the system asks the user if he wants to leave the list.
Else you may disable those standard functions and add yours, managed in i_callback_user_command
Regards,
Raymond
08-20-2009 4:31 PM
Hi.
Thank you Very much for your reply.
I tried , but while saving ir is giving a dump.
I am savig by a user command by using i_callback_user_command.
Plese help me to sort the issue.
08-20-2009 4:39 PM
Hi.
Probem is solved.
Once again Thank you very much.
I am allocating the Points to you.