2011 Jan 11 8:09 AM
We have a scenario where we may want to re-trigger the IDOC creation via the change pointer.
When IDOC are created from change pointer via program RBDMIDOC, I am sure the information must be stored somewhere as to what IDOC no was created for this change pointer.
Does anyone know where is this info stored? Can please help me point to the right table?
Thanks in adv.
2011 Jan 11 4:43 PM
Hi Aishi,
You can try BDCPV using MESTYPE of idoc and date. This table is also linked with CDHDR and CDPOS tables.
Regards,
Ivan.
2011 Jan 11 4:43 PM
Hi Aishi,
You can try BDCPV using MESTYPE of idoc and date. This table is also linked with CDHDR and CDPOS tables.
Regards,
Ivan.
2011 Jan 11 9:12 PM
Check the FM name associated with the Message type you provided to RBDMIDOC and read it's code as to what exactly it is doing.
Unfortunately, there is no link between a change pointer and an IDOC number. Both are independent. It's developer's job to use a Change Pointer to Generate an IDOC Number.
Here's 50,000 view of how it will look like.
1. read the open change pointer, (FM CHANGE_POINTERS_READ)
2. create the idoc by looping on the list of change pointers
3. Build the IDOC segments
4. Send the IDOC to it's destination
5. update the change pointer status. (FM CHANGE_POINTERS_STATUS_WRITE)
Hope this steers you in the right direction.
2011 Jan 12 3:55 PM
Tables BDCP/BDCPS or
table BDCP2 which uses SAPs latest change pointer storage mechanism.
2011 Jan 13 7:34 PM
Hi,
As I know there is no table which stores change pointer number and the respective number. Taking an example of material master IDoc, a material number is changed 6 times.. So 6 numbers of change pointer created. But when we process the change pointer only one IDoc created. The function module which process change pointer the logic is
1> it reads the change pointer using CHANGE_POINTER_READ.
It returns the change pointer number and the key field changed, change value, key field and change type.
2> The it populates the IDoc data table all the control table using the key field and creates the IDoc.
So If you want a table u can create some custom table, u can implement enhancement point or exit to populated the table for change pointer.
3> Then it finally write the status of change pointer.
Please let me know what exactly you require.