<?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 condition on text fields in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/where-condition-on-text-fields/m-p/1451374#M213740</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It will convert it if it's being entered uinto a screen field referring to that but if it's copie from another variable it won't convert.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try a process of elimination. take out the where clause components until you get some data and then you will have something to focus on. i.e. the culprit will be revealed even if you don't know why he's guilty.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's also possible that the matnr field has a conversion exit attached and you need to take that into account when populating your variable. eg to remove or add in leading zeroes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Jul 2006 04:02:27 GMT</pubDate>
    <dc:creator>former_member186741</dc:creator>
    <dc:date>2006-07-25T04:02:27Z</dc:date>
    <item>
      <title>Where condition on text fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/where-condition-on-text-fields/m-p/1451369#M213735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to select materials based on description on where condition using contains pattern as a range, though there are materials, none of are found, Can you advise me what am I doing wrong please? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    st_matnr-sign = 'I'.&lt;/P&gt;&lt;P&gt;    st_matnr-option = 'EQ'.&lt;/P&gt;&lt;P&gt;    st_matnr-low = w_matnr_low.&lt;/P&gt;&lt;P&gt;    st_matnr-high = w_matnr_high.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    APPEND st_matnr TO t_matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    st_maktg-sign = 'I'.&lt;/P&gt;&lt;P&gt;    st_maktg-option = 'CP'.&lt;/P&gt;&lt;P&gt;    st_maktg-low = p_desc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    APPEND st_maktg TO t_maktg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; SELECT a~mandt&lt;/P&gt;&lt;P&gt;               a~matnr&lt;/P&gt;&lt;P&gt;               a~spras&lt;/P&gt;&lt;P&gt;               a~maktx&lt;/P&gt;&lt;P&gt;               a~maktg&lt;/P&gt;&lt;P&gt;          FROM makt as a&lt;/P&gt;&lt;P&gt;         INNER JOIN mara as b&lt;/P&gt;&lt;P&gt;          on a&lt;SUB&gt;matnr = b&lt;/SUB&gt;matnr&lt;/P&gt;&lt;P&gt;          INTO TABLE t_alv_makt&lt;/P&gt;&lt;P&gt;       WHERE a~matnr IN t_matnr&lt;/P&gt;&lt;P&gt;         AND a~maktg IN t_maktg&lt;/P&gt;&lt;P&gt;        AND  b~mtart = 'ZIZS'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;GP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2006 02:27:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/where-condition-on-text-fields/m-p/1451369#M213735</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-25T02:27:37Z</dc:date>
    </item>
    <item>
      <title>Re: Where condition on text fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/where-condition-on-text-fields/m-p/1451370#M213736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;TRY:&lt;/P&gt;&lt;P&gt;st_matnr-option = 'BT'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ALSO, what is in p_desc. The CP needs '*' or similar to work properly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2006 02:41:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/where-condition-on-text-fields/m-p/1451370#M213736</guid>
      <dc:creator>former_member186741</dc:creator>
      <dc:date>2006-07-25T02:41:45Z</dc:date>
    </item>
    <item>
      <title>Re: Where condition on text fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/where-condition-on-text-fields/m-p/1451371#M213737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Neil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply, I've added 'BT' still no entries found in the table, yes I'm keying in with &lt;STRONG&gt;material&lt;/STRONG&gt; in the description. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please advise...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2006 03:06:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/where-condition-on-text-fields/m-p/1451371#M213737</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-25T03:06:23Z</dc:date>
    </item>
    <item>
      <title>Re: Where condition on text fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/where-condition-on-text-fields/m-p/1451372#M213738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if your &lt;STRONG&gt;material&lt;/STRONG&gt; is in lower case it will not work...try &lt;STRONG&gt;MATERIAL&lt;/STRONG&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2006 03:31:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/where-condition-on-text-fields/m-p/1451372#M213738</guid>
      <dc:creator>former_member186741</dc:creator>
      <dc:date>2006-07-25T03:31:41Z</dc:date>
    </item>
    <item>
      <title>Re: Where condition on text fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/where-condition-on-text-fields/m-p/1451373#M213739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Neil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm refering to the data element maktg which is for uppercase for search help in MAKT table, it automatically is converting the description into upper case regardless how it was entered, without having to translate w_desc to uppercase. Still doesn't return values. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please advise.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks...&lt;/P&gt;&lt;P&gt;GP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2006 03:48:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/where-condition-on-text-fields/m-p/1451373#M213739</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-25T03:48:26Z</dc:date>
    </item>
    <item>
      <title>Re: Where condition on text fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/where-condition-on-text-fields/m-p/1451374#M213740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It will convert it if it's being entered uinto a screen field referring to that but if it's copie from another variable it won't convert.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try a process of elimination. take out the where clause components until you get some data and then you will have something to focus on. i.e. the culprit will be revealed even if you don't know why he's guilty.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's also possible that the matnr field has a conversion exit attached and you need to take that into account when populating your variable. eg to remove or add in leading zeroes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2006 04:02:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/where-condition-on-text-fields/m-p/1451374#M213740</guid>
      <dc:creator>former_member186741</dc:creator>
      <dc:date>2006-07-25T04:02:27Z</dc:date>
    </item>
    <item>
      <title>Re: Where condition on text fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/where-condition-on-text-fields/m-p/1451375#M213741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;gibve like this and try...&lt;/P&gt;&lt;P&gt;st_matnr-sign = 'I'.&lt;/P&gt;&lt;P&gt;st_matnr-option = 'EQ'.&lt;/P&gt;&lt;P&gt;st_matnr-low = w_matnr_low.&lt;/P&gt;&lt;P&gt;APPEND st_matnr TO t_matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;st_matnr-sign = 'I'.&lt;/P&gt;&lt;P&gt;st_matnr-option = 'EQ'.&lt;/P&gt;&lt;P&gt;st_matnr-high = w_matnr_high.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;APPEND st_matnr TO t_matnr.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2006 04:42:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/where-condition-on-text-fields/m-p/1451375#M213741</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-25T04:42:52Z</dc:date>
    </item>
  </channel>
</rss>

