<?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: Select Options Problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-problem/m-p/1542929#M247201</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rich,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also have the same doubt, the program was already developed by someone. Now it is giving a strange problem like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I'm still analysing. Let me see what's the exact problem. I'm debugging simultaneously with different option in select options.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regs,&lt;/P&gt;&lt;P&gt;Venkat Ramanan N&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Aug 2006 15:36:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-08-07T15:36:21Z</dc:date>
    <item>
      <title>Select Options Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-problem/m-p/1542921#M247193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm facing a strange issue regarding select-options.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Initially I was using like this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; MOVE: 'I' TO r_wildcard-sign,&lt;/P&gt;&lt;P&gt; 'EQ' TO r_wildcard-option,&lt;/P&gt;&lt;P&gt; '++++++++++B' TO r_wildcard-low. &lt;/P&gt;&lt;P&gt; APPEND r_wildcard.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT * FROM mara&lt;/P&gt;&lt;P&gt;           INTO TABLE gt_mara_b&lt;/P&gt;&lt;P&gt;           WHERE mtart = 'YSAB'&lt;/P&gt;&lt;P&gt;             AND matnr IN r_wildcard.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This range in the select query fetched many records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But now the above query is not working and it is giving null records. So I changed the condition in the &lt;/P&gt;&lt;P&gt;select-options as 'CP' instead of 'EQ', now the select query is fetching more records as before. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could anybody tell me why this behaves like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perfect solution is highly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Venkat Ramanan N&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Aug 2006 14:56:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-problem/m-p/1542921#M247193</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-07T14:56:44Z</dc:date>
    </item>
    <item>
      <title>Re: Select Options Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-problem/m-p/1542922#M247194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you use the CP, you must also use the * in your value.  For example, lets say that you want all material number that start with "B".  Then you would do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

move: 'I' to r_wildcard-sign,
&amp;lt;b&amp;gt;'CP' to r_wildcard-option,
'B*' to r_wildcard-low.&amp;lt;/b&amp;gt;
append r_wildcard.

