<?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: delivery user exit issue... in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/delivery-user-exit-issue/m-p/7119880#M1510973</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This may be solved with the help of configuration. May be it is not taking the next available document number in the number range.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Jul 2010 20:10:13 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-07-13T20:10:13Z</dc:date>
    <item>
      <title>delivery user exit issue...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delivery-user-exit-issue/m-p/7119877#M1510970</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 am implementing the BADI interface IF_EX_LE_SHP_DELIVERY_PROC and coding the save_document_prepare method in which I check the delivery qty and some additional checks and even if one of the line items of the order fails I do not want delivery to be created for other line items too. In short, if the order has 5 line items and 3 fail then no delivery for rest of the 4 line items too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In order to achieve this, I clear the ct_xlikp and ct_xlips internal tables accordingly. Sometimes they become totally blank, sometimes they are partially blank. But in both the cases, after this code is executed and when the standard code is processed I get dumps sometimes. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My latest dump was ' SAPSQL_ARRAY_INSERT_DUPREC'  as detailed below..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is clearing these internal tables the right approach in my case ? or is there any deletion indicator or something that I can set in the records in these tables by which SAP will not take these into consideration for delivery ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pl advise.&lt;/P&gt;&lt;P&gt;thnks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Termination occurred in the ABAP program "SAPLV05I" - in "SD_PARTNER_UPDATE".&lt;/P&gt;&lt;P&gt; The main program was "RVV50R10C ".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; In the source code you have the termination point in line 480&lt;/P&gt;&lt;P&gt; of the (Include) program "LV05IU15".&lt;/P&gt;&lt;P&gt; The termination is caused because exception "CX_SY_OPEN_SQL_DB" occurred in&lt;/P&gt;&lt;P&gt; procedure "SD_PARTNER_UPDATE" "(FUNCTION)", but it was neither handled locall&lt;/P&gt;&lt;P&gt;  nor declared&lt;/P&gt;&lt;P&gt; in the RAISING clause of its signature.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; The procedure is in program "SAPLV05I "; its source code begins in line&lt;/P&gt;&lt;P&gt; 1 of the (Include program "LV05IU15 ".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jul 2010 19:19:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delivery-user-exit-issue/m-p/7119877#M1510970</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-13T19:19:29Z</dc:date>
    </item>
    <item>
      <title>Re: delivery user exit issue...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delivery-user-exit-issue/m-p/7119878#M1510971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you're getting duplicate database key values from Partner Update, looks like the problem is somewhere other than LIKP, LIPS!  I don't recall whether or not XLIPS, etc., has a UPDKZ field...check on that for I, U, D codes for insert, update, delete.  There is at least one SAP Note about proper coding of delivery exits; it's done quite a bit differently from SD Order exits, and is worth reading if you can look it up.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jul 2010 19:28:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delivery-user-exit-issue/m-p/7119878#M1510971</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-13T19:28:23Z</dc:date>
    </item>
    <item>
      <title>Re: delivery user exit issue...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delivery-user-exit-issue/m-p/7119879#M1510972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks I will look into that. Meanwhile I noticed that this method has other internal tables too like VBPA, VBUK, VBUP related and an inconsistency occurs when I delete the LIKP, LIPS and do not delete in these tables. Hence now the dumpt at VBPA is resolved  but I get at VBUK level !!! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So may be clearing the tables here is not a very good idea. Let me see if I can find the OSS note.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jul 2010 19:42:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delivery-user-exit-issue/m-p/7119879#M1510972</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-13T19:42:57Z</dc:date>
    </item>
    <item>
      <title>Re: delivery user exit issue...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delivery-user-exit-issue/m-p/7119880#M1510973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This may be solved with the help of configuration. May be it is not taking the next available document number in the number range.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jul 2010 20:10:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delivery-user-exit-issue/m-p/7119880#M1510973</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-13T20:10:13Z</dc:date>
    </item>
    <item>
      <title>Re: delivery user exit issue...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delivery-user-exit-issue/m-p/7119881#M1510974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should control delivery creation with copy control requirements.  If an item level check fails, you issue an error message to the log and the delivery does not get created.  Don't use backend user exits to control something like this...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jul 2010 20:16:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delivery-user-exit-issue/m-p/7119881#M1510974</guid>
      <dc:creator>brad_bohn</dc:creator>
      <dc:date>2010-07-13T20:16:49Z</dc:date>
    </item>
    <item>
      <title>Re: delivery user exit issue...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delivery-user-exit-issue/m-p/7119882#M1510975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In my case I had to use the delivery user exit and I resolved this issue but updating UPDKZ as 'D' only in Lips table and left it as 'I' in LIKP table...This way, SAP did not dump..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jul 2010 17:35:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delivery-user-exit-issue/m-p/7119882#M1510975</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-19T17:35:06Z</dc:date>
    </item>
  </channel>
</rss>

