<?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: where can I do validations?? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/where-can-i-do-validations/m-p/2917070#M686775</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can do all your validations in END OF RECORD , write a code like&lt;/P&gt;&lt;P&gt;if validation fails.&lt;/P&gt;&lt;P&gt;skip_record.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;tranfer_record.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure , i think you can use skip_record to skip the record even in the field mapping part if the conditiopn fails for that fields during hte validation.&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;Rajesh Sanapala.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Oct 2007 08:47:44 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-24T08:47:44Z</dc:date>
    <item>
      <title>where can I do validations??</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/where-can-i-do-validations/m-p/2917069#M686774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a LSMW object. In the Field Mapping step, I need to do a validation for checking whether the primary keys already esist or not. If they exist, I shud skip_record or else transfer_record. There are 3 primary keys.&lt;/P&gt;&lt;P&gt;Where can I do this validation?? &lt;/P&gt;&lt;P&gt;Can I write code in the "End of Record", which has default code transfer_record??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Kalaivani P&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Oct 2007 08:16:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/where-can-i-do-validations/m-p/2917069#M686774</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-24T08:16:55Z</dc:date>
    </item>
    <item>
      <title>Re: where can I do validations??</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/where-can-i-do-validations/m-p/2917070#M686775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can do all your validations in END OF RECORD , write a code like&lt;/P&gt;&lt;P&gt;if validation fails.&lt;/P&gt;&lt;P&gt;skip_record.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;tranfer_record.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure , i think you can use skip_record to skip the record even in the field mapping part if the conditiopn fails for that fields during hte validation.&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;Rajesh Sanapala.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Oct 2007 08:47:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/where-can-i-do-validations/m-p/2917070#M686775</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-24T08:47:44Z</dc:date>
    </item>
    <item>
      <title>Re: where can I do validations??</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/where-can-i-do-validations/m-p/2917071#M686776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Rajesh!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually when I try to double click on the End of Record ( to add some codes ), it is displaying some "decision" message as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;This field has a default reservation&lt;/P&gt;&lt;P&gt;Changes could hamper the run of the&lt;/P&gt;&lt;P&gt;data conversion program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you sure that you want to&lt;/P&gt;&lt;P&gt;continue with this action?&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am able to do modifications. But can I modify so that it wont hamper?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Oct 2007 08:52:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/where-can-i-do-validations/m-p/2917071#M686776</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-24T08:52:14Z</dc:date>
    </item>
    <item>
      <title>Re: where can I do validations??</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/where-can-i-do-validations/m-p/2917072#M686777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can do the changes in the END OF RECORD it wont be a problem, i used prevously.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Oct 2007 08:56:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/where-can-i-do-validations/m-p/2917072#M686777</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-24T08:56:15Z</dc:date>
    </item>
  </channel>
</rss>

