Skip to Content
0
Feb 27, 2017 at 11:34 PM

CDPOS initial values when CHNGIND = 'I'.

647 Views

Hello ABAPers, I'm trying to write a report showing the changes of a particular record. I would like to show the initial values and all the subsequent changes. The changes are pretty easy and obvious. The initial record in CDPOS is recorded as FNAME = KEY and chngind = 'I'. If I catch this prior to values being changed, then I can capture the original values. Is there a function module that does this for me?

In the meantime I have tried to do a dynamic select using the TABNAME and the corresponding TABKEY by using "ASSIGN wa_ref->* TO <wa>".... Im getting a short dump when assigning the TABKEY value to <wa>. UC_OBJECTS_NOT_CONVERTIBLE.

Any way that works is fine with me...any suggestions?