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

Similar Messages

  • 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

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

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

  • Mapping Z-fields of BP in CRM to ECC and vice versa

    Hi Gurus,
    Z-fields for BP were created in CRM using EEWB and AET tool. These z-fields need to be transferred from CRM to ECC, standard fields like KNB1-ALTKN, KNKK-REVDB,KNKA-KLIME... etc.
    Now, that these z-fields are added in the BDoc. I believe no enhancement is required on CRM.
    Please guide me on how to map these z-fields from CRM to standard feilds of ECC.
    Thanks & Regards
    Praveen
    Edited by: Praveen on Apr 19, 2010 10:19 AM

    Hi,
    Thats right! C03 best practices would be certainly helpful to you.
    Few important steps for BP repllication from CRM to ECC would be
    In CRM , First define your Logical destination in BD54 .
    1) SU01 Transaction to create users : create user in CRM & R/3
    2) Transaction code SM59 : Create RFC DESTINATION .. here u use the users created for reaching into R/3 from CRM
    3) transaction code: SMOEAC: ADMINISTRATION CONSOLE:-
    here define Publication, subscription and site ( OLTP) , and define replication objects ( like BUPA_MAIN, BUPA_REL)
    4) define Queue: SMQR and SMQS - inbound and outbound queue /
    Que registration .
    5) check entry in R/3 side tables:- Make the proper entry into R/3 side tables in SM30
    a)CRMRFCPAR
    b)CRMPAROLTP
    c)CRMSUBTAB
    d) CRMCONSUM
    These are important steps for Middleware settings between CRM & R/3
    In addition to this , you need to correctly define your
    1) in CRM ,BP GROUPINGS with Internal Number range
    2) in R/3 define "Account Group" with "External Number Range" for BUSINESS PARTNER
    3) In R/3 , Mapping of CRM CLASSIFICATION with R/3 account group...e.g. Classification B for customer with ACCOUNT group of R/3
    You need to also map in CRM  correctly the partner functions and R/3 Partner functions.
    regards,
    PD
    Reward points if it helps...

  • Replicate CRM z-fields of BP to ECC

    Hi experts,
    We're having a requirement of adding z-fields in CRM BP (for delivering plants in ECC) and transferring these fields to ECC customer master data (KNVV).
    Can anybody who have achieved this before provide a suggestion?
    Thanks
    Shane

    Hi Shane,
    You can do this using EEWB (Easy Enhancement Workbench). Transaction EEWB.
    Select the Object CUSTOMER_I and enhance the same as per your requirement.
    Regards,
    Kris.

  • What are the Corresponding fields in CRM for sales order in ECC

    HI! Experts,
    While creating a standard sales order in CRM I want to poulate these fields in ECC Sales order, these fields are
    VBKD-BSARK - Purchase order type
    VBAK-BNAME - Name: user ordered
    VBKD-IHREZ - Web Confirmation Number
    VBAK-TELF1 - Telephone number
    Or the other way round I want to know what are the corresponding fields in CRM for these fields so that when I pass the data in crmd_order in those fields it gets populated in the above mentioned fields.
    Thanks and Regards
    Mayank

    Mayank,
    May I suggest you to create an Order in R/3 with these fields and check that back in CRM. This is not as easy as it may sound. It is possible that some of these fields are "determined" by the system - for example the "Sold-To"'s first telephone number maintained in VBAK-TELF1. So, though it becomes a part of the Order header in R/3, CRM, generally doesn't duplicate them in the transaction but allows to refer back to the master data from the transaction!
    Check the following fields in CRM and see if you find the data you require.
    VBKD-BSARK - Purchase order type There is a field in CRM that "holds" this value. ACTIVITY CATEGORY. This can be found in the ACTIVITY_H set of the transaction. Filed name CATEGORY. Problem with this is, - "Category Type" of a CRM Activity to be mapped to PO type? Didn't workout good for us since the master data for both vary widely. So, we used custom Header Extension data for this (EEWB). So, you have to work
    VBAK-BNAME - Name: user ordered Is usually CREATED_BY in the CRM Order Header (CRMD_ORDERADM_H). But this fills up the VBAK_ERNAM bit not the BNAME.See the next item, that may give a clue if this is related to the next item.
    VBAK-TELF1 - Telephone number is usually "determined". Usually the Sold-To's first telephone number maintained in the Business Partner "Communication" section for that Sold-To.
    VBKD-IHREZ - Web Confirmation Number Actually it is Customer's or vendor's internal reference as per standard use. Looks like your customer is using it for custom purposes. Well, if you maintain the relationship  "Is Correwspondence Recipient for" with the Sold-To partner in CRM, and maintain the details of this Person, then this will be transferred to R/3.
    Hint: Once you have the R/3 order in CRM, try using the Report program (SE38)  CRM_ORDER_READ in CRM. This is a good tool to "dissect and see" and order in CRM. The program needs only the Transaction Number as the input.
    Easwar Ram
    http://www.parxlns.com

  • How to trigger replication from CRM to ECC when changing custom z-field?

    Hi all,
    I've created a z-field in CRM which matches the field KNVV-KLABC in ECC. I've created the needed user exits to replicate from ECC to CRM and vice versa. The functions are called and update successfully. So actually everything works fine except for one thing...
    When I change the z-field in CRM - and only that one field - the replication is not triggered hence KNVV-KLABC is not updated. When I however change my z-field together with another pricing field (e.g. Customer Group) then the replication runs and both fields are updated in ECC.
    How can I trigger the replication if only my z-field is changed?
    Best regards,
    Melanie

    Hi there,
    Thanks for your replies.
    I've solved this myself a couple of days ago. However I did it in a different way as suggested here. I will post my solution as soon as I find the time to do the documentation.
    Maybe as a hint if someone runs into this; adding a field to the pricing structure of the BP sales areas (SET0030 if you need to know) seems strangely enough "not possible" - I mean it's "not ready yet".
    AET f.i. doesn't allow you to add a field there and with EEWB you cannot choose to replicate it to R3. Thus for my solution I had to change SAP Standard unfortunatelly. Also the my customer wants to be able to search for this new field on the Account Search Page - so many steps were needed to achieve all this. As I mentioned I shall present my solution as soon as I get the time for it. If I should forget and you need to know how I did it you may reply to this thread as I'm watching it so I'll be reminded.
    Best regards,
    Melanie

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

  • 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

  • Replication of custom-fields in BP from CRM to ECC

    Hello all,
    I have created additonal attributes for a Business Partner in CRM7.0 (ZZKATR1 and ZZKATR2) using the tool AET.
    In ECC I've added these attributes to tabel KNA1 using an append structure.
    The replication of the BP from CRM to ECC is already working fine.
    So when I change a standard field this is replicated succesfully.
    Only now I want to enhance this replication with these additional attributes (custom-fields ZZKATR1 and ZZKATR2).
    So they also appear in ECC in table KNA1.
    Can anyone tell me how this is done? And what steps I have to take?
    Thanks a lot.
    Marco

    Hello Marco,
    Please see note 736595 and also the links below explaining the scenarios.
    http://wiki.sdn.sap.com/wiki/display/CRM/EnhancingtheCRMMiddlewareExample2
    /people/vikash.krishna/blog/2009/07/21/exchange-ecc-customer-master-standard-field-with-the-crm-z-fields-ecc--crm
    I hope this helps.
    Kind regards,
    Vanessa

  • What is the standard field in CRM to store the VAT number from ECC

    Dear gurus,
    I am trying to find if we have "VAT number" as standard field in CRM. I tried finding in CRM but could not find.
    The requirement is to bring the "VAT number" data from ECC to CRM.
    So if there is any corresponding CRM field to store that then it would be easy. Please let me know if you know of this field in CRM. Thanks for your help in advance.
    thanks,
    Randhir

    Hello Randhir,
    In CRM, there is no seperated field to store VAT numbers like in ECC. In CRM, we have a table control TAX NUMBERS on business partners -> identification tab which stores tax numbers.
    Below is the way how the tax number flow and work in ECC and CRM for a sample country IT.
    In ECC -
    On customer master , you will see fields such as VAT reg. number, TAx number1, tax number 2 and so on. Thus when you create a customer for country IT, you enter the required tax numbers.
    In CRM -
    you enter tax numbers on the identification tab. here we dont find different fields, but there are different tax types introduced for each country. Thus for VAT numbers, the tax type is IT0. This tax type is always of the format - <country ISO code>'0'. Thus for DE we have DE0. The concept of tax type is not there in ECC.
    The tax number transfers from ECC to CRM automatically assign a tax type depending on the country and field. And this functionality is available in all CRM systems.
    In CRM. tax numbers are stored in table DFKKBPTAXNUM.
    Hope this information is helpful.
    Best regards,
    Rimzhim.

  • Business partner field in CRM - Corresponding field in ECC

    Hi Middlware/CRM Gurus.
    I would greatly appreciate if anyone can answer this quesiton:
    I need to find out field in ECC customer master data that gets mapped to CRM data.
    Basically I am looking for field mapping of ECC Customer master data to CRM master data.
    If I go to CRM Business partner creation and need to know if this field gets replicated to ECC and if it does what is the corresponding table/field it gets stored in ECC?
    Any help is greatly appreciated!
    Thank you!

    Hello Uday,
    There is no one to one mapping between CRM table and R/3 table.
    Please find below few of the R/3 tables for BP:
    KNA1
    KNAS
    KNBK
    KNVA
    KNVI
    KNVK
    KNVP
    KNVV
    You can open then in txn:SE11 and check for field descriptions of the table.
    And corresponding CRM tables would be,
    BUT000
    BUT020
    BUT*
    ADRC
    etc
    Hope this helps!
    Thanks and Best Regards,
    Shanthala Kudva.

  • Middleware debug problem  for BP's from CRM to ECC

    I tried few steps to debug BP  changes from CRM to ECC but nothing is working ...
    I deregistered the Queue thru SMQS, made changes to BP.. went SMQ1 select the Queue name Double Click 2 times.. then select the Tool bar (Debug LUW)..    I'm getting "Nothing was selected"
    When is see SMW01, BDOC is processed green and data is transferred to ECC.
    I want to do debug  the BP queue and go to ECC system  as some of my custom EEWB fields are not passing to ECC correctly.
    Any help is highly appreciated.
    Thank you.

    Hi,
    Put a break point in FM  SMW3_MFLOW_UPDATETASKBDOC.
    Create a BP and before save type /h to activate debug, mark update debugging option.
    When stops in FM SMW3_MFLOW_UPDATETASKBDOC you must be sure to set header-dbgmode = 'X' this will make the bdoc stay stopped in SMW01.
    Go to SMW01 and type /h and process the bdoc.
    Put a break in FM CRM_UPLOAD_AFTER_MAP_HANDLER and be sure to change LV_SYNCHRON = 'X' this will allow you to connect in ECC.
    Put a break-point in the "CALL TRANSACTION" command. Change the mode of call transaction and you be able to debug XD*  update.
    Best Regards,
    Caíque Escaler

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

