ABAP Dump ITAB_DUPLICATE_KEY deleting ODS data

Hi,
We've got an abap dump while trying to delete the ODS data content. The abap dumps registers a ITAB_DUPLICATE_KEY in the program SAPLRSAODS function module RSAR_ODS_GET. We're using BW3.5 patch 4.
Tried looking at the OSS notes but could not find any relevant oss notes that is on BW3.5. Has anyone manage to solve/experience this issue ?

look at these previous threads
What does this runtime error mean?
"Runtime Error ITAB_DUPLICATE_KEY"
ITAB_DUPLICATE_KEY dump in the PSA tree or search
Hope it helps.
Regards

Similar Messages

  • Function Module to Delete ODS Data based on Request

    Hi All,
    Is there any specific function module to delete ODS data based on Request.
    I found the program RS_DEL_ODS_1 which is using the FM RSAR_ODS_API_DEL.
    But this FM is deleting the request at PSA level.
    Is there any alternate FM?Or is there any ABAP Program or so?

    Hi,
    Deletion of specific request is not perimitted for ODS objects. You can delete the most recent request, but if you delete any previous requests, all the requests up to that request will also be deleted.
    You can do it by write an ABAP program to identify the specific requests to be deleted for ODS.
    Regards
    CSM Reddy

  • Not able t delete ODS data

    Hi Experts,
             I am trying to delete ODS data, but it not getting deleted.
    When I scheduled for deletion (ODS manage) it is showing delete icon for   particular req, after some time automatically it is showing reporting symbol in the
    Place of delete symbol.
    Can u please explain me why ODS not allowing to delete the data.
    Regards,
    Venkat.

    Hi,
    You can't delete a request from the ODS when it is alredy updated into any datatarget or when the request lies under any new request.
    I.e if the request you want to delete is older and if a new request is loaded after the req you want to delete then you can't delete the old request.
    In such a situation delete the requests loaded after the request you want to delete and then delete your request.
    To delete a request that has been updated into any data targget you need to reset the ODS delta status for that request(3rd column under the request tab in the ODS manage screen), and also delete the request from the concerned data target.
    Hope this helps,
    regards

  • ABAP DUMP while loading master data

    hi Gurus,
                  I am trying to load master data but I am getting the following dump , I cannot infer anything from the Dump message, I would be grateful if anyone could throw some light on it..
    Runtime Errors         SAPSQL_ARRAY_INSERT_DUPREC                                                             
    Exception              CX_SY_OPEN_SQL_DB                                                                      
           Occurred on     11/13/2006 at 13:17:57                                                                               
    The ABAP/4 Open SQL array insert results in duplicate database records.                                                                               
    What happened?                                                                               
    Error in ABAP application program.                                                                               
    The current ABAP program "CL_RSDMD_UPDATE_MASTER_DATA===CP " had to be                                        
    terminated because one of the                                                                               
    statements could not be executed.                                                                               
    This is probably due to an error in the ABAP program.                                                                               
    What can you do?                                                                               
    Print out the error message (using the "Print" function)                                                      
    and make a note of the actions and input that caused the                                                      
    error.                                                                               
    To resolve the problem, contact your SAP system administrator.                                                
    You can use transaction ST22 (ABAP Dump Analysis) to view and administer                                      
    termination messages, especially those beyond their normal deletion                                          
    date.                                                                               
    is especially useful if you want to keep a particular message.                                                                               
    rror analysis                                                                               
    n exception occurred. This exception is dealt with in more detail below   
    The exception, which is assigned to the class 'CX_SY_OPEN_SQL_DB', was   
    neither                                                                   
    aught nor passed along using a RAISING clause, in the procedure "_DB_FIRE"
    "(METHOD)"                                                                               
    ince the caller of the procedure could not have expected this exception   
    to occur, the running program was terminated.                             
    he reason for the exception is:                                           
    f you use an ABAP/4 Open SQL array insert to insert a record in           
    he database and that record already exists with the same key,             
    his results in a termination.                                                                               
    With an ABAP/4 Open SQL single record insert in the same error            
    ituation, processing does not terminate, but SY-SUBRC is set to 4.)                                                                               
    ow to correct the error                                                                               
    he exception must either be prevented, caught within the procedure "_DB_FIR
    (METHOD)", or declared in the procedure's RAISING clause.                 
    o prevent the exception, note the following:                              
    se an ABAP/4 Open SQL array insert only if you are sure that none of      
    he records passed already exists in the database.                                                                               
    ou may able to find an interim solution to the problem                    
    n the SAP note system. If you have access to the note system yourself,    
    se the following search criteria:                                                                               
    APSQL_ARRAY_INSERT_DUPREC" CX_SY_OPEN_SQL_DBC                                
    L_RSDMD_UPDATE_MASTER_DATA===CP " or "CL_RSDMD_UPDATE_MASTER_DATA===CM00Y "  
    DB_FIRE"

    one of the response says " In the infopackage set processing as 'Only PSA' and tick the checkboxes for 'Update subsequently in data targets' and 'delete duplicate records'.then try to reload."
    I do not find the Delete duplicate records check box in the IP...cananyonepls tell me where to find thid check box?
    thanks

  • Deleting XI Messages - Abap dump in Delete job

    Hi all,
    I would like to know if we could directly delete xml messages without archiving. We are working on a sandbox system.
    I tried to schedule a delete job  ARCDEL_Delete_20080612115401 / 11540100.
    It cancelled giving an abap dump CALL_FUNCTION_NOT_FOUND.
    the abap dump is as follows:
        The function module " " is called,
        but cannot be found in the library.
        Error in the ABAP Application Program
        The current ABAP program "ARCDEL_DELETE_PARA" had to be terminated because it
         has
        come across a statement that unfortunately cannot be executed.
    Any idea why a function module with no name is called?
    Thank you.
    Regards,
    Raghavan

    Hi Raghvan,
    There are few ABAP report for that
    RSXMB_DELETE_MESSAGES
    RSXMB_DELETE_ARCHIVED_MESSAGES
    check this blog for reference :
    /people/gourav.khare2/blog/2007/12/21/mass-cancellation-of-error-messages--xi
    Sachin

  • Abap Dump in Solman - Create Data Unknown Type - CX_SY_Create_Data_Error

    Hi Gurus, I have installed Solution Manager EHP1 with Db2 database and windows operating system with all 64 bit. Solution manager have been successfully installed and configured and it's ready to use. But i'm getting an abap dump in the solution manager system. Approximately 30 abap dump a day which is the same error message. I've tried to find the error message in market place but couldnt find a solution. Can anyone help me to solve this problem. Thanks.
    Runtime Errors         CREATE_DATA_UNKNOWN_TYPE
    Exception              CX_SY_CREATE_DATA_ERROR
    Date and Time          15.04.2010 00:31:09
    Short text
         CREATE DATA: The specified type "/BI0/V0SDB_C02M2" is no valid data type.
    What happened?
         Error in the ABAP Application Program
         The current ABAP program "CL_SMD_AGGREGATE_MDX==========CP" had to be
          terminated because it has
         come across a statement that unfortunately cannot be executed.

    Hello Ram,
    Is your issue resolved.Currently i am getting the same issue ,After I have upgraded Solution Manager from EHP1SP20 to SP23.I am getting the Short Dumps.
    Runtime Errors         CREATE_DATA_UNKNOWN_TYPE                                                    
    Exception              CX_SY_CREATE_DATA_ERROR                                                     
    Date and Time          08/03/2010 00:30:41                                                                               
    Short text                                                                               
    CREATE DATA: The specified type "/BI0/V0SDB_C02M2" is no valid data type.                     
    What happened?                                                                               
    Error in the ABAP Application Program                                                                               
    The current ABAP program "CL_SMD_AGGREGATE_MDX==========CP" had to be                         
         terminated because it has                                                                    
        come across a statement that unfortunately cannot be executed.                                
    What can you do?                                                                               
    Note down which actions and inputs caused the error.                                                                               
    To process the problem further, contact you SAP system                                        
        administrator.                                                                               
    Using Transaction ST22 for ABAP Dump Analysis, you can look                                   
        at and manage termination messages, and you can also                                          
        keep them for a long time.                                                                    
    Error analysis                                                                               
    An exception occurred that is explained in detail below.                                      
        The exception, which is assigned to class 'CX_SY_CREATE_DATA_ERROR', was not                  
         caught in                                                                               
    procedure "INITIALIZE" "(METHOD)", 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:                                                              
        The dynamically specified type "/BI0/V0SDB_C02M2" at CREATE DATA is no valid                  
         data type.                                                                               
    The type is either unknown or an object type.                                                 
    How to correct the error                                                                               
    If the specified type "/BI0/V0SDB_C02M2" is an object type, then new objects of               
         this                                                                               
    type (instances) are not created with CREATE DATA, but with                                   
        CREATE OBJECT.                                                                               
    If the type is unknown, then it must be created in the program or in the                      
         ABAP dictionary.                                                                               
    Probably the only way to eliminate the error is to correct the program.    
    Thank you,
    khanth

  • ITAB_DUPLICATE_KEY error while deleting ODS data

    Hello again
    i am getting ITAB_DUPLICATE_ERROR message while deleting data from ODS.
    kindly let me know how to proceed.
    as ours is full load it is very important to delete the previous data.
    Rgds,
    Ala.

    I also am getting the same error under the same circumstances.  I understand that RS_FIND_ISOSMAP_DUPREC will give a list of duplicate records in RSISOSMAP.  How then are the duplicate records deleted?
    Any ideas on what caused the duplicate records to be created?  I did have some trouble connecting the source system to BW.

  • Error in deletion of ODS data

    Hello Gurus,
    We have three ODS's in our project to which we will do daily loads.
    Before full upload we will delete all the present from the ODS's. The deletion process we will do automatically using process chains.
    It was working fine. but from the past week we are getting an error while deleting ODS data. ITAB_DUPLICATE_KEY - Error, Please explain me why we are getting such error and how to rectify it.
    We tried to delete the requests manually one by one from ODS.
    The data is deleting from the Active table but still it is showing that request in the <i>Manage</i> screen of ODS.
    How to rectify this error. kindly give me some inputs.
    Regards,
    Ala.

    Hi,
    In the BW server you can try one of the report program to delete the entire requests in infocube or ods.
    Report program is RSDELPART1
    Just run this report program in se38.
    In the selection screen of the program,give the name of the data target from where you need to delete all the existing requests.
    This technique was once used.
    Please let me know whether it works.

  • ABAP Routine for Deleting and creating index for ODS in Process chains

    Any pointers for the ABAP Routine code for deleting and creating index for ODS in Process chains.

    Hi Sachin,
    find the following ABAP code to delete ODS ondex.
    data : v_ods type RSDODSOBJECT.
    move 'ODSname' to v_ods .
    CALL FUNCTION 'RSSM_PROCESS_ODS_DROP_INDEXES'
      EXPORTING
        I_ODS = v_ods.
    To create index:
    data : v_ods type RSDODSOBJECT.
    move 'ODSname' to v_ods .
    CALL FUNCTION 'RSSM_PROCESS_ODS_CREA_INDEXES'
      EXPORTING
        I_ODS = v_ods.
    hope it helps....
    regards,
    Raju

  • APD master data join - ABAP dump TSV_TNEW_PAGE_ALLOC_FAILED

    Hi,
    I have created an APD to join 3 ISU master data infoobjects
    1. left join 0UCPREMISE with 0UC_CONNOBJ
    2. left join 0UCINSTALLA with result of 1.
    3. Store the data in ODS
    When I did this in DEV (D4S) everything worked - but there is also much
    less data in the master data infoobjects.
    When running the APD in Test (Q4S) I get ABAP dump after a while (not
    time out): TSV_TNEW_PAGE_ALLOC_FAILED
    1. I have tried with the APD setting to store in internal memory to OFF
    but the same problems occur.
    2. I tried to create index (on /BI0/P* ) for fields part of the join
    which was not table key but same problem occurs.
    3. I have no filters for the joins as I want to get all master data in
    the output ODS.
    4. The size of the p-tables are:
    /BI0/PUCPREMISE = 1 385 792
    /BI0/PUC_CONNOBJ = 1 031 272
    /BI0/PUCINSTALLA = 2 445 742
    5. Components + SP level:
    SAP_ABA     700     0013     SAPKA70013
    SAP_BASIS     700     0013     SAPKB70013
    PI_BASIS     2005_1_700     0013     SAPKIPYJ7D
    ST-PI     2005_1_700     0005     SAPKITLQI5
    SAP_BW     700     0015     SAPKW70015
    BI_CONT     703     0005     SAPKIBIIP5
    Linux / Oracle 10.2.0.2.0
    6. Info from ABAP Dump:
    Error analysis
    The internal table "\CLASS=CL_RSMD_RS_UTILITIES\METHOD=DATA_TO_RETURN\DATA=L_SX
    RETURN-TVALUE" could not be further extended. To enable
    error handling, the table had to be delete before this log was written.
    As a result, the table is displayed further down or, if you branch to
    the ABAP Debugger, with 0 rows.
    At the time of the termination, the following data was determined for
    the relevant internal table:
    Memory location: "Session memory"
    Row width: 200
    Number of rows: 15
    Allocated rows: 15
    Newly requested rows: 64 (in 1 blocks)
    Last error logged in SAP kernel
    Component............ "EM"
    Place................ "SAP-Server q4s_Q4S_72 on host q4s (wp 12)"
    Version.............. 37
    Error code........... 7
    Error text........... "Warning: EM-Memory exhausted: Workprocess gets PRIV "
    Description.......... " "
    System call.......... " "
    Module............... "emxx.c"
    Line................. 1881
    The error reported by the operating system is:
    Error number..... " "
    |    Error text....... " "
    How to correct the error
    The amount of storage space (in bytes) filled at termination time was:
    Roll area...................... 2755600
    Extended memory (EM)........... 1977608256
    Assigned memory (HEAP)......... 2000733904
    Short area..................... " "
    Paging area.................... 24576
    Maximum address space.......... 4294967295
    If the error occures in a non-modified SAP program, you may be able to
    find an interim solution in an SAP Note.
    If you have access to SAP Notes, carry out a search with the following
    keywords:
    "TSV_TNEW_PAGE_ALLOC_FAILED" " "
    "CL_RSMD_RS_UTILITIES==========CP" or "CL_RSMD_RS_UTILITIES==========CM006"
    |    "DATA_TO_RETURN"                    
    Anybody have any idea what i can do to be able to run this APD (in production I want to run it on a monthly basis). To me it seems the APD fills 2 gig of mem, I thought the APD option to not store the complete dataset in internal memory (using temp tables instead) would kick in before the 2 gigs was used. Basis team didn't want to raise mem paramenters if it could be sorted out any other way.
    Thanks,
    Johan

    I have searched on my problem before posting here ofcourse - but somehow I missed this one, mentioned in 794257:
    "InfoObject" data source
    A dump occurs because of a memory overflow in the SAPLRSDM_F4 function group in the SD_CHA_GET_VALUES function module.
    The InfoObject data source for reading master data is currently based on a function module that loads all data into the main memory in an inefficient data structure. As a result, the data source is only suitable for reading master data with a few data records. A memory overflow can occur for master data tables with lots of records such as business partners or products. This occurs regardless of how the "Process data in the memory" indicator was set.
    If this situation occurs, set the InfoObject in such a way that it is available as an InfoProvider. Then use the "InfoProvider" data source instead of the "InfoObject" data source in the analysis process.
    I'll try this...
    //Johan

  • ITAB_DUPLICATE_KEY ABAP dump

    Hi All,
    I am getting ITAB_DUPLICATE_KEY error running full master data load in BI 7.0. The error occurs in QA system after it was refreshed from production. The DTP has 'Handle Duplicate Record Keys' checked.
    Tried to run RSAR_RSISOSMAP_REPAIR  - it returns 'No Incorrect Entries Found'.
    I see two parallell processes of the load - one successful, one failed.Note 966548 recommends '... avoid duplicate records by using enqueue locks to make sure that no parallel process changes the read data' - how to do this? Will it fix the issue or it's just a way around?
    Thank you.

    Hi,
    The cause of the issue ITAB is that even after an old Keys has been removed some unused objects can still remain, failing to be cleaned up properly, this causes duplicates and hence the ABAP dump. In short you have to identify and delete the duplicate objects yourself and then you will be able to load data again.
    Refer belwo link
    General errors in BI
    [http://wiki.sdn.sap.com/wiki/display/BI/GeneralErrorIn+BI]
    [http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b0c1d94f-b825-2c10-15ae-ccfc59acb291?quicklink=index&overridelayout=true]
    Thanks

  • Deleting selected data from an Infocube in BW using ABAP program?

    Hi Everybody,
                       I have to create a ABAP program in SE38 which, on execution will delete selected data from a Cube in BW module. How to achieve it. Is there any function module that can do so? Eagerly waiting for your suggestions.
    Regards,
    Pulokesh

    select the records from the cube or  ods and put in to one internal table.
    and then u can delete the records

  • Delivery Can not Delete Delivery due to ABAP Dump

    I have a strange situation on a delviery that is in our production client.  We rec;d an APAB dump whenposting goods issue in  delivery (successfully posted but still ABAP'd out) this was  due to the sales unit field calculated to high of a qty due to a material master setting in the price unit qty,  This has been fixed in the material master but we can not get to the delivery to delete it.  I have succefully reversed goods issue and successfully cancelled TO confirmation.  I can not get to the delivery to delete it.  I can not reject line items on the sales order due to it having subsequent documents.  Does anyone know how this can be accomplished?  Please advise/comment experiences.  It would be GREATLY appreciated.  See Below ABAP dump if it helps....
    Kim
    Runtime Errors         DYNPRO_FIELD_CONVERSION
    Date and Time          05/16/2011 11:05:21
                       Screen name.............. "SAPMV50A"
                       Screen number............ 1102
                       Screen field............. "LIPSD-PIKMG"
                       Error text............... "FX015: Sign lost."
         Other data:
         If you cannot solve the problem yourself and want to send an error
         notification to SAP, include the following information:
         1. The description of the current problem (short dump)
            To save the description, choose "System->List->Save->Local File
         (Unconverted)".
         2. Corresponding system log
            Display the system log by calling transaction SM21.
            Restrict the time interval to 10 minutes before and five minutes
         after the short dump. Then choose "System->List->Save->Local File
         (Unconverted)".
         3. If the problem occurs in a problem of your own or a modified SAP
         program: The source code of the program
            In the editor, choose "Utilities->More
         Utilities->Upload/Download->Download".
         4. Details about the conditions under which the error occurred or which
         actions and input led to the error.

    Symptom
    A Warehouse Management-relevant (WM-relevant) delivery item is picked, and then the WM transfer order is canceled again using LT0G.
    If the storage location for the delivery is changed to a non-WM-relevant storage location and a pick quantity is entered in the delivery, this pick quantity is assigned to the document flow record for the cancellation of the WM transfer order. This is incorrect.
    The incorrect document flow record is stored in the database when you save the delivery.
    This results in the ABAP runtime error "DYNPRO_FIELD_CONVERSION" when the delivery is processed again with VL02 or VL02N.
    Other terms
    PIKMG, WM-TA, Warehouse Management (WM) transfer order (TO), VBFA, RFMNG, SAPMV50A, MV50AO0F, FELDAUSWAHL, MV50AO0F, LIPSD-PIKMG
    Reason and Prerequisites
    This problem is caused by a program error.
    Solution
    Implement the specified correction to prevent this inconsistency in the table VBFA from occurring again.
    Correction report Z_CORRECT_VBFA_FROM_LTAP:
    Implement the correction report specified below with transaction SE38 using the attributes:
    Title            Correction report for note 435274
    Type            1  Executable program
    Status                T    Test program
    Application              V     Sales
    Input parameters for execution of the report:
    P_VBELN: Document number of the delivery that has document flows
             for the WM transfer order that are to be corrected.
            While the report is running, make sure that
            no changes are made to the relevant
            document.
    P_TEST = 'X': Analysis:   Analysis of the missing document flow records;
                            no changes in the document.
    P_TEST = ' ': Correction: Document flow records between delivery and
                            WM transfer order are corrected.
    refer SAP Note 435274 - Negative pick quantity in the delivery

  • How to delete the data in ODS

    Hi,
    I am working for production support project.I want to delete the data(error data) from ODS and willing to reload the data again to ODS with different data(Corrected data).
    Can any body throw some light on this please.
    karunakar reddy

    hi karunkar,
            I am also in production support but new . I have some queery can I have your mail id to contact you.currently I a, located in singapore at client side. I will appritiate you if you we can have some knowledge sharing.
      With best Regards
         Vikas Sharma

  • How to Delete the Data in Cube and in ODS

    Hi ALL,
            I have a cube and an ODS both the data targets have data from the year 2002 to 2005.now i want to delete the data from both the data targets with respect to data related to the year 2003 only,how can it be done. Any Help Appreciated with rewarding points.
    Regards,
    BW Seeker.

    Hi
    Generally we can delete the data in the request for the data of year 2003 from request tab in manage screen of datatarget. This can be done only when we are sure that that particular request/s belongs to 2003 year data.
    This can be better handled with selective deletion of data for year 2003 with some keyfields like 0CALMONTH etc..
    This is infact only way when you have already compressed the data in Infocube.
    Hope it helps...
    Best Regards,
    DMK
    *Assign points if it helps...

Maybe you are looking for

  • Having trouble registering Quick Time Pro, which I just bought.

    Having trouble registering Quick Time Pro

  • Generating Sitemap does not completly generate

    Hi all, Tried ragesw and tried xml-sitemap.com I pointed them both to http://www.energyschool.com and also http://www.energyschool.com/CSES_Home/Welcome.html It only indexes 2 links! How do I get the whole site to be indexed? Thanks!

  • ITunes Match icon striped out "accessing itunes match" never connects

    I'm having a problem accessing itunes match. I hope someone can help. In iTunes, all the music that isn't downloaded on the computer is grayed out. When I hover over the cloud icon (which has grey stripes indicating it's not connected to itunes match

  • IPhone applications failed to open

    I own apple iPhone 3G,some of the applications are not opening.When i open it,it shuts suddenly.not allowing to use the app.My iPhone is NOT Jailbroken.all the applications are downloaded from apple store only.So can i know why is it happening like t

  • IPhoto library appears empty after update.

    A while ago I updated iPhoto to v9 and have been happily using my main personal iPhoto library since. Recently, I needed to check one of my older, business, libraries and iPhoto is behaving as though it's a newly created library with no photos. Furth