<?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 Validations in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/validations/m-p/3057786#M724233</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have to add a field(vendor reference) in RFC Table and that should be an optional field and the validations that i have to do is that&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The entered  value should exist in the table LFA1 and in the field LIFNR        (LFA1-LIFNR)   or the  entered value should me a text with"NO-ALLOC"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Otherwise it should  show  an error,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please provide me the code&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Nov 2007 13:37:35 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-11-28T13:37:35Z</dc:date>
    <item>
      <title>Validations</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/validations/m-p/3057786#M724233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have to add a field(vendor reference) in RFC Table and that should be an optional field and the validations that i have to do is that&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The entered  value should exist in the table LFA1 and in the field LIFNR        (LFA1-LIFNR)   or the  entered value should me a text with"NO-ALLOC"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Otherwise it should  show  an error,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please provide me the code&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Nov 2007 13:37:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/validations/m-p/3057786#M724233</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-28T13:37:35Z</dc:date>
    </item>
    <item>
      <title>Re: Validations</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/validations/m-p/3057787#M724234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hmmm well, theres no code need to achieve this. all you need to do is to assign LFA1 as foreign key table to that field. this will give you on one hand a validation against the values in LFA1, AND a F4 help as well for that field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Nov 2007 13:41:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/validations/m-p/3057787#M724234</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-28T13:41:43Z</dc:date>
    </item>
    <item>
      <title>Re: Validations</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/validations/m-p/3057788#M724235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Select lifnr from lfa1 into lv_lifnr &lt;/P&gt;&lt;P&gt;where lifnr = entered value.&lt;/P&gt;&lt;P&gt;if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;get text for entered value in lv_text.&lt;/P&gt;&lt;P&gt;if lv_text ne 'NO-ALLOC'.&lt;/P&gt;&lt;P&gt; error message.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lokesh&lt;/P&gt;&lt;P&gt;pls. reward if it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Lokesh Aggarwal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Nov 2007 13:43:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/validations/m-p/3057788#M724235</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-28T13:43:24Z</dc:date>
    </item>
  </channel>
</rss>

