Search for upper case in Bex Queries

Dear Gurus,
I'm facing the following situation:
I have a query from BW listing customers from a Infocube and it is displayed in uppercases, but when I click in the button filter in left panel from the characteristic Customer and type the customer name in lowercases it doesn't work anyway,
What can I do to solve this problem?
Thank you in advance,
Fabio Purcino
Brazil

Hi,
I've solved this problem by changing the function module RSD_CHA_BUILD_QUERY. I just added the following code before ENDFUNCTION.
  data: ti_where type table of rsdrs_s_where with header line.
  loop at e_sx_query-t_where into ti_where.
    translate ti_where-low to upper case.
    translate ti_where-high to upper case.
    append ti_where.
  endloop.
Regards,
Fabio Purcino

Similar Messages

  • How to search for upper/lower case using string using JAVA!!!?

    -I am trying to write a program that will examine each letter in the string and count how many time the upper-case letter 'E' appears, and how many times the lower-case letter 'e' appears.
    -I also have to use a JOptionPane.showMessageDialog() to tell the user how many upper and lower case e's were in the string.
    -This will be repeated until the user types the word "Stop". 
    please help if you can
    what i have so far:
    [code]
    public class Project0 {
    public static void main(String[] args) {
      String[] uppercase = {'E'};
      String[] lowercase = {'e'};
      String isOrIsNot, inputWord;
      while (true) {
       // This line asks the user for input by popping out a single window
       // with text input
       inputWord = JOptionPane.showInputDialog(null, "Please enter a sentence");
       if ( inputWord.equals("stop") )
        System.exit(0);
       // if the inputWord is contained within uppercase or
       // lowercase return true
       if (wordIsThere(inputWord, lowercase))
        isOrIsNot = "Number of lower case e's: ";
       if (wordIsThere(inputword, uppercase))
         isOrIsNot = "number of upper case e's: ";
       // Output to a JOptionPane window whether the word is on the list or not
       JOptionPane.showMessageDialog(null, "The word " + inputWord + " " + isOrIsNot + " on the list.");
    } //main
    public static boolean wordIsThere(String findMe, String[] theList) {
      for (int i=0; i<theList.length; ++i) {
       if (findMe.equals(theList[i])) return true;
      return false;
    } // wordIsThere
    } // class Lab4Program1
    [/code]

    So what is your question? Do you get any errors? If so, post them. What doesn't work?
    And crossposted: how to search for upper/lower case using string using JAVA!!!?

  • Field validation only for UPPER CASE

    Hi Experts,
    my requirement is one field needed to be validate , it is coming from portal,
    and that string must be only UPPERCASE, if it is lower case error message is needed .
    like'only enter capital letters  ' .
    plz give me logic for upper case.
    Thanks.

    hi 
    you can go with following code...
    ITS A WORKING CODE WITH MY OWN DATA.
    you are getting w_source from portal
    data: w_char type string.
    start-of-selection.
    w_char = w_source.
    translate w_char to upper case.
    if w_char <> w_source.
      message 'only enter capital letters' type 'S'  display like 'E'.
    endif.
    regards

  • Search for LIFNR case insensitive + range

    Ladies and gentlemen,
    I could use your help. I need to select rows from LFA1 where the name (NAME1) matches a string. It has two difficult points, which I were not able to combine into a single solution, even after all the research I done.
    - I need the search to be case insensitive (I found a partial solution here)
    - I need to combine it with a range table
    So: I need a case insensitive search using range table. Can this be done effectively? Or is there any workaround you could suggest? This is just a minor part of the report about invoices and must not take long.
    Thank you for the time and effort,
    Cheers Otto

    Thank you, guys,
    you are very helpful, your ideas solved my problem. The MCOD* idea is easy/fast and solve my problem very well. I don´t understand why I didn´t find it myself. Hope to pay you back one day:))
    For others interested:
          DATA sx_dodnam TYPE TABLE OF z_dodnam_range.
          DATA wa_dodnam LIKE LINE OF sx_dodnam.
          LOOP AT s_dodnam INTO wa_dodnam.
            TRANSLATE wa_dodnam-low  TO UPPER CASE.
            TRANSLATE wa_dodnam-high TO UPPER CASE.
            APPEND wa_dodnam TO sx_dodnam.
          ENDLOOP.
          SELECT lifnr INTO wa_lifnr-low FROM lfa1 WHERE stcd2 IN s_ico AND mcod1 IN sx_dodnam.
            IF sy-subrc = 0.
              wa_lifnr-sign = 'I'.
              wa_lifnr-option = 'EQ'.
              APPEND wa_lifnr TO lt_lifnr.
            ENDIF.
          ENDSELECT.
    Cheers Otto

  • How to search for multiple values with Bex Prompts

    Hi,
    I would like to know  if it is possible to search for multiple values at the same time with Bex Prompts instead of searching one value at a time (please see the screen shot below). I searched the forum couldn't find any relevant answers. please let me know  how  to achieve?
    Thanks,
    Charvi.

    Hi Charvi,
    You can use wild card search to ensure you get multiple similar values listed as search output.use * for multiple characters and ? for single character.
    For Example, Ravi * would result you all employees with first name as Ravi
    You can use various search formats such as * Ravi * and * Ravi and Ra?? etc.
    Thanks
    Mallik

  • Help: Searching for a case

    Hi, I ride a motorcycle in Europe. Due to high wind speeds, I fear for my brand new iPhone 4.
    I just wanted a leather case, that I can fit my belt trough and stays there forever.
    In other words...a non-clip, non-strap, non-inside-pockets, wind/drop-proof leather case.
    Any suggestions ? Thanks.

    I've seen most ebay and non-ebay leather cases/pouches. The problem is that most of them, there's no pictures of the back side.
    I forgot to mention that I use the phone 70% of the time at work, and I have to wear a classic/casual uniform similar to those in hotel staff. Therefore, I cannot have something "radical" or outdoor-like such as sport straps. I need a leather case, that resists the bike speed, and I move alot at work also, so that's why I'm searching for something that will stay in my belt permanently locked and looks classic/professional.
    I have found something almost suitable at a local chinese store, however it is horizontal, and the iphone 4 fits perfect, but quite honestly, looks like I wrapped a brick to my belt. So I'm going for vertical style. Unfortunately, the chinese store have tons of cases, but for iPhone 4 it's a no...
    I still appreciate someone kind enough to give me more suggestions because I cannot find what I'm looking for online.
    Thanks in advance.

  • Calling Function Module for upper case to lower case in Transformation

    Hi all,
    We have the data load happening everyday for the Account Receivables data. The DSO activation is failing because of the invalid characters. It gives the messages as below
    "Value 'bdmg0808dm' (hex. '620064006D006700300038003000380064006D00') of characteristic ZINVNUM contains invalid characters"
    We understood that the character ZINVNUM is maintained only for uppercase letter wherein the lower case check box is not ticked. We have a function module which is build within BI which can be used to permit non permitted characters including space. Just want to know how can I call this function module in a transformation and which is the best option to call the function module(start routine/end routine).
    Regards
    Vijay

    You can use statement in end routine to convert text to upper case. No need of calling any function module. Just loop through records of RESULT_PACKAGE and for that particular field convert text using below statement.
    LOOP AT RESULT_PACKAGE.
    TRANSLATE RESULT_PACAKGE-/BIC/ZNAME TO UPPER CASE.
    ENDLOOP.
    Edited by: ABHIJIT TEMBHEKAR on Nov 14, 2008 2:22 PM

  • Unable to apply syntax for upper case in pdf form

    Hi All,
    I am unable to apply syntax in adobe livecycle design to conver the case automatic in upper case.
    Please help me how to do this as I am selecting form calc , clien and pasting the script but it does not work.
    or please share me your email id so that I can share my pdf form.
    Regards,
    Md Afsar

    The upper method needs a parameter.
    Use this script.
    $ = Upper($)

  • Format Arguments for upper case in Documaker

    Hi All,
    I have a DAL scripts which uses the XPath for customer. The customer names are coming in upper and lower came and some time mixed. I would like to make the first letter of the name ( first name, Middle name and last name) uppercase.
    from DAL reference book:
    Enter <> to capitalize the first letter of the resulting text. This flag is valid for the following codes and ignored on all others: %<>p, %<>A, %<>b, %<>B For example, if %p results in AM, %<>p produces Am.
    Cust_name_temp=" adam miline"
    Cust_name_temp= format(Cust_name_temp,,"%<>p") - this is not giving the result as "Adam Miline".
    Please help on the same.
    Debasish

    Hi,
    DAL does not have a direct function to do this.
    As an alternative,  the Move_It rule offers a Title Case format.
    thanks

  • Funtion Module for user exits for variables used in BEx Queries.

    Hi,
    This is for BW Query customer exit variable (zvar2) for include ZXRSRU01 and exit :EXIT_SAPLRRS0_001.
    Can anyone please suggest the function modules that can be used to do the following.
    1)Read value of zvar1 from selection screen whatever
    user enters at run time.
    2)How to define the zvar2 in the include. zvar2 is the
    variable created in BEx to be populated from this
    customer exit.
    3)How to use case statment where once the value for zvar1
    is determined then,
    Case zvar1.
    when zvar1 = 0 , then zvar2 = 10
    when zvar1 = 1 , then zvar2 = 20
    3) Assign zvar2 value as computed in the case statement.
    Can anyone please help with the code to achieve this.
    Any information regarding function modules that can help write user exits for variable reading and input will be greatly helpful.
    Thanks
    Sarah.

    Hi Sarah,
    You don't need any FM for your issue.
    Please try thie sample code :
    DATA: VAR_INPIUT LIKE RRRANGEEXIT.
    CASE I_VNAM.
      WHEN 'ZVAR2'.
       CLEAR L_S_RANGE.
       IF I_STEP = 2."PROCESSED AFTER VARIABLE INPUT
    *Reading value of ZVAR1
        LOOP AT I_T_VAR_RANGE INTO VAR_INPIUT
          WHERE VNAM = 'ZVAR1'.
          CASE VAR_INPIUT-LOW.
    *FILLING ZVAR2
           WHEN 0.
              L_S_RANGE-LOW     = 10.
           WHEN 1.
              L_S_RANGE-LOW     = 20.
          ENDCASE.
          L_S_RANGE-SIGN     = 'I'.
          L_S_RANGE-OPT      = 'EQ'.
          APPEND L_S_RANGE TO E_T_RANGE.
          EXIT.
        ENDLOOP.
      ENDIF.
    ENDCASE.
    Hope this helps
    Joe

  • Browser to search regardless upper case lower case

    If you browser search "whatever"
    FF wouldnt show the result for the word Whatever in the web page
    How can I solve this ?

    Make sure that "Match Case" isn't selected on the search bar (Ctrl+F).

  • Iam searching for test cases specific to iPhone apps

    Please help me out on writing Test cases specific to iPhone apps
    Thankyou

    I think I had the same problem. iTunes was reporting (in the side bar and at the bottom of the applications view) that there were X application updates but when I clicked it, it showed either none or only a couple of them.
    The problem was that iTunes checks if there are any updates to the applications you have installed (in your iTunes or iPhone) but when you go to see the updates, it logs in your iTunes account and displays the updates that are purchased with this specific account. Of course when you use for some reason two different accounts (e.g. just got a MobileMe account and want to use this instead of your previous), you will get different updates available to each account but the total number of updates will be displayed in various locations (sidebar, apps pane, iPhone app store icon badge).
    The only work-around I found was to logout from one account, login with the other, do the updates and log back in to the one I currently use.

  • Set Oracle to force searching string by upper case

    Our application using Oracle 11.1 and Hibernate. Data store in our database in mix cases. many of our queries are like select first_name from persons where upper(first_name) like 'DAV%'
    It returns Dave, DAVE, dave, David, DAVIE etcAccording to our developers, Hibernate does not send query select first_name from persons where upper(first_name) like 'DAV%' it only doesselect first_name from persons where first_name like 'DAV%'This only return DAVE and DAVID.
    Question: Is there a way to set Oracle, at database level or table level, to always search by upper case, that is, select first_name from persons where first_name like 'DAV%' is converted to select first_name from persons where upper(first_name) like 'DAV%'

    Yes, there is a way. New in 10GR2....
    You can set NLS_COMP.
    http://www.orafaq.com/node/91
    I tested it and it works well...
    Example: SQL>  alter session set NLS_COMP=ANSI;
    Session altered.
    SQL> alter session set NLS_SORT=BINARY_CI;
    Session altered.
    SQL> select name from names where name = 'Johny Jacobson';
    NAME
    Johny Jacobson
    johny jacobson
    JOHNY JACOBSONI hope you find this helpful.
    ji li

  • Special characters converted in wrong in Upper case ?

    Hello,
    In material description , some characters such as µ when converted into upper case it will be 'M' in stead of 'µ' . This is in SAP ECC unicode . But it's ok in R/3.
    So in this case, Is there any solution for this problem ?
    Thanks

    MAKT-MAKTG : For upper case characters , When our client search for values when pressing F4 in material , If there's material description that contain 'u03BC', It will be displayed as 'M' in the text . This will happen in ECC 6 not in R/3 ( in R/3 two texts are the same) .
    The different behavior you're observing between what you call R/3 and ECC 6 is not due to the different releases, but based on the fact that one system is Unicode enabled and the other not. I suspect that you are most likely logging onto the system with a language that's linked to code page 1100 (in the non-Unicode release). Code page 1100 is similar to the Latin-1/ISO-8859-1 code page, which is designed to have most characters for western languages, but does not contain all Greek letters (SAP would most likely use code page 1700 if you set a greek locale).
    Again, it may sound silly, but you have to distinguish between the symbol µ (Unicode code point U+00B5) and the lower case greek letter u03BC (U03BC). SAP code page 1100 contains only the symbol µ (U00B5), which represents the prefix micro as for example in 1µm = 1 micro meter = 0.000001m. Neither the greek lower case letter u03BC (U+03BC) nor it's corresponding upper case letter exists in code page 1100.
    The Unicode standard defines the greek upper case letter u039C (U039C) as the upper case to use for both the symbol  µ (U00B5) and the lower case greek letter u03BC (U+03BC), see for example the Unicode mapping chart for Greek (so that's why you see a different behavior in ECC 6).
    I'm not sure why, but for some reason SAP found it worthwhile mentioning that they actually also convert the symbol  µ (U00B5) to u039C (U039C), though that essentially just means following Unicode standard. Anyhow, if you're interested in further details, check out OSS note 1078295 - Incomplete to upper cases in old code pages.

  • Wsdeploy generates upper case method calls

    Hi all,
    I'm using
    wsdeploy -tmpdir build\server -keep -o dist\adresse.war build\adresse_prepare.war -verbose
    to generate the server part of my webservice.
    This one put the method call of my only interface call
    getAdresse(String bla)
    to upper cases in all generated classes. So far this doesn't seem to be a problem cause the service is active and seems to work but if I try to generate the client side with
    wscompile -gen:client -d build/client -keep -verbose config.xml
    and direct access to the wsdl-file via the service all client classes are generated with lower case method call.
    Now trying to call the service with the client stubs I get a class not found exception on the server side cause the server seems to be instructed to search for lower case method call classes.
    The generated wsdl file exists of lower case method calls.
    I'm getting mad...
    Please help
    Oliver

    Same problem with the simple hello application....if someone of the creators of this wonderful tool is listening please give me a hint where to look at...I'm really drivin' crazy...
    java.lang.NoClassDefFoundError: hello/HelloIF_SayHello_RequestStruct (wrong name: hello/HelloIF_sayHello_RequestStruct)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111)
         at java.net.URLClassLoader.defineClass(URLClassLoader.java:248)
         at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
         at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1340)
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1274)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)

Maybe you are looking for