Replicating material to CRM

Hi all, we are replicating material master data from ERP to CRM. First it all worked well, the data was sendt immediately after changing a material. But now, it is not sent automatically. We have to debug and manipulate a few variables so the correct function modules are called. This is on the ERP side, before CRM is called.
1.
In the ERP system, we first have to stop the debugger in the FM CRM_SEND_TRANSFER_DATA, at IF i_stshd-upd_task IS INITIAL. Here, we have to remove an 'X' in the variable i_stshd-upd_task so the CALL FUNCTION 'CRM_SEND_UPDTASK is executed. Else the CALL FUNCTION 'CRM_SEND_UPDTASK' IN UPDATE TASK is executed, and that is not working!
2.
Then, still in the ERP system, we have to stop the debugger in the FM CRM_SEND_DATA, at IF i_crmrfcpar-use_in_q IS INITIAL. Here we have to remove an 'X' in the variable i_crmrfcpar-use_in_q so correct code is run. Then the data is sendt to CRM!
Any ideas what we have to do so the data is sendt without debugging each time?
What was changed in the ERP system?

I can now see that it works when this code runs:
IF i_crmrfcpar-use_in_q IS INITIAL.
  CALL FUNCTION 'TRFC_SET_QUEUE_NAME'
        EXPORTING
          qname              = i_crmrfcpar-rfc_queue
          nosend             = i_crmrfcpar-hold_data
        EXCEPTIONS
          invalid_queue_name = 1
          error_message      = 2
          OTHERS             = 3.
And it does not work when this code runs:
ELSE.
        CALL FUNCTION 'TRFC_SET_QIN_PROPERTIES'
          EXPORTING
            qout_name          = i_crmrfcpar-rfc_queue
            qin_name           = i_crmrfcpar-rfc_in_que
          EXCEPTIONS
            invalid_queue_name = 1
            OTHERS             = 2.
Are there some problems with the queues?

