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

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 storage loaction issue from crm to ecc

    HI Experts ,
    I am facing issue while store location replication from CRM to ECC.
    I have create field "Hub Location" using AET  on web  ui and behind that store  location search field is working .
    I have already created a Order . I have copied that order .Add store location .
    When i save Now all process executed and BDOC execute successfully with no error .
    I have enhanced BADI data exchange and add code in method crm_dataexchange_after_fill method and added store location .
    Issue : Now when i go-to to crmd_order transaction and checked that order then i am getting error that Store location plant is not defined .
    Please help .
    Regards ,
    Rishi

    Hi Rashi,
    Sorry for the late reply.
    Goto ECC system and find the FM "BAPI_SALESDOCU_PROXY_UPLOAD" and set the break point using your RFC user id (RFC user id from CRM to ECC and RFC user id should have the debug rights).
    Once you create the order in CRM and it will come to debug in ECC.
    Check TI_EXTENSION_IN tables whether your values are coming in.
    If not your CRM Middleware BADI coding was not done correctly.
    Hope this would help you.
    Regards,
    Bala

  • Wrong replication of partner "last name" from CRM to ECC.

    Hi everyone,
    In the specific environment of our company, we create business partners in CRM using t-code 'BP'  they are then instantly replicated to ECC (we visualize them using t-code 'XD03').
    When we create a partner as a person, the fields 'first name' and 'last name' (which are 2 distinct zones ) are concatenated into one single zone when replicated into ECC. I have visualized BDOCS using t-code SMW01, and haven't seen anything abnormal.
    I have been trying to debug the replication process, without any success.
    Please any clues on what I should do to get the problem solved would be very much appreciated.
    Many thanks
    C.K.

    Hi Rashi,
    Sorry for the late reply.
    Goto ECC system and find the FM "BAPI_SALESDOCU_PROXY_UPLOAD" and set the break point using your RFC user id (RFC user id from CRM to ECC and RFC user id should have the debug rights).
    Once you create the order in CRM and it will come to debug in ECC.
    Check TI_EXTENSION_IN tables whether your values are coming in.
    If not your CRM Middleware BADI coding was not done correctly.
    Hope this would help you.
    Regards,
    Bala

  • Replication Of Z Partner Functions from CRM to ECC

    HI All,
    We are creating the " Z Partner Functions " in SAP CRM & ECC.in our scenario partner functions flows from CRM to ECC and we want to replicate these partner functions from CRM to ECC.
    So can some onle please tell me how to do this?.
    Thanks in Advance,
    Arun

    1. Create the partner function in ECC
    2.  Assign the partner function to the relevant partner procedure in ECC
    3. Create a partner function in CRM
    4. Map the partner function as follows:
    Customer Relationship Management
    --> Basic Functions
    --> Partner Processing
    --> Data Transfer
    --> Distribution of Partner Functions from R/3 into CRM
    Create the following entry:
    Partner function in R/3         Function
    and also the below:
    Create a mapping entry for data transfer from CRM to R/3 via the
    following IMG activity in CRM:
    Customer Relationship Management
    --> Basic Functions
    --> Partner Processing
    --> Data Transfer
    --> Distribution of Partner Functions from CRM into R/3
    Create the following entry:
    Function     R/3 function    Type in R/3

  • Replication of quotation and order from CRM to ECC

    Hi experts,
    We are trying to replicate a quotation and order created in CRM to ECC. We have maintained the same transaction types and item categories in both ECC and CRM. Is there anything else that is required to be done for proper replication??
    Now while trying to replicate, we are getting this error: "Partners from account group 0005 are not permitted for partner function BP (Notification E VPD 000)"
    How to solve this??
    Please Guide.
    Regards
    Aakshi Suri

    We maintained Partners from account group 0005  for partner function BP. Now we are again getting these errors:
    u2022     Account Assigment Object Successfully Assigned to Item 0000000010 (Notification S C( 312)
    u2022     SALES_HEADER_IN has been processed successfully (Notification S V4 233)
    u2022     The sales document is not yet complete: Edit data (Notification W V1 555)
    u2022     Sales document 0005000080 was not changed (Notification E V4 219)
    u2022     Status "Obsolete status" of material 101123900 does not allow external procurement (Notification E ME 053)
    u2022     Error in SALES_ITEM_IN 000010 (Notification E V4 248)
    Is there any place where we can check the notifications??
    Kindly help us in resolving this error.
    Regards
    Aakshi

  • 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

  • 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

  • Replication from CRM to ECC and vice versa

    Hi,
    I am a newbie and would really appreciate any of your advice and help. I was given a task to replicate business partner from CRM to ECC. I was advised to go through a building block in SAP Best practices for CRM called C03:CRM Master and Data Replication. I've read through the materials and found out that there are some prerequisites. Do I need to installed all of the prerequisites before I can proceed with the steps given in the building block. I hope anyone could reply to me as soon as possible.
    Regards,
    Julianna

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

  • Is it possible to create custom partylist field in crm 2013

    Hi,
    I want to create custom partylist field in crm 2013. Please tell me how to create?

    Hello,
    That's not possible. The only way is from/to/cc e.t.c. attributes in custom activities.
    Dynamics CRM MVP/ Technical Evangelist at
    SlickData LLC
    My blog

  • Restrict Contact Person replication from CRM to ECC based on Partner Funct

    Hi Experts
    We are replicating Contacts from CRM to ECC, by assigning them to Accounts. We have a scenario to restrict Contact Person replication to ECC only for specific Partner functions (we have 5 such partner functions), for remaining partner functions the contact Persons should not be replicated to ECC.
    By Partner function I mean, while making this assignment of Contact to an Account in u201Ccontact Person Relationships datau201D under u201CPartner Function Assignment blocku201D (in web UI) we are adding a Partner function E.g. Author, (same can be seen in GUI, under Usage tab of CP Relationship data).
    However we were able to replicate contacts assigned to accounts to ECC in our 5 partner functions, but even the unwanted contacts assigned to other partner functions in CRM are also getting replicated
    How can I restrict CP replication from CRM to ECC based on Partner Functions assigned to the Contact Person
    Your help is highly appriciated.
    Points guaranteed.
    Regards

    Issue resolved using CRMC_BUT_CALL_FU.
    Posing the table name, just in case it might help others.
    Thanks

  • How can I Force/relaunch BP replication from CRM to ECC

    Hi everybody,
    We had some replication problem with sold-to-party BPs when creating them in CRM (Tr Code BP). The CRM002 id was not implemented in most cases. A job was planned to relaunch the Bdocs automatically every hour. It seemed to be ok for a moment.
    However we still have some sold-to-party BPs that are not replicated at all in ECC (Master Data and sales data). The usual procedure we set to trigger the replication is checking a case in BP Tr. but when I uncheck the case and check it again, the replication doesnt happen.
    Is there a way to force manually the replication of a sold to party BP from CRM to ECC?
    Second question in replication subject : We also have partial replication in ECC. For example the Tax classification partially replicates. It's like if the replication process in crashing on the way and the result is no CRM002 id back in the BP master data in CRM. Do you have any idea of where it's coming from?
    Is there a Transaction like SMW01 (CRM) in ECC in order to trace replication problems of processes?
    Many Thanks.
    Laurent

    Hi,
       Firstly , please check if you have any filters in for adapter object customer_main in trx. R3AC1 (which prevants data replication)
    Next, check if your inbound (SMQR) or outbound queues (SMQS) of CRM are de-registered.
    You can use trnx.
    CRMM_BUPA_SEND
    to manually replication a BP to the ECC system.
    No.. there is no monitor in ECC like the Bdoc monitor (SMW01) in CRM.
    Hope this helps. Reward if helpful!
    Thanks,
    Sudipta.

  • Replication of BP from CRM to ECC

    Hi,
      Can some one tell me the procedure to replicate BP master data from CRM to ECC.
    Regards,
    SAP CRM MW.
    Message was edited by:
            SAP CRM

    Hello Friends,
    Can you help me to resolve my WEB CATALOG Image issue in the following weblog.
    WEBCATALOG not working in CRM
    Your help in this regard shell be highly appriciated.
    Jaswant

  • Replication of Business partner from CRM to ECC.

    Hi experts,
    We are working on CRM 5.0 with backend ECC 6.0.
    We are facing a problem while replicating BPs from CRM to ECC. Eventhough we are maintaining language code in CRM, the same thing is not replicating to ECC.
    Can anybody help us how to solve this problem.
    Thanks in advance.
    Regards,
    Madhu.

    we have this issue on CRM006 consumers created as an org.
    SAP gave us function module
    'BUPA_OUTBOUND_BPS_FILL_CENTRAL' to fill the langauge in CRM 5.0 or BUPA_GENERAL_UPDATE .
    We have not implemented either yet.  in r/3 46C we have a small core mode in LVV02F3H to force EN as language.

  • 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

Maybe you are looking for