I need to filter the XIF Business Partner Master IDOC based on certain vaues like create by,changed by fields.
For that I have customized the basic IDOC type to 'YCRMXIF_PARTNER_SAVE_M01' with required segments and assigned it to Message Type 'CRMXIF_PARTNER_SAVE_M'.
I have configured Partner profile and outbound parameters with this message type and basic IDOC type.
IDOC's of type YCRMXIF_PARTNER_SAVE_M01 are getting distributed for new/changed BP's.
Now I need to know which function module it uses to generate/distribute IDOC's,so that I can customize that function module and write the filter logic inside that.
is this the better way to filter IDOC distribution to external clients like XI.if there is any other way to do this please advice me.I would appreciate that.
Thanks in advance.