<?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: Events in Table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/events-in-table/m-p/8482923#M1652445</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's more work, but you should try to remove the code from here and put it in an event. If the TMG screen is ever changed, the code will be re-generated from scratch and you changes lost.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Dec 2011 23:07:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-12-29T23:07:21Z</dc:date>
    <item>
      <title>Events in Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/events-in-table/m-p/8482907#M1652429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we have one 'Z' table in which date of creation and time fields are filling automaticall when we create a entry.&lt;/P&gt;&lt;P&gt;i know by maintaining the events in 'table main generator' we can achive this.&lt;/P&gt;&lt;P&gt;But i dont see any events added here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can some one tell me is there any other way to maintain the events for a table?&lt;/P&gt;&lt;P&gt;how can i know the maintained events for my table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have searced in SDN but dont find any clue.&lt;/P&gt;&lt;P&gt;please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Krishna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Dec 2011 04:14:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/events-in-table/m-p/8482907#M1652429</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-28T04:14:26Z</dc:date>
    </item>
    <item>
      <title>Re: Events in Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/events-in-table/m-p/8482908#M1652430</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;Check there are some wikis available.[Table maintenance and Events|http://wiki.sdn.sap.com/wiki/display/ABAP/TABLE&lt;EM&gt;MAINTENANCE&lt;/EM&gt;GENERATOR&lt;EM&gt;and&lt;/EM&gt;ITS+EVENTS]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Madhu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Dec 2011 04:18:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/events-in-table/m-p/8482908#M1652430</guid>
      <dc:creator>madhu_vadlamani</dc:creator>
      <dc:date>2011-12-28T04:18:41Z</dc:date>
    </item>
    <item>
      <title>Re: Events in Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/events-in-table/m-p/8482909#M1652431</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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; follow the below scenario..it might be helpful for you..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--&amp;gt;In your ZTABLE  screen  &lt;DEL&gt;&amp;gt; go to menu bar click on Utilities&lt;/DEL&gt;&amp;gt;Table maintainence generator--&amp;gt;then enter required information like authorization group .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;DEL&gt;&amp;gt;Then go to menu bar&lt;/DEL&gt;&amp;gt;click on Environment&lt;DEL&gt;&amp;gt;selectmodification&lt;/DEL&gt;&amp;gt;click on events&lt;/P&gt;&lt;P&gt;then screen is displayed.then Click on F4---&amp;gt;table maitainance dialog event box is displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there you can observe that there are different types of events available like before saving the data, &lt;/P&gt;&lt;P&gt;after saving the data, before deleting, after deleting and others.here you can go with u201CCreating a new entryu201D.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--&amp;gt;then Click on the button in the Editor column and enter the following code: &lt;/P&gt;&lt;P&gt;   (Please note that you should also code FORM and ENDFORM as well)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Form create_Entry.
    
   ZTESTEVENTS-ERDAT = SY-DATUM.
   ZTESTEVENTS-ERNAM = SY-UNAME.
    Endform.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THEN SAVE AND ACTIVATE THE TABLE .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THEN Testing the scenario:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go to SM30 and try creating new entries. Do not enter the values for u201CCreated onu201D and u201CCreated byu201D. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check your entries in the database table. You can observe that the date and user name are automatically filled-in.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Thanks&amp;amp;Regards&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Sreenivas Pachva&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: sreenivas.p on Dec 28, 2011 6:03 AM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: sreenivas.p on Dec 28, 2011 6:09 AM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: sreenivas.p on Dec 28, 2011 6:13 AM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Suhas Saha on Dec 28, 2011 11:46 AM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: sreenivas.p on Dec 29, 2011 5:32 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Dec 2011 04:51:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/events-in-table/m-p/8482909#M1652431</guid>
      <dc:creator>sreenivas_pachva</dc:creator>
      <dc:date>2011-12-28T04:51:44Z</dc:date>
    </item>
    <item>
      <title>Re: Events in Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/events-in-table/m-p/8482910#M1652432</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;Please check this below link, it  may be a very useful PDF link about IMPLEMENTING EVENTS IN TABLE MAINTENANCE which can solve your problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;&lt;EM&gt;&amp;lt;link-farm removed&amp;gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;table maintenance Generator is used to manually input values using transaction sm30&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;follow below steps&lt;/P&gt;&lt;P&gt;1) go to se11 check table maintanance check box under attributes tab&lt;/P&gt;&lt;P&gt;2) utilities-table maintanance Generator-&amp;gt;again from the MENU&lt;/P&gt;&lt;P&gt;ENVIRONMENT-&amp;gt;MODIFICATION-&amp;gt;EVENTS&lt;/P&gt;&lt;P&gt;you can find different events for this Table maintenance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;create function group and assign it under function group input box.&lt;/P&gt;&lt;P&gt;also assign authorization group default &amp;amp;NC&amp;amp; .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) select standard recording routine radio in table table maintenance generator to move table&lt;/P&gt;&lt;P&gt;contents to quality and production by assigning it to request.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4) select maintenance type as single step.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5) maintenance screen as system generated numbers this dialog box appears when you click on create button&lt;/P&gt;&lt;P&gt;6) save and activate table&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;One step, two step in Table Maintenance Generator&lt;/P&gt;&lt;P&gt;Single step: Only overview screen is created i.e. the Table Maintenance Program will have only one screen where you can add, delete or edit records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Two step: Two screens namely the overview screen and Single screen are created. The user can see the key fields in the first screen and can further go on to edit further details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[http://wiki.sdn.sap.com/wiki/display/ABAP/TABLE&lt;EM&gt;MAINTENANCE&lt;/EM&gt;GENERATOR&lt;EM&gt;and&lt;/EM&gt;ITS+EVENTS]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[/message/2831202#2831202 &lt;B&gt;[original link is broken]&lt;/B&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[/message/2831202#2831202 &lt;B&gt;[original link is broken]&lt;/B&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    Warm Regards&lt;/P&gt;&lt;P&gt;      NZAB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Suhas Saha on Dec 28, 2011 11:46 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Dec 2011 05:18:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/events-in-table/m-p/8482910#M1652432</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-28T05:18:31Z</dc:date>
    </item>
    <item>
      <title>Re: Events in Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/events-in-table/m-p/8482911#M1652433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello friend,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please go through this link.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="1581126"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can add the fields values using the code also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your are not able to solve your doubt revert back to me i will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sri  Hari&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Dec 2011 05:35:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/events-in-table/m-p/8482911#M1652433</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-28T05:35:27Z</dc:date>
    </item>
    <item>
      <title>Re: Events in Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/events-in-table/m-p/8482912#M1652434</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; check the following links:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;&lt;EM&gt;&amp;lt;link-farm removed&amp;gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Warm Regards,&lt;/P&gt;&lt;P&gt;PavanKumar.G&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Suhas Saha on Dec 28, 2011 11:48 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Dec 2011 06:09:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/events-in-table/m-p/8482912#M1652434</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-28T06:09:10Z</dc:date>
    </item>
    <item>
      <title>Re: Events in Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/events-in-table/m-p/8482913#M1652435</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;&lt;/P&gt;&lt;P&gt;Try to understand the OP's problem &amp;amp; provide your inputs accordingly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please refrain yourself from spoon-feeding &amp;amp; don't post link-farms. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your support &amp;amp; happy posting!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Dec 2011 06:23:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/events-in-table/m-p/8482913#M1652435</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2011-12-28T06:23:29Z</dc:date>
    </item>
    <item>
      <title>Re: Events in Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/events-in-table/m-p/8482914#M1652436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks All for your reply,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the problem currently am having is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we have one z table.&lt;/P&gt;&lt;P&gt;for this table under table main generator&lt;DEL&gt;&amp;gt;environment&lt;/DEL&gt;&amp;gt;Modifications--&amp;gt;Events there are no events defined.&lt;/P&gt;&lt;P&gt;But when i create a entry in the Z table, creation date and time fields are filling automatically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i wanted to know is , is there any other method available to define Evevts in table?&lt;/P&gt;&lt;P&gt;How can i know the maintained events for my table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Krishna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Dec 2011 08:45:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/events-in-table/m-p/8482914#M1652436</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-28T08:45:39Z</dc:date>
    </item>
    <item>
      <title>Re: Events in Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/events-in-table/m-p/8482915#M1652437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be some code is written in PAI of maintainence screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go to User TMG double click on screen number and check if some custom code is written there in PAI for defaulting the values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nabheet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Dec 2011 08:47:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/events-in-table/m-p/8482915#M1652437</guid>
      <dc:creator>nabheetscn</dc:creator>
      <dc:date>2011-12-28T08:47:36Z</dc:date>
    </item>
    <item>
      <title>Re: Events in Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/events-in-table/m-p/8482916#M1652438</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;Do you mean the domain MAINTEVENT contains no values on your system ? and you cannot create a new entry in V_TVIMF view table? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;added: OK just get it...srry &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt; you want to remove that "thing" that is defaulting your values... &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...The only think I can think of is what Nabheet suggested: Check the PAI of your TM screen...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kr,&lt;/P&gt;&lt;P&gt;Manu.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Manu D'Haeyer on Dec 28, 2011 10:32 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Dec 2011 09:26:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/events-in-table/m-p/8482916#M1652438</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-28T09:26:42Z</dc:date>
    </item>
    <item>
      <title>Re: Events in Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/events-in-table/m-p/8482917#M1652439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello friend,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you saw my link???&lt;/P&gt;&lt;P&gt;I think its having the necessary information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see that and let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sri Hari&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Dec 2011 10:42:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/events-in-table/m-p/8482917#M1652439</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-28T10:42:59Z</dc:date>
    </item>
    <item>
      <title>Re: Events in Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/events-in-table/m-p/8482918#M1652440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi krishna&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you know how to maintain table maintenance generator,  just briefly I will explain you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After creation of Fields and Data Elements, &lt;/P&gt;&lt;P&gt;Go to Table Maintenance Generator: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;The path is Menu -&amp;gt; Utilities -&amp;gt; Table Maintenance Generator

