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: 

POPUP in Alv Edit screen

Former Member
0 Kudos

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.

1 ACCEPTED SOLUTION

raymond_giuseppi
Active Contributor
0 Kudos

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

3 REPLIES 3

raymond_giuseppi
Active Contributor
0 Kudos

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

0 Kudos

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.

0 Kudos

Hi.

Probem is solved.

Once again Thank you very much.

I am allocating the Points to you.