cancel
Showing results for 
Search instead for 
Did you mean: 

Using a BDOC for multiple systems

Former Member
0 Kudos

I have to synchronize BP information across different systems. First one is from CRM 5.0 to an other SAP system, which can be done via the middleware using the BUPA_MAIN BDOC after a BP was saved.

Now we have a second system that is not SAP and now I want to use this BUPA_MAIN BDOC in a custom function module for data extraction.

Is it possible to use this BDOC for the second system (only one BDOC is generated after a save?) and keep the first SAP - SAP interface intact? For instance if the second interface would fail, the BDOC should still be processed though interface one. I would prefer two BDOC's which can be processed seperately any pointers/help is greatly appriciated!

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Thank you for these usefull aswers. Now I can create an interface that generates an IDOC after a BP object was saved.

The re-processing of a BDOC only over failed interfaces is a very nice feature, indeed!

Would it be possible to link a custom FM to the site? Since I need to connect to a JCO application, I need to programm the outgoing FM myself and have no need for a XML or IDOC, but I would like the BDOC as a basis import parameter.

Message was edited by: K. El Marzgioui

Former Member
0 Kudos

You could use the IDOC integration en replace the standard function (that generates the idoc) with the custom function.

Michael.

Former Member
0 Kudos

Hi,

SAP CRM has specific functionality available to integrate CRM information to external systems. It's called the "XIF" (search through this forum & the weblogs for info on it) and allows IDOC & XML integration.

--> You can simply assign a XIF-site to the bupa_main and the mbdoc will automatically be converted into an IDOC or an XML and send to an IP of your choice.

--> The bdoc will get multiple receivers in its receivers segment, which will be called individually. Even when one of them is processed and the other one receives an error, reprocessing will only reprocess the one in error.

Michael.

former_member927251
Active Contributor
0 Kudos

Hi,

It's not possible to generate two separate BDOCs. Instead you can define the SITES which are subscribed to receive the BDOC(BUPA_MAIN) and publish the data.

Define PUBLICATION, SUBSCRIPTION and SITES for this purpose. You can define in SMOEAC transaction.

Once the BDOC gets generated, it is sent to all the SITES that are subscribed to receive the BDOC data. The status of the BDOC would be 'Sent to receivers not all have confirmed'. Once all the receivers confirm the status is 'Confirmed(Fully Processed)'. You don't get BDOC status for individual sites.

You can monitor the status in SMW01.

<b>Please reward points if it helps.</b>

Regards,

Amit Mishra