Maybe you are looking for

  • Photoshop has encountered a problem and needs to close

    I have had the cs4 software about three weeks, Everything has been running perfectly un til this morning. I was attempting to past an image to a vanishing point and got the hourglass/ spinning circle that is was working, then an error message about m

  • How can I convert files from pages 08 files without pages 09?

    I am extremely dissatisfied with the latest iWork (13?) applications. My 2008 MacbookPro crashed on me, so I purchased a new 15" MacbookPro last month. Due to a known issue that prohibits my new Mac from being restored from my Time Capsule backup (th

  • XML Parser for Java version 2.0.2.9

    I can no longer find the XML parser for Java (version 2.0.2.9) for Sun Solaris and Oracle version 8.1.7.3. This would be the file xmlparserv2.jar for parser version 2.0.2.9 This file support the latest Oracle Applications work flow version and so is

  • ESS Leave Work item 000000000000 cannot be read

    Hello All, If you can share your insight, it will be greatly appreciated. The program RPTARQPOST was scheduled with a dialog user with HR specific roles. This is not good as itu2019s difficult to know if the leave was actually posted by the backgroun

  • Can't Install OS X Mavericks

    I am using a Mid-2010 MacBook pro 15 inch. I currently have 229.2 GB of free space out of 319.21 GB. I am running OSX 10.8.5 Mountain Lion. After the initial install when my computer restarts for the initial installation, after a couple of minutes my