<?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 Maintainance query in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintainance-query/m-p/1443076#M210538</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mahesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use event '02 - after saving data in the database'. Now in your code, you can do it like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if not itab1-field1 is initial and&lt;/P&gt;&lt;P&gt;   not itab1-field2 is initial and&lt;/P&gt;&lt;P&gt;   not itab1-field3 is initial and &lt;/P&gt;&lt;P&gt;   not itab1-field4 is initial.&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt;   move '0' to itab1-field5.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am assuming that all 4 fields must be filled with values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S. Please award points for useful answers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Jul 2006 06:30:22 GMT</pubDate>
    <dc:creator>aris_hidalgo</dc:creator>
    <dc:date>2006-07-07T06:30:22Z</dc:date>
    <item>
      <title>Table Maintainance query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintainance-query/m-p/1443073#M210535</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;I have a query in table maintainance I have 5 fields in my custom table and it has table maintainance generator now my requirement is when user enters data for the 4 fields and press enter or save, automatically the 5th field has to set to '0' in the table maintainance this is the requriement can any body give some idea on this?&lt;/P&gt;&lt;P&gt;which event I have to write this code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&amp;amp;Regards&lt;/P&gt;&lt;P&gt;Mahesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jul 2006 05:40:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintainance-query/m-p/1443073#M210535</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-07T05:40:24Z</dc:date>
    </item>
    <item>
      <title>Re: Table Maintainance query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintainance-query/m-p/1443074#M210536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can do that by activating the events of the table maintenance. I think in this case you can use 02 event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This document details out the process&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/8129f164-0a01-0010-2a8e-8765287250fc" target="test_blank"&gt;https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/8129f164-0a01-0010-2a8e-8765287250fc&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;P&gt;Note : Please mark all the helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jul 2006 05:47:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintainance-query/m-p/1443074#M210536</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-07T05:47:25Z</dc:date>
    </item>
    <item>
      <title>Re: Table Maintainance query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintainance-query/m-p/1443075#M210537</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;  Try inserting your code in PAI of user includes in the function module generated by Table maintenance generator,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jul 2006 06:16:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintainance-query/m-p/1443075#M210537</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-07T06:16:56Z</dc:date>
    </item>
    <item>
      <title>Re: Table Maintainance query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintainance-query/m-p/1443076#M210538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mahesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use event '02 - after saving data in the database'. Now in your code, you can do it like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if not itab1-field1 is initial and&lt;/P&gt;&lt;P&gt;   not itab1-field2 is initial and&lt;/P&gt;&lt;P&gt;   not itab1-field3 is initial and &lt;/P&gt;&lt;P&gt;   not itab1-field4 is initial.&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt;   move '0' to itab1-field5.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am assuming that all 4 fields must be filled with values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S. Please award points for useful answers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jul 2006 06:30:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintainance-query/m-p/1443076#M210538</guid>
      <dc:creator>aris_hidalgo</dc:creator>
      <dc:date>2006-07-07T06:30:22Z</dc:date>
    </item>
    <item>
      <title>Re: Table Maintainance query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintainance-query/m-p/1443077#M210539</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;1. Go to transaction SE54&lt;/P&gt;&lt;P&gt;2. Specify your table name&lt;/P&gt;&lt;P&gt;3. From the Menu &lt;DEL&gt;&amp;gt; Environments&lt;/DEL&gt;&amp;gt;Events&lt;/P&gt;&lt;P&gt;4. Press "New Entries" button in the next screen&lt;/P&gt;&lt;P&gt;5. Press F4 in the first column&lt;/P&gt;&lt;P&gt;6. Select the event like ..&lt;/P&gt;&lt;P&gt;   02 - After saving the data in the database &lt;/P&gt;&lt;P&gt;7. Specify the perform in the next cell&lt;/P&gt;&lt;P&gt;   Note: This perform you should have created under   &lt;/P&gt;&lt;P&gt;         the Function Group. This function group is &lt;/P&gt;&lt;P&gt;         nothing but the FG created while creating &lt;/P&gt;&lt;P&gt;         Table Maintenence Generator.&lt;/P&gt;&lt;P&gt;8. Now in this perform you can write the code to populate &lt;/P&gt;&lt;P&gt;   the values according to your requirement.&lt;/P&gt;&lt;P&gt;9. To test keep a break point and check.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regs,&lt;/P&gt;&lt;P&gt;Venkat Ramanan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jul 2006 06:39:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintainance-query/m-p/1443077#M210539</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-07T06:39:15Z</dc:date>
    </item>
  </channel>
</rss>

