<?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 BADI after commit in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/delivery-badi-after-commit/m-p/1391248#M190096</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try IMPORTing from the memory. When you save the delivery, put the breakpoint on EXPORT statements. 99% you will find that LIKP/LIPS/Texts are exported to some memory area.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;Sagar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Jun 2006 11:13:33 GMT</pubDate>
    <dc:creator>sagar-acharya</dc:creator>
    <dc:date>2006-06-29T11:13:33Z</dc:date>
    <item>
      <title>Delivery BADI after commit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delivery-badi-after-commit/m-p/1391247#M190095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The delivery BADI DELIVERY_PUBLISH, method PUBLISH_AFTER_SAVE is excuted after the commit in the VL01/VL02 transaction. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this method, i extract the delivery number and pass it to an external ABAP with submit and return.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue i have is that in many cases, it appears the commit is not fully completed, as often times, the delivery is not yet in LIKP or the delivery text has not yet been written when my program is called. I have created a loop around the likp issue, waiting for it, and it appears that the LIPS entries are written either all together or not at all, as i am not getting any partial deliveries, but i still have the text issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are there lock entries i can check for? would enqueuing the delivery and waiting help? would i even be able to enqueue a likp that wasn't there yet?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know the submit starts a new program group, but i need a way to tell it to wait until the commit has finished.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it is VL01's commit, so i cannot change it. Also, i cannot add an additional commit, as this seems to cause additional very bad things to happen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jun 2006 10:59:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delivery-badi-after-commit/m-p/1391247#M190095</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-29T10:59:29Z</dc:date>
    </item>
    <item>
      <title>Re: Delivery BADI after commit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delivery-badi-after-commit/m-p/1391248#M190096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try IMPORTing from the memory. When you save the delivery, put the breakpoint on EXPORT statements. 99% you will find that LIKP/LIPS/Texts are exported to some memory area.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;Sagar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jun 2006 11:13:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delivery-badi-after-commit/m-p/1391248#M190096</guid>
      <dc:creator>sagar-acharya</dc:creator>
      <dc:date>2006-06-29T11:13:33Z</dc:date>
    </item>
    <item>
      <title>Re: Delivery BADI after commit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delivery-badi-after-commit/m-p/1391249#M190097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did not find anything in EXPORTS. I did find that the program will do a synchronous update (commit work and wait) if a field called V50AGL-SYNCHRON is an "X". I plugged this into the DOCUMENT_SAVE_PREPARE user exit, and viola... it did a synchronous update. I am testing this now.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jun 2006 12:08:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delivery-badi-after-commit/m-p/1391249#M190097</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-29T12:08:57Z</dc:date>
    </item>
    <item>
      <title>Re: Delivery BADI after commit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delivery-badi-after-commit/m-p/1391250#M190098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;Could you please explain me how you extracted the delivery number in PUBLISH_AFTER_SAVE method.&lt;/P&gt;&lt;P&gt;Thanks in Advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2014 14:37:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delivery-badi-after-commit/m-p/1391250#M190098</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-08-11T14:37:01Z</dc:date>
    </item>
  </channel>
</rss>

