R3 material no. related to product in CRM

how to get the (R3)material number corresponding to a product in CRM.
how are the products in CRM realted to mateirals in R3 ?

Hi,
materials can be downloaded to CRM, where they are created as products. They are +/- the same objects, but the CRM products have lesser functionlities. They can have the same numbering and are linked to each others using guids.
You can start the download of the materials using the download objects R3AC1, that can be started by transaction R3AS1.
Grtz,
Michael.

Similar Messages

  • Replicating Custom Fields for Products in CRM  from ECC

    Hi All,
    I am having difficulty in replicating SAP standard field values from ECC to custom fields for products in CRM. This is what i did:
    1. I created a new settype(ZMASTER_INFO) with a single attribute(ZIND_STD) and added
        this new settype to MAT_HAWA. (As all our materials fall under this material type).
    2. I am looking to map SAP standard field from ECC to this custom field of mine.
        I wrote the code in CRM BADI 
        'ZPRODUCT_CUSTOMER2->MAP_R3_TO_CRM_MATERIAL' with the following code:
    DATA: ls_ZMASTER_INFO TYPE ZMASTER_INFO_maintain.
    DATA: ls_category_bdoc       TYPE COMT_PROD_CAT_REL_MAINTAIN,
          ls_category            TYPE COMT_PROD_CAT_REL,
          lt_categories          TYPE COMT_PROD_CAT_REL_TAB,
          ls_settype             TYPE COMT_settype_ext,
          ls_cat_settype_rel     TYPE COMT_CAT_FRAG_REL,
          lt_cat_settype_rel     TYPE COMT_CAT_FRAG_REL_TAB,
          lt_cat_settype_rel_all TYPE COMT_CAT_FRAG_REL_TAB.
    LOOP AT lt_cat_settype_rel_all INTO ls_cat_settype_rel.
          CALL FUNCTION 'COM_SETTYPE_READ_SINGLE'
            EXPORTING
              IV_SETTYPE_GUID         = ls_cat_settype_rel-frgtype_guid
            IMPORTING
              ES_SETTYPE              = ls_settype
           EXCEPTIONS
             NOT_FOUND               = 1
             NO_IMPORT_VALUES        = 2
             NO_TEXT_FOUND           = 3 .
          IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
          ENDIF.
      CASE ls_settype-frgtype_id.
          WHEN 'ZMASTER_INFO'.
          ls_ZMASTER_INFO-relation-owner = 'X'.
          ls_ZMASTER_INFO-relation-logsys = cs_product_bdoc-header-com_product-logsys.
          ls_ZMASTER_INFO-data-ZZ0010 = is_mara-STD_DESCR.
          ls_ZMASTER_INFO-DATA_X-ZZ0010 = 'X'.
          APPEND ls_ZMASTER_INFO TO cs_product_bdoc-data-ZMASTER_INFO.
          APPEND ls_settype-FRGTYPE_GUID TO cs_product_bdoc-data-MNT_SETTYPE.
       ENDCASE.
    ENDLOOP.
    Since in ECC i am not having any custom fields i did not write any code in ECC for TPS34 and TBE24. I just wrote this BADI in CRM and using the field S_MARA-STD_DESCR.
    I am not sure if i need to write the code in ECC. COUld anyone please confirm if i need the code in ECC?
    Also in the CRM BADI, lt_cat_settype_rel_all is EMPTY. Not sure how this gets its value.
    Could anyone please suggest if i am missing anything here? Any help is appreciated.
    Thanks,
    Karuna.

    Hi Karuna,
    One more solution is to change the BDoc data content before it hit the Database.
    this can be done in badi: Data_Exchange_badi (if u dont find this try with following search string: xchange)
    In the above mention badi you will find a method which is used to populated the contend jst after bdoc in CRM is being populated by R/3 data.
    Best Regards,
    Pratik Patel
    <b>Reward with Points!</b>

  • Replication of Enhanced Products from CRM to R/3

    Hi,
      I have downloaded the R/3 Material from R/3 to CRM.
    Now I have made changes in that product in CRM i.e I have added some attributes in CRM Product Master.
    Now,Is it possible to replicate that enhanced product from CRM back to R/3.
    If yes,Can you please explain me as to how I do it in Middleware???
    Very Urgent
    Regards
    Puneet

    Hi,
    CRM to R/3 replication is not possible for products but only for IBASES. you will have to enhance the material master in ECC and then replicate the custom data to CRM in enhanced fields. that is possible but from CRM to ECC i am afraid is not !
    Thanks
    Sudhir Grover

  • Uploading material master from R/3 to CRM problem

    Hi Experts,
    I am new to the Middleware
    I have downloaded the material master from R/3 to CRM but I am not able to see the downloaded products in CRM.
    I have checked the queue of R/3 there is no error.
    I even checked the queue of CRM there is no error.
    When I see in SMW01 the status is green and
    BDoc. Error message is showing “Mat. for Initial Download: Function table not supported”
    Can anybody give me suggestions?
    I will reward the points

    i have checked the filters
    i have down the following settings
    Request Name     MATERIAL
    Table Name       MARA
    Field Name       MATNR
    Incl/Excl      Inclusive defined set/array
    Option           Greater or equal then (>=Low)
    Low              a1(r/3 material no.)
    even thin i did not get the result
    i have the same error that is
    "Mat. for Initial Download: Function table not supported"
    help me out it is very urgent

  • Debugging Middleware/BDOC when the material data transfered from R3 to CRM

    Hi,
    I am updating the status of Product in CRM using BADI - PRODUCT_CUSTOMER2 (R3_TO_CRM_MATERIAL). This happend when the status is updated in ECC (MM02).
    Now the problem is, I want to debug this BADI, when the material is updated in MM02.
    Could you please help me, how can I debug this BADI.
    Thanks,
    Sandeep

    Hello Sandeep,
    Please check below general steps to debug the delta download of ECC material.
    in R/3
    Set a break point in the function module CRS_MATERIAL_COLLECT_DATA (BTE Implementation)
    Create/Change the material in R/3 by using transaction MM01 or MM02 and press save button.
    Now you can debug the function module CRS_MATERIAL_COLLECT_DATA
    in CRM (inbound queue)
    Deregister the inbound queue R3AD_MATRIA* in transaction SMQR
    Go to the transaction SMQ2 select the inbound queue and debug the queue
    Set a break point on the mapping function module: COM_MAP_BAPIMTCS_TO_PROD_MAT
    for validation debugging Set a break point on the validation function module: COM_PRODUCT_MAT_VALIDATE
    I am sorry that I do not know where BADI  PRODUCT_CUSTOMER2 is called.
    Hope the baove information could be helpful.
    Best regards,
    Maggie

  • What is BOM? Steps Needed. How is it Related to Product Costing

    Gurus,
    What is BOM?
    How is it related to Product Costing and Profitability Analysis and CO?
    Technical help and steps would be appreciated.
    Thanks.
    Points available.

    Hi,
    BOM (Bill of Material) is a structured list of components (with the object number, quantity and unit of measure) that go into making of a product or an assembly.
    Bill of Material can be simple or complex depending upon the structure of the product. And, a collection of BOMs that lets you describe a product or a number of similar products is known as BOM Group.
    T code is CK51.
    In product costing BOM is used to estimate the cost incurred for the creation of a finished product.
    Technically, when u do a product cost run for particular material and if you don't have BOM for the material, the system will give an error.
    If useful, assign points.
    Regards,
    Manju

  • Sales-order-related mass production

    Dear all:
    Our client has the following bussiness scenarios in PP: sales-order-related mass production .
    So in costing configuration , I use the valuated sales order stock, and not let the sales order item carry the revenue and cost .
    So I I haven't actived the "sales order" in okkp, and also make the filed "consumptiong posting filed "in account assignment category "blank", and in the "valuation filed" in "requirment class " I maintained "M", and I want to use the sales order item cost estimate value as the standard price , but when in testing , after run MRP and convert the planned order into the production order, the error occurs " You cannot make an assignment to make-to-
    stock.", so my question is that, in sales-order-related mass production, can we following in the such process:
    1 create sales order
    2 run mrp and generate the planned order
    3 convert planned order to production order ?
    by the way:
    The material 's material type is "KMAT", and strategy group is "25", and requirment class is "46"
    and I use the "valuated sales stock".
    Thanks a lot.

    Dear,
    Have you  refered OSS  Note 723180?
    The MRP generates planned orders to meet the requirements.The KZBWS is copied from the requirement to the planned order which should meet the requirements.During the subsequent conversion planned order -> Production order, the 'Goods receipt, non-valuated' flag is set unrequiredly.If you created an MRP run manually and if the account assignment was carried out to the project, the KZBWS would be set as account valuation filedin "requirment class " if I maintained "M".
    You should set Customizing in such a way that both the requirements class of the sales order and the used material same valuation indicator. For the sales order, it is field V_T459K-KZBWS. During the creation of production order it is found that the account assignment on the sales order . Afterwards the order can be saved and a goods receipt can be posted to the sales order stock.
    Or other way is Configurable materials that are also made-to-stock must have a configuration valuation in the material master record - therefore they must be maintained as a variant (storage type). In this the material itself can be referenced as a 'configurable material' (variants and 'configurable materials' with BOMs are then one and the same material).
    Regards,
    R.Brahmankar

  • How to replicate material master from R/3 to CRM

    Hi guys,
    I am trying to replicate material master from R/3 to CRM using BAPI_MATERIAL_SAVEDATA but no changes are getting replicated to CRM.
    Any help..??
    Thanks,
    Sid

    Hi find below for the product cat
    Steps to create the product category in SRM:
    1)       Create MM material groups in ECC client. This will create a transport. Go to SRM Tcode R3AS and select the object u201CDNL_CUST_PROD1u201D from the list and run it. You can monitor the job using R3AM1 in SRM. This will bring the material group into SRM. This can be seen in TCode u201CCOMM_HIERARCHYu201D in SRM.
    2)       Once it is done. Go to IMG in SRM and go to path SRM> SRM server> Cross app biz settings> Account aassigmnet> Define GL code for Acc *** Cat and Prod Cat. Maintain the GL code against this prod cat for all the account assignment codes. This is client specific setting and need to be done in every client by opening it. This GL code is given in the form in ticket.
    3)       Do a test and check if the product category is available for procurement in SC.
    Regards,
    Satish

  • Relation between products

    Hi all,
    Does new relation between products add it self into idoc structure after generation??
    I want do add to IDoc product with relations my own relations between products. I wanted to compare standard relation "accessories" with my own. But I simply don't kwon how does it works.
    I thought that after generation my own relation it will add into structure, and than I only need to re-generate standard IDoc in BDFG.
    But it's not.
    Can anybody help, with this issue??
    Moderation: Locked. Duplicated from [this thread|New product- product relation]
    Edited by: Joaquin Fornas on Nov 16, 2011 4:05 PM

    Hi,
    My Answer for your reply as below
    My suggestion is that You can assign the batch when you release the process order for Semi Finished Good & Finished Goods
    Prerequisites
    You can only create batches and batch master records for a material if the material is to be handled in batches. To do this, you must set the Batch management indicator in the material master record.
    The system creates a batch master record in the background in the following procedures:
    The first time goods are received for a batch
    During creation of a process or production order
    When a usage decision is made in quality management
    During a recurring inspection
    For transfer postings (when you want to split a batch, for example)
    When creating a purchase order
    And then, how would it be possible to trace them back in purpose of to precisely find which batches were put in each batch of product?
    Yes With Tcode MB56 - This component determines how a batch is created and used in Production Planning PP through various stages of production and displays the result in a list.
    You can use this to find out:
    In which other batches a batch was used
    From which other batches a batch was created
    Prerequisites
    Batch management requirement
    All materials that are part of the batch where-used list must be subject to management in batches.
    Batch where-used file
    You can only create a batch where-used list if the receipt records and issue records are stored in the batch where-used file.
    You will find further information in the section Make settings for batch where-used list in Customizing for Batch Management.
    Hope can help you.
    TQ.

  • Configurable products in CRM - Error ASSERTION_FAILED

    Hello Experts,
    I'm trying to use configurable products in CRM. To do this we have decided to replicate the configurable products from ERP to CRM.
    We were able to replicate the products into CRM, but when we try to use these in sales quotations we get the following error:
    Category               ABAP Programming Error
    Runtime Errors         ASSERTION_FAILED
    ABAP Program           SAPLCRM_ORDER_API
    Application Component  CRM-BTX-BF
    Date and Time          28.09.2011 11:17:11
    The first time we tried to create a quotation, configuration of item category determination was missing, so we added the following configuration:
    Tran.Type/ Description TransTyp/ Item cat.Group/ MainItemCty/Decription item cat./ Item Cat./ Description Item cty
    ZAG          Quotation          0002 Config.at Mat.Level                                                            AGC        Quotation Config.
    ZAG          Quotation          0002 Config.at Mat.Level         AGC       Quotation Config.         AGE        Quotation Config.
    ZAG          Quotation      0002 Config.at Mat.Level         AGM       Normal Item Quot.        AGC            Quotation Config.
    Since we added the configuration of item category determination for Configurable material, we get the error described above.
    Could you give us any advice to resolve this problem?
    Thanks in advanced.
    Susana Morgado

    Update: I just found out, to set the proper IPC settings we have to use http://<host>:50000/ipc/admin/xcm/init.do. This one has a JCO-component inside. But unfortunitely it shows a runtime error when it is started. I did change the SSL/security settings to use http. Any idea what this could be, or where to find a detailed error-log?

  • Material replication issue from R3 to CRM

    I am trying to do an initial of R3 materials to CRM. Product Hierarchies are migrated to CRM without any issues. when I am trying to select a single material and perform down load to CRM it says "Assignment of product control inconsistent for country GB".
    I tried different ways of maintainign product tax classifications at crm, img > spro > crm > basic functions > taxes > basic settings > tax types and tax groups > assign tax groups to ecc tax classifcations (product).
    still I see the error when I go to SMW01.
    any help is appreciated.

    Hello Sadhy,
    Check table   CRMC_TAX_MAP for correctness of records.
    And also check below customizing paths:
    In ECC,
    SPRO  >IMG  >Sales and Distribution (SD)   >Basic Functions  >              
    Taxes   > Define Tax Determination Rules                                                                               
    SPRO  >IMG  >Sales and Distribution (SD)   >Basic Functions  >              
    Taxes   >Define Tax Relevancy of Master Records                                                                               
    In CRM customizing,                                                                               
    SPRO   IMG  >                                                               
    CRM->Basic Functions->Taxes->Basic Settings->Tax Types and Tax Groups->     
    Assign Tax Groups to SAP ECC Tax Classifications (Product).       
    Make sure that ECC and CRM customizing are in-sync.
    Also, run txn:CRM_TAXCUST_VALIDATE in CRM       to check for the correctness of tax customizing data.
    Hope this helps!
    Best Regards,
    Shanthala Kudva,

  • Blocking of products in CRM from R/3

    Hi
    I have a requirement to block some products in CRM system .My question is what in R/3 needs to be set to make this update in CRM?  As our materials are transferred we would need to ensure the master in R3 is correctly set.
    When we are changing the status of D Chain specific status in product master(mm02)  in R/3, the sales status(commpr01)  is getting update in CRM but it is not preventing the order being created using the same product.
    I have found a BADI PRODUCT_CUSTOMER2 but don't know how to implement it if is applicable.
    Looking for a quick reply.
    Thanks.

    Hello,
    Please check SAP note 495764. It answers how MVKE-VMSTA is mapped to CRM product status.
    The BADI is described in chapter 5 of the corresponding documentation 'Customer Enhancement for Download/Upload). You find the document in the SAPNet via the link specified in Note 428989.
    I hope the information could be helpful.
    Best regards,
    Maggie

  • I have removed and re installed I tunes and all related apple products. 5 times and still get message not installed correctly or error 7 or to install english version. I give up help

    I have removed and re installed I tunes and all related apple products. 5 times and still get message not installed correctly or error 7 or to install english version. I give up help

    Have you worked through the tt2 user tip:Troubleshooting issues with iTunes for Windows updates this is the best source on resolving iTunes for Windows issues.

  • Error appearing while transferring products from CRM to R/3.

    Hi All,
    I am facing a problem in CRM system while transferring products from CRM to R/3. System is throwing a message "Exception condition NO_STRUCT_DEFINITION raised" and product transfer is not happening.
    Please suggest some solution.
    Thanks & regards,
    Rupam.

    Hi Arup,
    Thanks for your assistance once again.
    I have checked the 'CRMRFCPAR' table entries in R/3 system. One entry with 'Send XML=M' is present in that table.
    No error Bdoc exists in system, the existing Bdocs are showing as successfully processed in the transaction 'SMW01', The queue name corresponding to the Bdoc is 'CRM_PRODUCT_IP'.
    I have also checked the transaction 'GENSTATUS' .There is no object with status red, instead of that two objects are existing with green status.
    Can you please tell me how to verify, whether parent object ('DNL_CUST_PROD0') has been successfully loaded or not?????
    Eagerly waiting for your valuable suggetions.
    Thanks & regards,
    Rupam.
    Edited by: rupamsap on Mar 19, 2010 9:46 AM

  • Workers Incentive Scheme related to production.

    Dear All,
    SUB - Workers incentive scheme
    Workers Incentive Scheme related to production.  Computation of incentive for payment to workers
    please explain is this is possible in SAP.
    Thanks & Regards
    KANNI CHOWDARY

    Hi Sridhar,
    It seems to be, Incentive Amount is calculated  based on rejection percentage range.
    For ex:
    Planned qty  for Month 100 tons.
    Produced qty  = 100 tons,
    Accepted qty (to be dispatched  to customer ) = 90 Tons.
    Rejected qty  = 10 tons
    Yield percentage for month  90 % only,
    Now arrive the data for planned qty and actual qty (GR qty ) & scrap qty at COOIS. Based on which calculate the yield qty & fix the incentive amount.
    Regards
    Pradeep

Maybe you are looking for