<?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: Table Maintenance Generator in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-generator/m-p/640727#M27243</link>
    <description>&lt;P&gt;Why not create a table quickly, and generate a table maintenance, and try it? Then write a blog about your experiences?&lt;/P&gt;</description>
    <pubDate>Wed, 04 Apr 2018 06:54:45 GMT</pubDate>
    <dc:creator>matt</dc:creator>
    <dc:date>2018-04-04T06:54:45Z</dc:date>
    <item>
      <title>Table Maintenance Generator</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-generator/m-p/640725#M27241</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;If there exists a TMG for a custom table with few of its TMG events implemented for validation or auto-fill purposes then, how would these events be impacted when TMG needs to be regenerated in the following scenarios, i.e., when:&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;1. A new field is added to the custom table.&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;2. An existing field of the custom table is deleted, and the field has been referred to in one of those TMG events previously implemented.&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;Best Regards,&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;Vishwanath&lt;/P&gt;</description>
      <pubDate>Tue, 03 Apr 2018 20:40:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-generator/m-p/640725#M27241</guid>
      <dc:creator>VishwanathV</dc:creator>
      <dc:date>2018-04-03T20:40:10Z</dc:date>
    </item>
    <item>
      <title>Re: Table Maintenance Generator</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-generator/m-p/640726#M27242</link>
      <description>&lt;P&gt;&lt;/P&gt;
  &lt;P&gt;Hi Vishwanath,&lt;/P&gt;
  &lt;P&gt;AFAIK, the events of TMG will not be changed after any regeneration of the table.&lt;/P&gt;
  &lt;P&gt;However, as you interact with table data in events not directly, but via generic tables TOTAL and EXTRACT, the event code will not be affected.&lt;/P&gt;
  &lt;P&gt;But at the runtime, if some fields were changed or deleted, you probably will get a dump, when you will try to dynamically assign non-existent field.&lt;/P&gt;
  &lt;P&gt;To avoid it, always check after each assign operation, if it was done successful. And as a good practice process errors with a proper error message.&lt;/P&gt;
  &lt;P&gt;tl;dr:&lt;/P&gt;
  &lt;P&gt;1. new field - check if field sequence isn't used somehow, otherwise it will be ok;&lt;/P&gt;
  &lt;P&gt;2. change or delete - after regeneration event code will stay active, but dynamic assigns to changes or deleted fields will cause runtime errors.&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;Best regards,&lt;/P&gt;
  &lt;P&gt;Ilya&lt;/P&gt;</description>
      <pubDate>Tue, 03 Apr 2018 21:37:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-generator/m-p/640726#M27242</guid>
      <dc:creator>former_member234832</dc:creator>
      <dc:date>2018-04-03T21:37:57Z</dc:date>
    </item>
    <item>
      <title>Re: Table Maintenance Generator</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-generator/m-p/640727#M27243</link>
      <description>&lt;P&gt;Why not create a table quickly, and generate a table maintenance, and try it? Then write a blog about your experiences?&lt;/P&gt;</description>
      <pubDate>Wed, 04 Apr 2018 06:54:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-generator/m-p/640727#M27243</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2018-04-04T06:54:45Z</dc:date>
    </item>
  </channel>
</rss>

