<?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 maintanence in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintanence/m-p/2590379#M593021</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Event 21 is to Fill the Hidden fields ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what want is, if i change 3 records then the only those 3 records should be updated with the User name and the Date&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; Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 31 Jul 2007 13:35:52 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-31T13:35:52Z</dc:date>
    <item>
      <title>Table maintanence</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintanence/m-p/2590371#M593013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I created a Custom table with table maintenance generator, in that table i have 10 fields including User name and the date, when the user Create/Change any record through the table maintenance these 2 fields (User name and the Date) should be filled automatically. could anybody tell me where should i write the code to update these 2 fields automatically&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; Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2007 15:12:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintanence/m-p/2590371#M593013</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-30T15:12:16Z</dc:date>
    </item>
    <item>
      <title>Re: Table maintanence</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintanence/m-p/2590372#M593014</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 write it in the function module that is generated when you create table maintenance generator.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So goto that function group and then select the function module that got generated and change the function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The best way is to goto that screen of table maintancen generator and from there goto System-&amp;gt;Status, from here goto the screen and then the function module which has this screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once you know the field you canm just initialize these two fields with SY-UNAME and SY-DATUM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2007 15:18:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintanence/m-p/2590372#M593014</guid>
      <dc:creator>seshatalpasai_madala</dc:creator>
      <dc:date>2007-07-30T15:18:41Z</dc:date>
    </item>
    <item>
      <title>Re: Table maintanence</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintanence/m-p/2590373#M593015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please see this below link   itwas  given  exactly your requirement   as  screen shot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use the event    for that in the  table maintainance generator ... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use the exact even  05  .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;a href="http://"&amp;gt;https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8129f164-0a01-0010-2a8e-8765287250fc&amp;lt;/a&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward  points if it is usefulll ......&lt;/P&gt;&lt;P&gt;Girish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2007 15:27:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintanence/m-p/2590373#M593015</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-30T15:27:54Z</dc:date>
    </item>
    <item>
      <title>Re: Table maintanence</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintanence/m-p/2590374#M593016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;U can write code in flow logic of the screen of maintenance view.&lt;/P&gt;&lt;P&gt;i have tried it..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if useful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Prax&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2007 18:06:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintanence/m-p/2590374#M593016</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-30T18:06:26Z</dc:date>
    </item>
    <item>
      <title>Re: Table maintanence</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintanence/m-p/2590375#M593017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Between Loop.. ENDLOOP.&lt;/P&gt;&lt;P&gt;paste ur code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
 LOOP AT EXTRACT.
 

    MODULE LISTE_INIT_WORKAREA. &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;lt;u&amp;gt;*** This is ur code &amp;lt;/u&amp;gt;   &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;   CHAIN.
      FIELD ZPRAX-NAME .
      FIELD ZPRAX-AGE .
      MODULE set_user_date on chain-request.
    endchain.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;lt;u&amp;gt;*** This is ur code  &amp;lt;/u&amp;gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;    CHAIN.
      FIELD ZPRAX-NAME .
      FIELD ZPRAX-AGE .
      FIELD ZPRAX-USERNAME .
      FIELD ZPRAX-DATE1 .
      MODULE SET_UPDATE_FLAG ON CHAIN-REQUEST.
    ENDCHAIN.
    FIELD VIM_MARKED MODULE LISTE_MARK_CHECKBOX.
    CHAIN.
      FIELD ZPRAX-NAME .
      MODULE LISTE_UPDATE_LISTE.
    ENDCHAIN.
  ENDLOOP.

*and
*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;      Module  set_user_date  INPUT
*&amp;amp;---------------------------------------------------------------------*
*       text
*----------------------------------------------------------------------*
MODULE set_user_date INPUT.

  zprax-username = sy-uname.
  zprax-date1 = sy-datum.

ENDMODULE.                 " set_user_date  INPUT


&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if useful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Prax&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2007 18:15:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintanence/m-p/2590375#M593017</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-30T18:15:10Z</dc:date>
    </item>
    <item>
      <title>Re: Table maintanence</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintanence/m-p/2590376#M593018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Let me know in case you still have issue since this can be handled by events.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Nishant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2007 06:38:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintanence/m-p/2590376#M593018</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-31T06:38:51Z</dc:date>
    </item>
    <item>
      <title>Re: Table maintanence</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintanence/m-p/2590377#M593019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am writing the code in the EVENTS of the table maintanence genarator(Environment --&amp;gt; Modifications --&amp;gt; Events) i have writn the code in 01,02,05 nad 18. but it is updating the last record only, i mean if i have 10 records then it is updating only the 10th record even if i change all the records from the table maintanence. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want in this way --&amp;gt; if i change the 5th record then the User name and the date should be updated for only 5th record, if i change the 9th record then these 2 fields should be updated to only the 9th record ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;anybody tell is there any other way to update the table maintanence other than this EVENTS, or this is the only one wat to update the table maintanence.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Note:&amp;lt;/b&amp;gt; If i write the code in the Screen this will work, but if i regenerate the screens, then the code will not avilable ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt; Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2007 13:19:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintanence/m-p/2590377#M593019</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-31T13:19:47Z</dc:date>
    </item>
    <item>
      <title>Re: Table maintanence</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintanence/m-p/2590378#M593020</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 your code in Event 21. and fill these values&lt;/P&gt;&lt;P&gt;  I hope this will work.&lt;/P&gt;&lt;P&gt;  Reward points if useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mohan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2007 13:28:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintanence/m-p/2590378#M593020</guid>
      <dc:creator>MohanChauhan</dc:creator>
      <dc:date>2007-07-31T13:28:05Z</dc:date>
    </item>
    <item>
      <title>Re: Table maintanence</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintanence/m-p/2590379#M593021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Event 21 is to Fill the Hidden fields ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what want is, if i change 3 records then the only those 3 records should be updated with the User name and the Date&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; Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2007 13:35:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintanence/m-p/2590379#M593021</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-31T13:35:52Z</dc:date>
    </item>
  </channel>
</rss>

