<?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: Data fetch problem from EBAN table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-fetch-problem-from-eban-table/m-p/6410317#M1407746</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What you ask is not easy but it is feasible.&lt;/P&gt;&lt;P&gt;We had the same request to make a case-insensitive search on a text field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As a reference for our development we took the following example:&lt;/P&gt;&lt;P&gt;[http://wiki.sdn.sap.com/wiki/display/Snippets/Case&lt;EM&gt;Insensitive&lt;/EM&gt;Search&lt;EM&gt;Help&lt;/EM&gt;Exit&lt;EM&gt;for&lt;/EM&gt;Material&lt;EM&gt;Group|http://wiki.sdn.sap.com/wiki/display/Snippets/Case&lt;/EM&gt;Insensitive&lt;EM&gt;Search&lt;/EM&gt;Help&lt;EM&gt;Exit&lt;/EM&gt;for&lt;EM&gt;Material&lt;/EM&gt;Group]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In short : the purpose is that first of all you build up a list of all possible values in a separate internal table.&lt;/P&gt;&lt;P&gt;Then use this separate internal table in the FOR ALL ENTRIES clause when you perform the select on the actual data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Success.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Dec 2009 10:35:11 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-12-01T10:35:11Z</dc:date>
    <item>
      <title>Data fetch problem from EBAN table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-fetch-problem-from-eban-table/m-p/6410314#M1407743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a problem in data fetching. My SQL statement is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        SELECT    A~BANFN&lt;/P&gt;&lt;P&gt;                  A~FRGDT&lt;/P&gt;&lt;P&gt;                  A~MATNR&lt;/P&gt;&lt;P&gt;                  A~MENGE&lt;/P&gt;&lt;P&gt;                  A~MEINS&lt;/P&gt;&lt;P&gt;                  A~AFNAM&lt;/P&gt;&lt;P&gt;                  A~EKGRP&lt;/P&gt;&lt;P&gt;                  A~PRIO_URG&lt;/P&gt;&lt;P&gt;                  A~STATU&lt;/P&gt;&lt;P&gt;                  A~RLWRT&lt;/P&gt;&lt;P&gt;                  A~EBELN&lt;/P&gt;&lt;P&gt;                  A~LOEKZ&lt;/P&gt;&lt;P&gt;                  A~EBELP&lt;/P&gt;&lt;P&gt;                  A~FRGKZ&lt;/P&gt;&lt;P&gt;          INTO CORRESPONDING FIELDS OF TABLE ITAB_DATA&lt;/P&gt;&lt;P&gt;          FROM EBAN AS A&lt;/P&gt;&lt;P&gt;          WHERE     A~STATU IN S_STATU&lt;/P&gt;&lt;P&gt;          AND       A~EKGRP  = S_EKGRP&lt;/P&gt;&lt;P&gt;          AND       A~BANPR  = '05'&lt;/P&gt;&lt;P&gt;          AND       AFNAM  IN P_AFNAM&lt;/P&gt;&lt;P&gt;          AND       BEDNR  IN P_BEDNR .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In EBAN table data in AFNAM field is like 'Mech', 'mech' &amp;amp; 'Mech'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now in selection screen if user give Mech then system picks only that data where 'Mech' is there but requirement is it should pick all data related to ('Mech', 'mech', 'Mech') in AFNAM field. How do I do?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;Rajesh Vasudeva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Dec 2009 10:22:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-fetch-problem-from-eban-table/m-p/6410314#M1407743</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-01T10:22:20Z</dc:date>
    </item>
    <item>
      <title>Re: Data fetch problem from EBAN table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-fetch-problem-from-eban-table/m-p/6410315#M1407744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rajesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Upto my knowledge, select query behaves in that way only. One work around is to take care of this field while updating itself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;During update convert all letters to upper case and save. And also while fetching, convert the parameters data to upper case and then fetch using the select query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Swarna Munukoti.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Dec 2009 10:30:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-fetch-problem-from-eban-table/m-p/6410315#M1407744</guid>
      <dc:creator>former_member217544</dc:creator>
      <dc:date>2009-12-01T10:30:23Z</dc:date>
    </item>
    <item>
      <title>Re: Data fetch problem from EBAN table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-fetch-problem-from-eban-table/m-p/6410316#M1407745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rajesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Upto my knowledge, select query behaves in that way only. One work around is to take care of this field while updating itself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;During update convert all letters to upper case and save. And also while fetching, convert the parameters data to upper case and then fetch using the select query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Swarna Munukoti.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Dec 2009 10:30:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-fetch-problem-from-eban-table/m-p/6410316#M1407745</guid>
      <dc:creator>former_member217544</dc:creator>
      <dc:date>2009-12-01T10:30:57Z</dc:date>
    </item>
    <item>
      <title>Re: Data fetch problem from EBAN table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-fetch-problem-from-eban-table/m-p/6410317#M1407746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What you ask is not easy but it is feasible.&lt;/P&gt;&lt;P&gt;We had the same request to make a case-insensitive search on a text field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As a reference for our development we took the following example:&lt;/P&gt;&lt;P&gt;[http://wiki.sdn.sap.com/wiki/display/Snippets/Case&lt;EM&gt;Insensitive&lt;/EM&gt;Search&lt;EM&gt;Help&lt;/EM&gt;Exit&lt;EM&gt;for&lt;/EM&gt;Material&lt;EM&gt;Group|http://wiki.sdn.sap.com/wiki/display/Snippets/Case&lt;/EM&gt;Insensitive&lt;EM&gt;Search&lt;/EM&gt;Help&lt;EM&gt;Exit&lt;/EM&gt;for&lt;EM&gt;Material&lt;/EM&gt;Group]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In short : the purpose is that first of all you build up a list of all possible values in a separate internal table.&lt;/P&gt;&lt;P&gt;Then use this separate internal table in the FOR ALL ENTRIES clause when you perform the select on the actual data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Success.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Dec 2009 10:35:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-fetch-problem-from-eban-table/m-p/6410317#M1407746</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-01T10:35:11Z</dc:date>
    </item>
    <item>
      <title>Re: Data fetch problem from EBAN table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-fetch-problem-from-eban-table/m-p/6410318#M1407747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Open SQL wont allow you to perform this, so you have to find an other way like one of those proposals :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the report&lt;/P&gt;&lt;P&gt;- Ignoring this parameter in the WHERE clause of the SELECT statement, then looping at internal table using UPPER function to compare&lt;/P&gt;&lt;P&gt;- Using Native SQL, if upper() function available&lt;/P&gt;&lt;P&gt;- Building a where clause with every possible values (that can give a too big where clause and resume in a dump)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the update application (in ME51N/ME52N or BAPI) &lt;/P&gt;&lt;P&gt;- Changing the domain to no longer allow lowercase (Updating legacy data before)&lt;/P&gt;&lt;P&gt;- In an exit/BADI/enhancement point converting the data input to uppercase&lt;/P&gt;&lt;P&gt;- Adding a new field in EBAN (CI_EBANDB) and via CMOD on SMOD enhancement MEREQ001 or BADI ME_PROCESS_REQ_CUST copying and converting AFNAM to uppercase in ZZ field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Dec 2009 10:56:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-fetch-problem-from-eban-table/m-p/6410318#M1407747</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2009-12-01T10:56:16Z</dc:date>
    </item>
    <item>
      <title>Re: Data fetch problem from EBAN table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-fetch-problem-from-eban-table/m-p/6410319#M1407748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Raymond,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;Using Native SQL, if upper() function available&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why did you add "If available" clause ? I was thinking the easiest solution will be to use Native SQL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Dec 2009 11:04:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-fetch-problem-from-eban-table/m-p/6410319#M1407748</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2009-12-01T11:04:59Z</dc:date>
    </item>
    <item>
      <title>Re: Data fetch problem from EBAN table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-fetch-problem-from-eban-table/m-p/6410320#M1407749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I worked some (long) time ago on SQL versions with some "unpredictable" results when using such functions, you should not get any trouble with the current versions which support SAP server, as the page code are well managed of course, remember there are differences between langages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Dec 2009 12:07:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-fetch-problem-from-eban-table/m-p/6410320#M1407749</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2009-12-01T12:07:55Z</dc:date>
    </item>
    <item>
      <title>Re: Data fetch problem from EBAN table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-fetch-problem-from-eban-table/m-p/6410321#M1407750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanx Raymond&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use Ist option suggested by you and it serves my purpose. Thanx a lot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Rajesh Vasudeva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2009 07:19:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-fetch-problem-from-eban-table/m-p/6410321#M1407750</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-02T07:19:07Z</dc:date>
    </item>
  </channel>
</rss>

