XIF in CRM

Hi All,
I am trying to use XIF Adapter in CRM data loading. I could configure XIF IDoc adapter but I am looking for SOAP call thru XIF XML adapter. Anyone worked on it?
I am getting following error in SMW01,
SOAP Runtime Exception: CSoapExceptionDocumentFormat : document format error: XML kernel processor cannot read tag ( kernel rc=1 ) ( last error=XML prefix not allowed for PI tags)
thanks for any help!!!
KP

Dear Colleague
I guess the XML document format is not correct.
Please check the XML against the XML schema. You can get XML schema from http://ifr.sap.com/catalog/query.asp -> CRM 4.0
Depending which interface you are using Business Transaction/ Business Partner . You can check the XML schema for request and response.
Hope it helps !
Regards
Ashish Mokashi

Similar Messages

  • Issue in BP creation in CRM 7 connected using XIF from CRM 4

    Hi All,
    We have connected CRM 7 and CRM 4 using XIF
    We are facing an issue where 2 IDOCs (with same Basic type CRMXIF_PARTNER_SAVE_M01) are generated at same time while using XIF adapter dring busines partner creation. First IDOC is succesful and other fails with error message " Business patner locked by you".
    Can you please share some expertise on this.
    Thanks & regards,
    Mohit SIngh

    Hi Bala,
    Which version of CRM are you using? There are some notes for CUST_HIERARCHY BDoc errors. Please have a look at them in the Support Portal.
    CRM_BUPA_MAIN_VAL is used for validation of rules set in CRM Server and maybe you dont have the same mandatory rules in MSA.
    Best Regards,
    Ankan

  • CRM -- PI-- ECC using XIF and bdocs

    Hi,
    I wanted to know the solutions we can have to intrgate CRM Site details using bdocs with PI using XIF in CRM and send to ECC Server like CRM >PI>ECC.
    Anyone who has done such a scenario kindly show some pointers on the same.
    Regards,
    Anirban

    Anirban,
    Seriously unless you are doing multiple backends or something strange, you don't even need PI for a CRM to ECC scenario.  The CRM middleware does not use PI at all and basically it is standard configuration on the CRM side to send over the information.
    Another question is why would you want to send the plant master from CRM back to ERP?  Honestly the plant master should probably always be maintained in ERP.  This scenario does not make sense from both a business and technical perspective.
    Take care,
    Stephen

  • CRM -- PI-- ECC using bdocs

    Hi,
    I wanted to know the solutions how we can have to intregate CRM Site details using "bdocs" with PI using XIF in CRM and send to ECC Server like CRM >PI>ECC.
    Anyone who has done such a scenario kindly share some pointers on the same.Also can we use the FM CRM_UPLOAD_TRIGGER and BAPI_CRM_SAVE For such a case?
    Regards,
    Anirban

    Dear Anirban,
    I came accross similar issue with Business Partners in CRM.
    where business Parner information in CRM should be sent to PI and then diverted to B1 server.
    For CRM system to generate IDocs we need to provide necessary details in TCode: SMOAC
    we don't need to take care of XIF during configuration.
    If your systems are not fonfigured for IDoc processing, then just configure them like other servers and execute the BAPI that produces BDocs.
    automatically IDoc will be generated b'coz of the setting what u made in TCODE : SMOAC in CRM
    Best regards
    Praveen

  • How to use crm xif to finish batch creation of BP in crm

    Hi,
       we need to upload BP data in CRM from flat file and many fields to be filled. And seems CRM provides XIF to do this. But not many materials listed in SAP help. could anyone give some suggestion ?
    ths

    Hi,
    I've looked into your reply.
    For your first query, you have to provide identification numbers. It is like an identification for the external systems when you create the same.
    You do not have to pass Guid, since inside the code logic, if it is fresh insert there will be GUIDs generated also, which will cause the confusion. Let the system generate the GUID for fresh insert. You provide the identification numbers.
    For your second query you need to provide the sales area data in the following segment
    E101RMXIF_PR_MATERIAL_SALES of Idoc CRMXIF_PRODUCT_MATERIAL_SAVE01. Also kindly make sure that you have done the necessary customising for sales area of products. Hoping the 2nd error comes during the update of product data.
    I hope this helps.
    Regards,
    Venkat

  • XIF Interface for Activities in CRM 5.0

    Hi,
    I am planning to use XIF interface for data load and on-going interface for CRM activities. I have extended Activity structure with some Z fields using EEWB and it generated all of the necessary structures (BDOCs etc.) When I go to BDFG and create a new message type(ZCRMXIF_ORDER_SAVE) as a copy of CRMXIF_ORDER_SAVE, it does not include those Z fields from EEWB in the IDOC segments. ( I think they are suppose to be in the segment E101CI_EEW_CUSTOMER_H). During the generation, it seems to be hitting a namespace violation. Is there a slick way of solving this issue without making a mod using the debugger as OSS notes say.
    Regards

    Hi Gurkan,
    Did you check the note 613213.
    Cheers
    Binai

  • How To upload business partner into sap crm using xif Adapter by XML File

    HI Guru's,
                 I got Requirement to upload the business partner information into sap crm system using xif adapters from xml file , please give  imformation how can achive this .
    Regards,
    Naveen Kumar MS

    Dear Naveen,
    please see the information given in note 448742 General notes on CRM external interfaces!
    Hope you can find the information!
    Regards, Gerhard

  • Business Partner distribution from  CRM-PI-MDM using XIF and PI Proxy

    Hi,
    I would like to know if there is any step-by-step documentation on configuration of ABAP proxy with XIF in SAP CRM for distribution of Business partner information to MDM system. There is XI Content for this but there is no documentation which highlights configuration of proxy.
    I did looked at following links but was looking for any other document with details.
    http://help.sap.com/saphelp_crm50/helpdata/en/42/b6efbe82103120e10000000a1553f7/frameset.htm
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/406efa7e-388a-2910-f9b8-81913b0ca57f
    (Talks about using IDoc)
    Thanks,
    Divyakumar Jain

    HI,
    Have checked the blog
    /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
    Here you will get the steps to generate the client proxy in R/3.
    Or You can configure the proxy settings as per below blog
    You need to Setup the HTTP connection for ABAP Proxy,
    http://help.sap.com/saphelp_nw70/helpdata/en/da/11df3a9b10355ae10000000a11405a/frameset.htm
    Thanks
    Swarup

  • Regarding XIF Interface and Sale Transaction in CRM

    Hi,
    I have done the configuration in CRM system using XIF interface to communicate with other system.
    We are in the process of implementing CRM, Product and Partner data has to upload in CRM. We are not using R3 for anything.
    When i create a sales transaction using transaction code CRMD_ORDER,System allow me to save/create a business transaction even though i can see the error attached to it and at the same time I can see the BDOC number in SMW01.
    But i dont see any relevant OUTBOUND IDOC against the BDOC, evenif i have configured it for external system and I was expecting Outbound IDOC with error status, please correct me if i am wrong.
    I am using WE02 and WE05 to see my outbound idoc and i have not found anything here.
    Am i missing some step in configuration which is required for converting BDOC to IDOC, Please suggest me.
    Steps which i followed to configure the system are
    1. Create a suitable RFC destination in the SAP IMG Define Target Systems for RFC Calls .
    2. Create a logical system.
    3. Create a receiver port (transactional RFC) in SAP IMG Define Port, indicating the RFC destination you created earlier.
    4. Create a partner profile, for example, partner type LS with the partner number CRM_XML_BC, in the SAP IMG Maintain Partner Profile Manually.
    5. Enter all outbound parameters for the logical system CRM_XML_BC in Create Outbound Parameters in the Outbound Parameters window .
    6. Create a site (transaction SMOEAC). To do this, select Object Type Sites and Create Object. Assign your site a suitable name and select Site Type External Interface for IDocs. Assign the partner profile created previously as a Site Attribute.
    7. Use object type Subscriptions to maintain a subscription for publication of the object with the predefined site.
    8. Create an entry for the new site using XIF customizing transaction CRMXIF_C1 via F4 help (BDoc Type = <objname>, IF Type = 'CRMXIF_*_SAVE_M', Set relevant flag for complete Data and Return). The flag Flag for complete data is only relevant for the objects "order", "business partner", and "business partner relationship". It flags whether only delta changes or the object instance should be transferred completely. The object "business document" is always sent completely, regardless of flag status.
    Thanks & Regards,
    Manoj Tiwari

    Hi Joao,
    Thanks alot for your quick reply.
    Yes i have selected "post it immediately"  instead of "collect Idoc". should i select "post it immediately"??
    About the Outbound parameter i specified everything like message type (crmxif_order_save_m), port , RFC destination of type R3 since we have SRM system, basic type (crmxif_order_save_m01), package and post the idoc immediately.
    Here in our distributed environment we are sending data from CRM to SRM, means our target system is SRM.
    I have created the Site of site type "External interface for idocs" and give the partner Number of SRM system and created subscription too as part of XIF setup.
    Please reply me if i am going wrong in my approach.
    Thanks & Regards,
    Manoj Tiwari

  • XIF issue related CRM 7

    Hi All,
    We have connected CRM 7 and CRM 4 using XIF
    We are facing an issue where 2 IDOCs (with same Basic type CRMXIF_PARTNER_SAVE_M01) are generated at same time while using XIF adapter dring busines partner creation. First IDOC is succesful and other fails with error message " Business patner locked by you".
    Can you please share some expertise on this.
    Thanks & regards,
    Mohit SIngh

    Hi Gaurav,
    Check if this thread helps you:
    Re: Application Enhancement Tool
    Regards,
    Saumya

  • ABAP webservices using XIF adapter in SAP CRM?

    Hi,
    We are going to invoke SAP CRM objects web services via SOAP. Do I need a J2EE engine? Can't I do it with ABAP engine? Without J2EE engine is it difficult to figure out the details of WSDLs to use? If so how..
    Thanks,
    Vijay
    Edited by: Vijay Mudivedu on May 29, 2008 3:33 PM
    Edited by: Vijay Mudivedu on May 29, 2008 3:57 PM

    yes you need J2EE engine
    Regards,
    RDS

  • Crm xif creating rfc destination

    Hi All,
    I am going through the documentation of FM CRMXIF_PARTNER_SAVE.
    I am stuck at the following point:
    1. Create a suitable RFC destination in the SAP IMG Define Target Systems for RFC Calls (for example,a TCP/IP connection to the Business Connector).
    My requirement is as follows:
    I have to integrate the CRM SAP and salesforce for real time synchronisation of Business Partner data.
    How to create an RFC destination ?
    I am absolutely new to this.
    Looking forward to ur support
    Regards
    Shilpi

    Hi Shilpi,
    There are various issues here. But, just to answer about RFC creation, you can do it through Tcode SM59. But, if you are new to this, I would suggest that you request your basis person to create that for you since it should be his responsibility.
    From which system are you planning to call this FM? Usually people use this for data load in CRM in which case you dont need an RFC destination.
    Regards,
    Alin

  • CRM Orders Outbound using XIF

    Hi All ,
       I need to generate XIF output in an XML file for orders and this XML file will be send to an 3rd party system. I would like to know what are all the settings and steps that I need to do to achieve this. 
    And also I want to know how the structure of XML will be? whether it is an XML based on IDOC( e.g CRMXIF_ORDER_SAVE_U03 ) or it will be based on BDoc Structure.
    Thanks in Advance
    Pradeep

    Hi Pradeep,
    Try sending the order with report CRMXIF_ORDER_TEST. It uses functions CRMXIF_ORDER_MAPSEND & CRMXIF_ORDER_EXTRACT to extract the information and send it to the XIF site (be it an idoc or an XML). If necessary, you can debug by setting a break-point on the functions ans see if the extract is performed.
    Transaction BDFG is exactly that: it provides the possibility to generate the XIF idoc structures based on the bdoc structure.
    So if your Bdoc structure contains Z-fields, these will automatically be generated into your new idoc structure and all functionality (processing functions) will be generated as well.
    Regards
    Manohar

  • Using SAP PI instead of CRM Middleware

    Hi experts,
    Is it recommend to use SAP PI instead of SAP CRM Middleware.
    If yes how can I do that.
    I have read in forum requests that it can be implemented by using iDOC instead of BDocs.
    I need a technical guideline how data (eg. Business Partner Data) can be tranferred from CRM to other ERP System.
    Thank you for help.
    Greetings
    Mario
    Edited by: Mario Bauer on Jun 22, 2010 9:24 AM
    Edited by: Mario Bauer on Jun 22, 2010 9:28 AM

    Hi!
    SAP PI itself is a middleware Product but very roboust and capable enough to integrate any system to any other system, either it is SAP or Non-SAP. And there are two ways to integrate other ERP System to SAP CRM using SAP PI.
    1. SAP PI will receive the message from back end ERP system & convert it to the XML format. SAP CRM receives the message using the Middleware XIF adaptor and convert the incoming XML Messages in the BDocs and the BDocs upload the data in the SAP-CRM Data base.
    2. SAP PI will receive the message from back end ERP system & convert it to the XML format. SAP CRM receives the message and using the Functional Module convert the data into the  BDocs and the BDocs upload the data in the SAPCRM Data base. In thsi situation, you need an expert ABAP Consultant to write the accurate functional Module.
    The data inside the SAP_CRM System always transported in the BDocs not in Idocs. It is the BDocs data containers which transport the data from CRM Middleware to CRM Database and CRM Database upto CRM Middleware.

  • Data Migration from Legacy System in CRM

    Hi All,
    We are going to Implement a new CRM project, I have a problem with LSMW(Legacy System Migration Workbench ), I have some Conversion Objects of CRM and I need to know whether Data Migration is possible or not, please tell me how to find these Objects and how to know Data Migration is possible or not.
    Objects are like.,
    1. Accounts
    2. Actuate Reports
    3. Active Campaigns/Campaign Content/Dispositions
    4. Contacts
    5. Contracts
    6. Opportunities
    7. Payment Arrangement History
    8. Payments
    9. Premises
    10. Rate Changes
    11. Security Deposits
    12. Business Partner Relationships
    13. Web self-service information
    14. Usage that has been used for quotes
    15. Tax history information, including AXCIS
    17. Service Requests
    18. Service Order History
    19. Security Deposits
    20. Reference Values
    21. Rate Changes
    Can anybody please tell any transaction code in CRM where can I find the Data migration for the above objects is possible or not.
    Thanks in Advance,
    Sai.

    Hello,
    for migration into CRM I would suggest the 'XIF-Interfaces'; these are interfaces provided in CRM for connection to external systems. I'm not sure if this will cover all objects mentioned above, but at least some of them should exist.
    Some information about existing interfaces can be found in the integration repository under http://ifr.sap.com/index.html; from the start screen first select 'Enter the repository' and then have a look under 'generic components' and 'SAP CRM'.
    Regards, Katja Ohliger

Maybe you are looking for