on 12-10-2015 10:28 AM
Hello All..
I am facing an issue in Web dynpro. Table UI data is getting updated on a button click (Automated), but context is not capturing a change and getting the message (Data has not been changed since it was last saved) on Save.
Just for your reference, on button click it's passing the data from another component controller node(structure).
I’ve already tried IF_WD_CONTEXT->ADD_CONTEXT_ATTRIBUTE_CHANGE without luck by enabling context logging changes via IF_WD_CONTEXT->ENABLE_CONTEXT_CHANGE_LOG.
If I make any data changes on UI manually, the above table data is sucessfully updating the respective database.
Please let me know, if you came across with similar situation. Any idea would be well aprriciated.
Thanks,
Sanket Sethi
Context change is recorded only when changed by user manually on the screen.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vaibhav..
Actually as per SAP help we can update context change log by using method IF_WD_CONTEXT->ADD_CONTEXT_ATTRIBUTE_CHANGE, but we need to activate context change log recording by using method IF_WD_CONTEXT->ENABLE_CONTEXT_CHANGE_LOG in WDDOINIT, a prerequisite.
I am already doing the same but it's not working for me. I am not getting why context changes are not being captured here while SAP recommended it for these kind of requirements and this is my actual concern.
Thanks,
Sanket Sethi
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
6 | |
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.