02-02-2007 8:56 AM
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.
02-02-2007 10:09 AM
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.
02-02-2007 10:09 AM
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.
02-02-2007 10:22 AM
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.
02-02-2007 10:28 AM
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
02-02-2007 10:44 AM
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.
02-02-2007 10:54 AM
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.
02-02-2007 11:02 AM
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.
02-02-2007 11:16 AM
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.
02-03-2007 5:38 PM
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