cancel
Showing results for 
Search instead for 
Did you mean: 

Tracking changes in values using ENABLE_CONTEXT_CHANGE_LOG( ) or other API

former_member220853
Participant
0 Kudos

I have a requirement to know what was the last value of the attribute of an element (that belongs to a node)

IN other words I want to compare old values with new values whenever an event is trigerred and if values are different then initiate a logic

I am not able to find any APIs for it. If any one has worked on the above method or any relevant API

please help me

Thanks

Accepted Solutions (0)

Answers (1)

Answers (1)

ChandraMahajan
Active Contributor
0 Kudos

I have a requirement to know what was the last value of the attribute of an element (that belongs to a node)

> IN other words I want to compare old values with new values whenever an event is trigerred and if values are different then initiate a logic

you can declare attribute in your Attributes section of View lets say gt_old_value (of type z_old_value)

it_new_value = wd_this->gt_old_value. "Assign old value to new value internal table

logic to compare old valeus with new values and then store old valeus as below,

wd_this->gt_old_value = it_new_value.

Thanks,

Chandra