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 History!

Former Member
0 Kudos

HI,

Do we have any standard program or a function module or at least any approach to delete the change history data for example the change history data for MM02 application.

Any suggestions wuld be really helpful.

regards,

shekar.

3 REPLIES 3

raguraman_c
Active Contributor
0 Kudos

Hi,

Usually changes are stored in <b>Change documents</b>

The tables are <b>CDPOS </b>and <b>CDHDR</b>.

For material changes the Object Class is <b>MATERIAL</b>

Check this function module.

<b>C14O_CHANGEDOCUMENT_DELETE</b>

Also search function modules with selection parameter <b>changedoc*</b>

These options might help you.

--Ragu

venkata_ramisetti
Active Contributor
0 Kudos

Hi Shekar,

Why do you want to delete the change history of the material? I think it is not recommended.

Actaully we maintain change history in customizing, If you don't want to log changes for material, you just need to remove/deactive customization for material change history.

Thanks

Ramakrishna

Former Member
0 Kudos

U need to delete from CDPOS & CDHDR tables for the Material for which change history exists....Initially, check CDHDR for relevant fields & then go to CDPOS and get the relevant fields....U can delete data from these tables.