select * from mara
into table gt_mara_b
where mtart = 'YSAB'
and matnr in r_wildcard.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Aug 2006 15:01:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-problem/m-p/1542922#M247194</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-08-07T15:01:00Z</dc:date>
    </item>
    <item>
      <title>Re: Select Options Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-problem/m-p/1542923#M247195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;EQ stands for Equality and when used in select stattements the select checks records in MARA where MATNR is exaclty equal to ++++++++++B &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CP stands for Contains Pattern and when used in select stattements the select checks records in MARA where MATNR contains the pattern ++++++++++B&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Kiran&lt;/P&gt;&lt;P&gt;Please reward useful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Aug 2006 15:03:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-problem/m-p/1542923#M247195</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-07T15:03:03Z</dc:date>
    </item>
    <item>
      <title>Re: Select Options Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-problem/m-p/1542924#M247196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rich,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is ok. But my question is why there is difference in behaviour in this case. In my case always the last letter will end with B.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used '++++++++++B'(for EQ condition) before and it was giving lot of records, but now nothing. But when I change 'EQ' to 'CP' it is working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any SAP notes that we have apply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regs,&lt;/P&gt;&lt;P&gt;Venkat Ramanan N&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Aug 2006 15:05:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-problem/m-p/1542924#M247196</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-07T15:05:49Z</dc:date>
    </item>
    <item>
      <title>Re: Select Options Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-problem/m-p/1542925#M247197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would appreciate if anyone could give different solutions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please don't explain about what is CP and EQ. This is very basic thing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regs,&lt;/P&gt;&lt;P&gt;Venkat Ramanan N&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Aug 2006 15:07:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-problem/m-p/1542925#M247197</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-07T15:07:52Z</dc:date>
    </item>
    <item>
      <title>Re: Select Options Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-problem/m-p/1542926#M247198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Venkat,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try the below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MOVE: 'I' TO r_wildcard-sign,&lt;/P&gt;&lt;P&gt;'CP' TO r_wildcard-option,&lt;/P&gt;&lt;P&gt;'*B' TO r_wildcard-low. &lt;/P&gt;&lt;P&gt;APPEND r_wildcard.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT * FROM mara&lt;/P&gt;&lt;P&gt;INTO TABLE gt_mara_b&lt;/P&gt;&lt;P&gt;WHERE mtart = 'YSAB'&lt;/P&gt;&lt;P&gt;AND matnr IN r_wildcard.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anurag&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Aug 2006 15:12:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-problem/m-p/1542926#M247198</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-07T15:12:06Z</dc:date>
    </item>
    <item>
      <title>Re: Select Options Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-problem/m-p/1542927#M247199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is lot of difference between using '*B' and '++++++++++B'. I'm concerned only about the pattern&lt;/P&gt;&lt;P&gt;'++++++++++B'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regs,&lt;/P&gt;&lt;P&gt;Venkat Ramanan N&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Aug 2006 15:16:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-problem/m-p/1542927#M247199</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-07T15:16:36Z</dc:date>
    </item>
    <item>
      <title>Re: Select Options Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-problem/m-p/1542928#M247200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't know why  EQ '+++++++++&lt;EM&gt;B', would bring you anything but a material which is exactly '&lt;/EM&gt;++++++++&lt;EM&gt;B'.  I've never seen "&lt;/EM&gt;" used as a wildcard.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Aug 2006 15:25:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-problem/m-p/1542928#M247200</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-08-07T15:25:18Z</dc:date>
    </item>
    <item>
      <title>Re: Select Options Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-problem/m-p/1542929#M247201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rich,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also have the same doubt, the program was already developed by someone. Now it is giving a strange problem like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I'm still analysing. Let me see what's the exact problem. I'm debugging simultaneously with different option in select options.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regs,&lt;/P&gt;&lt;P&gt;Venkat Ramanan N&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Aug 2006 15:36:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-problem/m-p/1542929#M247201</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-07T15:36:21Z</dc:date>
    </item>
    <item>
      <title>Re: Select Options Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-problem/m-p/1542930#M247202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; I don't know why  EQ '++++++++++B', would bring you&lt;/P&gt;&lt;P&gt;&amp;gt; anything but a material which is exactly&lt;/P&gt;&lt;P&gt;&amp;gt; '+++++++++&lt;EM&gt;B'.  I've never seen "&lt;/EM&gt;" used as a&lt;/P&gt;&lt;P&gt;&amp;gt; wildcard.  &lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; Regards,&lt;/P&gt;&lt;P&gt;&amp;gt; Rich Heilman&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;+ can act as a wildcard for one position within your variable only e.g H+R Would bring back HOR, HIR, HAR but not HEAR etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think that the original poster needs to review why if the last position is always going to be B why he feels that CP and *B is not sufficient for his needs, as it sounds like it should be perfectly correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rosie Brent&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Aug 2006 15:36:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-problem/m-p/1542930#M247202</guid>
      <dc:creator>former_member641343</dc:creator>
      <dc:date>2006-08-07T15:36:52Z</dc:date>
    </item>
    <item>
      <title>Re: Select Options Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-problem/m-p/1542931#M247203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Rosie,&lt;/P&gt;&lt;P&gt; if + is as single character then there should be the difference in ++++++++++B' with EQ and CP.as both are different.but he is getting same no of records ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how this will happen ? of having different conditions in where clause &amp;amp; getting same no of entries ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;srikanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Aug 2006 15:43:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-problem/m-p/1542931#M247203</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-07T15:43:28Z</dc:date>
    </item>
    <item>
      <title>Re: Select Options Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-problem/m-p/1542932#M247204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;With the options CP and NP, the LOW and HIGH fields must be of type C, and LOW must contain at least one wildcard character. In this context, + represents a single character, while * represents any character string, even if it is blank. &lt;/P&gt;&lt;P&gt;CP and NP are the only options where + and * act like this. Therefore, the line &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I BT A*   D* &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in no way defines a set of records starting with all those which begin with " A" and ending with all those which begin with "D", but rather the set of all records which are greater than or equal to the single values " A&lt;STRONG&gt;" and less than or equal to "D&lt;/STRONG&gt;". This set is smaller since, if the character "Z" in the character set is greater than " *" and the value "DZ" starts with "D", it is not part of the defined set. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you check on the above explaination...it is advisable to use CP when using wild-char either + or *.  It is very difficult to explain why the EQ signed fetch records first time round !!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anurag&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;Anurag&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Aug 2006 15:49:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-problem/m-p/1542932#M247204</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-07T15:49:19Z</dc:date>
    </item>
  </channel>
</rss>

