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

Re:MM03

Former Member
0 Likes
625

In MM03

Tab at upper part. Environment->Display Changes.

It will show all changes done to the material with user name and transaction code.

After hitting the tab display changes,there s an int.table icdhdr & icdpos are getting populated with unique change number for every change.

Can you pls tell me at which place this tables are getting populated.i tried but didnt get.

i know it was populated from database table cdhdr & cdpos ,i want in the coding side in which Fun.Mod or in which perform this int tables are populated...

Good points will be rewarded.

Thanks,

Ponraj.s.

1 ACCEPTED SOLUTION
Read only

christian_wohlfahrt
Active Contributor
0 Likes
586

Hi Ponraj!

It's in function module MATERIAL_WRITE_DOCUMENT, but be careful when thinking about some changes...

Regards,

Christian

3 REPLIES 3
Read only

christian_wohlfahrt
Active Contributor
0 Likes
587

Hi Ponraj!

It's in function module MATERIAL_WRITE_DOCUMENT, but be careful when thinking about some changes...

Regards,

Christian

Read only

Former Member
0 Likes
586

Hi ponraj,

"CHANGE DOCUMENTS" in SAP Terminology

1 The same thing which u are asking

we had developed here. For Eg : Any change

in the material master will be detected

and a mail will be sent to the concerned

employee.

THIS WILL ALSO DETECT WHICH FILEDS HAVE CHANGED.

IT CAN ALSO GIVE, The Old Value, And The New Value.

2. This Mechanism is called CHANGE DOCUMENTS in

SAP Terminology

3. 2 Fuction Modules are Required.

(They will fetch necessary data from CDHDR,CDPOS)

CHANGEDOCUMENT_READ_HEADERS

CHANGEDOCUMENT_READ_POSITIONS

4. The First FM gives list of all

records ( with change no) which have changed.

5. Loop at the above and the second FM will

provide the details (old-val, new-val) for

each record.

6. While using 1st Fm, i used docclass as 'MATERIAL'.

BCOS

the concept of change documents is applicable

to other type of documents also (depends upon

customization)

regards,

amit m.

Read only

Former Member
0 Likes
586

Go to the source code of the program MM03AI00 and see that the function modules

CHANGEDOCUMENT_READ_HEADERS

CHANGEDOCUMENT_READ_POSITIONS are used to get the change documents.

REgards,

Ravi