<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Error When Tranfering the Exposure Data Status (T.Code TEM20 ) in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-tranfering-the-exposure-data-status-t-code-tem20/m-p/4185053#M1000398</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Duplicate Entry is the prblem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Follow this link &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://sap.ittoolbox.com/groups/technical-functional/sap-basis/sapsql_array_insert_duprec-453665?cv=expanded#" target="test_blank"&gt;http://sap.ittoolbox.com/groups/technical-functional/sap-basis/sapsql_array_insert_duprec-453665?cv=expanded#&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Jul 2008 14:38:29 GMT</pubDate>
    <dc:creator>former_member322289</dc:creator>
    <dc:date>2008-07-21T14:38:29Z</dc:date>
    <item>
      <title>Error When Tranfering the Exposure Data Status (T.Code TEM20 )</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-tranfering-the-exposure-data-status-t-code-tem20/m-p/4185052#M1000397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Runtime Errors         SAPSQL_ARRAY_INSERT_DUPREC&lt;/P&gt;&lt;P&gt;Exception              CX_SY_OPEN_SQL_DB&lt;/P&gt;&lt;P&gt;Date and Time          21.07.2008 19:01:43&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What happened?&lt;/P&gt;&lt;P&gt;    Error in the ABAP Application Program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    The current ABAP program "SAPLTPM_TRG_DB" had to be terminated because it has&lt;/P&gt;&lt;P&gt;    come across a statement that unfortunately cannot be executed.&lt;/P&gt;&lt;P&gt;What can you do?&lt;/P&gt;&lt;P&gt;    Note down which actions and inputs caused the error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    To process the problem further, contact you SAP system&lt;/P&gt;&lt;P&gt;    administrator.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    Using Transaction ST22 for ABAP Dump Analysis, you can look&lt;/P&gt;&lt;P&gt;    at and manage termination messages, and you can also&lt;/P&gt;&lt;P&gt;    keep them for a long time.&lt;/P&gt;&lt;P&gt;Error analysis&lt;/P&gt;&lt;P&gt;    An exception occurred that is explained in detail below.&lt;/P&gt;&lt;P&gt;    The exception, which is assigned to class 'CX_SY_OPEN_SQL_DB', was not caught&lt;/P&gt;&lt;P&gt;     in&lt;/P&gt;&lt;P&gt;    procedure "TPM_TRG_SAVE_TO_DATABASE" "(FUNCTION)", nor was it propagated by a&lt;/P&gt;&lt;P&gt;     RAISING clause.&lt;/P&gt;&lt;P&gt;    Since the caller of the procedure could not have anticipated that the&lt;/P&gt;&lt;P&gt;    exception would occur, the current program is terminated.&lt;/P&gt;&lt;P&gt;    The reason for the exception is:&lt;/P&gt;&lt;P&gt;    If you use an ABAP/4 Open SQL array insert to insert a record in&lt;/P&gt;&lt;P&gt;    the database and that record already exists with the same key,&lt;/P&gt;&lt;P&gt;    this results in a termination.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    (With an ABAP/4 Open SQL single record insert in the same error&lt;/P&gt;&lt;P&gt;    situation, processing does not terminate, but SY-SUBRC is set to 4.)&lt;/P&gt;&lt;P&gt;How to correct the error&lt;/P&gt;&lt;P&gt;    Use an ABAP/4 Open SQL array insert only if you are sure that none of&lt;/P&gt;&lt;P&gt;    the records passed already exists in the database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    If the error occures in a non-modified SAP program, you may be able to&lt;/P&gt;&lt;P&gt;    find an interim solution in an SAP Note.&lt;/P&gt;&lt;P&gt;    If you have access to SAP Notes, carry out a search with the following&lt;/P&gt;&lt;P&gt;    keywords:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    "SAPSQL_ARRAY_INSERT_DUPREC" "CX_SY_OPEN_SQL_DB"&lt;/P&gt;&lt;P&gt;    "SAPLTPM_TRG_DB" or "LTPM_TRG_DBU03"&lt;/P&gt;&lt;P&gt;    "TPM_TRG_SAVE_TO_DATABASE"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    If you cannot solve the problem yourself and want to send an error&lt;/P&gt;&lt;P&gt;    notification to SAP, include the following information:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    1. The description of the current problem (short dump)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       To save the description, choose "System-&amp;gt;List-&amp;gt;Save-&amp;gt;Local File&lt;/P&gt;&lt;P&gt;    (Unconverted)".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    2. Corresponding system log&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       Display the system log by calling transaction SM21.&lt;/P&gt;&lt;P&gt;       Restrict the time interval to 10 minutes before and five minutes&lt;/P&gt;&lt;P&gt;    after the short dump. Then choose "System-&amp;gt;List-&amp;gt;Save-&amp;gt;Local File&lt;/P&gt;&lt;P&gt;    (Unconverted)".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    3. If the problem occurs in a problem of your own or a modified SAP&lt;/P&gt;&lt;P&gt;    program: The source code of the program&lt;/P&gt;&lt;P&gt;     In the editor, choose "Utilities-&amp;gt;More&lt;/P&gt;&lt;P&gt;  Utilities-&amp;gt;Upload/Download-&amp;gt;Download".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  4. Details about the conditions under which the error occurred or which&lt;/P&gt;&lt;P&gt;  actions and input led to the error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  The exception must either be prevented, caught within proedure&lt;/P&gt;&lt;P&gt;  "TPM_TRG_SAVE_TO_DATABASE" "(FUNCTION)", or its possible occurrence must be&lt;/P&gt;&lt;P&gt;   declared in the&lt;/P&gt;&lt;P&gt;  RAISING clause of the procedure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Saran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jul 2008 14:28:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-tranfering-the-exposure-data-status-t-code-tem20/m-p/4185052#M1000397</guid>
      <dc:creator>saranwin</dc:creator>
      <dc:date>2008-07-21T14:28:02Z</dc:date>
    </item>
    <item>
      <title>Re: Error When Tranfering the Exposure Data Status (T.Code TEM20 )</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-tranfering-the-exposure-data-status-t-code-tem20/m-p/4185053#M1000398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Duplicate Entry is the prblem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Follow this link &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://sap.ittoolbox.com/groups/technical-functional/sap-basis/sapsql_array_insert_duprec-453665?cv=expanded#" target="test_blank"&gt;http://sap.ittoolbox.com/groups/technical-functional/sap-basis/sapsql_array_insert_duprec-453665?cv=expanded#&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jul 2008 14:38:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-tranfering-the-exposure-data-status-t-code-tem20/m-p/4185053#M1000398</guid>
      <dc:creator>former_member322289</dc:creator>
      <dc:date>2008-07-21T14:38:29Z</dc:date>
    </item>
    <item>
      <title>Re: Error When Tranfering the Exposure Data Status (T.Code TEM20 )</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-tranfering-the-exposure-data-status-t-code-tem20/m-p/4185054#M1000399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  I have checked the Number range and data in the database table. Everything is fine. But still i'm getting the same error wat above mentioned.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Saran.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jul 2008 05:34:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-tranfering-the-exposure-data-status-t-code-tem20/m-p/4185054#M1000399</guid>
      <dc:creator>saranwin</dc:creator>
      <dc:date>2008-07-22T05:34:18Z</dc:date>
    </item>
  </channel>
</rss>

