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

Change pointers for custom idoc

Former Member
0 Likes
4,079

Hi ,

How to create change pointers for custom idoc. have a custom idoc and i want an idoc to be generated when there is a change in MLST table fields.

Thanks,

Mahesh

1 ACCEPTED SOLUTION
Read only

Sougata
Active Contributor
0 Likes
2,415

Hello Mahesh,

Your custom IDoc should have a Message Type and the Change Pointer should be activated for this Message Type. You can activate this via transaction SALE the follow path: Modelling and Implementing Business Processes u2013> Master Data Distribution u2013> Replication of Modified Data u2013> Activation of Change Pointers (Generally and for Message Types) but make sure the change pointers are already active generally via BD61 before you do this.

The two tables in relation to Change Pointers that one should remember are BDCP and BDCPS. The Change Pointers are normally processed using the standard transaction BD21 (Program RDBMIDOC) or transaction RE_RHALESMD (Program RHALESMD).

It is important to note however that a change pointer will not be created for a change unless the Distribution Model and Partner Profile are set up correctly.

The other important transaction to remember is BD60 where the function module to process your changes/business logic are connected to your custom message type/IDoc.

Hope this helps,

Cheers,

Sougata.

6 REPLIES 6
Read only

Sougata
Active Contributor
0 Likes
2,416

Hello Mahesh,

Your custom IDoc should have a Message Type and the Change Pointer should be activated for this Message Type. You can activate this via transaction SALE the follow path: Modelling and Implementing Business Processes u2013> Master Data Distribution u2013> Replication of Modified Data u2013> Activation of Change Pointers (Generally and for Message Types) but make sure the change pointers are already active generally via BD61 before you do this.

The two tables in relation to Change Pointers that one should remember are BDCP and BDCPS. The Change Pointers are normally processed using the standard transaction BD21 (Program RDBMIDOC) or transaction RE_RHALESMD (Program RHALESMD).

It is important to note however that a change pointer will not be created for a change unless the Distribution Model and Partner Profile are set up correctly.

The other important transaction to remember is BD60 where the function module to process your changes/business logic are connected to your custom message type/IDoc.

Hope this helps,

Cheers,

Sougata.

Read only

Former Member
0 Likes
2,415

Hi

1-You can enable change pointers Globally through transaction BD61.

Path is :From the ALE customizing in IMG>Choose modeling and implementing business processes>

Master Data Distribution->Replication of Modified Data>Activate Change Pointers.

2-You can enable change pointers for a message type through transaction BD50:

Path is :From the ALE customizing in IMG>Choose modeling and implementing business processes>

Master Data Distribution->Replication of Modified Data>Activate Change Pointers for message type.

Next step is to go to transaction BD52 and specify the fields for which change pointers are to be written.

Executing Program RBDMIDOC to process change pointers.

Regards

Neha

Read only

Former Member
0 Likes
2,415

Hi,

Change pointers concept works on the values getting changed in table/field level - are recorded in Change log system of SAP i.e. CDHDR and CDPOS tables. So, first you must enable the new idoc tables to get the change log created and then you can you BD61,BD50 and BD52 transactions entry for your idoc type.

Regards

Satya

Read only

0 Likes
2,415

hi,

change pointers are change documentation concept. whihc field is having change doucment tick mark only those fileds actively participating in change pointers techniq. other fileds ( not having change document tick mark) are not able to participate in this concept .

so ,

when u have custom idoc u can follow the steps

1.All the fields should have change document tick mark.

2.Create custom massage type .

3.Add the message type and activate for massage type

4.and use bd21 tcode run to distribute this message type.

let me know if u r facing any problem.

thanks

linganna

Read only

0 Likes
2,415

Hello All,

I have created message type and activated the checkbox for change pointers in tcode BD50.

After that when I am executing BD21 for my message type it is give following message.

:Message type ZINVRV04 cannot be sent with change pointers

Please help me out as soon as possible..

Thanks in advance.

Mallika

Read only

Former Member
0 Likes
2,415

Hi ,

goto sale t-code.

1.Activate change pointers - generally

2.Activate change pointers for message type

3. Create Idocs from change pointers - here we have to create job and release it..

if you follow the above steps it will work.