<?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 Table Maintanence validations in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintanence-validations/m-p/2356227#M520639</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;I have a requierement where i need to create a custom table with 7 feilds. I have created the table and table maintanence also. And while creating entries in table maintanence i need to do some validations like date feild should be defaulted with the today's date(this i did it) and some feilds needs like ready for input after saving also. And while deleting it should check whether that data is 3 year old or not? if so they can delete other wise the canot delete that. For this i have made some code, but how to capture all selected entries which need to delete. Because user may select one entry or multiple!! So please get back to me ASAP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So finally what i rewuire is how to make those fields ready to input and capturing multiple values while deleting...?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards,&lt;/P&gt;&lt;P&gt;raghu...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Jun 2007 02:42:35 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-01T02:42:35Z</dc:date>
    <item>
      <title>Table Maintanence validations</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintanence-validations/m-p/2356227#M520639</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;I have a requierement where i need to create a custom table with 7 feilds. I have created the table and table maintanence also. And while creating entries in table maintanence i need to do some validations like date feild should be defaulted with the today's date(this i did it) and some feilds needs like ready for input after saving also. And while deleting it should check whether that data is 3 year old or not? if so they can delete other wise the canot delete that. For this i have made some code, but how to capture all selected entries which need to delete. Because user may select one entry or multiple!! So please get back to me ASAP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So finally what i rewuire is how to make those fields ready to input and capturing multiple values while deleting...?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards,&lt;/P&gt;&lt;P&gt;raghu...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jun 2007 02:42:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintanence-validations/m-p/2356227#M520639</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-01T02:42:35Z</dc:date>
    </item>
    <item>
      <title>Re: Table Maintanence validations</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintanence-validations/m-p/2356228#M520640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Raghu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go through the following Document&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. specially function group.. what is its significance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When we generate table maintenance,&lt;/P&gt;&lt;P&gt;the system , based upon the table fields,&lt;/P&gt;&lt;P&gt;automatically,&lt;/P&gt;&lt;P&gt;generates &lt;/P&gt;&lt;P&gt;PROGRAM CODE, SCREEN FOR ENTERING DATA,&lt;/P&gt;&lt;P&gt;LOGIC FOR SAVING DATA, LOGIC FOR DISPLAYING DATA &lt;/P&gt;&lt;P&gt;ETC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. All this are BUNCHED under &lt;/P&gt;&lt;P&gt;a FUNCTION GROUP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(if you open that function group in se80, after &lt;/P&gt;&lt;P&gt;creatting table maintenacne,&lt;/P&gt;&lt;P&gt;u will see the program code, screens, gui status etc)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Hence, to BUNCH all these various objects,&lt;/P&gt;&lt;P&gt;SAP uses the concept of function group.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="----------------" /&gt;&lt;P&gt;4. And also why do we need to give two screens there&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its not necessary to have to screens.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5. ONE SCREEN MEANS:&lt;/P&gt;&lt;P&gt;only one screen with table control to enter data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TWO SCREEN means :&lt;/P&gt;&lt;P&gt;first screen : only primary key fields will appear&lt;/P&gt;&lt;P&gt;second screen : rest of the fields will appear to enter data &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;6. When the table consists of many fields,&lt;/P&gt;&lt;P&gt;its practically more convenient to have two screens,&lt;/P&gt;&lt;P&gt;so that all fields come vertically downwards.&lt;/P&gt;&lt;P&gt;(instead of scrolling horizontally in the table &lt;/P&gt;&lt;P&gt;control, in case of one screen concept) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The use of the FG is only this the Table Maintainance Generator part. Neednt be declared anywhere else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes u need to create a FG and the use it in Table maint. gen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See the below thread&lt;/P&gt;&lt;P&gt;/people/sudheer.cheedella/blog/2006/02/20/extracting-data-in-table-maintenance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward Points if it is helpful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Seshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jun 2007 02:53:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintanence-validations/m-p/2356228#M520640</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-01T02:53:17Z</dc:date>
    </item>
    <item>
      <title>Re: Table Maintanence validations</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintanence-validations/m-p/2356229#M520641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raghu,&lt;/P&gt;&lt;P&gt;You can set events on your table.&lt;/P&gt;&lt;P&gt;Go to SE54-&amp;gt;Environment-&amp;gt;Events.&lt;/P&gt;&lt;P&gt;Write a form routine for the events (I guess 01 and 03 would meet your requirement) and code as per your requirement. These events are automatically fired when the conditions are matched (ie, if you have set a form to be executed before saving the data to the database, ie, event 01, it will be executed while data is being saved to the database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Anil Madhavan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jun 2007 02:53:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintanence-validations/m-p/2356229#M520641</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-01T02:53:33Z</dc:date>
    </item>
  </channel>
</rss>

