<?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: Convert both parameter and table value to Upper case in Select statement in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-both-parameter-and-table-value-to-upper-case-in-select-statement/m-p/3314552#M793917</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;report ztest no standard page heading.

tables lfa1.

data: name like lfa1-name1 value 'NISSAN'.

EXEC SQL.
  SELECT *
  INTO :LFA1
  FROM  LFA1
  WHERE UPPER(NAME1)  =  :NAME
ENDEXEC.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Jan 2008 17:32:59 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-21T17:32:59Z</dc:date>
    <item>
      <title>Convert both parameter and table value to Upper case in Select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-both-parameter-and-table-value-to-upper-case-in-select-statement/m-p/3314544#M793909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a select statement with where clause.  I want to make it not case sensitive.  I want to able to convert the value coming form table to upper case and compare it against the parameter that is converted to upper case. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can some one please give me syntax for that.  I know in ABAP there is TRANSLATE statement but I am not sure how to use it in Where clause.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHERE UPPERCASE(fieldName) like UPPERCASE(parameter)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jan 2008 15:55:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-both-parameter-and-table-value-to-upper-case-in-select-statement/m-p/3314544#M793909</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-21T15:55:33Z</dc:date>
    </item>
    <item>
      <title>Re: Convert both parameter and table value to Upper case in Select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-both-parameter-and-table-value-to-upper-case-in-select-statement/m-p/3314545#M793910</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;You can use translate statement .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sriram Ponna.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jan 2008 16:00:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-both-parameter-and-table-value-to-upper-case-in-select-statement/m-p/3314545#M793910</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-21T16:00:35Z</dc:date>
    </item>
    <item>
      <title>Re: Convert both parameter and table value to Upper case in Select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-both-parameter-and-table-value-to-upper-case-in-select-statement/m-p/3314546#M793911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You either have to use native SQL to do this or find another field in the table that is not case sensitive.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What table and field are you looking at?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jan 2008 16:00:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-both-parameter-and-table-value-to-upper-case-in-select-statement/m-p/3314546#M793911</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-21T16:00:50Z</dc:date>
    </item>
    <item>
      <title>Re: Convert both parameter and table value to Upper case in Select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-both-parameter-and-table-value-to-upper-case-in-select-statement/m-p/3314547#M793912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ravi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In domain, see if the flag &lt;STRONG&gt;LOWER CASE&lt;/STRONG&gt; is flagged.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this indicator is set, upper case and lower case are distinguished when you enter values with screen masks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Otherwise all the letters entered will be converted to upper case when you enter values with a screen mask.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This mechanism is in effect for all the fields referring to this domain.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vinodh Balakrishnan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jan 2008 16:00:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-both-parameter-and-table-value-to-upper-case-in-select-statement/m-p/3314547#M793912</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-21T16:00:59Z</dc:date>
    </item>
    <item>
      <title>Re: Convert both parameter and table value to Upper case in Select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-both-parameter-and-table-value-to-upper-case-in-select-statement/m-p/3314548#M793913</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;U can only translate the value before selecting the data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TRANSLATE &amp;lt;FIELD&amp;gt; TO UPPER CASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But you can't do it while selecting the record, so&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TRANSLATE &amp;lt;FIELD&amp;gt; TO UPPERCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT * FROM &amp;lt;TABLE&amp;gt; WHERE FIELD = &amp;lt;FIELD&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But you're sure the table field has only uppercase string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jan 2008 16:07:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-both-parameter-and-table-value-to-upper-case-in-select-statement/m-p/3314548#M793913</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-21T16:07:20Z</dc:date>
    </item>
    <item>
      <title>Re: Convert both parameter and table value to Upper case in Select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-both-parameter-and-table-value-to-upper-case-in-select-statement/m-p/3314549#M793914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The select in inside a Function Module that is getting called from Portal Web Dynpro screen.  I am searching Master Data tables in BI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can control the parameter to be converted to upper case, but as i mentioned to compare it I want to be able compare it against the table values to return the results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a setting to make a funciton module results case insensitive.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The last option I have is to load all master data in BI in upper case.  I want to use that as a last option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jan 2008 16:22:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-both-parameter-and-table-value-to-upper-case-in-select-statement/m-p/3314549#M793914</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-21T16:22:50Z</dc:date>
    </item>
    <item>
      <title>Re: Convert both parameter and table value to Upper case in Select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-both-parameter-and-table-value-to-upper-case-in-select-statement/m-p/3314550#M793915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Native SQL is slower, but in this case, probably what you need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jan 2008 16:44:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-both-parameter-and-table-value-to-upper-case-in-select-statement/m-p/3314550#M793915</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-21T16:44:01Z</dc:date>
    </item>
    <item>
      <title>Re: Convert both parameter and table value to Upper case in Select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-both-parameter-and-table-value-to-upper-case-in-select-statement/m-p/3314551#M793916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks..I will try that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jan 2008 17:27:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-both-parameter-and-table-value-to-upper-case-in-select-statement/m-p/3314551#M793916</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-21T17:27:53Z</dc:date>
    </item>
    <item>
      <title>Re: Convert both parameter and table value to Upper case in Select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-both-parameter-and-table-value-to-upper-case-in-select-statement/m-p/3314552#M793917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;report ztest no standard page heading.

tables lfa1.

data: name like lfa1-name1 value 'NISSAN'.

EXEC SQL.
  SELECT *
  INTO :LFA1
  FROM  LFA1
  WHERE UPPER(NAME1)  =  :NAME
ENDEXEC.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jan 2008 17:32:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-both-parameter-and-table-value-to-upper-case-in-select-statement/m-p/3314552#M793917</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-21T17:32:59Z</dc:date>
    </item>
  </channel>
</rss>

