Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Detection of changes in the context prior saving a document

Original thread title: IS_CHANGED_BY_CLIENT and RESET_CHANGED_BY_CLIENT methods / selection change

Does anyone know, why is that the RESET method is recursive, but the IS method isn't?

The problem is, I need to trigger a save of a document only when there is some change made by the user, but to do that i'm being forced to implement myself a recursive method which uses both IS_CHANGED_BY_CLIENT and GET_CHILD_NODES methods. While I simply call the RESET_CHANGED_BY_CLIENT method of the root node and it affects all subnodes.

Another problem is that, the selection changes (e.g. in a dropdownbyindex) don't get accounted as changes by the IS_CHANGED_BY_CLIENT method.

Is there any simpler way to implement this?


Helpful Answer

Not what you were looking for? View more on this topic or Ask a question