cancel
Showing results for 
Search instead for 
Did you mean: 

Editable ALV

Faaiez
Advisor
Advisor
0 Kudos

I have a Web Dynpro that have some editable columns.

The Web Dynpro works well except when some data changes were made and a button other than the save button is pressed.

How do I check whether any data changes have taken place?

Regards

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

You can enable the context change log for your context. Then if you do a get_context_change_log, it will give you the changes that have happened in any node in the context. You can check for the particular node thats bound to the ALV. If the log is empty, nothing was changed.

Refer to the component DEMO_CONTEXT_CHANGES to see how this works.

Regards,

Nithya

Answers (1)

Answers (1)

Former Member
0 Kudos

You can put a break point in the on_function event of ALv.

Debug and check whether data is getting changed on press of save.

Make sure that you are binding the changed data back to the node of ALV for changes to reflect on the screen.

Hope this will solve your problem.

Please award points if your problem is solved