06-26-2009 7:25 AM
Hi,
I have to fetch the changed values i.e. old value and new value for materials in MM04.
the value_old and value_new field values are getting as initial and 'X' in CDPOS table even there are numeric..
How to get those values??...
Thanks
Sri
06-26-2009 7:33 AM
Hi,
You may use the FMs:
CHANGEDOCUMENT_READ_POSITIONS
CHANGEDOCU_CDPOS_READ
06-26-2009 7:33 AM
Hi,
You may use the FMs:
CHANGEDOCUMENT_READ_POSITIONS
CHANGEDOCU_CDPOS_READ
06-26-2009 7:34 AM
you have to check based on the CHGID(Change indicator)and get the old and new value,as you ar e saying that you have X or space in old and new values,there should some other field getting updated and a new entry in the CDPOS correposiong to the change that youare doing...you have to check that field.
06-26-2009 7:36 AM
Hi Sri,
Use this Function Modules.
CHANGEDOCUMENT_READ_HEADERS
CHANGEDOCUMENT_READ_HEADERS_N
CHANGEDOCUMENT_READ
CHANGEDOCUMENT_READ_RANGES
CHANGEDOCUMENT_DISPLAY.
These FMs Directly Fetch Changed DataFrom The tables CDHDR and CDPOS
.No need of issuing a select Query
Regards,
Lakshman.
06-26-2009 7:36 AM