<?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: Automatic Update In Table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-update-in-table/m-p/6129890#M1365227</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;This can be easily achieved using table maintainence events .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For automatic data and time and user name popultion , do foll steps &lt;/P&gt;&lt;P&gt;1. open table in SE11 in change mode .&lt;/P&gt;&lt;P&gt;2. Utilities-&amp;gt; tbl maintainence&lt;/P&gt;&lt;P&gt;3. Environment-&amp;gt;events&lt;/P&gt;&lt;P&gt;4. You will info message , press enter .&lt;/P&gt;&lt;P&gt;5. F5 &lt;/P&gt;&lt;P&gt;6. the event to be triggered at creating entry is 05. name the form routine as AT_NEWENTRY.&lt;/P&gt;&lt;P&gt;7. Double click on AT_NEWENTRY&lt;/P&gt;&lt;P&gt;8. In the include , write &lt;/P&gt;&lt;P&gt;  form at_newentry .  " ZAVLZ4 is my table&lt;/P&gt;&lt;P&gt;    clear : zavlz4-uname , zavlz4-datum .&lt;/P&gt;&lt;P&gt;    zavlz4-uname = sy-uname .&lt;/P&gt;&lt;P&gt;    zavlz4-datum = sy-datlo .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  endform .                    "at_newentry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;9. to make some fields as input , open the Functiopn group in SE80 and open that screen -&amp;gt; go to elemtn list on right side and select the checkbox OUTPUT against the fields you want to make non input/ non editable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will solve your issues .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Sep 2009 09:56:57 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-09-08T09:56:57Z</dc:date>
    <item>
      <title>Automatic Update In Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-update-in-table/m-p/6129889#M1365226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Consider the following scenario:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. We have a table with table maintainance (SM30).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Whenever a user creates or modifies an entry through its maintanance view, the table should automatically be updated by the username and system time for that row. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Also, the user name and time should NOT be modifiable in the maintanance view (automatic update).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The table structure something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;KeyField1    KeyField2    DataField1    DataField2    DataField3    DataField4 (Changed By)    DataField5 (Changed At)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. What should we do if we want to allow ONLY ceration of new entries and do NOT  allow any modification of existing entries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5. The above stated functionalities can be achieved through an ABAP program. But, how can we do it using table maintanance generator (if at all it is possible !) ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Sep 2009 09:47:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-update-in-table/m-p/6129889#M1365226</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-08T09:47:17Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic Update In Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-update-in-table/m-p/6129890#M1365227</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;This can be easily achieved using table maintainence events .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For automatic data and time and user name popultion , do foll steps &lt;/P&gt;&lt;P&gt;1. open table in SE11 in change mode .&lt;/P&gt;&lt;P&gt;2. Utilities-&amp;gt; tbl maintainence&lt;/P&gt;&lt;P&gt;3. Environment-&amp;gt;events&lt;/P&gt;&lt;P&gt;4. You will info message , press enter .&lt;/P&gt;&lt;P&gt;5. F5 &lt;/P&gt;&lt;P&gt;6. the event to be triggered at creating entry is 05. name the form routine as AT_NEWENTRY.&lt;/P&gt;&lt;P&gt;7. Double click on AT_NEWENTRY&lt;/P&gt;&lt;P&gt;8. In the include , write &lt;/P&gt;&lt;P&gt;  form at_newentry .  " ZAVLZ4 is my table&lt;/P&gt;&lt;P&gt;    clear : zavlz4-uname , zavlz4-datum .&lt;/P&gt;&lt;P&gt;    zavlz4-uname = sy-uname .&lt;/P&gt;&lt;P&gt;    zavlz4-datum = sy-datlo .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  endform .                    "at_newentry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;9. to make some fields as input , open the Functiopn group in SE80 and open that screen -&amp;gt; go to elemtn list on right side and select the checkbox OUTPUT against the fields you want to make non input/ non editable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will solve your issues .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Sep 2009 09:56:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-update-in-table/m-p/6129890#M1365227</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-08T09:56:57Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic Update In Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-update-in-table/m-p/6129891#M1365228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In se11--&amp;gt; give u r table name press the display button&lt;/P&gt;&lt;P&gt;from utilities tab--&amp;gt; go to table maintaince generator --&amp;gt; in tat u will find SOURCE CODE push button&lt;/P&gt;&lt;P&gt;You can change your code over there&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: sugunav on Sep 8, 2009 3:42 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Sep 2009 10:07:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-update-in-table/m-p/6129891#M1365228</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-08T10:07:26Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic Update In Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-update-in-table/m-p/6129892#M1365229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Problem solved&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Sep 2009 17:57:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-update-in-table/m-p/6129892#M1365229</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-22T17:57:13Z</dc:date>
    </item>
  </channel>
</rss>

