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

Accessing material master change information

Former Member
0 Likes
872

We have a requirement to pull all changes to material master records by month. I know that I can hit the CDHDR and CDPOS tables using CHANGEDOCUMENT_READ_HEADERS and CHANGEDOCUMENT_READ_POSITIONS functions to pull this; however our change tables are so huge that the program is timing out. Running in background does not work either because the spool request only shows a few of the pages (10, I think) where the document is actually over a thousand printed pages. I can't email the spool request either because the file is too large.

My question is...is there an infostructure that only contains material master changes (as opposed to all changes as in the CDHDR and CDPOS tables?) I know that when you go into MM03 and view materail master changes they pull up really quickly. Is this program hitting something else rather than the CDHDR and CDPOS tables? How do they pull up so quickly even if there are many changes.

Thanks in advance.

We have a requirement to pull all changes to material master records by month. I know that I can hit the CDHDR and CDPOS tables using CHANGEDOCUMENT_READ_HEADERS and CHANGEDOCUMENT_READ_POSITIONS functions to pull this; however our change tables are so huge that the program is timing out. Running in background does not work either because the spool request only shows a few of the pages (10, I think) where the document is actually over a thousand printed pages. I can't email the spool request either because the file is too large.

My question is...is there an infostructure that only contains material master changes (as opposed to all changes as in the CDHDR and CDPOS tables?) I know that when you go into MM03 and view materail master changes they pull up really quickly. Is this program hitting something else rather than the CDHDR and CDPOS tables? How do they pull up so quickly even if there are many changes.

Thanks in advance.

5 REPLIES 5
Read only

Former Member
0 Likes
819

This isn't a direct answer to your question, but you can expand the number of pages displayed on the spool request.

Rob

Read only

Former Member
0 Likes
819

>

> I know that when you go into MM03 and view materail master changes they pull up really quickly. Is this program hitting something else rather than the CDHDR and CDPOS tables? How do they pull up so quickly even if there are many changes.

>

That's the beauty of having the option to debug a program. Wondering how SAP reads the data fast: go debug!

Read only

Former Member
0 Likes
819

Thanks for the response Rob. We did try this but then when we tried to email the file was too large.

Maen...I could go through debug but why reinvent the wheel if someone else has already been there. Isn't that what these boards are about?

Read only

0 Likes
819

Getting spoonfed won't teach you anything.

We all can do the Copy_Paste programming style.

Read only

Former Member
0 Likes
819

Hi,

Similar to CDHDR and CDPOS tables, SAP has provision for few other tables which record the changes for the fields that are being activated to record the changes. They are BDCP and BDCPV. These tables are used by SAP itself for recording the changes in some of its standard transactions to record the Deltas.

Regards,

Sumalatha N