Error When Tranfering the Exposure Data Status (T.Code TEM20 )

Hi Experts,
Runtime Errors         SAPSQL_ARRAY_INSERT_DUPREC
Exception              CX_SY_OPEN_SQL_DB
Date and Time          21.07.2008 19:01:43
What happened?
    Error in the ABAP Application Program
    The current ABAP program "SAPLTPM_TRG_DB" 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_OPEN_SQL_DB', was not caught
     in
    procedure "TPM_TRG_SAVE_TO_DATABASE" "(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:
    If you use an ABAP/4 Open SQL array insert to insert a record in
    the database and that record already exists with the same key,
    this results in a termination.
    (With an ABAP/4 Open SQL single record insert in the same error
    situation, processing does not terminate, but SY-SUBRC is set to 4.)
How to correct the error
    Use an ABAP/4 Open SQL array insert only if you are sure that none of
    the records passed already exists in the database.
    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:
    "SAPSQL_ARRAY_INSERT_DUPREC" "CX_SY_OPEN_SQL_DB"
    "SAPLTPM_TRG_DB" or "LTPM_TRG_DBU03"
    "TPM_TRG_SAVE_TO_DATABASE"
    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.
  The exception must either be prevented, caught within proedure
  "TPM_TRG_SAVE_TO_DATABASE" "(FUNCTION)", or its possible occurrence must be
   declared in the
  RAISING clause of the procedure.
Regards,
Saran

hi,
Duplicate Entry is the prblem.
Follow this link
http://sap.ittoolbox.com/groups/technical-functional/sap-basis/sapsql_array_insert_duprec-453665?cv=expanded#
Regards.

