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

Data exchange with CRM using XIF

Hi all,

I want to upload data to CRM from external systems. I am planning to use XIF for this. I have few questions as follows,

1. I understand that data can be uploaded into CRM using XIF Idoc or XIF SOAP-XML. Can anyone plese tell me when to use what & what are the advantages?

2. My understanding is after doing configuration for XIF IDoc inbound processing we don't need any mapping. In Partner Profiles Inbound processing use message type such as CRMXIF_PRODUCT_SAVE_M or CRMXIF_PRODUCT_SAVE_M and use process code as APLM (Mass processing) or APLI (individual processing). This will post the IDoc in CRM database.

Please help me understand what I am missing or where I am wrong.

3. If I decide to use XIF XML adapter for outbound, is creating HTTP destination to External system, configuring Site & subscription enough? My understanding is because of this configuration whenever there is Business partner & BP relation created it will create and outbound message. Am I right?

4. For XIF XML inbound, I can use path http://<appservername>:8080/sap/bc/soap/rfc from external application.

My question... how can CRM understand from above url which object to be created... means the data coming is BP or Product? Also in IDoc case I can see IDoc in WE05 whereas in XML case where can I see incoming as well as out going messages?


Answers to all or part of the questions are very helpful to me. So please respond!!!



Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Jun 09, 2005 at 08:22 PM


    1. The IDOC load works nice if you have to do an initial conversion from another system. The LSMW tool can be used to map the external data file into the XIF format. I have used this technique a couple of times and in general it works pretty decent.

    2. That is correct there is no mapping if you setup the inbound IDOC processing. The caveat is you must use the format of the XIF adapter document, but nothing needs to be done externally to translate the XIF format into BDOC format for the middleware adapter call.

    3 & 4. Haven't worked with the outbound or inbound XML interface. It would be interesting to see it in action, but don't have the systems in place to handle that.

    5. Try looking at the documentation for the function modules:




    There is a description of what each adapter object is supposed to do. If you are only importing materials I would recommend staying with PRODUCT_MATERIAL.

    Sorry if I can't provide anything more. However honestly most of the basics to get the adapter running are covered in the documentation for the function modules above.

    Good luck,


    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member


      perhaps you could setup the interface to send the idoc to a file on the server (HTTP Connection to Ext. Server) -> This way you know that the integration works and you can worry about integration to another SAP system later on.


  • author's profile photo Former Member
    Former Member
    Posted on Jun 09, 2005 at 07:29 PM

    Hi gurus,

    Please find time and suggest/help me.



    Add a comment
    10|10000 characters needed characters exceeded

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.