Badi for ECC to CRM Customer replication track changes

Hi Experts,
We have a requirement to call external web service whenever erp customers(BP) are getting replicated to crm both in case of creation and updation scenario.
Any Badi which gets triggered in the above scenario which we can implement to track changes in bp or any other approach to implement this requirement.
Thanks in advance..
Cheers,
Sumit Mittal

Hi Robert,
Thanks for providing details..
We tried using the existing standard function module (CRM_REQ_RECORD_CREA_FROM_ORDER) as receiver function module and check FM (CRM_REQ_RECORD_CHECK_REQ_TYPE).. now when we try to create bp control doesn't hit in either of the FM's..  are we doing anything wrong?
Instead of the standard if we provided our own z- FM what should be the interface that it expects?
Thanks in advance..
Cheers,
Sumit

Similar Messages

  • Bank Key giving error for ECC to CRM replication

    While replicating BPs from ECC to CRM, the following error shows in the BDoc:
    "Bank XXXX-YYY for Country ZZ does not exist"
    To the best of our understanding, the Bank (branch: XXXX-YYY) detail is not available in the CRM, but where to make in CRM or why should it not be replicated from ECC when the same is created in ECC in the first instance itself.
    Seek your guidance please.
    Regards,
    Tariq

    Dear Leon,
    Thank you for your advise and after going through the same I have the following to share with you:
    Make sure that the Bank Key,Bank Key - FI01 Bank master creation is maintained .....
    >>>>>>>> Yes maintained.
    After maintaining it,try to replicate using PFAL.
    >>>>>>>> For replicating what "object type" should I choose from the list, though i couldn't find any of the drop down entries having "Bank" or likewise. hence what object type to select for replication?
    And check in BD64 whether the distribution model is maintained correctly.
    >>>>>>>> I checked but couldn't find the mention of any bank in the  model views available there related to HR / CRM:: "HRALECRM" or "ZHRCRMWFM"...........hence kindly advise where and what for should I look for?
    "................., it is possible that bank data is not distributed, because the system to which the bank data is to be sent is not available or the settings in Customizing are incomplete or incorrect. Check SPRO
    >>>>>>>> Checked, system is maintained.
    Thanks!
    Tariq

  • Remote Function Call (RFC) within a BAdI in ECC to CRM

    I've a remote enabled FM in a CRM system which I want to call within a BAdI implementation of a ECC system. As a result, the CRM system is the RFC server and the ECC system is the RFC client.
    The FM in CRM simply gets the relevant rows of a Z table which, of course, only exists in CRM and passes these rows to the calling program as per parameter supplied by the calling program.
    Now the BAdI in ECC is for changing 'Contracts' data in SAP (transactional data) before posting the contracts in the ECC database. The business uses a transaction where a large number of contracts are processed and documents posted in the system - and when this happens the system runs through (calls) the BAdI one contract at a time.
    If I call the RFC enabled FM anywhere within this BAdI, it gets the data for one contract only so it reduces a great deal of performance in regards to memory consumption, network load etc. So I want to avoid this and call the RFC FM once instead, if possible.
    Is it possible to call this RFC FM once only (to load the CRM Z table data for all contracts) and store it in a global table/area within the instantiated BAdI class (visibility public) so that when the BAdI is called the second time onwards it can read the global table/area by READ TABLE WITH KEY statement and avoid the RFC call for each BAdI call?
    I was also thinking about may be using ABAP Shared Memory if this is a possibility in order to avoid the repeated RFC call? But this table on the RFC server changes frequently....so it might not be a good idea? or....??
    I would greatly appreciate your inputs and thoughts regarding this; it would be great to hear if someone had had a similar experience.
    Cheers,
    Sougata.

    As the Z table is only updated via a particular program in CRM - we developed and called a RFC enabled FM in that report when its updating the Z table to update the Z table in ECC to keep it in sync.
    Short term benefit but might be long term pain if the Z table in CRM is updated by another program/process/application in the future! Not to mention any table field changes in CRM has to be also made in ECC everytime which is again a pain.
    This is a workaround and definitely not a full-proof solution - but I guess these days one has to shut up and deliver whatever the customer wants!

  • Office for Mac 2011: Tips for speeding up Word when using tracked changes and comments?

    I run a fresh installation of Office for Mac 2011 (v. 14.4.1) on a brand new Macbook Pro 13" Retina 2.4GHz with 16GB RAM running 10.9.2. The Office package is fully up-to-date.
    I mainly use Word and find that it is extremely slow when I track changes. Documents need not be particularly large - even in a 30-page document after a few pages of tracks typing becomes a pain, in particular in comment bubbles where the text shows up letter-by-letter and only finish several seconds after I've stopped typing. Other programs run at the same time do not suffer from this horrible lag.
    I have searched and seen that this is not uncommon so it appears that Microsoft's coders are not particularly well versed in coding for Mac.
    My question is if other users have found ways to improve the situation, for instance by trashing plists or something like that? This is really driving me crazy
    Many TIA
    Philip

    You might try looking/posting here.
    Microsoft Support – Office for Mac
    Microsoft Support – Office for Mac (2)

  • Credit card error in bdoc for ecc to crm

    I am getting an error R11 144, No credit card details found, when an ECC customer master record has a credit card on it and it is flowing to CRM 7.  If you have encountered this error, how did you fix it?  I have searched with no success.

    I believe I may be getting the R11 144 error after I get a R1 561 because the card doesn't load into crm, so when doing a delete or change to the customer in ECC, the system looks for a card in CRM to delete and there isn't one.  So how to get rid of the R1 561 error then?  It is not an auth object issue as I have seen in some responses.  The card number and card type are not getting loaded into the bdco, but the expiration date is. I have logged a ticket with SAP but just keep going back and forth with them.  Hoping someone has been through this before.  Thanks.

  • Badi for middleware ERP - CRM

    Hi
    We are replicating business partners from ERP to CRM, but we do not want to have the id number to be replicated from the ERP. Does anyone know a Badi that can remove the id number before sending the data to CRM?
    Thanks
    Claus

    Hi Claus,
    If you don't want the business partners with the same numbers of ERP system I would simply assign it an internal number range to that BP group, instead of the external number range.
    But still if you want to work on it, my suggestion is to manipulate the values send to CRM with a new function module (like COM_BUPA_MWX_BPS_FILL_CENTRAL) and configure it in ERP table COM_BUPA_CALL_FU. This table determines the calls that are made when a business partner bdoc arrives or leaves the ERP system.
    Must confess I never tried your purpose but hope that this may help you a little more
    Kind regards,
    Garcia

  • Replication of Customer from ECC to CRM --- Multiple A/c Groups

    Hi Experts,
    I am trying to replicate customer master data from ECC6.0 to CRM7.0 and vice versa. Replication is up and running right now for only one Account Group (GEN-Z created for business) in ECC.This A/C Group (GEN) is mapped to BP Classification "Customer" in PIDE.
    Now, I want to replicate customers with 5 other A/c  groups to CRM as well. In PIDE, I have maintained a total of 6 entries for a/c groups to classifications (ECC to CRM). All 6 A/c groups are mapped to "Customer" classification.
    This "customer" classification generates customers in role "Sold-to-party". For STP role mandatory fields have been matched to GEN A/c Group.
    My main issue is how do I make sure there is no mismatch of customer fields in ECC and CRM as All other a/c groups that have also been mapped to the same "Customer" classification in the same way as A/c Group GEN. Problem would crop up because, there are diff set of fields kept mandatory for different a/c groups.
    From CRM to ECC, I can select the relevant a/c group from "Classification" tab in role Sold-to-party.
    But, there would be the same problem of mismatch of mandatory fields between Sold-to-party and all other a/c groups.
    Is there a solution to this problem. How can I make sure replication works for multiple A/C Groups too.
    Thanks and Regards
    Varun Taneja

    Hi Robert,
    I read that in some other post too, it worked for someone. But here it is, I would like some advice from you...
    Suppose, I have 2 A/c Groups... X and Y, both with different mandatory field settings in ECC.
    Now, In BP field grouping on CRM side, I have made field settings(mandatory etc.) according to X A/C group. So when I select, X from classification tab during BP creation, replication would be successful.
    And, if I select Y from classification tab, it would give an error "Fill in required mandatory fields" since fields have not been synchronized with Y. How can I take care of this issue.
    Also, for ECC to CRM, how do I select multiple classifications, it doesn't allow for more than one entry for one classification.
    I hope I am clear about my requirement.
    Please share your feedback.
    Thanks and Regards
    Varun Taneja

  • Replication Z-Tables from ECC to CRM

    We have a client with some Z-Tables in ECC and we need to replicate this tables in CRM,  anybody have any information about this.
    Thanks in advanced
    Sebas

    Hi Sebas,
    The following link shows the replication from CRM to ECC. The same can be followed for replication from ECC to CRM.
    Replication of Z table from CRM to R/3 - No mBDoc Created
    You can also try this
    1. Create the Ztables both in ECC and CRM
    2. create customizing adapter objects in R3AC3.
    3. copy the stanadard FM 'CRM_BUPA_MAP_ADREREG_CI' to custom FM and write source code. load object in R3AS.
    4. create a variant and shedule the based on requirement
    Thanks and regards,
    Madhukar Reddy

  • User Exit or BADI for Material,BOM,Customer,Vendor

    Dear All,
    I have requirement where if User A changes a Material X .It should go for approval by workflow.
    When the Material X is waiting for approval no other User should be able to change the material .It should give him a message
    and restrict him from changing the Material.
    Is there any User Exit or BADI to restrict him from changing the material. The exit or BADI should be called as soon as the Material is entered in MM02.
    I need exit or BADI for BOM, Vendor and Customer also.
    Thank you.

    Hi,
    You can go to Transaction SE80 and check in Function Group MATF. There have been two User Exits which are called during MM02 Transaction execution (via Analysis Transaction SE30) - MATERIAL_FIELD_SELECTION_NEW and MATERIAL_FIELD_SELECTION_COMB.
    BAdI called by FM MATERIAL_FIELD_SELECTION_NEW.
    Thanks and Regards,
    Prabhakar Dharmala

  • Duplicate check via BAS (ADDRESS_SEARCH)-- how to handle non-crm customer?

    Dear all,
    I'm implementing a duplicate check and using the BADI Address_search. Within this BADI I use the method "Address_Search" for calling a third party software tool with customer information. This tool checks whether the entered customer is already available in CRM AND in other system in our company holding.
    The method provides me a list of all found duplicates (incl. non-crm customers)
    My problem is that I need to fill a export table "ex_t_search_result" (type adkey_indx_tab) of this method which expects ADRC number. For the CRM customer it is not a problem. I can figure them out by table BUT020 and the customer number. But for the non-crm customer I do not have a ADRC number.
    I know there are some methods for creating addresses in BAS (function group SZA0), but actually Im not sure how to handle them.
    Does anybody of you had faced a similar issue?
    Thanks for your help
    Firat C.

    hello,
    BP is BDT (Business Data toolset) enabled (you can check it by adding break point in FM BUS_PBO and executing BP transaction). You can add your check directly to standard view (the check will be executed each time when user pushes enter) or you could add you check to appropriate action (during saving etc.) there are number of actions which you could use it depends on your requirements. You can find a lot of info about BDT (if you are not familiar) in Wiki.
    br,
    dez_

  • Transfer z-table data from ECC to CRM via Middleware

    Hi,
    I need to transfer some z-table data from ECC to CRM using middleware. Does someone have any tip or reference link?
    André

    Hi,
    The following link shows the replication from CRM to ECC. The same can be followed for replication from ECC to CRM.
    Replication of Z table from CRM to R/3 - No mBDoc Created
    Regards,
    Susanta

  • Need help in developing BADI for IT0001

    Hi All,
    I need help in developing BADI for IT0001.
    On IT0001 create or change, there is need to update IT0017 with following data from IT0001
    -Company Code
    -Cost center
    -Business Area
    -Begin and End Date.
    Other fields from IT0017 need to be derived from Position and update in IT0017.
    Please guide me how I can address this. I do not want to go for dynamic action, as it is not getting evoked during background jobs.
    I am new to BADI development and will appreciate step by step instructions.
    Thanks

    Hi,
         follow the below steps to achive
    Steps:
    1.     Execute Business Add-In(BADI) transaction SE18
    2.     Enter BADI name i.e. HRPAD00INFTY and press the display
            button
    3.     Select menu option Implementation->Create
    4.     Give implementation a name such as Z_HRPAD00INFTY
    5.      You can now make any changes you require to the BADI within this
            implementation, for example choose the Interface tab there are 3 methods avialble
    6.     Double click on the method you want to change, you can now enter
            any code you require.
    7.      Please note to find out what import and export parameters a
            method has got return the original BADI definition
            (i.e. HRPAD00INFTY) and double click on the method name
            for example within HRPAD00INFTY contract is a method
    8.      When changes have been made activate the implementation
    <b>Reward points</b>
    Regards

  • User Exit or BADi for FB02

    Hi
    Does somebody knows some user exit or BADI for add validations to FB02 when user changes some position data.
    I need to validate some header BKPF (Company, Currency) and detail BSEG (Posting Key, Account Bank)  data when change the position.
    Does somebody knows one user exit or Badi wich i can use to do it  ?
    Thanks
    Frank

    Thanks for your answers.
    I need to make validations for send error messages and i can not use FI Validations and Sustitutions because i send several differents messages  and wuold need N steps (one step for each message).
    The enhancement points called in CHANGE_TO_MODIFY are executed when ok-code is 'CHAE' that is when the user calls FB03 and then change to modify mode for make changes like if he goes to FB02 , but these enhancements are no executed any more when the data changes are made and user press save.
    I already found some enhancement executed just before data saving (it's in FORM belegsummen_pruefen) so i make the validation and send the error message , but when error message appears the screen get protected so the user can not change any screen field for make the data corrections.
    Best Regards
    Frank

  • Customer replication (ECC - CRM), masses of Bdocs in error

    Hello
    I recently got my hands on CRM 5.0 where replication of customers from ECC to CRM should be set up.
    There is no replication from CRM to anywhere else.
    Based on my very limited CRM experience, it seems that delta download is running ok.
    However there are hundreds of thousands Bdocs in error status and almost all of them seem to have same kind of errors: "Business partner with GUID xxx does not exit" and "Validation error occurred: Module CRM_BUPA_MAIN_VAL, Bcod type BUPA_MAIN".
    It's of course possible to track down the cause of error and process the Bdocs one by one but what about the huge mass of hundreds of thousands of Bdocs? Any suggestions / ideas for this are highly appreciated.
    Thanks!
    Cheers
    Mark

    Dear Mark,
    Please consider the information of note 757955 regarding transaction
    CRMC_BUT_CALL_FU, you may have more entries for the events than described
    in this note. This should be the reason for the errors in the BDoc.
    This note explains the necessary customizing settings.
    Another reason might be inconsistencies, so please check the reports in notes 703322,
    609766
    Regards, Gerhard

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

Maybe you are looking for

  • Portal Admin pages do not render properly

    Whenever I try to login to the Portal Admin pages, it throws the following errors. Interestingly, some pages are not rendered properly while other pages render fine. For example, Delegated Administration & Service Administration render fine. But none

  • Excessive battery drain during talk time?

    I know that the iPhone 4s and its battery drain has been discussed here infinitum...I myself have been reading all the threads for the past week and trying various fixes before doing a full restore and setting my phone up as new.  However, I am still

  • Data pump, Query "1=2" performance?

    Hi guys I am trying to export a schema using data pump however I need no data from a few of the tables since they are irrelevant but I'd still like to have the structure of the table itself along with any constraints and such. I thought of using the

  • Function-based index, NOT NULL bug?

    ALTER SESSION SET OPTIMIZER_MODE = FIRST_ROWS_10; ALTER SESSION SET QUERY_REWRITE_ENABLED = TRUE; CREATE TABLE xxx (code CHAR(6) NOT NULL); create index xxx_idx on xxx (upper(code)); select * from xxx order by upper(code); -> ORA-03113: end-of-file o

  • My email won't open on my droid ultra

    My email won't open on my droid ultra