<?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: Validation using Key fields in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/validation-using-key-fields/m-p/3240206#M773278</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi..Rohith&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Efficient selection...you need to use Key fields in your&lt;/P&gt;&lt;P&gt;select statement.&lt;/P&gt;&lt;P&gt;For that, take an Internaltable with required fields &lt;/P&gt;&lt;P&gt;and select into that Internal Table.&lt;/P&gt;&lt;P&gt;And Check for sy-subrc.&lt;/P&gt;&lt;P&gt;Your problem will be solved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sandeep.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 31 Dec 2007 11:27:13 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-12-31T11:27:13Z</dc:date>
    <item>
      <title>Validation using Key fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/validation-using-key-fields/m-p/3240200#M773272</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 am using table T510 for validation of slection screen select-options fields TRFST.......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want to use keys fields as well to validate it...&lt;/P&gt;&lt;P&gt; wt shld be the code....&lt;/P&gt;&lt;P&gt;plz help me...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rohit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Rohit Kumar on Dec 31, 2007 12:39 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Dec 2007 07:08:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/validation-using-key-fields/m-p/3240200#M773272</guid>
      <dc:creator>RahulKeshav</dc:creator>
      <dc:date>2007-12-31T07:08:32Z</dc:date>
    </item>
    <item>
      <title>Re: Validation using Key fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/validation-using-key-fields/m-p/3240201#M773273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rohit,&lt;/P&gt;&lt;P&gt;you are using TRFST in the select option,and  you want to validate it..this you can do it using a select query as,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select TRFST from T510 into T510 where trfst = s_trfst ( s_trfst is the select option name).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is that you are looking for??&lt;/P&gt;&lt;P&gt;please revert back if you have any doubts..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please reward if helpful,&lt;/P&gt;&lt;P&gt;thanks&amp;amp;regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Dec 2007 08:09:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/validation-using-key-fields/m-p/3240201#M773273</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-31T08:09:30Z</dc:date>
    </item>
    <item>
      <title>Re: Validation using Key fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/validation-using-key-fields/m-p/3240202#M773274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;select TRFST from T510 into T510 where trfst &lt;U&gt;&lt;STRONG&gt;=&lt;/STRONG&gt;&lt;/U&gt; s_trfst &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;instead of = u have to use in for select-options.......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select TRFST &lt;/P&gt;&lt;P&gt;  from T510 &lt;/P&gt;&lt;P&gt;   into l_trfst &lt;/P&gt;&lt;P&gt;where trfst in s_trfst .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i used this query......&lt;/P&gt;&lt;P&gt;and i want to change it by using key fields (ENDDA, etc).....thts wt i m looking for......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Rohit Kumar on Dec 31, 2007 1:51 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Dec 2007 08:21:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/validation-using-key-fields/m-p/3240202#M773274</guid>
      <dc:creator>RahulKeshav</dc:creator>
      <dc:date>2007-12-31T08:21:12Z</dc:date>
    </item>
    <item>
      <title>Re: Validation using Key fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/validation-using-key-fields/m-p/3240203#M773275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if u want to validate it using other key fields...that is for a specific key u need a specific trfst is it??&lt;/P&gt;&lt;P&gt;then put your conditions in the where clause..those u think are mandatory..&lt;/P&gt;&lt;P&gt;if u want to change it w.r.t key fields then use if else condition...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope its helpfull,&lt;/P&gt;&lt;P&gt;thanks&amp;amp;regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Dec 2007 08:41:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/validation-using-key-fields/m-p/3240203#M773275</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-31T08:41:32Z</dc:date>
    </item>
    <item>
      <title>Re: Validation using Key fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/validation-using-key-fields/m-p/3240204#M773276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the problem is tht i used the following code.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select TRFST &lt;/P&gt;&lt;P&gt;from T510 &lt;/P&gt;&lt;P&gt;into l_trfst &lt;/P&gt;&lt;P&gt;where trfst in s_trfst .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but my senior told me why didnt u used key fields also....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so i m looking for select query like.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select trfst key field1 endda from t510 into ....???(shold i have to declare some int.table or some othr ways)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plz help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Dec 2007 09:25:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/validation-using-key-fields/m-p/3240204#M773276</guid>
      <dc:creator>RahulKeshav</dc:creator>
      <dc:date>2007-12-31T09:25:23Z</dc:date>
    </item>
    <item>
      <title>Re: Validation using Key fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/validation-using-key-fields/m-p/3240205#M773277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi why U r senior idea is if u don't use Key fileds in selctions it will give errors in EPC or code inspector.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if u r functionality really not req key fields as select options then&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for that just create dummy ranges for key fileds and put it in where condition along with actual select options.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regds,&lt;/P&gt;&lt;P&gt;Suresh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Suresh Reddy on Dec 31, 2007 11:41 AM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Suresh Reddy on Dec 31, 2007 11:42 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Dec 2007 10:40:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/validation-using-key-fields/m-p/3240205#M773277</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-31T10:40:52Z</dc:date>
    </item>
    <item>
      <title>Re: Validation using Key fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/validation-using-key-fields/m-p/3240206#M773278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi..Rohith&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Efficient selection...you need to use Key fields in your&lt;/P&gt;&lt;P&gt;select statement.&lt;/P&gt;&lt;P&gt;For that, take an Internaltable with required fields &lt;/P&gt;&lt;P&gt;and select into that Internal Table.&lt;/P&gt;&lt;P&gt;And Check for sy-subrc.&lt;/P&gt;&lt;P&gt;Your problem will be solved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sandeep.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Dec 2007 11:27:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/validation-using-key-fields/m-p/3240206#M773278</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-31T11:27:13Z</dc:date>
    </item>
  </channel>
</rss>

