‎2010 Apr 15 10:16 AM
I have activated the change pointers for MATMAS. I changed e.g. 10 materials and created idoc for 5 materials by running BD10. How does the system know now only 5 are remaining for creating IDOC?
Also what is the best place for submitting RBDSMET as soon as user saves/creates any material using MM01/2
I found EXIT_SAPLMGMU_001, but is the material saved at this point of time?
Thanks in advance
‎2010 Apr 15 11:22 AM
Hello Sanjane,
It depends on the fields mentioned in the transaction BD52, whenever any change occurs in the list of fields mentioned in BD52, those changes are recorded in tables BDCP, BDCPS, CDHDR, CDPOS. So, whenever you execute BD21 (Change Pointer tcode) or program RBDMIDOC, it picks the data from these tables and sends the IDocs.
Check this link...
About the second question, it is not suggestible to use user-exit to dispatch the master IDocs. Schedule the program RBDMIDOC in the background, for daily basis or how often you require.
‎2010 Apr 15 11:22 AM
Hello Sanjane,
It depends on the fields mentioned in the transaction BD52, whenever any change occurs in the list of fields mentioned in BD52, those changes are recorded in tables BDCP, BDCPS, CDHDR, CDPOS. So, whenever you execute BD21 (Change Pointer tcode) or program RBDMIDOC, it picks the data from these tables and sends the IDocs.
Check this link...
About the second question, it is not suggestible to use user-exit to dispatch the master IDocs. Schedule the program RBDMIDOC in the background, for daily basis or how often you require.
‎2010 Apr 15 12:32 PM
I have activated the change pointers for MATMAS. I changed e.g. 10 materials and created idoc for 5 materials by running BD10. How does the system know now only 5 are remaining for creating IDOC?
PROCESS Field in BDCP2 table will tell you that, if its X the IDOC is alredy generated for that change pointer
Also what is the best place for submitting RBDSMET as soon as user saves/creates any material using MM01/2
I found EXIT_SAPLMGMU_001, but is the material saved at this point of time?
Submit RBDMIDOC periodically each 10/15 minutes its not possible real time
‎2010 Apr 20 10:23 AM
Thanks for your response. I dont see however BDCP2 table has any entries. Is there any other table for that?
‎2010 Apr 20 10:44 AM
Check BDCPS-PROCESS Field
If its X then Change pointer is already processes if its blank its not processed and IDOC would begenerated for that.
BDCP2 table was introduced by SAP for efficient change pointer storage, You can customize which table to use with table view V_TBDA2X.