<?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 maintenence in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenence/m-p/2751073#M639854</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. WHY Table Maintance ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The MAIN purpose is to &lt;/P&gt;&lt;P&gt;allow ADD/EDIT/DELETE&lt;/P&gt;&lt;P&gt;of records in a TABLE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Further to it,&lt;/P&gt;&lt;P&gt;thru table maintance generatro&lt;/P&gt;&lt;P&gt;and some extra work,&lt;/P&gt;&lt;P&gt;it is also possible to&lt;/P&gt;&lt;P&gt;use the events of it&lt;/P&gt;&lt;P&gt;and PUT SOME VALIDATIONS&lt;/P&gt;&lt;P&gt;while inserting / editing / deleting &lt;/P&gt;&lt;P&gt;the records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. The table maintance generator&lt;/P&gt;&lt;P&gt;uses the concept of function group&lt;/P&gt;&lt;P&gt;and AUTOMATICALLY GENERATES&lt;/P&gt;&lt;P&gt;THE SCREENS&lt;/P&gt;&lt;P&gt;BASED UPON THE FIELDS OF THAT TABLE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HOW TO CREATE THE TABLE MAINTENANCE GENERATOR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Open SAP tables for direct maintenance &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1 GO TO SE 11. ENTER THE TABLE NAME&lt;/P&gt;&lt;P&gt;2 GO TO UTILITIES - TABLE MAINTENANCE GENERATOR&lt;/P&gt;&lt;P&gt;3 GIVE AUTHERIZATION GROUP(&amp;amp;NC&amp;amp;)&lt;/P&gt;&lt;P&gt;4 GIVE FUNCTION GROUP and PACKAGE NAME&lt;/P&gt;&lt;P&gt;5 SELECT SCREEN NUMBER&lt;/P&gt;&lt;P&gt;6 SAVE &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To delete entries in internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sort itab by field.&lt;/P&gt;&lt;P&gt;delete adjacent duplicates from  itab comparing field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Aug 2007 14:20:58 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-29T14:20:58Z</dc:date>
    <item>
      <title>table maintenence</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenence/m-p/2751068#M639849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what is the use for table maintenence generator and where wil we use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; plzz.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and also how to eleminate duplicate entries in internal table ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2007 14:14:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenence/m-p/2751068#M639849</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-29T14:14:21Z</dc:date>
    </item>
    <item>
      <title>Re: table maintenence</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenence/m-p/2751069#M639850</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;&amp;lt;b&amp;gt;Table Maintenance Generator&amp;lt;/b&amp;gt; .&lt;/P&gt;&lt;P&gt;sm50 is the transaction for table maintainance generator it is used to add multiple entries in to the data base throw sm54 we can create table maintainace generator and some times ita is used for transporting also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Well the purpose of table maintainence generator is to enable the table maintenance through SM30, and to implement and validation etc on table field inputs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SE11-&amp;gt;Utillities-&amp;gt;table maintainence generator&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to enter the values of following fields:&lt;/P&gt;&lt;P&gt;1. Table name&lt;/P&gt;&lt;P&gt;2. Authorization group , and authorization object (select the suitable one )&lt;/P&gt;&lt;P&gt;3. Function group and package &lt;/P&gt;&lt;P&gt;4. Maintainence type : single or double screen maintainence view depending on the option selected.&lt;/P&gt;&lt;P&gt;5. Maintain screen number : you may specify a value or let the system generate one for you. &lt;/P&gt;&lt;P&gt;The validation code for the table entry is written in the flow logic of this screen. Even some of the fields may be made display only , by adding suitable code in the logic or directly disabling the input in table control in the layout.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt; Activate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;To elemeinate Duplicate entries:&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Sort the internal table first then, use DELETE ADJACENT DUPLICATES FROM ITAB.&lt;/P&gt;&lt;P&gt;Then all the duplicate entries will be deleted&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>Wed, 29 Aug 2007 14:16:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenence/m-p/2751069#M639850</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-29T14:16:54Z</dc:date>
    </item>
    <item>
      <title>Re: table maintenence</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenence/m-p/2751070#M639851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Uttam,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table maintenence is used to maintain the entries in table. Like adding, modifying and deleting etc. Goto SM30 to maintain.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For deleting duplicates:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sort itab by key fields depending on what your criteria is to delete duplicates, then &lt;/P&gt;&lt;P&gt;Delete Adjacent duplicates comparing them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SORT itab BY a , b, c.&lt;/P&gt;&lt;P&gt;DELETE ADJACENT DUPLICATES from itab comparing a b c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2007 14:17:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenence/m-p/2751070#M639851</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-29T14:17:27Z</dc:date>
    </item>
    <item>
      <title>Re: table maintenence</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenence/m-p/2751071#M639852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Uttam,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use of table maintence generator..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Well the purpose of table maintainence generator is to enable the table maintenance through SM30, and to implement and validation etc on table field inputs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SE11-&amp;gt;Utillities-&amp;gt;table maintainence generator&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to enter the values of following fields:&lt;/P&gt;&lt;P&gt;1. Table name&lt;/P&gt;&lt;P&gt;2. Authorization group , and authorization object (select the suitable one )&lt;/P&gt;&lt;P&gt;3. Function group and package &lt;/P&gt;&lt;P&gt;4. Maintainence type : single or double screen maintainence view depending on the option selected.&lt;/P&gt;&lt;P&gt;5. Maintain screen number : you may specify a value or let the system generate one for you. &lt;/P&gt;&lt;P&gt;The validation code for the table entry is written in the flow logic of this screen. Even some of the fields may be made display only , by adding suitable code in the logic or directly disabling the input in table control in the layout.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt; Activate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We can delete the duplicate entries in internal table as shown bellow...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;sort itab.
