Skip to Content

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

How to judge whether the data in WDA has been edited?

hi~

My request is once the data in WDA have been changed, there will be a message to warn the user when submitting. So how to judge whether the data in tables, inputfields have been edited?

replied

You must activate the Context Change Log functionality for that.

Here's SAP help on the subject: http://help.sap.com/saphelp_erp2005/helpdata/en/ae/f95e42ff93c153e10000000a1550b0/content.htm

Basically you call methods wd_context->get_context( ) to get a context (not context node) reference, and using that reference you call enable_context_change_log( ) to activate the logging and later at submitting time you get the changes with get_context_change_log( ).

A search on the subject on this forum will yield a lot of results also.

Come back if you have some more specific doubts.

Regards

Edited by: Alejandro Bindi on Sep 13, 2008 1:36 AM

Made a mistake on the suggested coding.

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