<?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: V1 Update Termination in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/v1-update-termination/m-p/7527395#M1561072</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Milton,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I would do is the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Check the dump (ST22) to find more info which program/include causeded the short dump;&lt;/P&gt;&lt;P&gt;- Using this info, check OSS to see if there is a note out there for the program/include;&lt;/P&gt;&lt;P&gt;- If nothing found on OSS, check the VA01/VA02 user-exits and anywhere the internal tables with prefix x or y are modified incorrectly causing the short dump. Also check if any of the exits write data to memory which is not cleared after the transaction is finished causing the next transaction potentially to short dump.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Also check if the user-exit which is updating the custom table is not using an explicit COMMIT WORK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Robert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Jan 2011 18:03:13 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-01-24T18:03:13Z</dc:date>
    <item>
      <title>V1 Update Termination</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/v1-update-termination/m-p/7527392#M1561069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurus,&lt;/P&gt;&lt;P&gt;I have a update termination message occasionally coming when VA01 and VA02 is used. It says the following &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Status of Update Module.&lt;/P&gt;&lt;P&gt;Function Module -&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt; RV_SALES_DOCUMENT_UPDATE&lt;/P&gt;&lt;P&gt;Staus -&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt; update was terminated&lt;/P&gt;&lt;P&gt;Report -&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt; LV45UF0V&lt;/P&gt;&lt;P&gt;Line -&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt; 257&lt;/P&gt;&lt;P&gt;ABAP Processor -&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt; SAPSQL_ARRAY_INSERT_DUPREC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can some one throw some light why this module is failing. The function module is invoked by the standard Sales Transaction in update mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addln Info : There has been a small enhancement done via User Exit at the time of SAVE of VA01/VA02 in which a custom table is being updated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Milton P on Jan 24, 2011 6:44 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jan 2011 17:43:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/v1-update-termination/m-p/7527392#M1561069</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-24T17:43:49Z</dc:date>
    </item>
    <item>
      <title>Re: V1 Update Termination</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/v1-update-termination/m-p/7527393#M1561070</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;1. Try commenting the enhancement and check if you get the dump again.&lt;/P&gt;&lt;P&gt;2. Check the number range of the document if that got over&lt;/P&gt;&lt;P&gt;3. Check the key fields of the custom dictionary objects created.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Senthil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jan 2011 17:53:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/v1-update-termination/m-p/7527393#M1561070</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-24T17:53:18Z</dc:date>
    </item>
    <item>
      <title>Re: V1 Update Termination</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/v1-update-termination/m-p/7527394#M1561071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For update termination, start with SM13 to see which table failed with duplicate rows...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jan 2011 17:58:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/v1-update-termination/m-p/7527394#M1561071</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-24T17:58:54Z</dc:date>
    </item>
    <item>
      <title>Re: V1 Update Termination</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/v1-update-termination/m-p/7527395#M1561072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Milton,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I would do is the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Check the dump (ST22) to find more info which program/include causeded the short dump;&lt;/P&gt;&lt;P&gt;- Using this info, check OSS to see if there is a note out there for the program/include;&lt;/P&gt;&lt;P&gt;- If nothing found on OSS, check the VA01/VA02 user-exits and anywhere the internal tables with prefix x or y are modified incorrectly causing the short dump. Also check if any of the exits write data to memory which is not cleared after the transaction is finished causing the next transaction potentially to short dump.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Also check if the user-exit which is updating the custom table is not using an explicit COMMIT WORK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Robert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jan 2011 18:03:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/v1-update-termination/m-p/7527395#M1561072</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-24T18:03:13Z</dc:date>
    </item>
    <item>
      <title>Re: V1 Update Termination</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/v1-update-termination/m-p/7527396#M1561073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;SAPSQL_ARRAY_INSERT_DUPREC&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Look for the customer code that attempts to insert a row without checking to see if it already exists.....the message above says it all....the code is trying to insert a record into a table that already contains a row with the the values in the key fields....since it's an express termination, it's occurring after SAVE has been processed, and the work committed to the database.  These SD errors are FREQUENTLY the result of erroneous customer code additions/modifications, often in exits (check includes named like MV45AFZ*).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jan 2011 18:07:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/v1-update-termination/m-p/7527396#M1561073</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-24T18:07:02Z</dc:date>
    </item>
    <item>
      <title>Re: V1 Update Termination</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/v1-update-termination/m-p/7527397#M1561074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Senthil,&lt;/P&gt;&lt;P&gt;The code is in PRD and I cannot do that while other parameters are fine.&lt;/P&gt;&lt;P&gt;The error is occuring at VBEP not on the custom table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  INSERT VBEP FROM TABLE DA_XVBEPI.  &lt;/P&gt;&lt;P&gt;Prg: LV45UF0V line 267&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jan 2011 18:27:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/v1-update-termination/m-p/7527397#M1561074</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-24T18:27:10Z</dc:date>
    </item>
    <item>
      <title>Re: V1 Update Termination</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/v1-update-termination/m-p/7527398#M1561075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kris SM13 gives me the following list. Look at the 7th entry.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The duplicate rows pertains to the table VBEP &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1	BANF_WRITE_DOCUMENT	V1	Initial&lt;/P&gt;&lt;P&gt;2	ME_UPDATE_REQUISITION	V1	Initial&lt;/P&gt;&lt;P&gt;3	ME_CREATE_MRPRECORD_REQ	V1	Initial&lt;/P&gt;&lt;P&gt;4	RV_SALES_DOCUMENT_UPDATE	V1 (no retry)	Initial&lt;/P&gt;&lt;P&gt;5	SWE_EVENT_CREATE_IN_UPD_TASK	V1	Initial&lt;/P&gt;&lt;P&gt;6	BANF_WRITE_DOCUMENT	V1	Initial&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;7	RV_SALES_DOCUMENT_UPDATE	V1 (no retry)	Error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;8	SWE_EVENT_CREATE_IN_UPD_TASK	V1	Initial&lt;/P&gt;&lt;P&gt;9	CASH_FORECAST_SD_ORDER_UPD_3	V1	Initial&lt;/P&gt;&lt;P&gt;10	MCV_STATISTICS_UPD_V1_ORDER	V1	Initial&lt;/P&gt;&lt;P&gt;11	MCV_STATISTICS_UPD_V2_ORDER	V2	Initial&lt;/P&gt;&lt;P&gt;12	MCEX_UPDATE_11_V1	V1	Initial&lt;/P&gt;&lt;P&gt;13	VERKBELEG_WRITE_DOCUMENT	V1	Initial&lt;/P&gt;&lt;P&gt;14	RV_MESSAGE_UPDATE	V1	Initial&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jan 2011 18:32:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/v1-update-termination/m-p/7527398#M1561075</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-24T18:32:27Z</dc:date>
    </item>
    <item>
      <title>Re: V1 Update Termination</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/v1-update-termination/m-p/7527399#M1561076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe this OSS note can help:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Note 923103 - Update termination when you save the scheduling agreement|https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=923103]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck,&lt;/P&gt;&lt;P&gt;Robert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jan 2011 18:33:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/v1-update-termination/m-p/7527399#M1561076</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-24T18:33:24Z</dc:date>
    </item>
    <item>
      <title>Re: V1 Update Termination</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/v1-update-termination/m-p/7527400#M1561077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes RJ,&lt;/P&gt;&lt;P&gt;Let me go through your points and the NOTE. But to answer on of your point the custom table update is being done via a function module called in update mode hence no explicit call for COMMIT WORK.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jan 2011 18:42:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/v1-update-termination/m-p/7527400#M1561077</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-24T18:42:51Z</dc:date>
    </item>
    <item>
      <title>Re: V1 Update Termination</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/v1-update-termination/m-p/7527401#M1561078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Milton, if you are saving scheduling agreements I would look at the Notes suggested by RJ.. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your best bet is to see if there are custom codes that is making changes to xvbep... It is possible that changes may not be new (that the bug was always there, but the condition that caused the dump was never triggered)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Other options, In SM13, you can see all the entries in the table FXVBEP... see if you can identify the entry that is getting duplicated? Is it just one entry or all entries that are getting duplicated? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finally, if you can consistently reproduce this dump, than half the battle is over... You got to start debugging, just keep going back to see where exactly xvbep is getting filled... it is a tough task and requires lot of patience... You can always put breakpoints at beginning and end of the MV45AFZ* USER exits and see where the duplicate rows are getting added, if your custom code is doing it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jan 2011 19:06:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/v1-update-termination/m-p/7527401#M1561078</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-24T19:06:43Z</dc:date>
    </item>
    <item>
      <title>Re: V1 Update Termination</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/v1-update-termination/m-p/7527402#M1561079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well said Kris, let me go through the all the points of the code affecting XVBEP. But how do you find the entries of a table in SM13.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mine is plain Sales order not scheduling agreements. But thought of going through the NOTE by RJ to get some insight.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Other interesting point is this message does not occur every time, if so as you said the battle is over, it occurs occasionally.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jan 2011 19:27:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/v1-update-termination/m-p/7527402#M1561079</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-24T19:27:26Z</dc:date>
    </item>
    <item>
      <title>Re: V1 Update Termination</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/v1-update-termination/m-p/7527403#M1561080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In SM13, you will have to drill down to the failed function module and it should have display icon (which will list all the parameters for the function module)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are unable to replicate the error consistently, it becomes much more difficult to figure it out..then you got to analyze your custom code to see if any of them are changing xvbep (or adding entries to xvbap , just in case)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jan 2011 20:02:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/v1-update-termination/m-p/7527403#M1561080</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-24T20:02:20Z</dc:date>
    </item>
    <item>
      <title>Re: V1 Update Termination</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/v1-update-termination/m-p/7527404#M1561081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Milton,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the duplicate insert array is frequently the result of user-exit programming. You may check the [User Exits In Sales Document Processing|http://help.sap.com/saphelp_46c/helpdata/en/1c/f62c7dd435d1118b3f0060b03ca329/content.htm] what kind of modifications are applied to the tables relevant for the one mentioned in short dump.&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;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jan 2011 21:38:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/v1-update-termination/m-p/7527404#M1561081</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2011-01-24T21:38:54Z</dc:date>
    </item>
  </channel>
</rss>

