Application Development and Automation 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: 
Read only

Change Document: value_old and value_new

Former Member
0 Likes
1,157

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
Read only

former_member192467
Active Participant
0 Likes
831

Hi,

You may use the FMs:

CHANGEDOCUMENT_READ_POSITIONS

CHANGEDOCU_CDPOS_READ

4 REPLIES 4
Read only

former_member192467
Active Participant
0 Likes
832

Hi,

You may use the FMs:

CHANGEDOCUMENT_READ_POSITIONS

CHANGEDOCU_CDPOS_READ

Read only

former_member242255
Active Contributor
0 Likes
831

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.

Read only

former_member209217
Active Contributor
0 Likes
831

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.

Read only

sreeramkumar_madisetty
Active Contributor
0 Likes
831

Hi

Use the FM:

CHANGEDOCU_CDPOS_READ

Regards,

Sreeram