cancel
Showing results for 
Search instead for 
Did you mean: 

CRMXIF_PARTNER_SAVE_M IDOC customization

Former Member
0 Kudos

Hi All,

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.

Thirumala.

Accepted Solutions (0)

Answers (4)

Answers (4)

mahesh_jagannath
Participant
0 Kudos

Hi Thirumala,

As per my knowledge all CRMXIF IDoc basic types are generated and you will not be able to create an IDoc extension. I suppose you have created a copy of that IDoc type. For CRMXIF IDocs the ideal way is to use BDFG transaction to re-generate the IDoc. CRMXIF_PARTNER_SAVE is the function module that needs to be used in BDFG. If you want to filter values based on certain fields you can implement the BAdi  CRMXIF_PARTNER_MAP for partners. This BAdi is called in function module CRMXIF_PARTNER_MAP_FROM which is called in FM CRMXIF_PARTNER_SAVE.

Let me know if this was helpful!

Cheers,

Mahesh



salah_zinet
Participant
0 Kudos

Hi All,

I know that this thread is old, but, I want to add a very helpful link:

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/406efa7e-388a-2910-f9b8-81913b0ca...

Regards.

Former Member
0 Kudos

Hi, Thirumal,

I have the same doubt as you have on " <b>XIF Business Partner Master IDOC"</b>. Can any one help us out. Thanks in advance !

Regards

<b>Melcose Arul</b>

<b>BizTalk Analyst</b>

Former Member
0 Kudos

Hi,

the easiest (and the standard) way of filtering the data is in the subscriptions. You can change the standard replication object (bupa_main i guess) to include the fields you want in the classical part of the bdoc and adapt your filtering criteria in the subscriptions accordingly.

Michael.

Former Member
0 Kudos

Thanks for your reply Michael.

I will not get those 2 fields (Changed By,Created By)in the IDOC segments for the master BP IDOC.

I am kind of looking for other alternatives like BADI or writing customized function module.

Thanks,

Thirumal.