<?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: Handle upper-case,lower case in Select-options in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/handle-upper-case-lower-case-in-select-options/m-p/12810347#M2025542</link>
    <description>&lt;P&gt;Your code is kind of confusing, you're using select option and yet you are passing the low field value to other field instead of using them directly in the select query.&lt;/P&gt;&lt;P&gt;But anyway, if your problem is to maintain the case sensitivity issue, then you should be using the type which are using domain with lower case enabled option, so that the field could maintain the field input as it is ( not translating it upper or lower case ). &lt;/P&gt;&lt;P&gt;However, if you are saying that the input value you provide must be able to find the data with weird text case ( such as input value: Coding, value in database: cOdiNg ) then i don't think you have any way to solve such case.&lt;/P&gt;</description>
    <pubDate>Fri, 16 Jun 2023 08:29:46 GMT</pubDate>
    <dc:creator>xiswanto</dc:creator>
    <dc:date>2023-06-16T08:29:46Z</dc:date>
    <item>
      <title>Handle upper-case,lower case in Select-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/handle-upper-case-lower-case-in-select-options/m-p/12810342#M2025537</link>
      <description>&lt;P&gt;Hi Experts,&lt;/P&gt;
  &lt;P&gt;When i enter some values in Select-options, they are getting converted to upper &amp;amp; lower cases which is&lt;/P&gt;
  &lt;P&gt;failing the select query on the same fields for underlying DB table.&lt;/P&gt;
  &lt;P&gt;My code is below:&lt;/P&gt; 
  &lt;PRE&gt;&lt;CODE&gt;select-options: 
                s_lname for LAST_NAME  no intervals,
                s_fname for FIRST_NAME no intervals.

 perform names_case_search changing s_lname s_fname.
    *gv_lname &amp;amp; gv_fname are fields in a Ztable 
	gv_lname = s_lname-low.
    	gv_fname = s_fname-low.
    	gv_city = s_city-low.

**   Data selection
    select * from ztable into table it_outdata
     where ord_no in s_dlno
        and last_name eq gv_lname
        or  first_name eq gv_fname
        and city in s_city.

form names_case_search changing xy_lname like s_lname
                                xy_fname like s_fname.

This form contains logic with offsets to convert upper-case to lower-case &amp;amp; 
vice versa &amp;amp; translate.. etc and assign back to xy_lname &amp;amp; xy_fname.

