<?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: read statement in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-statement/m-p/4146361#M991398</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; I am aware that CS and CP don't work &lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; but Sunil Kumar Mu.. says that &lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; read table i_itab where field1 =  "BU*"&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; I cahnged the value in debut but it won't work is there a possibility of doing that without passing through the loop since my key conditio contain 8 condition.&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think Sunil gave you wrong information this time...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is only the LOOP, no other way...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Jul 2008 12:00:39 GMT</pubDate>
    <dc:creator>JozsefSzikszai</dc:creator>
    <dc:date>2008-07-23T12:00:39Z</dc:date>
    <item>
      <title>read statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-statement/m-p/4146347#M991384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hiii &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with read statement, can you read with a key where the value contain wildcards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;such as &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read table i_tab with key field1 = v_field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the v_field will may contain "BU*"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that is the will read the value in itab where the field1 will contina BU01 or BU02&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can anyone please confirm.  since with read we cannot use CS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2008 11:36:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-statement/m-p/4146347#M991384</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-23T11:36:59Z</dc:date>
    </item>
    <item>
      <title>Re: read statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-statement/m-p/4146348#M991385</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;I appologize that this statement doesn't work .... I remember using it but probably i am wrong ...as Eric said loop with cp only works ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Santosh Kumar Patha on Jul 23, 2008 5:35 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2008 11:38:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-statement/m-p/4146348#M991385</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-23T11:38:58Z</dc:date>
    </item>
    <item>
      <title>Re: read statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-statement/m-p/4146349#M991386</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;with read statement,  you can read with a key where the value contain wildcards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;such as &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read table i_tab with key field1 like v_field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the v_field will may contain "BU*"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that is the it will read the value in itab where the field1 will contina BU01 or BU02.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sunil Kumar Mutyala.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2008 11:41:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-statement/m-p/4146349#M991386</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-23T11:41:39Z</dc:date>
    </item>
    <item>
      <title>Re: read statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-statement/m-p/4146350#M991387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try CP (Covers pattern)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Covers Pattern: True, if the content of operand1 fits the pattern in operand2. Wildcard characters can be used for forming the operand pattern, where "&lt;STRONG&gt;" represents any character string, and "+" represents any character. Upper/lower case is not taken into account. If the comparison is true, sy-fdpos contains the offset of operand2 in operand1, whereby leading wildcard characters "&lt;/STRONG&gt;" in operand2 are ignored if operand2 also contains other characters. If the comparison is false, sy-fdpos contains the length of operand1. You can select characters in operand2 for a direct comparison by adding the escape symbol "#" before the required characters. For these characters, upper/lower case is taken into account, wildcard characters and the escape symbol itself do not receive special treatment, and trailing blanks in operands of type c are not cut off.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2008 11:42:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-statement/m-p/4146350#M991387</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-23T11:42:18Z</dc:date>
    </item>
    <item>
      <title>Re: read statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-statement/m-p/4146351#M991388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes you can use CS, CP, ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2008 11:42:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-statement/m-p/4146351#M991388</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-23T11:42:25Z</dc:date>
    </item>
    <item>
      <title>Re: read statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-statement/m-p/4146352#M991389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt;since with read we cannot use CS&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;loop at i_tab where field1 cs v_field.
