<?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: Update in initialization in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-in-initialization/m-p/2945908#M694510</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ramesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where you place your code (in which event) will in no way influence performance. You need to make sure that you are using the proper indexes while accessing the table to modify the records. It is also prudent to lock the table using function module ENQUEUE_ESVARVC before updating the table and unlock it using function module DEQUEUE_ESVARVC after updating the table. If you cannot lock the table using function module ENQUEUE_ESVARVC (sy-subrc NE 0) do not attempt to update the table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Oct 2007 18:34:04 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-11T18:34:04Z</dc:date>
    <item>
      <title>Update in initialization</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-in-initialization/m-p/2945902#M694504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;Can we use update statement in initialization to update TVARVC table.&lt;/P&gt;&lt;P&gt;As I need to update a field in TVARVC table  before running the program, and the same field is taken in background execution from tvarvc table.&lt;/P&gt;&lt;P&gt;If this is not possible or acceptable please provide an alternate solution for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Oct 2007 15:49:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-in-initialization/m-p/2945902#M694504</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-10T15:49:11Z</dc:date>
    </item>
    <item>
      <title>Re: Update in initialization</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-in-initialization/m-p/2945903#M694505</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 can write any abap code in Initialization event. But do not use error message as it would abend the report.&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;Navneet.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Oct 2007 16:02:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-in-initialization/m-p/2945903#M694505</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-10T16:02:10Z</dc:date>
    </item>
    <item>
      <title>Re: Update in initialization</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-in-initialization/m-p/2945904#M694506</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;what ever the lines you define under the INITILIZATION event will execute only once through out the program &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you want to write the code then you can do under INITIALIZATION or AT SELECTION-SCREEN OUTPUT &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;these 2 events will trigger before the selection screen display &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and after selection screen display also if you do any action on screen then AT SELCTION-SCREEN OUTPUT will trigger &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward if usefull&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2007 04:40:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-in-initialization/m-p/2945904#M694506</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-11T04:40:13Z</dc:date>
    </item>
    <item>
      <title>Re: Update in initialization</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-in-initialization/m-p/2945905#M694507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;you can take update statement under the initailization event and check the sy-subrc and put it that check as flag like if sy-subrc = 0 then status = 'X', so that you can know whethere update is happend or not&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward with points if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2007 04:47:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-in-initialization/m-p/2945905#M694507</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-11T04:47:22Z</dc:date>
    </item>
    <item>
      <title>Re: Update in initialization</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-in-initialization/m-p/2945906#M694508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ramesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you run an executable type program (Type '1') the first event that gets executed in 'LOAD-OF-PROGRAM'. You can update the field in your table under this event. You can use INITIALIZATION event too.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2007 13:09:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-in-initialization/m-p/2945906#M694508</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-11T13:09:28Z</dc:date>
    </item>
    <item>
      <title>Re: Update in initialization</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-in-initialization/m-p/2945907#M694509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks All for your concern.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need calrification whether this will cause any performance issue or at Q.A review is this going to get rejected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2007 17:40:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-in-initialization/m-p/2945907#M694509</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-11T17:40:20Z</dc:date>
    </item>
    <item>
      <title>Re: Update in initialization</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-in-initialization/m-p/2945908#M694510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ramesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where you place your code (in which event) will in no way influence performance. You need to make sure that you are using the proper indexes while accessing the table to modify the records. It is also prudent to lock the table using function module ENQUEUE_ESVARVC before updating the table and unlock it using function module DEQUEUE_ESVARVC after updating the table. If you cannot lock the table using function module ENQUEUE_ESVARVC (sy-subrc NE 0) do not attempt to update the table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2007 18:34:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-in-initialization/m-p/2945908#M694510</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-11T18:34:04Z</dc:date>
    </item>
  </channel>
</rss>

