CRM middleware replication, Bdoc modelling ......

Hello,
I am currently on to CRM middleware, ........ I need to do some work related to replication of data from ECC to CRM, Bdoc modelling, error handling etc.
I actually went thru the posts, but could not quite get the clarity.
Can anyone pls let me know where to start..... to get a good underatanding of CRM middleware , any documentations on CRM middleware would be of great help.
Thanks a lot !!
Veena.

Dear Veena,
To get a good understanding of R/3 and CRM master data replication, the SAP best practices
C71- Connectivity
B01- Generation
B09- Customising Replication
C01- CRM OrgModel
C03-Master and Transactional data replication
will help you a lot in real time process. For basics & fundamentals, you need to go thru the CR500 and CR550 which can really help you.
About error handling, better you search the SAP NOTES in CRM Middleware section.
But for your client specific scenarios, you should again post threads on SDN with proper requirements.
Thanks&regards,
kalyan

Similar Messages

  • Crm middleware concepts(BDoc,queueing,mapping)

    Hi getting trained in CRM ,  Can some one send me any documentation related to Middleware of CRM, How BDOcs work,how they are mapped...
    thanks in Advance

    Hi,
    depending which CRM release you want to ues please check these links:
    SAP CRM 5.0
    http://help.sap.com/saphelp_crm50/helpdata/en/c3/95fc381478ab6fe10000000a11402f/frameset.htm
    http://help.sap.com/saphelp_crm50/helpdata/en/aa/ac8d420eb8173be10000000a155106/frameset.htm
    SAP CRM 4.0
    http://help.sap.com/saphelp_crm40sr1/helpdata/en/c7/95fc381478ab6fe10000000a11402f/frameset.htm
    http://help.sap.com/saphelp_crm40sr1/helpdata/en/9e/ef6e59c0b7490c8358d7d75ed2b7fd/frameset.htm
    best regards
    Carsten

  • Z table middleware replication from R/3 to CRM

    Looking for a CRM Middleware Guru out there !!!
    I'm trying to replicate a simple R/3 table (list of countries in my example below. The replication must include both initial and delta downloads.
    My problem is the following:
    When doing an initial load using Transaction R3AS the BDOC is created correctly.  
    The traffic lights are green in transaction SMW01 with a status of Confirmed (fully processed). 
    The segments of the BDOC are populated with the correct value from R3 <b>BUT</b> <b>the table on CRM is not populated.</b>
    Here is what I have done so far:
    1-Created table on R3 ZCOUNTRY
    2-Created mapping Function on R3 Z_CRS_MAP_ZCOUNTRY_BAPIMCTS
    3-Created extract Function on R3 ZCOUNTRY_EXTRACT
    4-Created an entry in Table CRMSUBTAB for Function ZCOUNTRY_EXTRACT
    5-Created Receiving Module in R3 Z_CRM_COUNTRY_COLLECT_DATA triggered on SM30 for the Delta Load
    6-Created table on CRM ZCOUNTRY
    7-Created Bdoc on CRM ZCOUNTR_MESG
    8-Created validation Function on CRM ZCRM_ZCOUNTR_MESG_VAL
    9-Add an entry in SMW3BDOCIF for BDOC ZCOUNTR_MESG and Validation Function ZCRM_ZCOUNTR_MESG_VAL
    10-Created mapping Function on CRM ZMAP_COUNTRY_BAPIMTCS_TO_MBDOC
    11-Created MW Adapter Object in CRM ZCRMCOUNTRY
    12-Created a replication Object on CRM ZCOUNTR_MESG
    13-Created a publication on CRM ZCOUNTRY
    I'm not sure why the CRM does not get populated. Could it have anything to do with "GUID" keys?
    The 2 fields on my bespoke table are:
    -Country
    -Continent
    In my Root Data Structure for the MBDOC do I need to add GUID as the first fields i.o.w.
    -GUID
    -Country
    -Continent
    When I choose my segment fields do I choose (?):
    -GUID
    -Country
    -Continent
    In my CRM Mapping function how do I populate the GUID field? (see the code below in the mapping function).  How do I get a value into lv_sfakey and does this have anything to do with the GUID mentioned above.
    MOVE lv_sfakey TO segment_line-guid.
    AND
    MOVE lv_sfakey TO ext_line-data-guid.
    Thanks for any help
    Manoj

    Hi Manoj,
    I have a similar situation as you have described. However my problem is that when i start the initial load, the status in the RFC inbound queue of CRM (smq2) shows stop and the oject shows the status running. I dont know how to debug the
    Validation FM and Mapping FM written for the same. Can you please explain me the meaning of the status shown in the crm queue.
    Thanks,
    Vaishali

  • Middleware Replication-ISU Installation Facts into CRM Service Contract

    Hi All,
    I would like to share an update which I have followed for one of my implementation project.
    Following document will help you, if you want to replicate some of the data from ISU to CRM Service contract custom fields, which is not the standard replication practice.
    [Middleware Replication-ISU Installation Facts into CRM Service Contract|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/30e51278-00f0-2d10-89a9-ee3d76447650]
    Appreciate your feedback.
    Cheers,
    Suraj

    Hi Fritz,
    As requested following are the code samples-
    For  ISU System BAdI "ECRM_CRM_DOWNLOAD" as below:
    X_CONTRACTPOS               TYPE ECRM_CRMCONTRACT_DATA_POS          Item Data (Enhanced)
    XY_CONTRACTPOS               TYPE ECRM_CRMCONTRACTPOS          Transfer Structure: Contract Status from CRM to IS-U
    XY_CONTRACTPOSX               TYPE ECRM_CRMCONTRACTPOSX          Transfer Structure: Contract Status from CRM to IS-U
    TXY_CONTRACTCONF          TYPE ECRM_CRMCONTRACTCONF_TAB          Configuration Container
    TXY_CONTRACT_STATUS_DATES     TYPE ECRM_CRMCONTRACT_STATUS_DAT_T     Status and Date Tab
    METHOD if_ex_ecrm_crm_download~crm_download_fill_data_new.
    *...Local data declaration
      DATA : l_c_string1      TYPE  string1,
             ls_contractconf  TYPE  ecrm_crmcontractconf.
      IF x_contractpos-partner       IS NOT INITIAL AND
         x_contractpos-everh-anlage  IS NOT INITIAL.
        SELECT SINGLE string1
                                 FROM  ettifn
                                 INTO  l_c_string1
                                 WHERE anlage = x_contractpos-everh-anlage.
        IF sy-subrc EQ 0.
          MOVE : x_contractpos-partner            TO  ls_contractconf-partner,
                 x_contractpos-everh-contractpos  TO  ls_contractconf-ref_guid,
                 'OPERAND'                        TO  ls_contractconf-attr_name,
                 l_c_string1                      TO  ls_contractconf-value.
          CALL METHOD me->fill_container
            EXPORTING
              ip_contractconf = ls_contractconf
              ip_value        = ls_contractconf-value
              ip_name         = 'Operand'
            CHANGING
              li_contractconf = txy_contractconf.
        ENDIF.
      ENDIF.
    ENDMETHOD.
    VALUE( IP_CONTRACTCONF )     TYPE ECRM_CRMCONTRACTCONF     Configuration Container
    VALUE( IP_VALUE )          TYPE TEXT70               Error message text - long text of the error
    VALUE( IP_NAME )          TYPE CU_CHARC               Characteristic Name
    VALUE( LI_CONTRACTCONF )     TYPE ECRM_CRMCONTRACTCONF_TAB     Configuration Container
    METHOD fill_container.
      DATA : l_c_contractconf TYPE ecrm_crmcontractconf.
      FIELD-SYMBOLS : <contractconf> TYPE ecrm_crmcontractconf.
      l_c_contractconf = ip_contractconf.
      READ TABLE li_contractconf ASSIGNING <contractconf> WITH KEY ref_guid = ip_contractconf-ref_guid
           attr_name = ip_name.
      IF sy-subrc EQ 0.
        <contractconf>-value = ip_value.
      ELSE.
        l_c_contractconf-value = ip_value.
        l_c_contractconf-attr_name = ip_name.
        INSERT l_c_contractconf INTO TABLE li_contractconf.
      ENDIF.
    ENDMETHOD.
    For CRM system BAdI "ECRM_DOWNLOAD" as below:
    IP_MTR_TYPE     TYPE /NPC/MTRTYPE          Meter Type
    IP_REF_GUID     TYPE CRMT_OBJECT_GUID          GUID of a CRM Order Object
    CP_CS_TRANS_MSG     TYPE BAD_BUS_TRANSN_MESSAGE     Transaction Messaging BDoc
    METHOD fill_container.
      DATA:           li_flds_upt_orderadm_i TYPE TABLE OF smog_sfldn.
      FIELD-SYMBOLS : <orderadm_i>           TYPE bad_orderadm_i_mess.
      READ TABLE cp_cs_trans_msg-orderadm_i ASSIGNING <orderadm_i> WITH KEY guid = ip_ref_guid.
      IF sy-subrc EQ 0.
        APPEND 'ZZ_METER_TYPE'    TO  li_flds_upt_orderadm_i.
        CALL FUNCTION 'SMO_SNDBITS_SETX'
          EXPORTING
            structurename       = 'BAD_ORDERADM_I_MESS'
            ddic                = 'X'
          TABLES
            sfields             = li_flds_upt_orderadm_i
          CHANGING
            sndbits             = <orderadm_i>-sendbits
          EXCEPTIONS
            structure_not_found = 1
            wrong_fieldname     = 2
            OTHERS              = 3.
        <orderadm_i>-zz_meter_type = ip_mtr_type.
      ENDIF.
    IS_CONTRACT_DATA     TYPE ECRM_ISU_CONTRACT_DATA2     
    CS_BUS_TRANS_MSG     TYPE BAD_BUS_TRANSN_MESSAGE     Transaction Messaging Business Document
    METHOD if_ex_ecrm_download~ecrm_download_fill_data.
      DATA :   ls_contractconf  TYPE  ecrm_isu_contractconf2,
               ls_orderadm_i    TYPE  bad_orderadm_i_mess.
      LOOP AT is_contract_data-t_contractconf INTO ls_contractconf.
        READ TABLE cs_bus_trans_msg-orderadm_i  INTO ls_orderadm_i WITH KEY guid = ls_contractconf-ref_guid.
        IF sy-subrc EQ 0.
          MOVE : ls_contractconf-value  TO  ls_orderadm_i-zz_meter_type.
          CALL METHOD me->fill_container
            EXPORTING
              ip_mtr_type         = ls_orderadm_i-zz_meter_type
              ip_ref_guid         = ls_orderadm_i-guid
            CHANGING
              cp_cs_trans_msg     = cs_bus_trans_msg.
        ENDIF.
      ENDLOOP.
    ENDMETHOD.
    ENDMETHOD.
    Cheers,
    Suraj

  • Why we need crm middleware for material replication?

    Hi Experts,
    Why we need CRM middleware for material replication from ECC to SRM when we can do the vendor replication from ECC to SRM with ABAP report? IS there any technical limitation?
    Thanks and regards,
    Ranjan

    Hello,
    Vendors and locations, for example, you can replicate from ECC to SRM using ABAP reports.
    However, if you want to replicate the following information, you should use the middleware:
    - DNL-CUST-BASIS3 - Basis CRM online
    - DNL-CUST-PROD0 - Material number conversions
    - DNL-CUST-PROD1 - Product : categories
    - DNL_CUST_SRVMAS - Customizing: Service Master
    - MATERIAL - R/3 Material Master
    - SERVICE_MASTER - R/3 Service Master
    Check note 872533. It provides more information.
    Regards,
    Ricardo

  • SRM 7.0 - CRM middleware settigns for material replication

    Hello SRM Guru's
    Can you please provide me detail step by step process of CRM middleware settings for material replication from ECC 6.0 SRM 7.0?
    Thanks.
    Regards,
    Magesh.

    Hi,
    Configuration Guides are available in SAP Solution Manager Server. Downloaded offline version is also available in SAP Service Marketplace. http://service.sap.com/srm-inst
    Please check a good blog by Marcin Gajewski. /people/marcin.gajewski/blog/2007/02/05/how-to-replicate-material-master-from-r3-to-srm
    SDN has search functions. You can find solutions for your issue.
    Regards,
    Masa

  • SAP CRM middleware and replication and mapping

    Hi CRM gurus,
    how r u, this is sivakumar, i want some details of how the process regarding, replication  in the middleware and mapping  from R/3 to CRM theory part, if u hav please send me
    Regard
    siva

    Hi Natarajan,
    Can you please send me CRM middleware documentation to [email protected]
    thanks in advance
    Cheers,
    Reddy.

  • Why SAP SRM material replication happens through CRM middleware?

    Can some one help me to understand, Why SAP SRM material replication happens through CRM middleware? Is there any functional/Technical reason behind this design?

    Dear Sridhar,
    SRM releases later SRM 4.0 are working with the same middleware implementation,
    there where no changes between the releases. The SRM middleware implementation
    was decoupled from the CRM middleware development at that time.
    (Middleware is based on the basis functionality of queued Remote Function Calls qRFC)
    Regards
    Laszlo

  • CRM MIDDLEWARE QUERY FOR PRODUCT REPLICATION -URGENT

    Hello All,
       I am replicating the product categories(in SRM terminology) i.e. initia load of Material groups from backend(R/3) into the SRM system through the CRM Middleware.
      At the r/3 side in the tcode SMQ1(Outbound Queue),i am getting the status as STOP while at SRM side(i.e. CRM middleware) in the tcode SMQ2(Inbound queue),i get the status READY.Also when I go in for the transaction of Monitoring Initial Load (R3AM1),I get the status as RUNNING.
      Can anyone please tell me  how  much time it takes to download these objects because I had  started the Initial Load for 4 Objects out of  which the 1st object took 4 hrs to be downloaded!Please help.
    Thanks & regards,
    Disha D

    Also I got  an error in executing the report BBP_PRODUCT_SETTINGS_MW with the foll information text :-
    The termination occurred in the ABAP program "SAPLSMSG" in "MESSAGE_STOR
    The main program was "BBP_PRODUCT_SETTINGS_MW ".
    The termination occurred in line 44 of the source code of the (Include)
    program "LSMSGU02"
    of the source code of program "LSMSGU02" (when calling the editor 440).
    What customizatuon/configuration settings are required for this report to be executed succesfully????
    Disha

  • CRM Middleware in Material Master replication

    Hi All,
    Why CRM Middleware is required to replicate Material Master from ECC to SRM whereas the Vendor Master
    is replicate with Transaction....could you please explain.
    Thanks & Regards
    venu

    If your CRM system is new then you have to do the initial download of material from ECC to CRM. To do that first download the material customizing object (like category. group etc), from transaction R3AS (CRM side) then download the product/Material.
    After do the initial download, activate the change pointer for the material related message type (matmas etc..)from transaction SALE (ECC). And schedule I job to run its on daily basis.
    If can check the below link for details
    [http://help.sap.com/saphelp_crm52/helpdata/EN/46/57605301a208e7e10000000a114a6b/content.htm]
    Thanks
    Subhankar
    Edited by: Subhankar Garani on Sep 1, 2011 12:21 AM

  • SAP CRM  Middleware flow from R/3 to CRM

    hi
    I am new to CRM middleware   I have some doubt about the replication from the R/3 to CRM.
    I have some 4 basic questions Kindly help me out
    1.in initial  down lode how to know which object for which requirement? There is any list like these objects for this one?
    2.when the initial download have to use and when the delta down lode have to use?
    3.object creating is preferable option or not if yes in which condition we have to create the objects?
    4.what is the difference between   customizing objects and business objects?  and when we have to use which object ?
    wiht Regards,
    prakesh..!

    Hi Prakesh
    Happy to hear that my answers were useful. Hope this new will solve your problem.
    So let's reply to your new questions.
    1)  Yes it is the delta download. This means that you have already triggered the initial download. Now all changes or new creations are replicated into the CRM system. I do not suggest this approach. This is usually used when you have no other chance because this process is complex and very time consuming. I would suggest checking the BDoc before proceding with degugging the queue. Go to transaction code SMW01. Filter on time (when you made the change). You will find bdocwith a red or yellow traffic light. This means that data have been not processed in CRM system. You usually have an error message (just select the BDoc from the list and click the red button in the toolbar) attached to the BDoc that is explainatory of the error. Correct the error and reprocess the BDoc (there is a proper button).
    2) To debug the queue go to transaction code SMQS and SMQR and deregistrate inbound and outbound queue in the CRM system. After you do this, apply the changes to the customer. You will find an inbound queue in transaction code SMQ2. Select the queue and click the last button in the header toolbar. You will process the flow in debug. Remember to register the queue when this is no more necessary otherwise you will have a mess in the system.
    3) if you create new customer in CRM system, this are automatically replicated in the backend system basing on the scenario set. No additional tables are created. All the changes applied in the CRM system will be replicated in the backend with the same process except the Bdoc that are really CRM specific.
    Hope this help you.
    Regards,
    Fabrizio

  • USE OF  CRM  MIDDLEWARE AND  XI in SRM LANDSCAPE

    Hello All,
       Please Can anyone tell me for communicating between SRM and different systems within a landscape,how  do we recognise whether to opt for  XI or  CRM  middleware
    (Of SRM)???
    Please Help.
    Thanks,
    Disha.

    Hy Disha,
    The different communication methods from SRM are:
    1 CRM Middleware
    This is only used for Master Data replication (init) with SAP Backends, and for Product master for init and delta uploads.
    You can define your own BDocs for your needs (non easy way)
    2 RFC
    This is used for R/3 backend document creation (Reservation, PR and PO) in classic and extended scenarios, and for several checks in the SC creation
    3 ALE/IDOCs
    This is used for Good receipt and Invoice creation in R/3 in Classic and Extended scenario
    4 XI
    It is used for SUS integration, CCM upload and publishing scenarios, and PO send scenarios.
    Regards.
    Vadim

  • CRM Middleware Object extensions

    Hi All -
    Can someone send me the "CRM Middleware Object extensions for custom Bdoc developments/Bdoc Modeling" book and any stuff on Business Transaction Events (BTE)?
    TIA,
    Aarthi.

    Hello Davy,
    please do not request documents to be sent via Mail. Have you read Links to CRM Documentation.
    Regards
    Gregor

  • 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.

  • Version Compatibility of SAP R/3 4.6 C with SAP CRM 5.2 + CRM middleware

    Dear SDN team,
    We are trying to Integrate SAP R/3 4.6c with SAP CRM 5.2 using CRM middleware.
    We wanted to know the following :
    1.Technical and Functional feasibility in integration of CRM 5.2 and R/3 4.6c. What are problems for these versions ? ( In Brief )
    2.We are trying to move the Objects BP , Quotes and Products from R/3 to CRM 5.2. Has anyone done this and can someone give us a brief description of the problems while doing the same
    3.Any other useful suggestions would be very helpful regarding CRM middleware.
    Kindly reply on this post . Points would be awarded.
    Thanks and Regards
    Dinesh and Ritvij
    Email : [email protected]

    Hello Ritvij,
    Regarding middleware ,are you down loading plants? bacause down load object objects DNL_PLANT is obsolete.
    Unusable middleware objects :
    DNL_CUST_BASIS3
    DNL_CUST_PROD0
    DNL_CUST_PROD1
    DNL_CUST_SRVMAS
    and the master data objects
    MATERIAL
    SERVICE_MASTER..
    Find composite note for middleware at 872533..
    What is the leading system for Order creation?
    Please refer notes 490932 for more info about transactional doc replication between the two systems.
    Please assign points.
    regards,
    Muralidhar Prasad Chatna

Maybe you are looking for

  • Ipad screen crack need actual cost, ipad screen crack need actual cost

    can some one tell me what is actual price of exchanging my cracked screen ipad ???

  • Dynamic Grouping on Time Interval Parameters

    I have started a report that pulls volumes from our database dependant upon an Interval parameter. This function works just fine using the following code. WHERE (@Interval = 'Daily (Yesterday)') AND (Date_DateTime >= DATEADD(dd, -1, DATEDIFF(dd, 0, G

  • Insert JAVA3D CODE into a HTML PAGE

    My java 3d code is working perfectly with javac and java command. I can see the result of my game in the appletviewer But when I want to insert the code into a html page,it dosen t work the java applet remain grey.... Can someone tell me why and some

  • How do I unlock iPhone4 ios5 bought from US?

    I used my iPhone4 using Turbo Sim Gevey... worked well.. and my mistake that I upgraded to ios5 later.. Now my phone's locked.. and doesnt get unlocked by any providers.. Reason?? May I know procedure of unlocking my phone? I'm using Dolphin network

  • Production order reference 261 and 261 movements

    Dear Gurus, We have a situation, as per our client requirement we are building a customized Z-report which is production order information report as per the clients business process: In a production order consumption of HALB material will be done wit