Skip to Content
0
Dec 09, 2011 at 10:33 AM

How to detect modifications in an ABAP Object?

138 Views

Hi all,

I was wondering if there's a simple way of detecting modifications in an ABAP Object.

Imagine an ABAP entity object which holds several attributes and you need to know if this object has been modified. Instead of having to check attribute by attribute to compare it's previous value with the new one I came with the idea of calculating a HASH code for the object before the execution of the application which can change the object attributes and comparing it with the HASH calculated for the same object after the execution.

That way, checking only two hashes simplifies a lot the code. So.... is there any way of calculating a HASH for any object instance? if not... any other approach?

Thanks in advance.