This is a general tip I would like to share with everyone after my recent project experience on creating custom AET tables.We needed the AET table structure to be extended into the BDOC type BUPA_MAIN so that we could send the custom information via PI to other third party systems or possibly replicate the info into ECC customer master data.
We created an extension table in CRM 7.0 on the business partner object however unlike custom fields on BP that are appended into BUT000 and hence show up in BUPA_MAIN bdoc type automatically, the custom table structure does not automatically show up in the Bdoc.
For this to work, the below event in tcode CRMC_BUT_CALL_FU needs to be activated.
Function Name: CRM_BUPA_BDOC_BPS_FILL_AXT
It does not come activated by default and since there weren't any messages on SCN around this specific topic, we had a tough time looking for the solution.
So hopefully this tip will help consultants out there looking for similar solutions.