on 08-14-2007 7:06 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.