CRM Extractor Failure - DATA_LENGTH_0 CX_SY_RANGE_OUT_OF_BOUNDS

Hello Experts,
One of the CRM extractor fails during extraction with the below short dump. Every thing worked absolutely fine until now. Please advise on resolving this issue.
Short Dump Details:
Short text
    Invalid partial field access: Length 0
Error analysis
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_RANGE_OUT_OF_BOUNDS', was not caught in procedure "ZRSAX_BIW_GET_DATA_SIMPLE_2" "(FUNCTION)", nor was it propagated by a RAISING clause. Since the caller of the procedure could not have anticipated that the  exception would occur, the current program is terminated. The reason for the exception is: In the executed program "SAPLZRSAX", the system attempted to access the field "TEMP_TDLINE_T" using the length 0.  However, a partial field access with the length specification 0 is not allowed.
This extractor is based on RSAX_BIW_GET_DATA_SIMPLE_2 FM and worked fine without any issues previously.
Please advise.
Thanks!

Sorry, but then something has changed in the data.
Perhaps a debug of the extractor using current data will help you to find the source.
One possible reason which comes to mind is, that someone changed the Customizing in the source system and a field is no longer mandatory.
But the reason is definitly in the source system, not in BI.
Kind regards,
Jürgen

Similar Messages

  • Enhance CRM extractor for BW

    Hi all,
      To enhance CRM extractors we enhance the BDoc and then used the BADI CRM_BWA_MFLOW or CRM_BWA_SFLOW whichever is applicable to extract the data for the enhanced fields and fill the data source.
    Also we go to transaction RSA6 enhance the datasource structure.
    Now my basic question is why User exists are also enhanced. The procedure is
    In transaction RSA6 select the datasource structure and choose the menu "Function enhancment". This goest to CMOD transaction and there the user exit "EXIT_SAPLRSAP_001" is enhanced
    Could someone explain me why some coding is done in the user exit when the data which needs to be send from the BDoc is already filled in the badi implementation. When does this user exit actually used. In what scenarios do we use this user exit along with the badi implementation.
    Any idea. Thanks for the continued support and I wish "Happy new year" to all of you.
    Thanks in advance
    Jothi

    Hi all,
      To enhance CRM extractors we enhance the BDoc and then used the BADI CRM_BWA_MFLOW or CRM_BWA_SFLOW whichever is applicable to extract the data for the enhanced fields and fill the data source.
    Also we go to transaction RSA6 enhance the datasource structure.
    Now my basic question is why User exists are also enhanced. The procedure is
    In transaction RSA6 select the datasource structure and choose the menu "Function enhancment". This goest to CMOD transaction and there the user exit "EXIT_SAPLRSAP_001" is enhanced
    Could someone explain me why some coding is done in the user exit when the data which needs to be send from the BDoc is already filled in the badi implementation. When does this user exit actually used. In what scenarios do we use this user exit along with the badi implementation.
    Any idea. Thanks for the continued support and I wish "Happy new year" to all of you.
    Thanks in advance
    Jothi

  • CRM Extractor change

    CRM Extractor change
    I need to redirect one Transaction Type into a different BW Queue.
    I have the transaction type ZZ01 which is extracted by one extractor. The changes are written into the delta queue.
    I need however to extract the ZZ01 with different extractor. Different queue.
    The transaction type ZZ01 is a transaction category BUS2000112
    I have changed the extractor in BWA1. I have added the line
    ORDERADM_H PROCESS_TYPE I EQ ZZ01
    Now the selection looks like this
    ORDERADM_H OBJECT_TYPE I EQ BUS2000112
    ORDERADM_I OBJECT_TYPE I EQ BUS2000147
    ORDERADM_H PROCESS_TYPE I EQ ZZ01
    But the changes have no effect. When I change the any transaction type ZZ01 it is still written into the 'old' queue.
    System CRM 5.0
    I did reinitialize both extractors.
    Thanks for any hints
    Martin

    no solved

  • CRM Extractor: Exception condition 'PROBLEM_WITH_QUERY'.

    Hello all,
    we have a problem when trying to execute a CRM extractor.  This extractor is a copy of 0CRM_OPPT_H standard extractor.  We have copied it with BWA1 transaction, add some new fields, and add two fields to the selection.
    One of the fields is a date ( STATUS_SINCE ), when we execute the extractor with filter for STATUS_SINCE field empty, no problem, but if we enter a value to filter STATUS_SINCE, we get a dump.
    Dump sais Exception condition 'PROBLEM_WITH_QUERY' , the information is the following:
    The termination occurred in the ABAP program "CL_CRM_REPORT_ACC_OINDEX_JE
    in "DOES_FIT_TO_QUERY".
    The main program was "RSFHGEN2 ".
    The termination occurred in line 54 of the source code of the (Include)
    program "CL_CRM_REPORT_ACC_OINDEX_JEST=CM005"
    of the source code of program "CL_CRM_REPORT_ACC_OINDEX_JEST=CM005" (when
    calling the editor 540).
    This only happens with this field, for the other field we have added to the extractor there is no problem, everything works fine.
    Any help is appreciated.
    Regards, Inma

    Hi Inma,
    Please see if OSS note 827332 (Exception-DOES_FIT_TO_QUERY in source system) helps you.

  • CRM Extractor for service management - date type

    Hi,
    I want to extract data for the service management from crm system. I find the data with crm_order_read in the table et_appointment. I need the field appt_type with the time stamps.
    Is there a business content extractor available? I can not find one for this issue.
    In which table is the data from et_appointment really stored?
    Thanks in advance.
    Best regards
    Nils

    Hi Sunita,
    I think you wanted to calculate the time duration of the service requests. you can refer to tables
    CRMD_ORDERADM_H,
    CRMD_SRVPLAN_I (Service Plan Item - Service Cycle Interval).
    Or you can refer to FM CRM_ORDER_READ and export parameter ET_APPOINTMENT.
    Regards,
    Karthik.

  • Enhancing CRM Extractors

    Hello Gurus,
       I have done some enhancement for 0CRM_SRV_PROCESS_I data source using user exit program by calling CRM_ORDER_READ function module.
    With this we are experiencing some performance problem as CRM_ORDER_READ is bit slow.
    That was my concern till today......
    But today when I start debugging the DS, I came to know that standard extractor   itself calls CRM_ORDER_READ FM to fill some standard fields. So, I thought of enhancing the DDS at WA by adding segments and it's fields and thought that we dont need to write code for this (I mean no user exit program, but need minimum code in MAP FM). But, even I assigned segments to fields, data is not populating. The reason I found here that these enhanced filed's are not included into standard DS's ..MAP_I function module.
    Here my question is, do we have to generate any thing to include those fields into the FM? If Yes, from where? Or do we have to write user exit program to fill the fields?
    Or any other ways can we solve this problem?
    appreciate your help....
    Thanks
    RKR...

    Hi RKR,
    Yes if you're using the function crm_order_read, it take quite time,,, but it's very powerfull, since it will take a lot of information from there. You just use 1 function to get so many information about order.
    I suggest you 2 ways :
    1. Instead using that function, you can fetch the directly to the table according to your data's need. e.g. table crmd_orderadm_h, etc.
    Or.
    2. You make small program in BW to get data from CRM (using fm: crm_order_read), then you put the data to some table in BW.
    Then, you create generic datasource whose type is <b>view -> get data from that table in BW </b> ( not a function module).
    That small program can be scheduled periodically / you use process chain in order to run :
    1. the small program
    2. fetching those data from table using generic datasource whose type is view.
    Hopefully it can helps you a lot ...
    Best regards,
    Niel.
    (Many thanks for any points you choose to assign).

  • Attribute Set in standar CRM extractor

    Hello all,
    I have to get reporting about Marketing attributes in CRM. I´m using business content extractors for this information:
    0CRM_MKTATTR_ATTR     
    0CRM_MKTATTR_TEXT     
    0CRM_MKTMETA_ATTR (metadata)
    0CRM_MKTMETA_TEXT (metadata)
    But the standard doesn´t retrieve attribute set field.
    Did anybody enhance this standard to retrieve this field? If so, could you give me some ideas about how to do it?
    Thanks,
    Carmen

    Hi Carmen,
    Can you please elaborate the problem a bit more. I cant see this attribute set field anywhere in the standards.
    regards,
    Parth.

  • CRM extractor 0CRM_SERV_PROCESS_H delta for ZZ-fields not working

    Dear all,
    We are experiencing trouble with a extractor 0CRM_SERV_PROCESS.
    We have extended the extract structure of this extractor with an append structure containing some custom date and text fields.
    When doing a full load or a delta init, all fields arrive properly in SAP BW.  In RSA3 in CRM, everything appears to be correct.
    When performing a delta update however, the custom fields appear as null in SAP BW while the standard fields are updated normally (null as in empty or 00000).
    After browsing thru this forum and some sap notes (661340, 692195, 871930, 887724, 892022) I still haven't found a solution.
    Does anyone have an idea of how to solve this?
    Thanks in advance
    Jan W

    HI,
    What is the logic you ahve used to populate the values for new appended fields ?
    Is it BADi, User Exits or mapping module enhancement ? Value population to custom field code should be checked throughly.

  • CRM Extractor issue 0CRM_SRV_IBASE_ATTR

    Hello,
    This is a production issue.
    CRM system has the installed bases created and extracted to BW and reporting is fine.
    When there is a change to these installed bases such as
    * serial number is changed AND/OR
    * material number is changed
    the delta still brings in the complete hierarchy 'After Image' only.
    Meaning old material number and old serial number still remains in the BW cube and hence reporting is faulty.
    Example.
    In Ibase 30, Material 500085 with Qty 1, is overwritten/changed in CRM as Material 600088. (This is seen in Activity log in CRM correctly).
    The extractor sends whole Ibase content as one row for Component header and one row for Material 600088 details(as seen in PSA).
    However material 500085 row is still valid in BW as the validto is 12/31/9999.
    So BW reports qty as 2 instead of 1.
    I see the extractor delta process is AIM.
    So this should have been an ongoing issue. However user complained only now.
    How to solve this problem. Since this is a generic extractor others would also face this situation i would think.
    Please advise.
    Thanks

    Hi Meenakshi,
    As i understand you had two issues 1. with the new material 2.with qty.I hope the modified record is not coming to DSO.Some part of the code in the start routine is blocking the record.Please analyze the code in start routine.And check the change log table for this record for any clue how it is not being overwritten.
    Regards,
    Rambabu

  • 0CRM_SALES_ACT_1 CRM extractor, Agent reqd for RELTYPE = 'INTA'

    Hello
    I'm dealing with the issue that 0CRM_SALES_ACT_1 extractor is not bringing all of the records under some criteria, e.g.: activities with predecessors with RELTYPE = 'INTA' are ignored in standard model.
    Customer wants to have a reference of the Agent Usr Names even if they are in Transaction Types having RELTYPE = 'INTA', this is because of this info is required in an Infocube which includes also Transaction Numbers with RELTYPE's = 'INTA'; the most "painless" solution I can see is to create an ODS in BW which feeds from an extractor based on CRM's CRMD_ORDERADM_H transparent table, so if you want to search may be to use a reference to this ODS which has as key fields following:
         OBJECT_ID     Transaction Number
         PROCESS_TYPE     Transaction Type
    and the reference to the user who generated info (the data I'm searching for):
         CREATED_BY     Created By
    As a sample plz take a look at this:
    ODS 1 is equivalent to currently existing ODS in BW which updates from 0CRM_SALES_ACT_1 extractor which brings info RELTYPE = 'INTA' criteria ignored.
    INFOCUBE 1 feeds directly from ODS 1, so, there aren´t never empty Agents
    INFOCUBE 2 feeds from another ODS (not shown here, which brings all RELTYPEs) but searches Agent info in ODS 1, having not always success
    I want to create ODS 2 reading data directly from table CRMD_ORDERADM_H, this will contain each one of the records needed.
    ODS 1
    Trans_No     Proc_Type     Agent
    1     ZSR1     USER1
    3     ZSR1     USER2
    INFOCUBE 1
    Trans_No     Proc_Type     Agent
    1     ZSR1     USER1
    3     ZSR1     USER2
    INFOCUBE 2
    Trans_No     Proc_Type     Agent
    2     ZSR1     
    ODS 2 (To create)
    Trans_No     Proc_Type     Agent
    1     ZSR1     USER1
    2     ZSR1     USER_N
    3     ZSR1     USER2
    4     ZSR1     USER_N
    Please let me know if I'm correct or if you have any suggestions. My knowledge about CRM module and its structures is not high.
    I hope you could help. Thanks in advance.
    Bernardo

    Hello,
    I would like to reduce standard models customizing, that's why I'm proposing alternative solution, I want to know if it is really feasable to deploy what I'm suggesting.
    Thanks a lot and best regards!
    Bernardo

  • CRM extractor Testing Scenarios.

    Hi Gurus,
    I need to extract the Activities from CRM to BW. This data must be extracted with the standard extractor
    0CRM_SALES_ACT_1
    0crm_srv_process_h
    0CRM_ERMS_ITEMS. When I test this extractor in RSA3 (in CRM), I obtain records that is less than "Activity Monitor" (CRM SIDE) . I checked in tables in CRM end and those tables have more than RSA3 extractor data.
    **How can help me out in giving the testing scenarios for the above extractor to be testing compelted E2E and kindly provide me with steps how to check if CRM data fully extracted into BW? or not ?**
    Thanks
    Naren

    Hi,
    CRM to BW extraction
    also pls check BI Best Practice ?
    http://help.sap.com/bp_biv335/BI_EN/html/bw.htm
    'Customer Relationship Management'
    e.g
    http://help.sap.com/bp_biv335/BI_EN/html/BW/SalesAnalysis.htm
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f2910623-0c01-0010-de8f-d1926988a986
    Have a look at these linsk from help.sap
    http://help.sap.com/bp_biv135/html/bw.htm
    http://help.sap.com/bp_biv135/html/BW/SalesAnalysis.htm
    http://help.sap.com/bp_biv235/BI_EN/index.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/af/ed833b2ab3ae0ee10000000a11402f/frameset.htm
    It might help u.....

  • CRM Extractors for Product & Customer

    Hi Experts,
                     Iam new to CRM, can any one provide me the extractors for Product and Customer. Here we are trying to extract Product and Customer data from CRM source to BW/BI target, so if i know the extractors for the above it will be really helpful. Also if there is any step by step guide for the same it would be a great help.
    Thanks in advance
    Shiv

    Hi all, this may be too late based on the posted dates, but this is a current issue for me that I have found solution for now and I will post up anyways same thing.  There is very little documentation so hopefully this is helpful for whoever else has unique requirements to use this delivered functionality.
    Finally I am able to find a solution to this problem and now my system is tracking all status changes and providing me detail conveniantely on duration and time between status changes.
    There are some table entries that need to be created plus a couple notes that will help.  This applies to people who are not getting any data whatsoever in their CRMD_TSS_DTRACK table or 0CRM_TSS_DTRACK extractor.
    Goto transaction --> SMW3FDCUST and make the following entries:
    BDoc Type BUS_TRANS_MSG
    Context mBDoc Notification (additional calls)
    Sequence 50
    Service Function CRM_UPLOAD_BW_TSS_DTRACK_SRV
    and
    BDoc Type BUS_TRANS_MSG
    Context mBDoc Notification Multiple (additional calls)
    Sequence 50
    Service Function CRM_UPLOAD_BW_TSS_DTRACK_SRV
    and
    BDoc Type BUS_TRANS_MSG
    Context mBDoc Initial Load (additional calls)
    Sequence 50
    Service Function CRM_UPLOAD_BW_TSS_DTRACK_SRV
    To also ensure your statuses are being captured after all your configurations have been made, be sure that for these 2 key notes you have the approriate corrections existing in your system:
    1024652 - This ensures your custom statuses groups are captured in table and extractor (once you have enhanced it of course)
    1239530 - Ensures that all status changes are captured according to your configurations
    Thanks.

  • CRM EXTRACTOR 0CRM_SRV_PROCESS_I PROBLEM

    Hi,
             I'm using 0crm_srv_process_i datasource . While I'm trying to extracting data from CRM to BW (for some dates or some data selections) I found all data showing under one Sales Group in BW,So I checked in RSA3 in CRM than I found all data showing under one Sales Group ,so that effects problem while extraction in BW also. I checked my mappings in BW , it running fine so no problem in my BW.
    Please help me to resolve this issue.
    Note: My delta was running fine. Daily I'm getting correct data.
    Edited by: nsrikanth1.abm on Feb 29, 2012 12:06 PM

    Hi
    This looks like a midlewear type of problem.
    first try to process the Idoc.
    IDocs stuck? Go to where it's stuck and run BD87. Find the stuck one, and "Process" it.
    That'll get it through.
    Alternatively, check the TRFC monitor via SM58 to see if it's stuck there and need
    "Execute LUW".
    If this does not help try you basis admin for more help.
    Reg's
    Edan

  • CRM extractors

    Hi all,
    In R/3 we have datasource maintanance LBWE we can add the  fields from communication structure to extracture.
    In CRM BWA1 is the tocde to maintain datasource
    0CRM_LEAD_I is the stadard datasource 4 fields are missing from the DS that fields were available in extarcstruture as i said above scenario in R/3 we can add those available fields from comm structure to extarct structure.
    In CRM when i go to BWA1 there is a tab extract structure when i change that those available fields check button is disabled.
    To add those fields, check button should enabled otherwise i cant add those fields.
    Any quick answer should be appreciate.
    Thankyou.

    Follow this procedure to maintain the extract structure in BWA1
    Follow the steps mentioned below.
    1. Enhance Extract Structure with the required fields. (Create & include
       an append structure to the extract structure via transaction RSA6).
    2.a) Release the fields of the append  for usage. (  To do this, double
       click on the Datasource and remove the flags in the column 'Hide
       Field' for all fields of Append. )
    2.b)If the new fields cannot be seen in the extract structure of
        the transaction BWA1 then change and save the datasource, and then
        activate it in RSA6.
    3. Define your mappings in BADI (CRM_BWA_MFLOW) to fill these fields.
    Goto SPRO .
    Follow the path ->
    SAP Implementation guide ->Implementation with other mySAP components ->
    Data transfer to the Business Information Warehouse->
    Settings for the application specific datasources (CRM)->
    Settings for BW adapter->
    Badi :BW adapter :Enhancement of datasources in messaging flow.
    Check this  OSS note  692195

  • Require CRM & BW Extractor Documents

    Folks,
    I am working on CRM & BW Project. Could any one pls send me CRM Extractor related PDFs to my email is [email protected]
    Thanks in advance and points will be awarded.
    Thanks
    Arvind

    Hi arvind,
    and also check  these linsk from help.sap
    http://help.sap.com/bp_biv135/html/bw.htm
    http://help.sap.com/bp_biv135/html/BW/SalesAnalysis.htm
    http://help.sap.com/bp_biv235/BI_EN/index.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/af/ed833b2ab3ae0ee10000000a11402f/frameset.htm
    http://help.sap.com/bp_biv235/BI_EN/index.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/af/ed833b2ab3ae0ee10000000a11402f/frameset.htm
    extract data from bw to crm, using APD-analyis process designer
    http://help.sap.com/saphelp_nw2004s/helpdata/en/6d/40a2bb63ac744a80eb288830e01f7c/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/49/7e960481916448b20134d471d36a6b/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/a5/9b1b40fcdd8f5ce10000000a155106/frameset.htm
    Hope it helps.
    assign points if useful ***
    Hope it helps.
    Regards
    CSM Reddy

Maybe you are looking for

  • Error in Stimul Report 2013

    Hey. I want to create a report using Stimul Report 2013. But show me the error. Please help me ... How do I fix this error? My Database : SQL Express 2012 Error : 

  • E50 Web Browser & Red Button behavior

    Is there anyway to change the behavior of the Red Button (End Call) when in the web browser on the E50? Currently, if the red button is accidentally hit it instantly closes the web browser and all typing and web pages are closed and lost. This happen

  • Specific Error Message When I Try To Run Safari From Win XP Pro

    This is the error message that I get when I try to run Safari from my Win XP Pro computer. *Visual Studio Just In Time Debugger* *An unhandled Win32 exception occurred in Safari.exe [1288]. Just-In-Time debugging this exception failed with the follow

  • Access 97 - Changing Connection to Linked Tables

    Currently going through a migration process for an Access 97 database. I have managed to get everything working against my development database. I now want to port the database to a test environment for end user testing. However, my knowledge of Acce

  • I am trying to activate find my iphone again and i cant

    I already use it in the past. (Find my Iphone) Some how i cant use find my iphone again, and i do all the steps so i can use find my iphone but it keep telling me that "No device" when i look for my iphone. My iCloud its activate, find my iphone its