BP Custom Field replication - CRM to ECC

Hello Developers,
I have added custom fields to the CRM BUT000 (Business Partner) table, using AET.  Now,  I need to replicate these custom fiields to ECC.  We have configured, and are successfully replicating the standard BP fields from CRM to ECC.  However, the new AET custom fields are not replicating. 
Can you please help me by identifying BADIs, Enhancements, or User Exits where I can insert the required code in order to accomplish this custom field replication, on both the CRM and ECC sides of this replication?  Is there a document that describes what is required? 
We are running ECC 6.0, and CRM 7.0. 
Thanks for your help!
Duane

Hi Brian,
Thanks for your help.  I have resolved this, and the information that you provided was helpfutul.
I had to create a function module in ECC, modeled after the SAP provided sample FM SAMPLE_INTERFACE_DE_BALE.   In addition to this, I had to configure entries in the standard SAP tables TBE24 and TBE34 (event DE_BALE), so that my new function module  would be  called. 
Duane.

Similar Messages

  • What are the steps to send sales order custom field from CRM to ECC

    Hi Xperts,
      We have created a custom field in sales order [ VBAK] and successfully replicate its value from ECC to CRM. But while doing the enhancement to replicate the field value from CRM to ECC [ When the SO is created in CRM ] we are not able to do so.
    We used a FM in CRM0_300, but while replicating the SO from CRM to R/3 it is not getting called.
    Please help us by providing the steps to do the full enhancement to replicate the custom field of SO from CRM to ECC.
    Thanks in Advance.

    Hi Anjaneyulu,
    We are faced with a similar situation as you.
    Here is our scenario with the steps that we performed so far:
    1.  We have added a few custom fields in CRM 7.0 (Ehp1) using AET.
         The BDoc BUS_TRANS_MSG has been automatically extended with these custom fields.
    2.  On ECC side also, same custom fields have been added to VBAK and VBAP, using APPEND STRUCTURE. Fields were added to ADDITIONAL DATA TAB B in VA01 / VA02 transactions.
    3. Extended BAPI structures BAPISDITM and BAPISDITMX in both CRM and R/3 Side.
    4. As mentioned in the note 1053817, we have implemented BADI CRM_DATAEXCHG_BADI -> Method CRM_DATAEXCH_AFTER_BAPI_FILL in CRM (mapped fields from BDOC to BAPI structures)
    5. In the above note, for R/3 BAPI to R/3 API they have given to implement user exit USEREXIT_MOVE_FIELD_TO_VBAP which we found in MV45AFZZ. But in this we are unable to find BAPI Structure to map.
    Our issue is, when a sales order is created in CRM, it is getting replicated on ECC. But, only standard fields are getting replicated. The custom fields that we have added are remaining empty on ECC side.
    In CRM --> txn SMW01, we can see that the BDOC is populated with custom fields also.
    Could you let us know if your issue is solved completely. Are you able to see the value of custom field, in ECC? Did you use AET to add fields in CRM.
    Could you please give us the steps that you have done.

  • Replication of custom z fields from CRM to ECC

    Hello,
    I have created custom fields in CRM - Order using EEWB.  Similarly I have created custom fields in ECC - VBAK.  I want to replicate these custom fields from CRM to ECC.  Somebody had suggested to use CRM_DATAEXCHG_BADI and method -  CRM_DATAEXCHG_AFTER_BAPI_FILL.  Can anybody give me a sample code of how to populate table - CT_BAPIPAREX within this method? 
    Process followed was -
    1. ECC - Extend VBAK with zfld1
    2. ECC - Extend BAPE_VBAK, BAPE_VBAKX with zfld1
    3. CRM - Add zdoc1 using EEWB
    4. CRM -  Extend BAPE_VBAK, BAPE_VBAKX with zfld1 (same as ECC?)
    5. CRM -  CRM_DATAEXCHG_BADI and method -  CRM_DATAEXCHG_AFTER_BAPI_FILL. - This is where I need to map zdoc1 of CRM to zfld1 of ECC.  And then populate CT_BAPIIPAREX.  This is where I am stuck. 
    Thanks!

    HI,
    If you have added field in EEWB chosen R/3 Adapter, then it will also enhance the Exchange structures and thus i guess CRM_DATAXCHange_badi shud contain in one of its changing parameters
    The following blogs gives a good idea in the similar lines.
    /people/vikash.krishna/blog/2009/07/21/exchange-ecc-customer-master-standard-field-with-the-crm-z-fields-ecc--crm
    /people/vikash.krishna/blog/2009/07/14/crm-70-how-to--4-adding-custom-fields-with-the-new-application-enhancement-tool-aet
    Revert if you need further help.
    -Satish

  • Custom fields replication in sales order from CRM to ECC

    Hi Experts,
    We have added a few custom fields in CRM 7.0 (Ehp1) using AET. The BDoc BUS_TRANS_MSG has been automatically extended with these custom fields.
    On ECC side also, same custom fields have been added to VBAK and VBAP, using APPEND STRUCTURE. Fields were added to ADDITIONAL DATA TAB B in VA01 / VA02 transactions.
    Our issue is, when a sales order is created in CRM, it is getting replicated on ECC. But, only standard fields are getting replicated. The custom fields that we have added are remaining empty on ECC side.
    In CRM --> txn SMW01, we can see that the BDOC is populated with custom fields also.
    What is it that we have to do to ensure that custom fields are also replicated to ECC. Do we need to maintain field mapping between CRM and ECC, for custom fields, manually. How and where do we have to maintain the mapping. Also, please let me know the BADIs / exits that need to be implemented to achieve the above functionality
    Regards,
    Manohar

    Hi Manohar
    You can map these custom fields using the badi CRM_DATAEXCHG_BADI. Please see the documentation of the badi in SE18 in your system for further details.
    Regards
    Gavin

  • Add ECC Custom Fields in CRM Web UI ERP Order item

    hi all,
    i have to Add ECC Custom Fields in CRM Web UI ERP Order item .
    I have :
    -  add the field on Web UI Screen.
    -  add the field on structure  TDS_item_COMV  and  TDS_item_COMC in ecc
    -  insert record for field on LORD_MAPPING table
    -  implemented badi BADI_LORD_DO_PA BADI_LORD_GET_INPUT_MODE.
    -  implemented method GET_I_S_STRUCT on crm with  :
    CASE COMPONENT.
        WHEN 'ZZSPOND'.
          RV_DISABLED = ABAP_False.
    endcase.
    - on method  do_prepare_output i have change value of fields with code :
    lr_loop = typed_context->erpadmini->collection_wrapper->get_first( ).
    WHILE lr_loop IS BOUND.
    posnr = lr_loop->get_property_as_string( iv_attr_name = 'POSNR' ).
    Does the current item has to be set for "Sponda Idraulica"?
    READ TABLE Z5CL_GSA_TOOL0001=>GT_ITEMS_SPOND INTO ls_spond
                                  WITH KEY posnr = posnr.
    IF sy-subrc = 0.
    lr_loop->set_property_as_string( iv_attr_name = 'ZZSPOND' iv_value = 'X' ).
    DATA : V_X TYPE STRING.
    V_X = lr_loop->get_property_as_string( iv_attr_name = 'ZZSPOND' ).
    ENDIF.
    lr_loop = typed_context->erpadmini->collection_wrapper->get_next( ).
    ENDWHILE.
    I can't change the field  value  because it is "not changeble"  .
    Can you help me ?
    Thanks in advance.

    Hi Celi,
    I have created some fields at header level of ERP Order, and the user is available to change them, replicating the information to SAP ECC (using interface LORD II). 
    All sales item information is treated using RFC ERP_LORD_GET_ITEM_MULTI, available in SAP ECC. 
    Please check the following point:
    If those structures below were expanded with your custom fields:
    SAP CRM:
    CRMST_L2_ITEM_COMV
    CRMST_L2_ITEM_COMC
    CRMTT_ADMINI_ERPIL
    CRMTT_ADMINI_I_ERPIL
    SAP ECC:
    TDS_RFC_ITEM_COMV
    TDS_RFC_ITEM_COMC
    Please check if for your scenario is necessary to implement the enhancement BADI_LORD_DO_PAI method ADD_SUPPLY_LIST. The code below works for header level.
      DATA: ls_supply TYPE tds_field_supply.
      IF iv_object_id EQ 'HEAD'.
        IF iv_module EQ 'VBAK_BEARBEITEN'.
          ls_supply-field = 'ZZCCINS'.
          APPEND ls_supply TO ct_supply.
          ls_supply-field = 'ZZCCNUM'.
          APPEND ls_supply TO ct_supply.
          ls_supply-field = 'ZZCCNAME'.
          APPEND ls_supply TO ct_supply.
          ls_supply-field = 'ZZAUNUM'.
          APPEND ls_supply TO ct_supply.
        ENDIF.
      ENDIF.
    I hope it helps!
    Kind Regards!

  • Replication of Custom Fields from CRM to ISU and Vice versa

    Hi Experts,
    We are working on adding Z fields on BP level. For this how does the replication of the values takes place from CRM to ISU or vice versa. What are the middleware enhancement we need to do in CRM side or in the ISU side. We would add the fields on web UI crm side by AET but at ISU side how we need to do that and how would the field values replicate in both the system.
    A approach for adding BP custom fields in CRM and its interaction with ISU and vice versa would be appriciated.
    Thanks,
    Mayur

    Excuse, you may enter more in detail?
    I have created a custom field on BP using the AET would now like to replicate this custom field in BP also in ISU.
    I can do all this using the EEWB, but I would avoid it, since, in ISU we already have custom fields on BP, I just can not link them with CRM.

  • Enhance Standard Info Structure SAP_CRM_ACT to add custom fields in CRM Activity archive Search

    Hi All,
    We have a requirement where we need to enhance CRM UI archive search with custom fields for CRM activity Object CRM_ACT_ON. As per my analysis Standard Archive Search for activity Uses info structure SAP_CRM_ACT for searching archived data.
    But when we are trying to add custom fields into above field catalog, it is treated as modification. But Modification is not allowed in our landscape.
    Standard infostructure is harcoded in SAP standard method ARCHIVING_READ of class CL_CRM_REPORT_ACC_DYNAMIC which is called as part of the process. So we are not able to go ahead with custom info structure.
    Can you please le me know if there are any alternative way to meet above requirement or I have missed any steps.
    Thanks & Regards,
         Sujit

    Hello Thomas,
    Maybe this link can help.
    add new field to search criteria and result.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0747ac2-ffd9-2910-de9a-8a3dc44da8b4?QuickLink=index&overridelayout=true&12966506314316
    Search Options - Knowledge Management - SAP Library
    regards,
    Grace

  • Customer fields replication in Sales order from R/3 to CRM

    Hi all,
    I want to replicate, for Sales orders, one field (ZFIELD_A) on item level (VBAP) from R/3 to CRM .
    I used transaction EEWB on CRM with the option "Adding new fields to Business transactions" and I flagged checkbox "Also used in R/3".
    All worked fine and all the repository objects where created both in CRM and R/3, and the fileds was appended in structure CUSTOMER_I (CRM).
    The problem is when I replicate the data, because of existing customer fields  in R/3.
    In R/3 I have exisiting fields on BAPE_VBAP
    ZFIELD_1  [CHAR1]  - existing
    ZFIELD_2  (CHAR1] - existing
    ZFIELD_A  [CHAR30] (the new one)
    Assuming the above field values are X-Y-thisisatest
    the value of ZFIELD_A in CRM will be "XYthisisatest", since R/3 sends, in structure BAPIPAREX all the three Customer fields.
    In the generated (from EEWB) method ZEEW_DATAEXCHANGE01->CRM_DATAEXCH_R3D_MBDOC_FILL, called when transferring the order to CRM , all the first 30 positions are moved to ZFIELD_A from CRM.
    A solution would be to change the generated coding of the above method, by truncating the first 2 chars, but it's not so nice (and I also could loose the changes after a generation of the EEWB project).
    Anyone has a nicer idea?
    thanks a lot,
    Fabrizio

    Hi
    Go through the following NOTEs
    736595,833585,863611,873771.
    Regards
    Nadh.

  • BP EEWB field in CRM to  ECC zfield in KAN1

    Hello  all ..
    I have added  few custom fields to BP through EEWB  and want them to replicate to ECC .
    Here are the steps I followed ...
    We are on CRM 5.0 and ECC 6.0
    1) Added the fields in same order as EEWB in  BSS_CENTIX (component type GB_BAPIUPD ) and BSS_CENTI ( data element/domain same as in BUT000)  in ECC
    2) Maintained table TBE24, Create a product and mark it active in ECC.
        Maintained  table TBE34 for the event DE_BALE with same product  and Function module = Z_INTERFACE_DE_BALE
    ( copy of SAMPLE_INTERFACE_DE_BALE  ) in ECC
    3) I wrote  the code in Z_INTERFACE_DE_BALE and mapped the custom fields to structures in the CT_IDOC_DATA.
    I have mapped custom field/Z field in KNA1 to  the eewb field  in  Z_INTERFACE_DE_BALE   like this...
    extended the Idoc  i.e added a custom segment ZE1KNA1M under E1KNA1M
    But still the field is not getting replicated. ( though eewb fields are replicated to standard fields in Kna1)
    Hope Iu2019m clear with my question.
    Thanks in advance.

    Hi Aday,
    We have similar kind of requirement. Would like to know whether you are using BDOC to transfer BP created in CRM to R3? In this function module Z_INTERFACE_DE_BALE, if we populate the idoc structure for the required fields will it update the customer with required field information.
    Thanks in advance. Your help is highly required.
    Regads,
    Ranadev

  • How to replicate data from custom field in SRM to ECC

    Hi,
    I am using SRM 5.0, as per my requirement i need to get data from SRM (Web GUI) through custom fields in "Confirm Goods",
    and need to pass this data to ECC,
    I found that Message type MBGMCR; IDOC Type u2013 MBGMCR01 can be used for passing the data from SRM to ECC,
    How can i pass the new data to this IDOC in SRM
    and how can i get the data from this IDOC in ECC
    Please help.
    Thanks in advance,
    Jerin.
    Edited by: Jerin Joseph on Jul 23, 2009 5:06 PM

    Hello,
    This will help you.
    Re: Replicating GR custom fields from EBP to SAP R/3
    Thanks
    Ashutosh

  • Customer Field in purchase order (ECC 6.0)

    Hi,
    I need a help on custumer field in ECC 6.0.
    I would like to know if there is a standard way to see customer fields in purchase or sales order.
    Thanks very much.
    Diego

    Customer fields (as in KUNNR)  or custom fields?
    Bothe sales orders and POs have user-exit screens that can be employed to show <b>custom </b>fields both at header and item levels.  In the case of sales orders, it is oft-referred to as "Additional Data B" screen.  This is the last tab screen of the sales order.
    Caveat: The above is from 46C, but am willing to bet that this feature still exists in the ECCs.

  • Custom field in CRM ISA order header

    Hi,
    I was able to add a custom field in our CRM ISA B2B website order entry header following the instruction on the ISA_30..modification guide.
    Right now I am able to store that custom header field data in a table in CRM called CRM_ISA_ADD_DATA which is also specified in the guide.
    My question is how do I transfer this field to the actual CRM ISA Order Header text field so that it can be replicated to R/3? 
    Any suggestions would be appreciated.
    Thanks,
    Prasoon

    Hi Hitesh,
    I am also looking for the solution for the same problem.
    I hope you have found the solution.
    If you have found the solution please let me know and help me how to do it.
    I really appreciate your help on this and I will assign you points for this.
    Thanks for your help.
    Ashish.

  • Adding custom fields to CRM Sales transactions

    What are the steps to add custom tab and fields to CRM transactions?
    By the way, we are on CRM 6.0 and are using SAPGUI.
    Thanks in advance
    Srini

    I tried using Easy Enhancement Workbench (EEWB) and was able to successfully generate the task under the project.
    But now I am getting short dumps in transaction CRMD_ORDER. Snap shot of the error is below.
    What happened?
        Error in the ABAP Application Program
        The current ABAP program "CL_EX_CRM_CUSTOMER_I_BADI=====CP" had to be
         terminated because it has
        come across a statement that unfortunately cannot be executed.
    Runtime Errors         MOVE_CAST_ERROR
    Except.                CX_SY_MOVE_CAST_ERROR
    Date and Time          01/26/2011 16:52:47
    Error analysis
        An exception occurred that is explained in detail below.
        The exception, which is assigned to class 'CX_SY_MOVE_CAST_ERROR', was not
         caught in
        procedure "IF_EX_CRM_CUSTOMER_I_BADI~CRM_CUSTOMER_I_SET_TITLE" "(METHOD)", nor
         was it propagated by a RAISING clause.
        Since the caller of the procedure could not have anticipated that the
        exception would occur, the current program is terminated.
        The reason for the exception is:
        It was tried to assign a reference to a rereference variable using the
        'CAST' operation ('?=' or 'MOVE ?TO').
        However, the current content of the source variable does not fit into
        the target variable.
        source type: "\CLASS=ZCL_IM_EEW_CUSTOMER_I01"
        target type: "\INTERFACE=IF_EX_CRM_CUSTOMER_I_BADI"
    Also, is there a clean way to back out these changes? Will deleting the project undo these changes?
    Thanks in advance
    Srini

  • Replicate Custom Table from CRM to ECC

    I have a custom table in CRM and I have to transfer the values of the custom table to ECC.I have BADI  which inserts the values into the custom table in CRM. What should i do to replicate the values in a Custom table in ECC.The tables are of same structure.

    Hi
    Please reffer the C71 : CRM Connectivity document in Best Practices. It will gives you the perfect information for you.
    Please follow the following link to find the same.
    http://help.sap.com/bp_crmv250/CRM_DE/index.htm
    Technical Information>Building Block Library> C71 : CRM Connectivity>Configuration guide.
    Generally: You have to enhance the BAPIMTCS structure which is exchanged between CRM and R/3, and the functionality mapping the BDoc to this structure in CRM and in R/3 the functionality of saving the BAPIMTCS structure to the DB.
    You should use the Transaction Business Events, see also tables TBE24, TPS34 and you can search for the SMOUTIL2 or SMOUTIL3 functionality esp in the CRM system.
    Have a look at note 417906 with some information on used functions.
    Reward with points if helpful
    Cheers
    Manohar

  • Maping custom field for Freignt to ECC Pricing Procedure

    Hi,
    We have a custom field in SRM to store FREIGHT which is to be mapped to a condition type in ECC pricing procedure.
    Can anyone help in giving a solution to the same?
    Regards,

    Hi Brian,
    Thanks for your help.  I have resolved this, and the information that you provided was helpfutul.
    I had to create a function module in ECC, modeled after the SAP provided sample FM SAMPLE_INTERFACE_DE_BALE.   In addition to this, I had to configure entries in the standard SAP tables TBE24 and TBE34 (event DE_BALE), so that my new function module  would be  called. 
    Duane.

Maybe you are looking for