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

Similar Messages

  • Problems for create PO from SRM to ECC BADI BBP_ECS_PO_OUT_BADI

    Hello Experts
    I require your help in the following topic:
    I have created an extension to BBP_ECS_PO_OUT_BADI BADI, you can make an extension to data conditions of my code-PO annexe, however I get the following situation:
    When I have the active code, ie the lines are commented and gender programming the PO from the PO SRM creates no problems, but when I remove the comments, the PO is not created.
    I did a "debug" from SRM to see what was going on with my extension, so use the FM "BBP_PD_PO_TRANSFER_EXEC" and place corresponding to the creation of the PO in ECC breakpoint, verify that the data I am sending ECC arrived properly and when the BAPI "BAPI_PO_CREATE1" run will carry the data from SRM am expanding what I'm sending values ​​are within the BAPI tables:
               "lt_pocondheader"
               "lt_pocond"
    The BAPI_RETURN table returns the following messages:
    "1 E BAPI 1 No instance of object type PurchaseOrder has-been created External reference:. 0 PurchaseOrder POHEADER 1"
    My questions are:
    Why when I have commented lines of code if I create the PO from SRM?
    Why if I take the notes to the lines sends me the error message?
    As I researched the "http://scn.sap.com/thread/449080" mentioned that should not be used to create the PO. But to change it later.
    Indeed, when there is PO if I allowed to create the conditions, hence is derived my new question
    What is the BADI that I must use so that when the PO is generated, take I require the data to be saved to the same PO?
    On the other hand, in the same extension of BADI mentioned, I'm doing the addition of a "Partner", but when it comes to ECC not placed in the tab "Partners" and when I check the messages you send me the BAPI as All that tells me is:
    You could not make changes to the "Partners".
    The lines of code that joined the expansion are:
    CALL FUNCTION 'BBP_PD_PO_GETDETAIL'
             EXPORTING
               i_guid is_header-guid =
             IMPORTING
               e_header = lw_header_po
             TABLES
               e_item = lt_item_po
               e_partner = lt_partner
               e_pridoc = lt_cond.
    IF lw_header_po-process_type EQ ZIPO 'OR lw_header_po-process_type EQ ZICP'.
    DATA: vl_type (2) TYPE c VALUE 'ZI'
    vl_num (2) TYPE c,
    vl_reg (2) TYPE n,
    vl_typef (4) TYPE c.
    DO 25 TIMES.
    vl_reg vl_reg = + 1.
    vl_num = vl_reg.
    Vl_type vl_num vl_typef CONCATENATE INTO.
               lw_cond_b-cond_st_no = '33'.
               lw_cond_b-cond_count = vl_num. "
               lw_cond_b-cond_type = vl_typef.
               lw_cond_b-cond_value = "0".
               lw_cond_b-is_header-currency = currency.
               lw_cond_b-applicatio = 'M'.
               lw_cond_b-STAT_CON = 'X'.
               lw_cond_b-change_id = 'I'.
               APPEND TO lw_cond_b ct_bapi_pocond.
               MOVE-CORRESPONDING TO lw_cond_b lw_condh.
               APPEND TO lw_condh ct_bapi_pocondheader.
             ENDDO.
             lw_poeikp-transport_mode = is_header-zexpvz.
             MOVE TO lw_poeikp cs_poexpimpheader.
           Lt_partner LOOP AT INTO WHERE lw_partner partner_fct EQ '00000711'.
             lw_p711-buspartno = lw_partner-partner_id.
             lw_p711-langu = 'E'.
             lw_p711-partnerdesc = 'TZ'.
             APPEND TO lw_p711 ct_bapi_popartner.
    endloop.
    endif. "
    I hope your answer, thanks.

    Do the config in SRM under Text Mapping > Text Mapping for Inbound and Outbound Texts.
    Hope this helps.
    -Bakulesh

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

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

  • Configuration is not replicated from CRM to ECC for configurable product

    Hi,
    We have some materials in the system for which the configuration is not replicated from CRM to ECC.
    We create a quotation in CRM and configure it. In CRM,  the configuration is complete and components are properly exploded but when we check the same quotation in ECC, configuration is incomplete with respect to some characteristics and product references.
    Please find below finding
    1. If the same material is created in another plant/company code, the configuration is replicated properly.
    2. We have also checked that the BOM is completely maintained for plants for which configuration is replicated. But we dont think so it could be an issue since if we create the quotation in ECC instead of creating in CRM, for the plant (for which the configuration is not replicated from CRM to ECC),  it is properly exploded and complete.
    3. variant prices are replicated properly even though components are not replicated.
    We need to know if we can explode the BOM in the configuration even though complete BOM for the particular plant is not maintained. If its not possible to explode, why it is possible for us to explode the BOM in the configuration in quotation.
    Please  advise.
    Thx.

    the configuration (variant configuration and not customization) that is done in CRM contract is not copied to ECC contract. Is it because that item category in CRM is activated for doing the BOM configuration and the same in ECC is not activated for doing the BOM configuration?
    My question is that if item category in ECC is not activated for BOM configuration then is it like that the BOM configuration in CRM will not be copied to ECC?

  • Company code data for custom replicated from CRM

    Hi,
    I am trying to default the company code data for a BP replicated from CRM as a customer but it is not working.
    How should this be done in CRM 7.0, ECC 6.
    I am have so far copied function module SAMPLE_INTERFACE_DE_BALE, added my own code and created the entry in table TBE34. But it doesn't work.  Is this correct or is there another method?
    regards
    Tim

    This is what we did wen we had a similar requirement...
    u2022     In the ECC create a FM u2018Z_USER_EXIT_BEFORE_SEND_TO_MWu2019.
    u2022     Register this function module for the CRM0_200 exit user in the ERP system.
    a.     Use Transaction SM30, table TPS34, to go to the maintenance of the modules. Here, enter the Z_USER_EXIT_BEFORE_SEND_TO_MWu2019 module for the CRM0_200 process.
    b.     Use Transaction SM30, table TBE24, to check whether the application you have selected (Product column in TPS34) is active.
    u2022     The FM will be triggered whenever a Sold gets successfully replicated from CRM to ECC system.
    a.     Check for the Object Class u2018BUPAu2019.
    b.     Check for the Object Name u2018CUSTOMER_MAINu2019.
    c.     If yes copy the BP GUID from the BAPIMTCS Structure.
    d.     Now call rfc FM ZLSD_BP_EXTRACT_FRM_GUID in CRM to get the BP number and Acc Group for the respective GUID.
    e.     Check if the ACC GRP is Z001.
    f.     If yes make a BDC call to transaction FD01 and update the Company Code data u2026. Recon. Account     110000
                                 Terms Of Payment ZN30       
                               for the  respective BP
    Note: we have recorded a BDC program to create the company code data.
    regards,
    Sameer Ahamad

  • 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

  • BP not getting replicated from CRM to ECC server

    I am currently facing an issue, it seems like the replication of BP from CRM to ECC is not working, I have created a few business partners in CRM for which the BDOC got processed completely but when I go and check these on the ECC side, I am not able to find these BP. Can any one suggest what might be happening.

    Thanks a ton for the note number Denis, I am looking into this and would certainly revert back to you if this works. Just to explain you the excat problem that Im facing as of now.
    I have a few Business partners which we are not able to replicate from CRM to ECC, I have tried to debug the queue and find out what the reason might be, i could see that everything got processed successfully at the CRM side, the issue is when the BDOC reaches ECC, there it gives me a error that "NO UNIQUE JURISDICTION CODE CANNOT BE DETERMINED" area as "TAX_TXJCD".
    If you can suggest anything new based on this information please let me know, in the mean time I will try the note that you had provided and would get back to you very soon.
    Regards,
    Nitin

  • 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

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

  • UPLOAD OF EMPLOYEE BP FROM CRM TO ECC

    Hi all,
    Is it possible to upload Employee Business Partners from CRM to ECC system.
    as per client business process we create Employee Business Partners in CRM system and they need to upload in to ECC system.
    I have worked on downloading of Employees data from ECC to CRM using ALE IDOC.
    Please suggest whether it is feasible or not? If standard solution is available kindly let me know.
    Your help will be highly appreciated.
    Best regards,
    Raghu ram

    Hi ,
    The common practice is to download "Employee" from ECC to CRM thru ALE IDOC ,
    But you can also take another approach :
    1) Create  employee as business partner in role "BUP003" "employee" in SAP CRM .
    you can create manually or you can use BP upload program in CRM.
    2) You need to configure "internal number range " for business partner "emplyee " in CRM , and "External " in ECC Backend
    3) set up middleware for replication of BP from CRM to ECC .
    4) Business partners - EMPLOYEES create in CRM will be replicated to ECC as Business partner ( and not as HR employee )
    hope this helps,
    PD

  • Sales Area Data isnt replicating from CRM to ECC

    Hi Gurus,
    We are replicating some BPs of certain groupings from CRM to ECC.
    We performed all steps relevant for this task mentioned in Best Practice u201CMaster Data Replication C03u201D. After performing the
    steps results are as follows:
    u2022     BP General Data is replicating without any trouble.
    u2022     When registering sales area data in CRM and trying to get this replication to ECC we see that the BP Sales Area data isnu2019t replicated.
    Monitoring SMW01.
    The BDOC BUPA_MAIN ended with the following error:
    Messages for business partner 0007000362: Fill in all required entry fields
    Action already taken:
    After reading this message I have reviewed the mandatory fields per Account Group in ECC and mapped them with the CRM ones. Even this changes I still can get sales area data in the ECC BPs replicated.
    Is there something I am missing here.
    Thanks for your help.

    Hi,
    Regarding debugging from CRM to R3. Please follow the below steps.
    There are 2 methods to debug the Business Partner (BP).
    First Method:
    1)     In CRM, Go to SM59 -> ABAP Connections => The ECC client -> See if the saved user (in logon details) that is used to connect to ECC from CRM is a Dialog user.
    2)     You can use transaction code SU01 to check User Type of User.
    3)     Deregister the Queue through SMQS.
    4)     Make changes to BP.
    5)     Go to SMQ1, Select the Queue name Double Click 2 times then select the Tool bar (Debug LUW).
    Second Method:
    1)     Put a break point in Function Module SMW3_MFLOW_UPDATETASKBDOC.
    2)     Create a BP and before save, type /h to activate debug, Mark update debugging option.
    3)     When stops in Function Module u201CSMW3_MFLOW_UPDATETASKBDOCu201D you must be sure to set header-dbgmode = 'X' this will make the BDoc stay stopped in SMW01.
    4)     Go to SMW01 and type /h and process the BDoc.
    5)     Put a breakpoint in Function Module u201CCRM_UPLOAD_AFTER_MAP_HANDLERu201D and be sure to change LV_SYNCHRON = 'X' this will allow you to connect in ECC.
    If the variable LV_SYNCHRON does not have any value, then it will work as background task, if the value is filled with the value u2018Xu2019, then it will allow debugging in R3.
    And another point to be noted here is, the user type of the R3 should be Dialog User. If the user is not dialog, then it will not connect with R3.

  • Bdocs- from CRM to ECC

    Hi
    I have a requirement where i have to find the account details like 'acc id, acc name', etc & the 'transaction status' from the unprocessed BDOCS from CRM to ECC.
    Actually the data flows from Oracle - Siebel - Crm - Ecc.
    The problem is we have some UN-processed Bdocs from Crm to Ecc for which for every account details changed a new Bdoc have been created and those changed Bdocs have to be found and know the account details (like Acc id, Acc name) & Transaction Status for all the generated Bdocs and get them into one Excel sheet.
    Please help me to get the details.

    Hello Christian
    Many thanks for the quick response.
    Yes both are identical as we both are working on the same issue.
    Christian basically we want to know , Like for every failed bdoc there is detail available but how to get the detail for processed bdoc.
    With account we mean bp number and relevant corresponding data,
    could you help us
    Best Regards..

  • Mass sales orders from CRM to ECC

    Hi,
    We have a requirement to mass upload sales orders from CRM system ECC system. I could not able to find any option to push sales orders in bulk from CRM to ECC.
    Could you please let me know if you know any kind of solution for this kind of scenario.
    Thanks in advance!
    Regards,
    Kumar B.

    Hi Maggie,
    Thanks a lot for your response. But I could not able find CRMD_MASS_UPDATE in CRM system as well as in ECC.
    Could you please let me know how to try this other please let me know the program or tcode.
    Regards,
    Kumar B

  • 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

Maybe you are looking for