Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Change Document: value_old and value_new

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

former_member192467
Active Participant
0 Kudos

Hi,

You may use the FMs:

CHANGEDOCUMENT_READ_POSITIONS

CHANGEDOCU_CDPOS_READ

4 REPLIES 4

former_member192467
Active Participant
0 Kudos

Hi,

You may use the FMs:

CHANGEDOCUMENT_READ_POSITIONS

CHANGEDOCU_CDPOS_READ

former_member242255
Active Contributor
0 Kudos

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.

former_member209217
Active Contributor
0 Kudos

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.

sreeramkumar_madisetty
Active Contributor
0 Kudos

Hi

Use the FM:

CHANGEDOCU_CDPOS_READ

Regards,

Sreeram