Hi,
I want to enhance CRM extractors for BW. If you want to do this in a R3 system you use CMOD and for example include ZXRSAU01. I'm not sure how to do this in CRM: it's possible to use the CMOD functionality, however the CRM extractor also makes use of the BAdi CRM_BWA_MFLOW. Here you can enhance datasources as well.
What's the best way to enhance datasources in CRM: CMOD or BAdi?
If the BAdi is the best solution I have another issue. In CMOD you can make use of external routines like the code below:
WHEN '0CRM_COMPLAINTS_I'.
PERFORM 0crm_complaints_i(saplxrsa) TABLES c_t_data IF FOUND.
Can I also use the function pool SAPLXRSA in this BAdi?
And I have a problem with the definition of c_t_data: this should be a STANDARD table. However, in BAdi it has type ANY. Before performing the routine I can move the itab to a STANDARD table, but I don't know if this is the best solution.
In other words: does anybody has an ABAP example how to enhance a data source in CRM? 😉
Regards,
Patrick