<?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 maintenance generator data validation in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-generator-data-validation/m-p/9113607#M1707099</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 could use Menu Environment-&amp;gt;Modification-&amp;gt;Events from your TMG screen of you table. Then you can write routine for a event there to do validation . E,G. 05 for creating new entries/01 Before saving the data in database. Check the same in standard View V_T001/V_T001W. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;R&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Nov 2012 16:01:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-11-08T16:01:21Z</dc:date>
    <item>
      <title>Table maintenance generator data validation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-generator-data-validation/m-p/9113605#M1707097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Hi ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement to check when user enters data through table maintenance they confirm to a particular pattern.&lt;/P&gt;&lt;P&gt;say one field should be&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;0NNNNNNNNNN--11 digits including leading zero&lt;/LI&gt;&lt;LI&gt;AANNNNNNNN--2 ALPHA characters followed by 8 digits&lt;/LI&gt;&lt;LI&gt;NNNNNNNNA/NN or NNNNNNNN/NN&amp;nbsp; &lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;whats the best way to implement this validation?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Nov 2012 15:37:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-generator-data-validation/m-p/9113605#M1707097</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-11-08T15:37:00Z</dc:date>
    </item>
    <item>
      <title>Re: Table maintenance generator data validation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-generator-data-validation/m-p/9113606#M1707098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Sapstrydy100 -curious nick at all-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would definitely do it in the PAI of the screen assigned to the view maintenance Function Group.&lt;/P&gt;&lt;P&gt;As its going to be in a table control, put your new module in the loop-endloop assigned to the table; in that point, you can refer to each field by its name tablename-fieldname, which makes quite easy to control what you wish.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Kind Regards.&lt;/P&gt;&lt;P&gt;Santiago.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Nov 2012 15:53:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-generator-data-validation/m-p/9113606#M1707098</guid>
      <dc:creator>SantiMoreno</dc:creator>
      <dc:date>2012-11-08T15:53:52Z</dc:date>
    </item>
    <item>
      <title>Re: Table maintenance generator data validation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-generator-data-validation/m-p/9113607#M1707099</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 could use Menu Environment-&amp;gt;Modification-&amp;gt;Events from your TMG screen of you table. Then you can write routine for a event there to do validation . E,G. 05 for creating new entries/01 Before saving the data in database. Check the same in standard View V_T001/V_T001W. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;R&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Nov 2012 16:01:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-generator-data-validation/m-p/9113607#M1707099</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-11-08T16:01:21Z</dc:date>
    </item>
    <item>
      <title>Re: Table maintenance generator data validation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-generator-data-validation/m-p/9113608#M1707100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use Table events. Goto table Main Generator-- Envoirnment --Modifications-- Events&lt;/P&gt;&lt;P&gt;Check &lt;A href="http://help.sap.com/saphelp_nw70/helpdata/en/91/ca9f0ea9d111d1a5690000e82deaaa/content.htm"&gt;http://help.sap.com/saphelp_nw70/helpdata/en/91/ca9f0ea9d111d1a5690000e82deaaa/content.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Nov 2012 16:06:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-generator-data-validation/m-p/9113608#M1707100</guid>
      <dc:creator>former_member189779</dc:creator>
      <dc:date>2012-11-08T16:06:34Z</dc:date>
    </item>
    <item>
      <title>Re: Table maintenance generator data validation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-generator-data-validation/m-p/9113609#M1707101</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 first need to create the view using SE11 of the database tables or table maintenance. In this you need to give the table name in Table/Join conditions. In View fields, bring all the fields that you require to input. In the next tab, Selection conditions, you need to bring all the fields, and in operator you need to put LIKE or NOT LIKE, and in the comparision value, you need to put the pattern which you require. Save this view, activate and test the view. The input will take as per the patterns. You can also create the transaction code for the same and this will open directly the table maintenance view which you created using SE11. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Hardik Mehta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Nov 2012 16:26:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-generator-data-validation/m-p/9113609#M1707101</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-11-08T16:26:34Z</dc:date>
    </item>
    <item>
      <title>Re: Table maintenance generator data validation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-generator-data-validation/m-p/9113610#M1707102</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 perform validations during table maintenance using &lt;A href="http://help.sap.com/saphelp_nw70/helpdata/en/91/ca9f0ea9d111d1a5690000e82deaaa/frameset.htm"&gt;Table Maintenance Events&lt;/A&gt;. See these links for a couple of step-by-step guides.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="http://wiki.sdn.sap.com/wiki/display/ABAPch/EVENTS+IN+TABLE+MAINTENANCE" title="http://wiki.sdn.sap.com/wiki/display/ABAPch/EVENTS+IN+TABLE+MAINTENANCE"&gt;EVENTS IN TABLE MAINTENANCE&lt;/A&gt; &lt;/LI&gt;&lt;LI&gt;&lt;A __default_attr="10442" __jive_macro_name="document" class="jive_macro jive_macro_document" href="https://community.sap.com/"&gt;&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Amy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Nov 2012 16:34:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-generator-data-validation/m-p/9113610#M1707102</guid>
      <dc:creator>amy_king</dc:creator>
      <dc:date>2012-11-08T16:34:22Z</dc:date>
    </item>
  </channel>
</rss>

