Debug Middleware Initial Load

Hi Experts,
How do I debug initial load data? I am uploading data from R3  to CRM. Some of the set types data is missing. How do I debug to find out why some set type data is being uploaded successfully where as some data is not related to an equipment(installed base).
Regards,
Abdullah Ismail.

Hi Shalini,
I have put an external break point in the specified badi but it does not stop there. There is some issue with the initial load and queues. When I unregistered the queues and execute r3as, all the queues get registered. Hence debugging does not work. There is some problem with the delta load also when the equipment is changed in the R3 side. The functional guys are trying to fix it up. Hopefully it finishes soon and I get to award you points
Regards,
Abdullah
Edited by: Abdullah Ismail on Jun 22, 2008 10:34 AM

Similar Messages

  • Middleware - Initial Load problems

    When I try to do initial load for DNL_CUST_ACGRPB from R/3, the status is 'Running' for long time and does not change to 'Done'. How to troubleshoot the problem and can someone help in resolving this issue?
    thanks a lot in advance.
    Sam

    Sam,
    Have you looked for any failed queues in either R/3 or CRM?  Check SMQ1 in R/3 and SMQ2 in CRM.  You should also see if the queues are registered in both systems, via SMQR.
    For CRM:
    Did you properly define your R/3 site in SMOEAC?  Have you tested the RFC destination to R/3?  Does the R/3 user have full security?
    For R/3:
    Did you check the settings in CRMRFCPAR?  Does the RFC destination work correctly.  Does the CRM user have full security?
    For an object such as the customizing downloads, like DNL_CUST_ACGRPB normally the error surrounds your CRM setup between the two systems.  If all those steps are workly correctly then you will need to consider a few other options.
    Also you will need to do the following in CRM before you try loading again:
    1.  In R3AM1 hit the abort button on the object.
    2.  In either SMQ1 on R/3 or SMQ2 in CRM, delete the queue that failed.
    3.  Fix any configuration issues with your middleware setup.
    4.  Execute the initial load again for the object.
    Good Luck,
    Stephen

  • Middleware initial load error on funcloc segment type (ADR2) does not exist

    Hello,
    We are doing initial loads of data into a new CRM 7.0 system.
    So far all objects have been done except Functional locations (FUNCLOC).
    During the initial load of the functional locations the various BDOCs all go into error state.
    The error is the same everywhere: segment type adr2 does not exist.
    If we deactivate the adr2 table In transaction R3AC1 and process again, we get the error message for the next table
    (Like:  segment type IFLOTX does not exist) and so on.
    IS there any settings we can do to manage these 'segments' or would there be another wa to solve this?
    Thanks.
    Joram

    Hello,
    Take a look at note 1271465, it does not talk about the ADR2 segment but about segment errors in SMW01 for functional location download. It might be useful. Observe especially the constraint in ERP version number, it might be that your ERP system is out-of-date/incompatible for this scenario.
    Second thing to check, go to SPRO>CRM>Master Data>Installed Base>Replication of technical objects from ERP
    There you'll find a mandatory customizing activity for Functional location download.
    And in the documentation of activity "Replication of Functional locations: Prerequisites and General information" you'll find all the necessairy actions to perform.
    This helped me in setting up funcloc replication in CRM 7.0.
    Hope this helps,
    Kind regards,
    Joost

  • Middleware initial load in production

    We have a question over how to run an initial load (R3AS) in our production system.  We have over 4 million business partners and 9 million contract accounts that will require replication from ERP to CRM system.  We expect the initial load could take several days to run.  Is there anyway to stagger the initial load?  This is due to that we may not want replication activities occurring at certain times of the day.  We'd like to just do an initial load on a range of bp's per day.  It seems this could be accomplished by setting a filter, but my understanding is that as we shift the filter, we would then be missing the deltas of the previous bp's that were loaded via initial load.  Is there anyway to accomplish a staggered initial load?  or do you need to basically fire off the initial load for your entire filter.
    Does anyone also have any tips that are geared towards replication as it relates to large volumes of data.
    Pam Crissman

    Pam,
    "It seems this could be accomplished by setting a filter, but my understanding is that as we shift the filter, we would then be missing the deltas "
    You can activate the deltas manually in R3ac4.
    Regards,
    Siva.

  • Custom BDOC Initial Load Debug!

    Hi,
       Is there a way to debug the initial load of a custom BDOC initiated in CRM.
    Scenario - Custom BDOC needs to update a Z table in CRM from R/3.
    Status of the Initial load is green but neither BDOC is created nor the Z table in CRM updated with the data in R/3.
    Z table in R/3 has fields with data type CURR & DEC.
    Thanks,
    Anand

    Hi Anand,
    - Block the CRM outbound queue in transaction smqr (or smqs),
    - Make sure that the RFC users that are used to communicate between the SAP systems are in dialog mode,
    - Enter the R3* queue: using the debug button of the queue, you should be able to jump into R/3 in a debugging session.
    Kind regards,
    Michael.

  • Initial load of BP through Middleware

    Hello,
    I try to do the initial load of Business Partners from R/3 into the CRM system. The monitor displays, the load has been done succesfully (green light), but no business partners appear in the CRM. Can someone help me?
    Points will be awarded
    Thanx, Peter
    btw: does anybody have some document about setting up the Middleware to transfer data from R/3 to CRM and vice-versa?

    Peter, before you can load the BP from R/3 to CRM you need to do some mandatory configuration which - on high level - are:
    1 - Map BP Master Data from R/3 to CRM
    2 - Map BP Master Data from CRM to R/3
    3 - Synchronize field settings between R/3 and CRM
    4 - Configure field attributes
    5 - Execute actual BP replication
    For details on how to execute these configuration stepse steps have a look at http://help.sap.com, select here SAP Best Practices -> Cross-Industry Packages -> CRM. In the CRM Best Practices select Business Information and Preconfigured Scenario's, select (ob right hand side) a sales related scenario, e.g. Internet Sales and select Building Block B09: CRM Replication. In the actual Building Block navigate to page 45 and execute the steps accordingly. Hope this helps, Tiest.
    Message was edited by: Tiest van Gool

  • Middleware starts replicating before initial load

    Hi folks,
    currently i´m setting up the middleware to connect a live ERP with a fresh CRM. The initial load is not done yet, also a lot other configuration stuff. I noticed that at the time of registering the queues the middleware is connecting itself and listing first BDocs in SMW01. Mostly R3AD delta(!) material BDocs (which fail by mapping error currently) but also green ones like 'class message' or 'objcl_message' which seem to have dummy or real entries. This is a problem as i did not configure e.g. R3AC1 filters or number ranges yet.
    I thought delta load is triggered first after initial load. How can i stop the middleware before i finish the configuration stuff. If there is a 'switch off' (like deactivate a business adapter object in R3AC1) i guess i would have to switch it on again just before the initial load and then risking uncontrolable connection againg before i can execute R3AS. I mean if i would e.g. deregister the queues i could end my configuration but i would have to register the queues just before initial load and would again having no control about the start of the replication. Is that a problem for you? - How do you handle that issue usually if you set up a new CRM?
    Thanks

    Hi,
    Read these topics:
    Re: Turning Bdoc On & Off, & its monitoring
    Re: Deactivation of data exchange between ERP and CRM
    Denis.

  • Initial load in middleware

    Hi,
    When i start the initial load with transaction R3AS, after specifying the load object and destinations on execution it throws me an error "NO GENERATION PERFORMED CALL TRANSACTION GN_START".
    I tried running GN_START transaction, after completion of that, when i again try R3AS, it shows the same error again. ("NO GENERATION PERFORMED CALL TRANSACTION GN_START".)
    Please suggest some ideas.
    Thanks & Regards,
    Karthik.

    Hi Karthik,
      Start transaction GN_START to generate the missing objects. The status of the generation (generation errors) can be seen in transaction GENSTATUS.
    Regards.
    Manuel.

  • Middleware Question - Initial Load vs. Synchronize

    Is the initial load (transaction R3AS) of an adapter object required for replication to be carried out from R/3 to CRM? Can I synchronize (R3AS4) instead if I don't need the existing data?
    Also, is it even required to do some sort of action (either initial load or synchronize) before we can start replicating?
    Our issue is that some items that are under a certain adapter object aren't replicating and I am guessing that I need to either do the initial load or synchronize it. Is this correct?

    Hi,
    pl check entries in <b>R/3 Table</b> in SM30
    1) Table CRMRFCPAR... Here check CRM FILTERING ACTIVE
    2) <b>CRMSUBTAB</b> : In this table check for subscription upload and downlod objects
    3) <b>CRMRFCPAR</b> : In this table RFC Destination , you define object and load type ( whether intial load or delta load etc..)
    4) <b>CRMCONSUM</b>: In this table , define possible user of R3 adaptor functionality.
    After this you can do In <b>CRM in Transaction R3AS</b> ( initial down load ) the delta download.
    In CRM ,You can also do the filter settingf for the objects in transaction <b>R3AC1</b>  ( ADAPTOR object filter settings ) if required , similerly check entry  in transaction R3AC3 and R3AC5
    regards,
    PD
    Reward points if it helps!!

  • No initial load of Customers, Material and delta load of Sales Orders.

    Hi Experts,
    I am facing a very troublesome issue. I am not able to setup the Middleware portion for initial and delta loads. I read a lot of documents and corrected a lot of things. finally, the connectivity is done with R/3 and CRM. Initial load of all objects is successful (as per Best PRactices guide). Customizing load is successful.
    But after now I have these open issues for which I am unable to find any answers (am really exhausted!!):
    - Customer_main load, it was succesful, but no BP's of R/3 are available.
    - Material, it failed in SMW01, SMQ2, the errors are:
    Mat. for Initial Download: Function table not supported
    EAN xxxxxxxxxxxxxxxxxx does not correspond to the GTIN format and cannot be transferred
    EAN yyyyyyyyyyyyyyyyyy does not correspond to the GTIN format and cannot be transferred
    Plant xx is not assigned to a business partner
    - Sales order, it shows green bdoc, but error segments says "No upload to R/3" and the order does not flow to R/3.
    We had our system setup 3 years back for data transfer and Middleware. But few things changed and connectivity stopped. I did all that again now, but am not yet successful. Any inputs will be greatly appreciated.
    Thanks,
    -Pat

    Hi Ashvin,
    The error messages in SMW01 for MAterial initial load is :
         Mat. for Initial Download: Function table not supported
         EAN 123456789000562 does not correspond to the GTIN format and cannot be transferred
         EAN 900033056531434 does not correspond to the GTIN format and cannot be transferred
         Plant 21 is not assigned to a business partner
    I have done the DNL_PLANT load successfully. Why then the plant error?
    Some of the messages for BP:
    Messages for business partner 1331:
    No classification is assigned to business partner 1331
    For another,
         Partner 00001872(469206A60E5F61C6E10000009F70045E): the following errors occurred
         City Atlanta does not exist in country US
         Time zone EST_NA does not exist
         You are not allowed to enter a tax jurisdiction code for country US
         Validation error occurred: Module CRM_BUPA_MAIN_VAL, BDoc type BUPA_MAIN.
    Now, the time zone EST is assigned by default in R/3. Where do I change that? I do not want to change time zones as this may have other impacts. Maybe CRM I cna change this, not for sure in R/3. City check has been deactivated in R/3 and CRM, still the error.
    Till these 2 are not solved, I cannot go into the Sales order loads.
    Any ideas will be greatly appreciated.
    Thanks,
    -Pat

  • Initial load of sales orders from R3 to CRM without statuses

    1) Some sales orders were uploaded into CRM without statuses in the headers or line items. 
    2) Some sales orders were uploaded without status, ship-to, sold-to, payer.....If I deleted them and use R3AR2, R3AR4 to upload each individual then no problem.
    Any ideas or suggestions?
    Thanks.

    Hi,
       Request load of adapter objects uses different extractor modules for extracting the data from external system to CRM. While your initial load of sales docs. will use a different extraction logic bases on the filter conditions specfied on trx.
    R3AC1
       There may be a problem in the extraction of data from the source system (don't know if you are using a R/3). Can you please de-register the R/3 (i suppose) outbound queue using trx.
    SMQS
    , and then debug the extraction (R/3 outbound) before the data is sent to CRM using FM
    CRS_SEND_TO_SERVER
       If this goes well, you may try debugging the mapper in CRM inbound and the validation module in CRM as a last resort. Also, please refer to trx.
    SMW01
    to see if the Bdocs are fully processed.
    Hope this helps...Reward if helpful.
    Regards,
    Sudipta.

  • Error while Initial load

    Hi Forum,
    Iam doing Middleware setup for downloading customer master from R/3 to CRM.Iam trying to do initial load of customizing objects viz.,DNL_CUST_ACGRPB,DNL_CUST_ADDR,
    DNL_CUST_KTOKD,DNL_CUST_TVKN,DNL_CUST_TVLS,DNL_CUST_TVPV... which are to be loaded before doing initial load of CUSTOMER_MAIN.
    while doing initial load of customizing objects iam getting the below mentioned error
    <b>001 No generation performed. Call transaction GN_START.</b>
    <b>002 Due to system errors the Load is prohibited (check transaction MW_CHECK)!</b>
    <b>-</b>when I do GN_START
    "A  job is already scheduled periodically.
    Clicking on 'Continue' will create another job
    that starts immediately.
    Do you want to continue?" message is displayed
    and I have sheduled it.
    But in SMWP transaction I can see in
    <b>BDoc Types: Generation of other runtime objects</b>
    Not generated / <b>generated with errors 2 entries  
                    31.08.2006 05:33:50</b>
    and the objects with errors are
    <b>POT_LISTWRITE
    SPE_DDIC_WRITE</b>
    <b>-</b>In transaction MW_CHECK, system displays message as <b>No generation performed. Call transaction GN_START.</b>     
    when I regenerate these objects(generated with errors)from the context menu I find no difference.
    I have also referred to the <b>Note :637836 and 661067</b> which also suggests to run few reports and GN_START but inspite of doing all the corretion parameters in the note Iam still unable to come out of the situation.
    Please Guide
    Thanks in Advance
    Shridhar.
    Message was edited by: Shridhar Deshpande

    Hi Rahul,
    Thanks for the reply.I checked in transaction MW_CHECK and the system throws the message as
    <b>No generation performed. Call transaction GN_START.</b>
    In the long text the below message is available
    <b>No generation performed. Call transaction GN_START.
    Message no. SMW_GEN_KERNEL005
    Diagnosis
    An upgrade was performed.
    <b>System response</b>
    The Middleware is stopped because MW objects must be generated.
    <b>Procedure</b>
    Excecute transaction GN_START.</b>
    If GN_START is executed,I dont find any change.
    I also checked in <b>smq2</b>in CRM and I found the status of the queue as below
        CL       Queue Name      Entries  Status   Date
    <b>200 CSABUPA0000000042  5       SYSFAIL  31.08.2006 09:54:05 31.08.2006 09:54:11</b>
    Thanks
    Shridhar
    Message was edited by: Shridhar Deshpande

  • Initial Load Error - No generation performed. Call transaction GN_START

    Hi Folks,
    We are doing middleware configuration for data migration between R3->CRM.Have followed "Best Practies" configuration Guide.
    System Using; CRM 2007 and ECC6.0
    Issue
    While performing initial load, system is throwing the error as
    001- No generation performed. Call transaction GN_START
    002-Due to system errors the Load is prohibited (check transaction MW_CHECK)!
    After calling the transaction GN_START system asks for job scheduling,whereas I have already scheduled it.
    A job is already scheduled periodically.
    Clicking on 'Continue' will create another job
    that starts immediately.
    After checking(MW_CHECK),message is displayed as
    No generation performed. Call transaction GN_START.
    If anybody has encountered the similar issue and has resolved it,their guidence will be greatly appriciated.
    Thanks in Advance
    VEERA B

    Veera,
    We also faced the same problem when we have done the upgrade from CRM 4.0 to CRM 2007.
    For that you go to SMWP where you can see all the errors related to Middleware with the error message so try to remove the error,
    Also pls check in RZ20 and activate the middleware trace tree.
    Regards
    Vinod

  • ABAP - CUA : Initial load : too many records in the CUA?

    We are running :
    SP03 for IDENT. CENTER DESIGNTIME 7.1 Patch 0
    SP03 for IDENTITY CENTER RUNTIME 7.1 Patch 1
    SP03 for NW IDM IC UIS 7.00 Patch 1
    We have connected our customer's CUA system to IdM : we created an Identity Store called 'SAP_Master', created the CUA repository, defined the required attributes as defined in the guide 'IDM 7.1 - IdM For SAP Systems - Configuration 7-3.pdf', created the jobs based upon the templates etc. The dispatcher used has 'run provisioning jobs' disabled.
    On our sandbox server, when we connect to our sandbox CUA system (CUA_YS5_200), everything is ok, the 'AS ABAP - Initial load' job with only 'ReadABAPRoles' enabled, runs fine.
    On our QA system, when we connect to our 'production' CUA system (CUA_YP0_400), the 'AS ABAP - Initial load' job with
    only 'ReadABAPRoles' enabled, finished with message 'could not start job, rescheduling'. Since there is a huge number of records (we looked it up in the system : 311.679 records), we decided to switch on parameter 'bootstrap job'. Now the result is that it takes forever, after half a day the job is still running. In the database, table 'sapCUA_YP0_400role' is still completely empty (no records). Therefore, it seemed interesting to connect our QA IdM system to our development CUA system (CUA_YS5_200). After a while, the exact same job has finished and table 'sapCUA_YS5_200role' contains 18.580 records.
    After some additional testing, we might have discoved the cause of the issue could be that the number of records in our CUA is too big.
    In the java code of the fromSAP pass there are 2 calls to the SAP system for reading the roles into Idm. The first one reads table USRSYSACT (311.000 records), the second one reads table USRSYSACTT (1.000.000 records). All these records are stored into a java hashmap - we think that 1 million records exceeds the hashmaps capability, although no java error is thrown.
    When we debug the functionmodule RFC_READ_TABLE and change the rowcount to 100.000 then everything works fine. When we set the rowcount to 200.000 the java-code does not generate an error but the job in idm never
    ends...
    When running functionmodule RFC_READ_TABLE in the backend system the 1.000.000 records are processed in less than one minute. So apparently, the issue is related to the processing in the Java code.
    Java Dispatcher heap size is set to 1024.
    Anybody already came accros this issue?
    Thanks & best regards,
    Kevin

    Installing the patch, re- importing the SAP Provisioning framework (I selected 'update') and recreating the jobs didn't yield any result.
    When examining pass 'ReadABAPRoles' of Job 'AS ABAP - Initial Load' -> tab 'source', there are no scripts used .
    After applying the patch we decided anyway to verify the scripts (sap_getRoles, sap_getUserRepositories) in our Identity Center after those of 'Note 1398312 - SAP NW IdM Provisioning Framework for SAP Systems' , and they are different
    File size of SAP Provisioning Framework_Folder.mcc of SP3 Patch 0 and Patch 1 are also exactly the same.
    Opening file SAP Provisioning Framework_Folder.mcc with Wordpad : searched for 'sap_getRoles'  :
    <GLOBALSCRIPT>
    <SCRIPTREVISIONNUMBER/>
    <SCRIPTLASTCHANGE>2009-05-07 08:00:23.54</SCRIPTLASTCHANGE>
    <SCRIPTLANGUAGE>JScript</SCRIPTLANGUAGE>
    <SCRIPTID>30</SCRIPTID>
    <SCRIPTDEFINITION> ... string was too long to copy
    paste ... </SCRIPTDEFINITION>
    <SCRIPTLOCKDATE/>
    <SCRIPTHASH>0940f540423630687449f52159cdb5d9</SCRIPTHASH>
    <SCRIPTDESCRIPTION/>
    <SCRIPTNAME>sap_getRoles</SCRIPTNAME>
    <SCRIPTLOCKSTATE>0</SCRIPTLOCKSTATE>
    -> Script last change 2009-05-07 08:00:23.54 -> that's no update !
    So I assume the updates mentioned in Note 1398312 aren't included in SP3 Patch 1. Manually replaced the current scripts with those of the note and re- tested : no luck. Same issue.
    Thanks again for the help,
    Kevin

  • Initial Load from ABAP Failed

    Hi.
    Initial load from ABAP described in following PDF document failed.
    Identity Management for SAP System Landscapes: Configuration Guide
    http://service.sap.com/~sapidb/011000358700001449662008E
    System log Error
    lang.ExceptionInInitializerError: JCO.classInitialize(): Could not load middleware layer 'com.sap.mw.jco.rfc.MiddlewareRFC'
    JCO.nativeInit(): Could not initialize dynamic link library sapjcorfc [C:\WINDOWS\system32\sapjcorfc.dll: Can't find dependent libraries]. java.library.path [C:\Program Files (x86)\Java\j2re1.4.2_16\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS;......
    Environment is
    IdM 7.1
    NW AS JAVA 7.0 SP 17
    Windows 2003 Server 64bit
    SQL Server
    Any help will be most appreciated !

    Hi You Nakamura,
        We are facing the same problem during AS ABAP - initial load with the same error message.
    I downloaded the msvcp71.dll file and placed it in System32 folder. But the problem remains the same (even after server restart).
    The system log shows the same error message and no entries in job log.
    Please let me know if you had followed any different way to install the dll file.
    Regards,
    Vijay.K

Maybe you are looking for