endform.&amp;lt;br&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;Can someone please guide me how to i handle this? &lt;/P&gt;</description>
      <pubDate>Thu, 15 Jun 2023 23:21:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/handle-upper-case-lower-case-in-select-options/m-p/12810342#M2025537</guid>
      <dc:creator>ricky_shaw</dc:creator>
      <dc:date>2023-06-15T23:21:56Z</dc:date>
    </item>
    <item>
      <title>Re: Handle upper-case,lower case in Select-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/handle-upper-case-lower-case-in-select-options/m-p/12810343#M2025538</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;if you want anyone to help please provide a self contained complete example that can be tried out right away.&lt;/P&gt;&lt;P&gt;Have your checked the documentation on select-options and the domain of your fields?&lt;/P&gt;&lt;P&gt;Regards, Manfred&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jun 2023 05:45:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/handle-upper-case-lower-case-in-select-options/m-p/12810343#M2025538</guid>
      <dc:creator>manfred_reinart</dc:creator>
      <dc:date>2023-06-16T05:45:09Z</dc:date>
    </item>
    <item>
      <title>Re: Handle upper-case,lower case in Select-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/handle-upper-case-lower-case-in-select-options/m-p/12810344#M2025539</link>
      <description>&lt;P&gt;option "LOWER CASE" :&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2178551-image.png" /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jun 2023 06:14:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/handle-upper-case-lower-case-in-select-options/m-p/12810344#M2025539</guid>
      <dc:creator>tom_wan</dc:creator>
      <dc:date>2023-06-16T06:14:03Z</dc:date>
    </item>
    <item>
      <title>Re: Handle upper-case,lower case in Select-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/handle-upper-case-lower-case-in-select-options/m-p/12810345#M2025540</link>
      <description>&lt;P&gt;Bis repetita what Tow Wan said: look at the ABAP documentation for &lt;A href="https://help.sap.com/doc/abapdocu_latest_index_htm/latest/en-US/index.htm?file=abapselect-options.htm"&gt;SELECT-OPTIONS&lt;/A&gt;:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECT-OPTIONS ... LOWER CASE ...&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 16 Jun 2023 07:32:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/handle-upper-case-lower-case-in-select-options/m-p/12810345#M2025540</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2023-06-16T07:32:33Z</dc:date>
    </item>
    <item>
      <title>Re: Handle upper-case,lower case in Select-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/handle-upper-case-lower-case-in-select-options/m-p/12810346#M2025541</link>
      <description>&lt;P&gt;Use the F1 key on the Abap Editor, or look in online help&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;To prevent input conversion look for &lt;A href="https://help.sap.com/doc/abapdocu_latest_index_htm/latest/en-US/abapselect-options.htm"&gt;SELECT-OPTIONS&lt;/A&gt; option &lt;A href="https://help.sap.com/doc/abapdocu_latest_index_htm/latest/en-US/abapselect-options_value.htm?file=abapselect-options_value.htm#!ABAP_ADDITION_2@2@"&gt;LOWER CASE&lt;/A&gt; but selection will require exact matching of upper/lowercae characters&lt;/LI&gt;&lt;LI&gt;To perform a search that ignore lower/upper case (so 'aBc' matches 'Abc') look for &lt;A href="https://help.sap.com/doc/abapdocu_latest_index_htm/latest/en-US/abapselect.htm"&gt;SELECT&lt;/A&gt; ... &lt;A href="https://help.sap.com/doc/abapdocu_latest_index_htm/latest/en-US/abapwhere.htm"&gt;WHERE&lt;/A&gt; ... &lt;A href="https://help.sap.com/doc/abapdocu_latest_index_htm/latest/en-US/abensql_function_upper_abexa.htm?file=abensql_function_upper_abexa.htm#@@ITOC@@ABENSQL_FUNCTION_UPPER_ABEXA_1"&gt;UPPER&lt;/A&gt; (and convert criteria to upper)&lt;/LI&gt;&lt;/UL&gt;&lt;A href="https://help.sap.com/doc/abapdocu_latest_index_htm/latest/en-US/abapselect-options_value.htm?file=abapselect-options_value.htm#!ABAP_ADDITION_2@2@"&gt;&lt;/A&gt;</description>
      <pubDate>Fri, 16 Jun 2023 08:27:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/handle-upper-case-lower-case-in-select-options/m-p/12810346#M2025541</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2023-06-16T08:27:23Z</dc:date>
    </item>
    <item>
      <title>Re: Handle upper-case,lower case in Select-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/handle-upper-case-lower-case-in-select-options/m-p/12810347#M2025542</link>
      <description>&lt;P&gt;Your code is kind of confusing, you're using select option and yet you are passing the low field value to other field instead of using them directly in the select query.&lt;/P&gt;&lt;P&gt;But anyway, if your problem is to maintain the case sensitivity issue, then you should be using the type which are using domain with lower case enabled option, so that the field could maintain the field input as it is ( not translating it upper or lower case ). &lt;/P&gt;&lt;P&gt;However, if you are saying that the input value you provide must be able to find the data with weird text case ( such as input value: Coding, value in database: cOdiNg ) then i don't think you have any way to solve such case.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jun 2023 08:29:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/handle-upper-case-lower-case-in-select-options/m-p/12810347#M2025542</guid>
      <dc:creator>xiswanto</dc:creator>
      <dc:date>2023-06-16T08:29:46Z</dc:date>
    </item>
    <item>
      <title>Re: Handle upper-case,lower case in Select-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/handle-upper-case-lower-case-in-select-options/m-p/12810348#M2025543</link>
      <description>&lt;P&gt;hi &lt;/P&gt;&lt;P&gt;I upated the code slightly with comments.&lt;/P&gt;&lt;P&gt;The underlying domains for Last_name &amp;amp; First_name are : BU_NAMEP_L &amp;amp; BU_NAMEP_F. &lt;/P&gt;&lt;P&gt;respectively.Can you please try now.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jun 2023 13:37:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/handle-upper-case-lower-case-in-select-options/m-p/12810348#M2025543</guid>
      <dc:creator>ricky_shaw</dc:creator>
      <dc:date>2023-06-16T13:37:43Z</dc:date>
    </item>
    <item>
      <title>Re: Handle upper-case,lower case in Select-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/handle-upper-case-lower-case-in-select-options/m-p/12810349#M2025544</link>
      <description>&lt;P&gt;Thank you Tan &amp;amp; Sandra&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jun 2023 13:51:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/handle-upper-case-lower-case-in-select-options/m-p/12810349#M2025544</guid>
      <dc:creator>ricky_shaw</dc:creator>
      <dc:date>2023-06-16T13:51:51Z</dc:date>
    </item>
  </channel>
</rss>

