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: 

Change pointer - IDOC relation

Former Member
0 Kudos
1,101

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.

1 ACCEPTED SOLUTION

Former Member
0 Kudos
576

Hi Aishi,

You can try BDCPV using MESTYPE of idoc and date. This table is also linked with CDHDR and CDPOS tables.

Regards,

Ivan.

4 REPLIES 4

Former Member
0 Kudos
577

Hi Aishi,

You can try BDCPV using MESTYPE of idoc and date. This table is also linked with CDHDR and CDPOS tables.

Regards,

Ivan.

maulik
Contributor
0 Kudos
576

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.

Former Member
0 Kudos
576

Tables BDCP/BDCPS or

table BDCP2 which uses SAPs latest change pointer storage mechanism.

Former Member
0 Kudos
576

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.