<?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: put a delay in the code in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/put-a-delay-in-the-code/m-p/5714121#M1297036</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for all the repsonses. Sorry I was out for a while. The code is in the user exit which triggers after hitting the SAVE button when the delivery is being created. I want the function module to execute 120 seconds after the delivery is saved&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Jun 2009 04:21:39 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-06-03T04:21:39Z</dc:date>
    <item>
      <title>put a delay in the code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/put-a-delay-in-the-code/m-p/5714116#M1297031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In a delivery user exit, &lt;/P&gt;&lt;P&gt;Is there a way to tell the program to execute a particular function module 2 minutes after it SAVES the document?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jun 2009 22:16:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/put-a-delay-in-the-code/m-p/5714116#M1297031</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-02T22:16:38Z</dc:date>
    </item>
    <item>
      <title>Re: put a delay in the code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/put-a-delay-in-the-code/m-p/5714117#M1297032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;WAIT UP TO 120 SECONDS.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jun 2009 22:30:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/put-a-delay-in-the-code/m-p/5714117#M1297032</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-02T22:30:54Z</dc:date>
    </item>
    <item>
      <title>Re: put a delay in the code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/put-a-delay-in-the-code/m-p/5714118#M1297033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey..&lt;/P&gt;&lt;P&gt;Use wait..it worked for me..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WAIT UP TO 5 seconds.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the duration of time other process needs to complete and then specify the time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;KC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jun 2009 03:07:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/put-a-delay-in-the-code/m-p/5714118#M1297033</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-03T03:07:41Z</dc:date>
    </item>
    <item>
      <title>Re: put a delay in the code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/put-a-delay-in-the-code/m-p/5714119#M1297034</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;Press F1 Help on WAIT. That is the only possible way to delay the program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Babu Kilari&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jun 2009 03:50:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/put-a-delay-in-the-code/m-p/5714119#M1297034</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-03T03:50:01Z</dc:date>
    </item>
    <item>
      <title>Re: put a delay in the code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/put-a-delay-in-the-code/m-p/5714120#M1297035</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;You have to use &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WAIT UP TO 10 seconds statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jyothi CH.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jun 2009 04:06:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/put-a-delay-in-the-code/m-p/5714120#M1297035</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-03T04:06:54Z</dc:date>
    </item>
    <item>
      <title>Re: put a delay in the code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/put-a-delay-in-the-code/m-p/5714121#M1297036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for all the repsonses. Sorry I was out for a while. The code is in the user exit which triggers after hitting the SAVE button when the delivery is being created. I want the function module to execute 120 seconds after the delivery is saved&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jun 2009 04:21:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/put-a-delay-in-the-code/m-p/5714121#M1297036</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-03T04:21:39Z</dc:date>
    </item>
    <item>
      <title>Re: put a delay in the code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/put-a-delay-in-the-code/m-p/5714122#M1297037</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;Refer these FM's&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SWE_CD_TST_DELAY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TH_DELAY_FUNC_TEST&lt;/P&gt;&lt;P&gt;C14Z_WAIT_N_SECONDS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jyothi CH.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jun 2009 04:31:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/put-a-delay-in-the-code/m-p/5714122#M1297037</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-03T04:31:34Z</dc:date>
    </item>
    <item>
      <title>Re: put a delay in the code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/put-a-delay-in-the-code/m-p/5714123#M1297038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As suggested by others you should use the WAIT statement to acheive your requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what function module you are calling, is it a standard one or z?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Karthik D&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jun 2009 04:34:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/put-a-delay-in-the-code/m-p/5714123#M1297038</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-03T04:34:20Z</dc:date>
    </item>
    <item>
      <title>Re: put a delay in the code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/put-a-delay-in-the-code/m-p/5714124#M1297039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My problem is as follows. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I go to sales order in change mode and do Sales Order--&amp;gt; Deliver&lt;/P&gt;&lt;P&gt;Then when the delivery is saved, sales order is still in change mode as I started from the sales order in change mode. While doing this I need to update the order quanity of sales order with the delivery quantity (as they will always be off by few percentage poitns) by going in to the same sales order. I do this through BAPI_SALESDOCUMENT_CHANGE and BAPI_TRANSACTION_COMMIT. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the sales order is changed it puts the sales order on credit hold. I need to undo it &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I try to do this though CALL FUNCTION 'SD_ORDER_CREDIT_RELEASE' but I get a message saying the sals order is locked. It will be unlocked only once te delivery is saved. How do I make this function mdule execute after the delivery is saved.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jun 2009 04:52:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/put-a-delay-in-the-code/m-p/5714124#M1297039</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-03T04:52:43Z</dc:date>
    </item>
    <item>
      <title>Re: put a delay in the code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/put-a-delay-in-the-code/m-p/5714125#M1297040</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;Instead i suggest you to go for user exit routines available and change the item quantity before the SO gets stored.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are several form routine to help you  achieve your requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Karthik D&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jun 2009 05:16:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/put-a-delay-in-the-code/m-p/5714125#M1297040</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-03T05:16:23Z</dc:date>
    </item>
    <item>
      <title>Re: put a delay in the code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/put-a-delay-in-the-code/m-p/5714126#M1297041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ite, quantity is changing fine with the BAPI. Its the credit that needs to be released with the function module 'SD_ORDER_CREDIT_RELEASE'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jun 2009 05:36:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/put-a-delay-in-the-code/m-p/5714126#M1297041</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-03T05:36:21Z</dc:date>
    </item>
    <item>
      <title>Re: put a delay in the code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/put-a-delay-in-the-code/m-p/5714127#M1297042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First of all, this is really a weired whish. Why do you want to do so? There must be a really good reason for that, cause all those suggesting the wait keyword didnt mention that the wait will do a DATABASE COMMIT and i'm really in doubt that you want to have this in a user exit where you dont have control when und who is executing that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Telling the reason for that may lead to a good solution. Using wait isnt one.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jun 2009 05:54:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/put-a-delay-in-the-code/m-p/5714127#M1297042</guid>
      <dc:creator>rainer_hbenthal</dc:creator>
      <dc:date>2009-06-03T05:54:25Z</dc:date>
    </item>
  </channel>
</rss>

