Skip to Content
author's profile photo Former Member
Former Member


Hi experts,

I am new to Middleware, I have worked both on idoc and bdoc.

I am very much confuse,when do we use idoc and bdoc?

If i want to pass the custom table from CRM to ECC,what we have to use?

Thanks & Regards,

NIkhil h

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Aug 30, 2013 at 07:38 AM

    Hi Nikhil,

    I would use BDocs to integrate CRM and ECC, I would use IDocs to integrate CRM with another non-SAP system, a good thing to considere is: Which entity will be the middleware integrator?, if for example is CRM, then BDocs, if is an external middleware tool, like PI, MQSeries, etc. I would use IDocs.

    You can add to all of this the XIF addapter, which you can use to take the advantage to all SAP CRM the middleware capabilities( monitor, triggers to push change of data, etc.) to map the Bdoc to an external comprensive message type like IDoc, xml or SOA.

    If you want to replicate Z tables, you can do it via BDoc (if you search in scn there are some blogs which explain that, but I never did), via IDoc, or even via RFC/Webservice.

    In my opinion, if you have enought time the best way should be use BDoc in order to take advantage of the SAP CRM Middleware technology.



    Add a comment
    10|10000 characters needed characters exceeded

    • Hmmmm I'm not an integration expert so I would try to clarify what I know.

      IDoc is a SAP standard message type to integrate SAP with SAP and non-SAP systems and is a very old technology, which still works right now, but every time makes more sens drop IDocs in order tu use SOA. IDocs uses the ALE as the middleware (monitor, change pointers, etc.) I'm not a very big fan of ALE, I found the IDoc monitor, for example, quite a pain, but that's my personal opinion.

      My next argument should be confirmed with someon who has larger experience than me in CRM, specialy in old old old old versios, but I guess CRM middleware was a set of message/technology which was meant to optimze and maximimize the integration with SAP systems (ECC, SRM, and the infamous SAP Mobile) I guess XI was not popular or even invented when the SAP engineers designed the SAP CRM middleware and the BDocs.

      So your question about transfer from CRM to CRM via BDoc, conceptually, yes you can, but I never tried, I tried CRM to CRM with IDocs, via middleware and XIF adapters, and it works. I proposed this way because back then I had a clearer idea how the XIF interfases works than how the BDocs works 😊

      If now I had this scneario I'll give a try use only BDocs.

      Difference between IDocs and BDocs, I don't think the message itself is what makes the major difference, the format of a BDoc can be far more complex than an IDoc, as I said BDoc is SAP to SAP so the data mapping is easier, and for me that's it. The major difference is the technlogy for data replication, monitor, etc. which is behind, for so many years CRM middleware is one of the bases of CRM and now still rocks, despite I heared a lot of people predicting PI will replace it.

      I would love to hear more opinions about this.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.