<?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: SM30 Validation in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sm30-validation/m-p/5478422#M1254333</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;Create a module inside the loop at extract - endloop in PAI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Write your field validation code in your module...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;padma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Apr 2009 08:57:22 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-04-17T08:57:22Z</dc:date>
    <item>
      <title>SM30 Validation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sm30-validation/m-p/5478421#M1254332</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 need to do some validations in SM30. I am using event 21 for this. I am facing the following problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like say for ZTABLE-field1 = 'S' is entered by the user. I do some validation for this and throwing an error message. Next time the user changes it to 'C' , but I am not able to see this updated value (C) in any of  &lt;/P&gt;&lt;P&gt;TOTAL/EXTRACT/&amp;lt;TABLE1&amp;gt;/&amp;lt;TABLE2&amp;gt;/ my custom table. It is still 'S' only everywhere. Thus , the latest entry entered by the user is not getting updated in any of these.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone please tell me where the current table line is stored when event 21 is used .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Deepthi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Apr 2009 06:13:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sm30-validation/m-p/5478421#M1254332</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-17T06:13:06Z</dc:date>
    </item>
    <item>
      <title>Re: SM30 Validation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sm30-validation/m-p/5478422#M1254333</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;Create a module inside the loop at extract - endloop in PAI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Write your field validation code in your module...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;padma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Apr 2009 08:57:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sm30-validation/m-p/5478422#M1254333</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-17T08:57:22Z</dc:date>
    </item>
    <item>
      <title>Re: SM30 Validation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sm30-validation/m-p/5478423#M1254334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi , &lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;I do not want to modify the standard code generated as it will get wiped out when the maintainence is regenerated. Thats why trying to do it in events only. Any pointers ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Deepthi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Apr 2009 09:02:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sm30-validation/m-p/5478423#M1254334</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-17T09:02:57Z</dc:date>
    </item>
    <item>
      <title>Re: SM30 Validation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sm30-validation/m-p/5478424#M1254335</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;&lt;/P&gt;&lt;P&gt;Eventually you will end with new include only, which will contain the logic for validation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But using standard events will ensure that the include is called at right moment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Events can be found at following location:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On Generate table maintenance screen&lt;/P&gt;&lt;P&gt; Go to Environment Tab -&amp;gt;Modification -&amp;gt; Events&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here a new entry can be created by selecting the required event like: 01 for before saving into database. Provide some name for the subroutine. Then click on editor option there make the necessary coding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this answers your query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Brajvir&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Apr 2009 09:16:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sm30-validation/m-p/5478424#M1254335</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-17T09:16:37Z</dc:date>
    </item>
    <item>
      <title>Re: SM30 Validation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sm30-validation/m-p/5478425#M1254336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the header line of EXTRACT.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Apr 2009 07:41:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sm30-validation/m-p/5478425#M1254336</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-20T07:41:29Z</dc:date>
    </item>
    <item>
      <title>Re: SM30 Validation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sm30-validation/m-p/5478426#M1254337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;please chk the following link..&lt;/P&gt;&lt;P&gt;I answered a similar query, please chk my replies in this and relate it with ur prob..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="7110638"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;revert if its not of nay help..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Dinesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Apr 2009 08:24:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sm30-validation/m-p/5478426#M1254337</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-22T08:24:41Z</dc:date>
    </item>
    <item>
      <title>Re: SM30 Validation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sm30-validation/m-p/5478427#M1254338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dinesh , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had looked into the link before ; I don't want to make changes in the generated code at all as there is every possibility that the table maintainence will be regenerated in the future. If I create a new custom include in events , it doesn't get erased during regeneration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As of now , I have used Event 01 instead of event 21. It doesn't fully satisfy my purpose , but its ok .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Deepthi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Apr 2009 08:38:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sm30-validation/m-p/5478427#M1254338</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-22T08:38:07Z</dc:date>
    </item>
    <item>
      <title>Re: SM30 Validation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sm30-validation/m-p/5478428#M1254339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi divya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I didn't understand how event 21 is going to help in this case..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If ur creating a new include, how can we make sure that it is called at the point where we want it to..&lt;/P&gt;&lt;P&gt;that is why we create events right...&lt;/P&gt;&lt;P&gt;About the regeneration part..yes we got to be carefull with the backup..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: dinesh kumar on Apr 22, 2009 2:39 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: dinesh kumar on Apr 22, 2009 2:39 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Apr 2009 09:02:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sm30-validation/m-p/5478428#M1254339</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-22T09:02:15Z</dc:date>
    </item>
    <item>
      <title>Re: SM30 Validation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sm30-validation/m-p/5478429#M1254340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dinesh , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I meant the same thing . While creating events , we need to do the coding right ?  That part is retained everytime you regenerate. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wanted to validate and give an error message each time the user presses Enter . For this I was using event 21. But the current record was not getting updated anywhere. So , I am using event 01 now and using TOTAL and EXTRACT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Deepthi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Apr 2009 09:19:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sm30-validation/m-p/5478429#M1254340</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-22T09:19:45Z</dc:date>
    </item>
  </channel>
</rss>

