Application Development 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 for custom message type

Former Member
0 Kudos

Hi,

I have a situation where in, i need to create a custom message type and need to track the changes in the table fields using the Change pointer technique.

Can anybody guide me as to what are the step to be followed after i create the custom message type and how to register the fields of the message type ?

Note : Change document (CDPOS) technique is ruled out in my requirement.

Regards,

Kewal.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hello,

Once you create custom message type ,you add this message type entry in BD50 transaction.Then using BD52 transaction define which fields should be selected to create this message type IDoc.Give the reference table field names .So any change in listed fields will trigger this custom message type IDoc.

Hope this helps.

Mark points if helpful.

Thanks.

8 REPLIES 8

Former Member
0 Kudos

Hello,

Once you create custom message type ,you add this message type entry in BD50 transaction.Then using BD52 transaction define which fields should be selected to create this message type IDoc.Give the reference table field names .So any change in listed fields will trigger this custom message type IDoc.

Hope this helps.

Mark points if helpful.

Thanks.

0 Kudos

Hi Rushali,

Thanks for the answer. Could you please help me with creation of message type.

I am creating segment in WE31 and IDOC type in WE30 where in i assign the segment type to my custom IDOC type. In we81 i am entering the message type.

Now before going to activating change pointers and all. Is there anything i am missing out ? please explain.

Regards,

Kewal.

P.S. : Points will be rewarded for previous answer too.

0 Kudos

hello,

Please proceed with the procedure you have mentioned.

Except that you hv to also use we82 in linking custom message type with your IDoc type .

Once this linking is done ,then you canactivate chagne pointers.

Thanks

0 Kudos

Thanks once again,

I had linked idoc type and message type in we82. Now after i activate the change pointers. I try to generate the IDOC type using BD21. It gives me the error message :<b> "Message type ZP2PPROJ_MSG cannot be sent with change pointers"</b>

whereas in my segments i am using all the master data only (i.e. PRPS, PROJ,PRHI). Please throw some light on this.

Also please clarify, do i need to make an entry of this custome message type in the partner profile ?

Rgds

kewal.

0 Kudos

Hello,

As per my understanding,

you are creating custom IDoc with custom message type.

So for that you need to create entry of custom message type first.(we81).

Then create segment & link it in Custom IDoc.(We30,we31 ).Once this is done ,

link custom idoc with custom message type(we82).

Activate change pointers.Set partner profiles for your interface with custom message type .

Thanks.

0 Kudos

hi,

Sorry i didn't tell you earlier. I had done exactly what you have said in your reply.

I had created an entry of message type in we81 earlier and then linked this with the IDOC type from we21 in we82. But stil i am getting this problem.

<b>Also please clarify, do i need to make an entry of this custome message type in the partner profile ?</b>

Rgds,

kewal.

0 Kudos

Yes.You need to enter custom message type in partner profile without whcih no IDoc will be triggered.

after linking idoc with mesage type & putting correct entry in partner profile just try to change one of the field in your data & execute Change pointer IDoc gneration program to see if IDoc is generated or no.

Thanks.

0 Kudos

Hi,

You need to activate the message type for Change pointers enabled in the transaction code BD50 by selecting the check box and also you need to maintain the message type, sender and receiving system in the Distribution Model BD64 apart from maintaining the partner profiles.

Thanks