Similar Messages

  • Replicating Material's

    Hello Gurus,
    I want to replicate a newly added material in the R/3-backend to SRM/EBP.
    Can i know what are the steps that are to be done for doing,..
    And also what if i want to change the Material group of a Particular Material
    after replicating how.
    Thanks in advance.

    Hi
    Which R/3 version are you using ?
    <u><b>To set-up a new material replication , please read SAP OSS note 872533.</b></u>
    <u>The Steps are -></u>
    1)Define sites in the SRM - transaction SMOEAC
    2)Maintain entry(objects: Material/service Master) in the R/3 table - CRMRFCPAR using SM30
    3)Maintain in ECC in IMG cross apllicaiton products-> Master data Syn -> synchronisation control
    4) Define filters in transaction R3AC
    The replication of material /service as products will happen by middleware - mdocs
    <b>Refer to these link for complete step-by-step details.</b>
    http://help.sap.com/saphelp_srm50/helpdata/en/5e/88ef3bc8821d0de10000000a114084/frameset.htm
    /people/marcin.gajewski/blog/2007/02/05/how-to-replicate-material-master-from-r3-to-srm
    Re: REPLICATING MATERIAL MASTER FROM R/3 TO SRM
    SRM Middleware Replication - Initial Download Failure
    Re: Replication material master of table MARC
    Re: Material Replication from R/3 to SRM -  Object status stuck in Running
    Once the replication parameters are set-up and you triggered the process, you will be able to check queues in SMQ1 and SMQ2 (ECC and SRM). Check RFC queues using transaction SMQ1 and SMQ2. Any other errors noticed in SLG1 and ST22 transactions.
    Check in the transaction SMOHQUEUE for any errors / logs. Check your R/3 table CRMCRFCPAR.SRM consumer and queues should use the SRM RFC destination, and CRM one the CRM RFC destination.Also, check the consumer and the RFC destinations.
    SMQ2 is an inbound queue. When You are starting replication of Material Master, check outbound queue (SMQ1) on backend system and look for DNL or MATERIAL queue name.
    <u>Also Refer to SAP OSS notes 720819 / 681516</u>
    <b>Other related configuration links.</b>
    Re: Replication Error
    Re: Shopping basket errors
    SRM Middleware Replication - Initial Download Failure
    http://help.sap.com/saphelp_srm50/helpdata/en/55/4af548688211d4977e0004ac962ee6/frameset.htm
    http://help.sap.com/saphelp_srm50/helpdata/en/55/4af54b688211d4977e0004ac962ee6/frameset.htm
    http://help.sap.com/saphelp_srm50/helpdata/en/05/9b8139437eac2ae10000000a11402f/frameset.htm
    http://help.sap.com/saphelp_srm50/helpdata/en/69/025f23394c014dbfa64795a6460360/frameset.htm
    http://help.sap.com/saphelp_srm50/helpdata/en/29/d586398dcfd74fe10000000a11402f/frameset.htm
    http://help.sap.com/saphelp_srm50/helpdata/en/5e/88ef3bc8821d0de10000000a114084/frameset.htm
    material group replication from R/3 to EBP
    Re: Unable to perform Material and Vendor Replication
    Re: Specific Material Replication
    Hope this will definitely help. Do let me know.
    Regards
    - Atul

  • Task/appointment in the groupware (outlook) is not replicated to the CRM

    Hi all,
    Someone can to help my friend about a Groupware question?  TKS
    "However, when we create a task or appointment in the groupware (outlook) this activities is not replicated to the crm. Hope you give me some hints to solve this problem."
    All conversation, below.
    18.06.2010 - 15:02:18 CET -
    Hi Anamika,
    OK. Now we are able to send taks and appointments to the groupware.
    However, when we create a task or appointment in the groupware (outlook) this activities is not replicated to the crm. Hope you give me some hints to solve this problem.
    Best regards,
    Caíque Escaler 
    18.06.2010 - 05:24:26 CET -
    Hello Caíque,
    please go to the ADS of the Exchange Server and there provide the
    GWCoonnector with full rights or owner permission to the mailboxes of althose users for whom you want to perform the integration.
    Thanks and Regards,
    Anamika Mazumder. 
    17.06.2010 - 19:38:20 CET -    
    Hi Anamika, thank you for your reply.
    After installing the groupware connector 2.1 we are facing a new
    problem.
    The groupware connector is going to CRM to extract the task that I have
    been created, but in application log I can see an error. The error
    is "ERR:5003 MAPI default folder not available: TASK."
    This folder is created an the permissions to the connection user to MS
    exchange is ok.
    What steps do I have to perform to solve this issue?
    Best regards,
    Caíque Escaler 
    16.06.2010 - 11:34:58 CET -   
    Hello Mr Paulo,
    Can you please install CDO 1.2.1 if you are using Ex 2007 and outlook inthe system where you are trying to install CRM Connector.
    In case you are using Ex 2003 please install Outlook along with the
    CDO component in the system where you want to install CRM COnnector.
    http://www.microsoft.com/downloads/details.aspx?familyid=e17e7f31-079a-43a9-bff2-0a110307611e&displaylang=en
    The link to download CDO 1.2.1
    Thanks and Regards,
    Anamika Mazumder.

    post duplicated

  • Material description is missing when replicating material from R/3 to CRM

    Hi Experts,
    I am facing middleware error.
    I have replicated a material from R/3 to CRM system.
    I am able to see all the details in CRM except the material description in CRM.
    The material i have replicated from R/3 to CRM has a description in R/3 but the same description is missing in CRM and it is showing blank.
    Please help me to solve this.
    Thanks

    Hi,
      Go to the COMM_PRSHTEXT see the table entries is there are not. Pass product GUID in this table and check.
    Regards
    Srinu

  • Issue of Hierarchy when Replicating Materials ECC- CRM

    Hello,
    We are replicating materials from SAP ECC to SAP CRM, the material got replicated successfully however when I check the material in SAP CRM, the wrong hierarchy is getting assigned to the same(screen shot attached the hierarchy R3PRODSTYP gets assigned however the hierarchy R3PRODHIER needs to get assigned
    Please advice, Product Hierarchies have been downloaded in SAP CRM using the relevant middle ware objects

    I am attaching the screen shot below
    An Earlier material got downloaded in the system correctly containing all 3 categories(screen shot attached below)
    Kind Regards
    Atul

  • Exits / BTE on material modification - CRM Replication

    Hi all.
    Our R/3 system is linked with a CRM one.
    When material are modified, data are replicated by a business transaction event :
    00001250   BC-MID     CRD_MATERIAL_COLLECT_DATA.
    We want to add custom code to extend modification of material (when material is sent) data but we want it to be replicated too...
    1) We try to put our modifications in a FM called in update task in user exit ZXMG0U02 => It failed
    2) We try to add a second, specific one BTE 1250. It failed because this second BTE is triggered after those standard  that makes replication
    Do you have another idea ?
    It is possible to modify the order of BTE executions ?
    Thanks a lot in advance
    J.C

    Hello Johan,
    You need to check txn:OMSL in ERP and you need to make sure that settings are in sync with CRM customizing path settings.
    SPRO>IMG>Cross-Applicaiton Component>SAP Product>Basic Settings-->Define O/P Format..
    Especially you need to check for the lexicographical flag.
    If this flag is set, then 0123 is different from 123.
    Hope this helps!
    Best Regards,
    Shanthala Kudva.

  • Problem replicating catalogs in CRM Internet Sales/E-Commerce 5.0

    Good afternoon !
            We have CRM 5.0 SP 8, and we are using the CRM E-Commerce 5.0(also called Internet Sales) to b2b, and, we are experiencing problems during the replication of the Catalogs from the webcatalog url.
            When we try to do a full Catalog replication, we received a timeout error in the web interface, and looking at the SM50 in CRM, the process corresponding elapses the limit of 600 seconds of execution and the Catalog is not replicated.
            Today, we tried to create a new Catalog and replicate it, this worked fine in the first try, so, we add more products at this catalog and tried to full replicate it again, and received the timeout error, so, we tried to execute the delta replication, that didn´t raise error but, when acessing the E-Commerce site, no products was found.
            After this, we tried to create other new Catalog and replicate it but, received the timeout error in web interface again(even for a new catalog).
            Somebody knows what can be happening ? What can I do to solve this problem ?
            Thank you in advance !
            Wilson

    Hi Wilson,
    I really appreciate your way of answering your threads by letting the rest of the forum of the possible solutions.
    Thank you so much
    Keep it up
    Regards,
    Paul Kondaveeti

  • Replicating material from R/3 to SRM problem

    Hi experts I have done all configurations for material replication from R/3 to SRM but an error still occuring When I start the initiao load I can see inSMQ1 of backen 2 entries R3AD_MATERIA* and MASS_SRM_MATERIA*
    in status STOP, and some materials are replicated but some materials are not replicated even if a request is created, I could see that some problems could occur if I have set language for user remote  or RFC, but im my case it`s in blank, IF I change the RFC to unicode this problem could be solved?
    Thanks
    Nilson

    Yes. Unicode RFC is recommended when you are using diff languages.
    also check in SMW01 about the BDOC status.
    Spoollist in this TXN can give you further info for the stoppages.
    BR
    Dinesh

  • Error while replicating Material in SRM 7.

    Hello,
    I am facing the problem while replicating the material from backend system I have successfully replicated product categories and other.
    BDoc failed while replicating the material from ECC system give me below message in SMW01 TCODE
    "Mat. for Initial Download: Table not supported by function"
    "Specify the relevant unit of length"
    "Validation error occurred: Module COM_PRODUCT_MAT_VALIDATE, BDoc type PRODUCT_MAT."
    Do you have any idea regarding above issue.
    best regards
    vp

    Note 872533 - FAQ: Middleware
    Frage 5. Troubleshooting error messages
    Examples for /SMW01 BDoc errors during the initial load or delta load:
    E:SMW3 018 - Validation error occurred: Module &1, BDoc type &2.
    E:SMW3 046 - No extended data for BDoc message &1 found.
    E:SR 053   - &1 &2
    E:COM_PRODUCT_API 003 - Category for product hierarchy & does not exist
    E:COM_PRODUCT_UNIT003 - Specify the relevant unit of length (Entering the dimensions is mandatory since Note 29101).
    You can solve the errors mentioned above by implementing the following notes:
    Call transaction SE16, enter SMOFAPPL, and set entry EBP.
    520227 - Set type CRMM_PR_TAX (implement manually!)
    720819 - Consumer entries
    428989 - Filtering irrelevant data (for example, Sales and Distribution) Example: see attachment mod.txt.
    675101 - Execute report: COM_CATEGORY_TRANSPORT

  • Middleware: extended Material to CRM Product, EEWB needed?

    Hi all,
      If Material in ECC contains custom fields extended by EEWB to the MARA table, and these information are needed in CRM during replication, do I need to use EEWB to extend in CRM as well? (if yes, which table to be extended for product)
    Or creating new attributes to the attribute set and assign it to CRM Product's set type will do?
    Kindly advise.
    cheers,
    ginnie

    Hi Ginnie,
    You can create a new attributes to the attribute set and assign it to CRM Product's set type. But if you want to have the information in these Zfields in ECC to pass into CRM product master fields then you need to perform the below steps.
    Configuration Tables TBE24 and TPS34 in ECC must be maintained for triggering the CRM Middleware download of data from ECC to CRM. In Table TPS34 the Process CRM0_200 contains the entry for CRM Middleware download of data.
    1. Activate Customer Product by maintaining table TBE24 using transaction SM30
    2. Maintain the Custom product e.g. ZPROD
    3. Add the function module that the OPEN_FI function module can find for a Business Transaction Event (BTE) as an alternative to a standard function module by maintaining table TPS34 using transaction SM30
    4. Create Function module for mapping in ECC. For e.g. Function Module ZSEND_PROD_TO_CRM handles mapping the custom fields to be transferred to the CRM system.
    5. After this you should implement the source code to do the BAPIMTCS mapping to send the data to CRM.
    6. Finally, you will need to implement a BADI PRODUCT_CUSTOMER2 in CRM, method MAP_R3_TO_CRM_MATERIAL which will map all of the custom fields from ECC into the Product Master in CRM.
    Hope this helps!!!
    Regards,
    Chandrakant

  • Customers Created in R3 are not replicating in connected CRM System.

    Dear All,
    I am facing an issue " Customers created in SAP R3 are not replicating to CRM system".
    Please provide me the possible do list (Check list) to solve this problem (if any Middleware settings also).  This an urgent issue with the production system.
    Thanks & Regards,
    Ramana Rao

    Hi ,
    Check following :
    SMQ1/2 - Inbound/ Outbound Queues in both ERP and CRM system.You can see if there some "stoppes"queues.
    SMW01 - Bdoc messages in CRM - detailed explanation about errors in replication.
    Check if "stop data" flag in table  "CRMRFCPAR" in erp systemis is unchecked.
    Check your filter definitions in R3AC1 trn business object "customer_main" .
    Also check SAP Note 429423 - you have detailed check list for middelware problems.
    Rika

  • Error when replicating material master - Value not permitted for PO Unit

    Hi all,
    I am having the following issue. I am trying to replicate material master from ECC 6.0 to CRM 5.0, but I am getting an error to which I am not being able to find the solution:
    Value GFO is not permitted for attribute Purchase Order Unit
        Message no. COM_PRCAT020
    Diagnosis
        You want to specify that the value GFO is allowed for the attribute Purchase Order Unit. However, in attribute maintenance or in the
        higher-level category ('parent category'), you specified that the value GFO is not allowed for this attribute.
    I tried to find where to edit this attribute in Customizing, and also in tcode COMM_ATTRSET, but I have no idea if this was the right direction.
    Has anyone faced this issue before? I would really appreciate any help, since this is preventing me from completing material replication.
    Thanks in advance.
    Best regards,
    Joã

    Hello Sudipta,
    I checked the attribute in COMM_ATTRSET, but there aren't any specific values for it. There is a value table T006, which I believe is standard, and it contains UoM GFO.
    With this being the case, the error I'm getting makes even less sense to me...
    Can you tell me if in there is any other place in CRM where we can set UoM?
    Thank you, once again.
    Regards,
    Joã

  • Creating multiple BP Roles automatically after replicated BP to CRM

    Hi All,
    We are working on CRM 5.0 and ECC 6 as a back end system.
    As per our requirement we want the clarification for the below scenario.
    We are downloading Employee records from ECC to CRM.After replicating Employee records we want to add Consumer Role to every employee record in CRM. I know we can maintain multiple roles manually for a BP in CRM, But we want to add this Consumer role to every Employee record automatically.
    Can anybody please explain me how can we achieve this scenario.
    Thanks in advance.
    Regards,
    -Rahul.

    Hi,
    You can create a role group in CRM system with roles Employee and consumer. If you maintain this role group the two roles wil be maintained automatically.
    For defining role groups you can go to SPRO transaction.
    Thanks and warm regards,
    Smita.

  • Download Material to CRM

    Hi,
      I would like to download the Material from ECC to CRM. I understand that ECC's product can be assigned to different plant. In this case, how middleware can take care of this?
      For example:
      Plant ABC has material 124
      Plant DEF also has material 124.
    Question 1: iIn this case, middleware will only download the basic data for that material?
    Question 2: if ECC material has extended fields which does not exist in CRM. Settype & Attributes for those extended fields have to be created in CRM and assign to the category. What will be the next step? As what I understand, BADI from CRM will be called and FM in ECC as well. But I do not have clear picture on this.
    Any input is welcome!
    cheers,
    ginnie

    Hello Ginnie,
    To answer your first question,
    In order to download the plant data of a material, you need to add MARC and MARC_KEY under 'Tables/Structures within Object'
    tab of txn:R3AC1 , for object MATERIAL. This would make sure that plant data of material gets downloaded to CRM.
    To answer your second question,
    If you have extended fields in ECC then you need to map them to BAPI structures in User Exit so that these data would flow to CRM.
    In CRM, you need to have settype/attributes and assign that settype to category.And then you need to implement the BADI
    PRODUCT_CUSTOMER2 ,method MAP_R3_TO_CRM_MATERIAL, which would take care of mapping the ECC extended fields to CRM fields( which were defined as attributes/settype).
    Attribute is a way to define datatypes.Settype is a means to group related attributes.If you want these attributes of a particaular settype to be available in a material , then you need to assign that settype to category to which your material belongs to.
    Now to map the ECC fields to CRM fileds you need to BADI.
    Hope the scenario is clear to you.
    Best Regards,
    Shanthala Kudva.

  • Create Material in CRM and also in ECC

    Hello,
    We have a non-SAP system (that is not being retired) where pre-production material numbers are generated for opportunity work.
    (They are not initially ECC)
    We are migrating our current opportunity system into CRM, and approach is the non-SAP system will start to send the pre-production materials into CRM (as products).  To support opportunity creation.
    However, when the materials do go into production, we then will set up the material numbers in ECC to support quotes/orders.
    The material numer will be the same as when it was just pre-production status.
    However, we are concerned with middleware replication...
    What happens if we directly create a product in CRM, and then xx months later create the same product in ECC.
    what happens when that material number tries to replicate to CRM and the number already exists?
    Thanks
    Chris

    Hi Chris,
    If you create the materials directly in CRM and then the materials with the same id in ECC, the products won't be in sync in the two systems and the transfers will start giving errors stating that the Product ID already exists and nothing will happen. Neither a new product will be created in CRM from ECC nor will it update the already existing once in CRM.
    The reason being that the product created in CRM will be of the logical system identifier : CRM but when they will flow from ECC, they will be of the logical system identifier : ECC, hence the two won't link up.
    /Hasan

Maybe you are looking for