Billing doc transfer from CRM to ECC debugging

Hello Experts,
I have made enhancement to the badi BILL_ACC_IF method ENRICH_ACC_DOCUMENT and would like to know the way to debug this code when the transfer of billing doc occurs (middleware).  Is that possible?  If yes, can you please let me know how?
Thanks,
--Jamie.

Hi Jamie,
    Sometime back I had these kind of issue, I was not able to stop the debugger at break-point.
For these type of things, I will write some simple code in BADI and you should have required authorizations. If you use this option, don't forget to remove the code.
   Write below some sample code at the place, where u want to start debug
   data l_exit.
    do.
      if l_Exit = 'X'.
         exit.
      endif.
    enddo.
    Here a process will be running conitnuously.
   Now go to SM50,
     select your process.
       From Menu select
             Program/Session
                 --> Program
                      -->  Debugging.
        when you select this, the debugger will popup and cursor will be at above code. Now in debugger change the value of L_Exit to 'X'. control comes out from the do...enddo , and from here you debug it.
//Bhanu

Similar Messages

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

  • 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

  • Error in invoice posting from CRM to ECC

    Dear Guru's ,
    when we release the billing document from CRM to ECC , system throughs error messages and while we checking the confimation the below  green message is appering .
    --> Object link not known in CO
    Whatever the master data  we maintained in the order and confimation is perfect .Kindly advise why this green error is coming???
    Regards ,
    Pakalapati

    solved by my self

  • CRM BP Identification number entries (Identification tab) from CRM to ECC

    Hi,
    I have a requirement to map the CRM BP Identification number entries (under Identification tab) from CRM to ECC alongwith BP flow from CRM to ECC.
    1. Is it mapped by standard framework and do we have any view in ECC customer master to display the identification numbers?
    2. If not, Is it stored in some table in ECC?
    Please suggest,
    Thanks.

    Hi,
    Were you able to resolve this as I am looking to do the same thing? From my investigation, I can't see anything standard that would transfer this data, although it does look like the Identification number is held within the BDoc.
    I assume the solution would be to map the field into an XD01 field (either a bespoke field or standard - we are planning to use Corporate Group) but i'm not sure how to progress this... I have found some FM's in table CRMSUBTAB which look like the right sort of thing so that is my next area to investigate.
    Please let me know if you have managed to solve this some other way!
    Cara

  • 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

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

  • 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

  • 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

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

  • Want to change ACCOUNT GROUP to BP from CRM to ECC

    Hi All,
    We would like to change the Account group of our (Inside/Outside sales persons) when they are replicating from CRM to ECC.  We did change the PIDE setting according to our requirement but surprisingly 10-12 BPs are not getting changed. We opened an OSS and they suggested to write a Z function module and
    registering it in the table CRMC_BUT_CALL_FU for the CRM OUTBOUND which HARDCODES the CLASSIFICATION DATA to the BP in accordance with the PIDE settings so as to get the ACCOUNT GROUP for these BPs.
    I checkede the tcode CRMC_BUT_CALL_FU for the CRM OUTBOUND where we need to place our own FM. I know to write a FM, but not quite sure how to start. Can anyone out there please help me with this.
    Any suggestions are highly appreciated.
    Thanks,
    Karuna.

    I was able to change the account status from EXPIRE(GRACE) to OPEN. The trick as you hint at is to create a temporary profile, assign that profile to the account in question, saving the password from dba_users first, changing the password, logging in with the new password, then alter the user assigning back the original password with the identified by values clause in the later user statement and lastly assigning the original profile, either DEFAULT or custom.
    Here is the temp profile I used which used values less than 1 for the critical limits involved here. Cannot have limit values less than 1 in 9i according to Oracle but you can in 10g.
    CREATE PROFILE "TEMP_PROFILE" LIMIT CPU_PER_SESSION DEFAULT
    CPU_PER_CALL DEFAULT
    CONNECT_TIME DEFAULT
    IDLE_TIME 15
    SESSIONS_PER_USER DEFAULT
    LOGICAL_READS_PER_SESSION DEFAULT
    LOGICAL_READS_PER_CALL DEFAULT
    PRIVATE_SGA DEFAULT
    COMPOSITE_LIMIT DEFAULT
    PASSWORD_LIFE_TIME .0001
    PASSWORD_GRACE_TIME 5
    PASSWORD_REUSE_MAX 1
    PASSWORD_REUSE_TIME .0001
    PASSWORD_LOCK_TIME .0103
    FAILED_LOGIN_ATTEMPTS 3
    PASSWORD_VERIFY_FUNCTION DEFAULT;
    Thanks for your help.

  • 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

Maybe you are looking for

  • Unable to send just one e-mail when more are defined.

    Hello, Version of the database you are using: 10 Version of Application Express: 4.0.2.00.07 Problem Process: Send E-Mail I have a form that has data entered onto it 3 different time by 2 different people with an e-mail that needs to be sent after ea

  • Why can't i download new versions of itunes on my PC?

    I can see from the amount of discussion on the net that this is a major problem and I have tried all the suggestions I can find (delete cookies, download Quicktime separately etc) but I am starting to get very frustrated as I can't get any music on m

  • Mighty Mouse Changes?

    I wonder if the old wireless Mighty Mouse (the one with the grey side buttons) and newer wireless Mighty Mouse (one with side buttons) have any differences in the chipset it uses. With the older grey side button one, I had jittery issues when my lapt

  • Official unlock for all Original iPhones

    Given that the maximum subsidy period for any of the original iPhones was 24 months, would it be rational to expect that 24 months after the very last sale of an original iphone, that apple would release a carrier update to ALL original iphones to ne

  • Jco.JCO$Exception when create a new adaptive model in NWDS

    HI friends: when I create a new adaptive model in NWDS, error occurs: Warning:Creating a connection with Metamodel language <zh_CN> failed. Continuing with language <zh> Fatal: com.sap.mw.jco.JCO$Exception: Missing R3NAME=... or ASHOST=... in connect