Similar Messages

  • Error when tranfering the text data

    Hi all
    I am getting an error when transfering the text data thru flat files .
    It is asking " No transfer structure available for the source system ," and saying that 0langu is not assigned to source syatem.I am working on 3.5.
    pls suggest me.
    thanks in advance
    karna

    here are teh steps:
    1) craete source system in BW as say Flat_file
    2) go to inforsource --?  create inforsource --> right clik on infosource and say assign datasource
    3) select flat_file here and say YES
    4) then for flat file, trnafer structure mapping has to be done manually. so in trs struc screen ,go to datasource tab and enter your corresponding infoobject.
    5) then  go to tranfer rule tab and propose the rule.
    If it helps, please assign points. In case of doubt, please get back
    Regards
    Pankaj

  • Error when activating the master data

    Hi
    I am getting the following error when activating the master data. when using IDOC as transfer method in transfer rules
    <b>Error while creating table 'EDISEGMENT' entry '/BIC/CIRB0CLASS_NUM_TEXT'</b>
    If anyone came across this kind of problem plz share the solution.
    Regards
    Annie

    Hi
    I solved the problem. AFter changing from PSA to IDOC, i just saved first and activated. it got activated. But thanks for the response.
    There are no short dumps in ST22
    Regards
    Annie

  • Error when reading the access data for the Adapter Engine

    We are getting the following error in XI. It started on Jan 22 and resolved on Jan 23 automatically. Nothing has been changed and we don't able to understand how problem started and how it resolved:
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="INTERNAL">AE_DETAILS_GET_ERROR</SAP:Code>
      <SAP:P1>af.xpd.dbcixpd</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>3: Unable to find URL for Adapter Engine af.xpd.dbcixpd</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Error when reading the access data (URL, user, password) for the Adapter Engine af.xpd.dbcixpd</SAP:Stack>
      <SAP:Retry>N</SAP:Retry>
      </SAP:Error>
    Pls suggest if anyone has gone thru same problem.
    Regards
    Amar

    I got the same problem while using RFC lookup.
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="INTERNAL">AE_DETAILS_GET_ERROR</SAP:Code>
      <SAP:P1>af.tx1.netweaver</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>3: Unable to find URL for Adapter Engine af.tx1.netweaver</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Error when reading the access data (URL, user, password) for the Adapter Engine af.tx1.netweaver</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Any idea ,when we get this error usually.

  • Error when reading the DDIC-data for table

    Hi Tobias
    We upgraded from DMIS 2011 SP04 to SP07. We are in development system.
    To test initial load, we stopped replication for an existing table and then started replication for the same table.
    Mass transfer id connects ECC system to BW on HANA system.
    Replication errored with the following message:
    Error when reading the ddic-data for table MARD (RFC destination DWACLNT010).
    Looking for your guidance.
    Kind Regards
    Kamaljit Vilkhoo

    Was able to solve using oss note 1972533.

  • Error when extracting the text data

    Hi all
    I am getting an error when transfering the text data thru flat files .
    It is asking " No transfer structure available for the source system ," and saying that 0langu is not assigned to source syatem.I am working on 3.5.
    pls suggest me.
    thanks in advance
    karna

    hi,
         you have to decline 0LANGU, STTXT(short text), MDTXT(medium text),
    LGTXT(long text), and respective key field(primary key) of attribute for
    text data source.  give the above five info object's in transfer structure for
    text data source and activate it.
    if helpful provide points
    regards
    harikrishna.N

  • Error when reading the access data(URL,user, password) for Adapter Engine

    Hi,
    We are getting this error in production system 
    "SXMBSysErrorAlerts, Category INTERNAL, Error code: AE_DETAILS_GET_ERROR error text: Error when reading the access data (URL, user, password) for the Adapter Engine".
    Please tell what can be the cause of error. Where are the access data (URL, user, password) for the Adapter Engine read from?
    Its urgent.  We are in support project.
    regards,
    john

    Hi jhon,
              please check the following threads to resolve the problem.
    AE_DETAILS_GET_ERROR
    Error : no_adapter_engine_found: Unable to find Adapter Engine
    regards
    mahesh.

  • Read error when reading the master data of 0EMPLOYEE on demand, attribute 0

    Hello All,
    While loading data for HR data source 0HR_PA_OS_1 i am getting the below error message..
    Error 1 in update.
    Read error when reading the master data of 0EMPLOYEE on demand, attribute 0COMP_CODE
    Please let me know how can it be resolved.
    Regards
    Rohit Parti

    The problem occurs during data load from R/3. It was not occuring before. When I go to check the PSA contents I get a runtime error - GETWA_NOT_ASSIGNED.
    Error analysis                                                      
        You attempted to access an unassigned field symbol              
        (data segment 32821).                                                                               
    This error may occur if                                         
        - You address a typed field symbol before it has been set with  
          ASSIGN                                                        
        - You address a field symbol that pointed to the line of an     
          internal table that was deleted                               
        - You address a field symbol that was previously reset using    
          UNASSIGN or that pointed to a local field that no             
          longer exists                                                 
        - You address a global function interface, although the         
          respective function module is not active - that is, is        
          not in the list of active calls. The list of active calls     
          can be taken from this short dump.

  • Error when loading the master data

    Hi all,
    Can anybody help me out. I am loading the master data from DB Connect source. When i am trying to load it it is giving the runtime error PERFORM_CONFLICT_TAB_TYPE. Can anybody tell me what could be the problem & necessery steps to take.
    Thanks in advance.
    Regards,
    Shaik.

    Hi,
    Please go through the following threads:
    PERFORM_CONFLICT_TAB_TYPE  shortdump during data loading into ODS
    Perform_conflict_tab_type error
    PERFORM_CONFLICT_TAB_TYPE error-Urgent!!
    Next time you might want to just search the forum first... lots of surprises!
    Hope this helps,
    Cheers,
    Gimmo

  • Error when initializing the Transaction data From ODS to CUBE.

    Hi,
       we have initialized the load from source system to ODS. the load was successful, and when loading from ODS CUBE(initialization). it is giving the following message.
    No SID found for value '0000436038' of characteristic 0CUST_SALES.
      We have updated the master data of 0CUST_SALES (DELTA UPDATE).
    but still getting the same message when updating the data packets from PSA. I am unable to find the reason.
      Please let me know is there any other solution.
    with regards,

    Hi A.H.P,
       I have loaded master data for all the objects you have mentioned( atributes and texts). but still data packets are not getting updated. it is giving the message.
       i have also tried the elementary tests and combined tests of 0CUST_SALES, in RSRV. there were no errors found.
      these data targets were newly implemented. would it be problem with routines or any other means.
      Please let me know ASAP.
    with regards.

  • Error when tranfering the planning results from SCM to R/3

    hi,
    While defining distribution definition i am getting follwing warning message " Location 1000 originates from source syst. T90CLNT800 and distr. to targ syst R/3CLNT800**
    while transfering the result from SCM to R/3  it got stuck in the queue. there i able to see T90CLNT800  not the new one( R/3CLNT800) which defined in publication. also i deleted all the distribution definition belongs to T90CLNT800.
    Initially i worked with T90CLNT800 and connected it to APO.Created data in this client and ciffed it to APO.
    Afterwords, i created client R/3CLNT800  and now using  with APO system.
    how to solve this issue.
    regards
    Thennarasu

    Hi,
    I understand that this problem is in Dev system.
    First do the initial tranfer of the master data and transaction data and take a fresh run in APO. But before doing this delete APO transaction data.
    If this doesn't work then follow as given bellow.
    If you change the logical system you have to run BDLS to convert the logical system in the database tables.
    Do this in the R/3, then do the initial tranfer of the master and transaction data and take a fresh run in APO.
    Regards,
    Kishore Reddy

  • Error when building the Java pricing userexit manual code

    I went throught the manual for the pricing userexit manual... it tells you to ignore the errors when you do an ant build but I want to remove all the errors since they dont let the rest the code compile.... where are the jars for these errors: 
    [javadoc] C:\DEV\PRC_UE_CUSTOMER\lib_src\src\com\sap\spc\document\DocumentConstants.java:16: package com.sap.vmc.logging does not exist
         [javadoc] import com.sap.vmc.logging.Category;
         [javadoc]                            ^
         [javadoc] C:\DEV\PRC_UE_CUSTOMER\lib_src\src\com\sap\spc\document\DocumentConstants.java:26: cannot resolve symbol
         [javadoc] symbol  : class Category
         [javadoc] location: class com.sap.spc.document.DocumentConstants
         [javadoc]     public static final Category CATEGORY = Category.getCategory(Category.APPLICATIONS, "/AP/SPC/Document");
         [javadoc]                         ^

    See the [SAP note 809820 - Userexit concept for pricing|https://service.sap.com/sap/support/notes/809820]
    Use ZIP file the attached to the above note - PRC_UE_CUSTOMER_V105.zip
    ZIP file contains an Eclipse .project file that has the required build path. If you read the documents carefully, it does refer this project file.
    <?xml version="1.0" encoding="UTF-8"?>
    <classpath>
         <classpathentry kind="src" path="src"/>
         <classpathentry sourcepath="lib_src/src" kind="lib" path="lib_api"/>
         <classpathentry kind="lib" path="lib_vmc_api/base_services_stripped_api.jar"/>
         <classpathentry kind="output" path="bin"/>
    </classpath>
    Again read the documents thoroughly. They are neither fictions nor non-fictions, but technical documents written with care. So, we must also read them with care. If we don't follow them, then it is time to engage someone who does. )
    BTW, coming back to the Java basics - One must have a class and source files to debug. You won't get a class file unless it is compiled. The Java file won't compile correctly if it has syntax / reference errors. Unfortunately or fortunately, all these apply to the IPC java userexit development as well.
    Easwar Ram

  • Error when activating the copied data elem.:Medium key word in language DE

    Hello,
    I have copied data element dats and created a z data element for myself and added the text description.
    Am getting following error.Please guide me for the same-
      Check data element ZDATS1 (C04EAPHALES/15.01.10/16:37)
      Medium key word in language DE: length 18 > maximum length 10
      Data element ZDATS1 is inconsistent
    Please help me resolve the issue.
    Thanks.
    Edited by: sanjivrd on Jan 15, 2010 12:21 PM

    Hi,
    It won't take from domain it always takes from data element... data element only stores the semantic information... Try to change the domain description to someother and then activate both domain and dataelement...and also table and then see...It will take from data element only.
    Regards,
    Nagaraj

  • Java.io.NotSerializableException when overwrite the JTable data into .txt file

    hi everyone
    this is my first time to get help from sun forums
    i had java.io.NotSerializableException: java.lang.reflect.Constructor error when overwrite the JTable data into .txt file.
    At the beginning, the code will be generate successfully and the jtable will be showing out with the data that been save in the studio1.txt previously,
    but after i edit the data at the JTable, and when i trying to click the save button, the error had been showing out and i cannot succeed to save the JTable with the latest data.
    After this error, the code can't be run again and i had to copy the studio1.txt again to let the code run 1 more time.
    I hope i can get any solution at here and this will be very useful for me.
    the following is my code...some of it i create it with the GUI netbean
    but i dunno how to attach my .txt file with this forum
    did anyone need the .txt file?
    this is the code that suspect maybe some error here
    private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {
    String filename = "studio1.txt";
              try {
                  FileOutputStream fos = new FileOutputStream(new File(filename));
                  ObjectOutputStream oos = new ObjectOutputStream(fos);
                   oos.writeObject(jTable2);
                   oos.close();
              catch(IOException e) {
                   System.out.println("Problem creating table file: " + e);
                   return;
              System.out.println("JTable correctly saved to file " + filename);
    }the full code will be at the next msg

    this is the part 1 of the code
    this is the full code...i had /*....*/ some of it to make it easier for reading
    package gui;
    import javax.swing.*;
    import java.io.*;
    public class timetables extends javax.swing.JFrame {
        public timetables() {
            initComponents();
        @SuppressWarnings("unchecked")
        private void initComponents() {
            jDialog1 = new javax.swing.JDialog();
            buttonGroup1 = new javax.swing.ButtonGroup();
            buttonGroup2 = new javax.swing.ButtonGroup();
            buttonGroup3 = new javax.swing.ButtonGroup();
            buttonGroup4 = new javax.swing.ButtonGroup();
            jTextField1 = new javax.swing.JTextField();
            jLayeredPane1 = new javax.swing.JLayeredPane();
            jLabel6 = new javax.swing.JLabel();
            jTabbedPane1 = new javax.swing.JTabbedPane();
            jScrollPane3 = new javax.swing.JScrollPane();
            jTable2 = new javax.swing.JTable();
            jScrollPane4 = new javax.swing.JScrollPane();
            jTable3 = new javax.swing.JTable();
            jButton1 = new javax.swing.JButton();
            jButton2 = new javax.swing.JButton();
    /*       org.jdesktop.layout.GroupLayout jDialog1Layout = new org.jdesktop.layout.GroupLayout(jDialog1.getContentPane());
            jDialog1.getContentPane().setLayout(jDialog1Layout);
            jDialog1Layout.setHorizontalGroup(
                jDialog1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                .add(0, 400, Short.MAX_VALUE)
            jDialog1Layout.setVerticalGroup(
                jDialog1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                .add(0, 300, Short.MAX_VALUE)
            setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
            jLayeredPane1.add(jLabel6, javax.swing.JLayeredPane.DEFAULT_LAYER);
            String filename1 = "studio1.txt";
            try {
                   ObjectInputStream ois = new ObjectInputStream(new FileInputStream(filename1));
                   jTable2 = (JTable) ois.readObject();
                   System.out.println("reading for " + filename1);
              catch(Exception e) {
                   System.out.println("Problem reading back table from file: " + filename1);
                   return;
            try {
                   ObjectInputStream ois = new ObjectInputStream(new FileInputStream(filename1));
                   jTable3 = (JTable) ois.readObject();
                   System.out.println("reading for " + filename1);
              catch(Exception e) {
                   System.out.println("Problem reading back table from file: " + filename1);
                   return;
            jTable2.setRowHeight(20);
            jTable3.setRowHeight(20);
            jScrollPane3.setViewportView(jTable2);
            jScrollPane4.setViewportView(jTable3);
            jTable2.getColumnModel().getColumn(4).setResizable(false);
            jTable3.getColumnModel().getColumn(4).setResizable(false);
            jTabbedPane1.addTab("STUDIO 1", jScrollPane3);
            jTabbedPane1.addTab("STUDIO 2", jScrollPane4);
            jTextField1.setText("again n again");
            jLabel6.setText("jLabel5");
            jLabel6.setBounds(0, 0, -1, -1);
            jButton2.setText("jButton2");
            jButton1.setText("jButton1");
            jButton1.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    jButton1ActionPerformed(evt);
          

  • Java.io.NotSerializableException when overwrite the JTable data into .txt

    hi everyone
    i had java.io.NotSerializableException: java.lang.reflect.Constructor error when overwrite the JTable data into .txt file.
    At the beginning, the code will be generate successfully and the jtable
    will be showing out with the data that been save in the studio1.txt
    previously,
    but after i edit the data at the JTable, and when i trying to click the
    save button, the error had been showing out and i cannot succeed to
    save the JTable with the latest data.
    After this error, the code can't be run again and i had to copy the studio1.txt again to let the code run 1 more time.
    I hope i can get any solution at here and this will be very useful for me.
    but i dunno how to attach my .txt file with this forum
    did anyone need the .txt file?
    the following is my suspect code
    private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {
    String filename1 = "studio1.txt";
              try {
                  FileOutputStream fos = new FileOutputStream(new File(filename1));
                  ObjectOutputStream oos = new ObjectOutputStream(fos);
                   oos.writeObject(jTable2.getModel());
                   oos.flush();
                   oos.close();
                   fos.close();
              catch(IOException e) {
                   System.out.println("Problem creating table file: " + e);
                            e.printStackTrace();
                   return;
              System.out.println("JTable correctly saved to file " + filename1);
    }this is the reading code
    String filename1="studio1.txt";
            try {
                   ObjectInputStream ois = new ObjectInputStream(new FileInputStream(filename1));
                   TableModel model = (TableModel)ois.readObject();
                    jTable3.setModel(model);
                   System.out.println("reading for " + filename1);
              catch(Exception e) {
                   System.out.println("Problem reading back table from file: " + filename1);
                   return;
              }Edited by: Taufulou on Jan 8, 2009 11:43 PM
    Edited by: Taufulou on Jan 8, 2009 11:44 PM
    Edited by: Taufulou on Jan 8, 2009 11:45 PM

    is this the code u mean?
    i had put this code inside it but the problem still remain the same
    if (jTable2.isEditing()) {
                jTable2.getCellEditor().stopCellEditing();
            }i had found a new thing that when i just double click the cell without change any data inside the table
    and click the button "Save". the same exception which is
    java.io.NotSerializableException: java.lang.reflect.Constructor
    will come out again.

Maybe you are looking for