delete adjacent duplicates from itab.&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;--&lt;/P&gt;&lt;P&gt;Sasi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2007 14:19:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenence/m-p/2751071#M639852</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-29T14:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: table maintenence</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenence/m-p/2751072#M639853</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;T-code is SM30 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you want to enter data into database table you can go for se16 but there you can have access to enter record by record at a time &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but in SM30 you can enter any number of records at a time &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and total table maintance will be done under this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mostely we will use this for multiple data entry &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if usefull&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2007 14:20:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenence/m-p/2751072#M639853</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-29T14:20:04Z</dc:date>
    </item>
    <item>
      <title>Re: table maintenence</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenence/m-p/2751073#M639854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. WHY Table Maintance ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The MAIN purpose is to &lt;/P&gt;&lt;P&gt;allow ADD/EDIT/DELETE&lt;/P&gt;&lt;P&gt;of records in a TABLE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Further to it,&lt;/P&gt;&lt;P&gt;thru table maintance generatro&lt;/P&gt;&lt;P&gt;and some extra work,&lt;/P&gt;&lt;P&gt;it is also possible to&lt;/P&gt;&lt;P&gt;use the events of it&lt;/P&gt;&lt;P&gt;and PUT SOME VALIDATIONS&lt;/P&gt;&lt;P&gt;while inserting / editing / deleting &lt;/P&gt;&lt;P&gt;the records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. The table maintance generator&lt;/P&gt;&lt;P&gt;uses the concept of function group&lt;/P&gt;&lt;P&gt;and AUTOMATICALLY GENERATES&lt;/P&gt;&lt;P&gt;THE SCREENS&lt;/P&gt;&lt;P&gt;BASED UPON THE FIELDS OF THAT TABLE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HOW TO CREATE THE TABLE MAINTENANCE GENERATOR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Open SAP tables for direct maintenance &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1 GO TO SE 11. ENTER THE TABLE NAME&lt;/P&gt;&lt;P&gt;2 GO TO UTILITIES - TABLE MAINTENANCE GENERATOR&lt;/P&gt;&lt;P&gt;3 GIVE AUTHERIZATION GROUP(&amp;amp;NC&amp;amp;)&lt;/P&gt;&lt;P&gt;4 GIVE FUNCTION GROUP and PACKAGE NAME&lt;/P&gt;&lt;P&gt;5 SELECT SCREEN NUMBER&lt;/P&gt;&lt;P&gt;6 SAVE &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To delete entries in internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sort itab by field.&lt;/P&gt;&lt;P&gt;delete adjacent duplicates from  itab comparing field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2007 14:20:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenence/m-p/2751073#M639854</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-29T14:20:58Z</dc:date>
    </item>
    <item>
      <title>Re: table maintenence</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenence/m-p/2751074#M639855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the purpose of table maintainence generator is to enable the table maintenance through SM30, and to implement and validation etc on table field inputs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here are the steps to create the table maitenance generator for a ZTable :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.SE11.&lt;/P&gt;&lt;P&gt;2.CHOOSE TABLE.&lt;/P&gt;&lt;P&gt;3.UTILITIES---&amp;gt;TABLE MAINT GENERATOR.&lt;/P&gt;&lt;P&gt;4.AUTH GRP : W/O AUTH.&lt;/P&gt;&lt;P&gt;5.FUNCTION GRP: PROJ DEPENDENT (SEE CREATE FUNC GROUP).&lt;/P&gt;&lt;P&gt;6.MAINT TYPE : 2 STEP.&lt;/P&gt;&lt;P&gt;7.MAINT. SCR NO. : CLICK APPL BUTTON | FIND SCR. NUMBER(S) |&lt;/P&gt;&lt;P&gt;8.CHOOSE PROPOSE SCREEN NO FROM POPUP.&lt;/P&gt;&lt;P&gt;9.REMEMBER OVERVIEW SCR NO.&lt;/P&gt;&lt;P&gt;10.CLICK CREATE BUTTON ON APPL TOOL BAR.&lt;/P&gt;&lt;P&gt;11.CLICK SAVE ON FUNC TOOL BAR.&lt;/P&gt;&lt;P&gt;12.GO TO SE93. TO CREATE TRANSACTION CODE.&lt;/P&gt;&lt;P&gt;13.WRITE SUTIABLE TRAN NAME..CLICK CREATE&lt;/P&gt;&lt;P&gt;14.CHOOSE TRANSACTION WITH PARAMETERS(LAST).&lt;/P&gt;&lt;P&gt;15.FILL SHORT TEXT.&lt;/P&gt;&lt;P&gt;16.OK&lt;/P&gt;&lt;P&gt;17.TRANSACTION : SM30.&lt;/P&gt;&lt;P&gt;18.CHECK SKIP INITAL SCREEN CHKBOX&lt;/P&gt;&lt;P&gt;19.SCREEN NO : FROM STEP 9.&lt;/P&gt;&lt;P&gt;20.IN TABLE BELOW&lt;/P&gt;&lt;P&gt;NAME OF SCREEN FIELD VALUE.&lt;/P&gt;&lt;P&gt;VIEWNAME [TABLENAME]&lt;/P&gt;&lt;P&gt;UPDATE X&lt;/P&gt;&lt;P&gt;21.SAVE&lt;/P&gt;&lt;P&gt;22.RUN TRAN CODE IN COMMAND BOX.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-------------------------------------------" /&gt;&lt;P&gt;tcode is SM30&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also see this&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8129f164-0a01-0010-2a8e-8765287250fc" target="test_blank"&gt;https://www.sdn.sap.com/irj/sdn/go/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;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;srinivas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;*&lt;STRONG&gt;reward for useful answers&lt;/STRONG&gt;*&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2007 14:22:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenence/m-p/2751074#M639855</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-29T14:22:44Z</dc:date>
    </item>
  </channel>
</rss>

