2008 Oct 06 4:30 PM
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.
2008 Oct 06 4:37 PM
This isn't a direct answer to your question, but you can expand the number of pages displayed on the spool request.
Rob
2008 Oct 06 5:45 PM
>
> 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!
2008 Oct 06 6:13 PM
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?
2008 Oct 06 6:23 PM
Getting spoonfed won't teach you anything.
We all can do the Copy_Paste programming style.
2008 Oct 06 6:28 PM
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