&amp;lt;---- do waht ever you want here.....
exit.
endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2008 11:43:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-statement/m-p/4146352#M991389</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-23T11:43:43Z</dc:date>
    </item>
    <item>
      <title>Re: read statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-statement/m-p/4146353#M991390</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;it does not matter how many people says it works, there is no way, you can 't do that with READ TABLE, only = is allowed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;however as alternative, you can use LOOP AT ... INTO ... WHERE field CP 'BU*'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;ec&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2008 11:43:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-statement/m-p/4146353#M991390</guid>
      <dc:creator>JozsefSzikszai</dc:creator>
      <dc:date>2008-07-23T11:43:49Z</dc:date>
    </item>
    <item>
      <title>Re: read statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-statement/m-p/4146354#M991391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Florian Kemmer,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;however answer is simply no as said by others.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but i would like to intimate to Florian for avoinding mis leads on SDN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Amit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2008 11:46:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-statement/m-p/4146354#M991391</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-23T11:46:11Z</dc:date>
    </item>
    <item>
      <title>Re: read statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-statement/m-p/4146355#M991392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Amit: you are a bit unfair, it is not just Florian, but everyone else, except Vijay... biggest fault has Santosh Kumar Patha with nearly 10K points...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(I wonder if moderators can remove the wrong ansers in this case - if they don't do it on their own)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2008 11:48:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-statement/m-p/4146355#M991392</guid>
      <dc:creator>JozsefSzikszai</dc:creator>
      <dc:date>2008-07-23T11:48:11Z</dc:date>
    </item>
    <item>
      <title>Re: read statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-statement/m-p/4146356#M991393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2008 11:56:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-statement/m-p/4146356#M991393</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-23T11:56:29Z</dc:date>
    </item>
    <item>
      <title>Re: read statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-statement/m-p/4146357#M991394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am aware that CS and CP don't work &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but Sunil Kumar Mu.. says that &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read table i_itab where field1 =  "BU*"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I cahnged the value in debut but it won't work is there a possibility of doing that without passing through the loop since my key conditio contain 8 condition.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2008 11:57:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-statement/m-p/4146357#M991394</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-23T11:57:31Z</dc:date>
    </item>
    <item>
      <title>Re: read statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-statement/m-p/4146358#M991395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Eric,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes i do agree with you.biggest mistake made by Santosh really surprising who is on wave in term of points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here is another example of misleads both are made today only.even i saw often such kind of unwanted replied moderator should omit their replies so that SDN can remain stand as heaven for needed person like us forever:&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="5664319"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2008 11:57:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-statement/m-p/4146358#M991395</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-23T11:57:41Z</dc:date>
    </item>
    <item>
      <title>Re: read statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-statement/m-p/4146359#M991396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;according to your long piece of code do you mean do a select statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;coz i am a bit confuse with this logn code&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2008 11:59:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-statement/m-p/4146359#M991396</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-23T11:59:56Z</dc:date>
    </item>
    <item>
      <title>Re: read statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-statement/m-p/4146360#M991397</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;READ statement is used to a single record not multiple records.&lt;/P&gt;&lt;P&gt;So we cant use the Wild card characters (_,%) with READ.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Chandralekha.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2008 12:00:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-statement/m-p/4146360#M991397</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-23T12:00:20Z</dc:date>
    </item>
    <item>
      <title>Re: read statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-statement/m-p/4146361#M991398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; I am aware that CS and CP don't work &lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; but Sunil Kumar Mu.. says that &lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; read table i_itab where field1 =  "BU*"&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; I cahnged the value in debut but it won't work is there a possibility of doing that without passing through the loop since my key conditio contain 8 condition.&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think Sunil gave you wrong information this time...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is only the LOOP, no other way...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2008 12:00:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-statement/m-p/4146361#M991398</guid>
      <dc:creator>JozsefSzikszai</dc:creator>
      <dc:date>2008-07-23T12:00:39Z</dc:date>
    </item>
    <item>
      <title>Re: read statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-statement/m-p/4146362#M991399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;newbie82 c  &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;I cahnged the value in debut but it won't work is there a possibility of doing that without passing through the loop since my key conditio contain 8 condition&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i think than you need to use &lt;STRONG&gt;if endif&lt;/STRONG&gt; with wildcard charecter but howevenr loop there also needed only thing you can bypass is condition with loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;anyways earth is round.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Amit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2008 12:01:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-statement/m-p/4146362#M991399</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-23T12:01:24Z</dc:date>
    </item>
    <item>
      <title>Re: read statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-statement/m-p/4146363#M991400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; according to your long piece of code do you mean do a select statement&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; coz i am a bit confuse with this logn code&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that source code is completely irrelevant to your problem. Don't even bother with that!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2008 12:09:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-statement/m-p/4146363#M991400</guid>
      <dc:creator>JozsefSzikszai</dc:creator>
      <dc:date>2008-07-23T12:09:25Z</dc:date>
    </item>
  </channel>
</rss>