Enter the details as : Table /View = your table name
                                 Authorization group = &amp;amp;NC&amp;amp; (i.e.,  without authorization group)
                                 Authorization object = S_TABU_DIS
                                 Function group =  Your function group
                                 package = your package
Under Maintenance Screen
                    
                      Maintenace type : select two step
and Maintain the screen numbers&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now click on Environment -&amp;gt; Modification -&amp;gt; Events&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The screen will be displayed before you, here&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just place your cursor in the T field (i.e., Table Maintenance dialog field)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then Click on F4. Following entries will be  displayed before you, here you can select the event which is suitable to your requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here you can observe that there are different types of events available like before saving the data, after saving the data, before deleting, after deleting and others. Let us go with u201CCreating a new entryu201D. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Click on the button in the Editor column and enter the following code: (Please note that you should also code FORM and ENDFORM as well).  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;under that include e.g., LyourprognameF01&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Form Event_create.
yourprogname-ERDAT = SY-DATUM.
Endform.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Save and activate the table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Testing the scenario: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go to SM30 and try creating new entries. Do not enter the values for u201CCreated onu201D and u201CCreated byu201D. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Warm Regards&lt;/P&gt;&lt;P&gt;  NZAB&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Dec 2011 11:10:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/events-in-table/m-p/8482918#M1652440</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-28T11:10:17Z</dc:date>
    </item>
    <item>
      <title>Re: Events in Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/events-in-table/m-p/8482919#M1652441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@ Sri Hari, @NZAB,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is not about creating event for a maintenance view....But to know why some fields are automatically filled without any event beeing maintained &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Dec 2011 11:24:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/events-in-table/m-p/8482919#M1652441</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-28T11:24:41Z</dc:date>
    </item>
    <item>
      <title>Re: Events in Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/events-in-table/m-p/8482920#M1652442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Two things you can try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Debug.&lt;/P&gt;&lt;P&gt;2) Go to the main program of the function group of the TMG and do a (global) where used list of the data element(s) of the fields being automatically filled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Dec 2011 18:42:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/events-in-table/m-p/8482920#M1652442</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-28T18:42:29Z</dc:date>
    </item>
    <item>
      <title>Re: Events in Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/events-in-table/m-p/8482921#M1652443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Rob/Nabheet/Manu ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at alst i got that under Function Group PAI Module, custom code is added which we genrally use in the events.&lt;/P&gt;&lt;P&gt;But this code is added between MODULE..and ENDMODULE. we genrally write in FORM..and ENDFORM.&lt;/P&gt;&lt;P&gt;But i cant see this under table events of TMG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i tried the same thing(added the same code in PAI) by creating another table.&lt;/P&gt;&lt;P&gt;but this is not working.(creation date and time are not filling).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can anybody try this and let me know where am going wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Krishna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Dec 2011 09:20:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/events-in-table/m-p/8482921#M1652443</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-29T09:20:33Z</dc:date>
    </item>
    <item>
      <title>Re: Events in Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/events-in-table/m-p/8482922#M1652444</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;The screen has modules and inside module you can call your subroutines.  So some custom code is written in PAI module that is why it is getting filled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please tell which table have you created what are the fileds and where have you inserted your module in PAI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nabhete&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Dec 2011 09:29:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/events-in-table/m-p/8482922#M1652444</guid>
      <dc:creator>nabheetscn</dc:creator>
      <dc:date>2011-12-29T09:29:32Z</dc:date>
    </item>
    <item>
      <title>Re: Events in Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/events-in-table/m-p/8482923#M1652445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's more work, but you should try to remove the code from here and put it in an event. If the TMG screen is ever changed, the code will be re-generated from scratch and you changes lost.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Dec 2011 23:07:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/events-in-table/m-p/8482923#M1652445</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-29T23:07:21Z</dc:date>
    </item>
    <item>
      <title>Re: Events in Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/events-in-table/m-p/8482924#M1652446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks SDN and All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my issue got resolved. under Table main generator--&amp;gt;events there are no events showing but for new and changed records date and time populating properly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here is the solution:&lt;/P&gt;&lt;P&gt;PAI Module of function Group, add the same code which we genrally add while creating the evevts in TMG.&lt;/P&gt;&lt;P&gt;but the code should be added between Module...and ENDMODULE.&lt;/P&gt;&lt;P&gt;then under the Screen area of the Function Group, call the module in flow logic area at below 2 places.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   MODULE LISTE_INIT_WORKAREA.&lt;/P&gt;&lt;P&gt;     MODULE ZMODULE.                              " For New Records.&lt;/P&gt;&lt;P&gt;           .&lt;/P&gt;&lt;P&gt;           .&lt;/P&gt;&lt;P&gt;           .&lt;/P&gt;&lt;P&gt;        MODULE ZMODULE.&lt;/P&gt;&lt;P&gt;    MODULE LISTE_UPDATE_LISTE.            " For changed records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Krishna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Dec 2011 09:00:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/events-in-table/m-p/8482924#M1652446</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-30T09:00:19Z</dc:date>
    </item>
  </channel>
</rss>

