[IDCS2-PC] PMString - convert to upper case

Hi everybody,
does somebody meet the problem that some of character couldn't be converted to upper case.
I have
PMString initialized with text
"lørdag". When I call function
ToUpper() I got
"LøRDAG", where there is one character in lower case which wasn't transformed.
Do somebody know why and which function should I used instead of that to be succesfull?
ThanX,
pyso

Hi everybody,
I've just found a solution. In SDK there is probably error because
PMString.ToUpper() doesn't work well but
WideString.ToUpper() works fine.
bye,
pyso

Similar Messages

  • Problem in converting into upper case urgent

    hi,
    i  working on module pool program.
    in the initial screen there is two fields one is number one is name.
    if i enter the name in the name field it is automatically converting into upper case,
    but in this case my select query is not working,how to solve this,i mean i have to take same as it is what i entered.
    kindly give me suggestion.it is urgent issue.i have to delever today.
    Thanks,
    mohan.

    hi
    in the Report to handle like this situation.. we use the extentions to the parameter  as  LOWER CASE .
    parameters p_t type char10 LOWER CASE .
    i think in the Module pool also.. we can do this in Properties of the FIELD... once check the Properties of the field... there  could be a chance.
    hi
    <b>there is field <b>checkbox called UPPER/LOWER CASE</b>at the bottom of the properties... if tick this u r porblem will be solved</b>
    Please Close this thread.. when u r problem is solved
    Reward if Helpful
    Regards
    Naresh Reddy K
    Message was edited by:
            Naresh Reddy

  • Value converting to upper case

    Hi,
    There is a table control, but when i am taking a value from the table in PAI of my screen, the value gets converted to upper case, can any one suggest me what would be happening. Is there any way to control this?
    Thanks in Advance,
    kushagra sharma

    Hi Sharma,
    Go to the screen painter for the table control screen, go to the screen attributes of the field (field you want to restrict the case change) and check the check box Upper/Lower case.
    Hope this may help you.
    Regards,
    Smart Varghese

  • Password Is Converted to Upper Case in WAS 7.0

    Hi Friends,
           I have a requirment where in we are using some funcation modules for User authontication  . The import parameter for password is converting the password into upper case . Is there any way that i can do some settings or use a data type that allows me to take the password as it is with out converting into upper case.
    We are working on WAS 7.0.
    Thanks,
    Mahesh

    Hi Ravi,
        I have done what ever u have suggested and it works...
       Is there any setting that we can do so that the Upper/Lower case Check box is checked by default when executing the FM from se37.
    Thanks
    Mahesh

  • Hi one pressing enter the fields are converted to upper case

    hi
    in table maintiance module pool program i have created thre are three fields
    kunnr name1 and email id
    now on pressing enter on maintiance screen the all the theree fields are converted to upper case i want to avoid this conversion to upper case....
    pls suggest
    and on pressing enter PAI is callled i want to avoid pai being called at this point of time
    regards
    Arora

    yes i have activated the table
    for tabel mantiance generater it is coming as disble so i suppose no need to gernereate table mantiance gerneartor again/
    ys in dynpro for shp to name uppe or lower case check box is checked but it is coming as disabled.
    pls suggest  how to delect it and wht does upper/lower case check box in special attributed means?
    regards
    nishant

  • When pressing enter the values are converted to upper case in module pool

    hi
    tehre are three fields for maintanece in module pool
    wheni press enter the fields are converted to upper case i want to avoid this as i dont want to have the upper case
    i need to save in table as waht user has inputed not in upper case
    so i dont want the fields to be automatically converted to upper case whne pressing enter on screen
    regards
    Nishant

    hi Nishant ,
    <b>The solution to ur problem is breifly explained with a sample module pool program .</b>check it below :
    IN the TOP INCLUDE**********************
    DATA :
           wempid TYPE z7684dp-empid ,   " same name as in the screen declaration
           wname TYPE  z7684dp-name,
           wacc TYPE  z7684dp-account,
           wdesg TYPE  z7684dp-designation,
           ok_code TYPE sy-ucomm ,
           wa_z7684dp TYPE z7684dp,
           t_z7684dp TYPE STANDARD TABLE OF z7684dp,
    *****IN THE PAI OF THE SCREEN 100(for example)***********
    MODULE user_command_0100 INPUT.
      CASE ok_code .
        WHEN 'CRE' .                 " function code for the pushbotton to insert the values
    TRANSLATE wdesg TO LOWER CASE.
    TRANSLATE wempid TO LOWER CASE.
    TRANSLATE wname TO LOWER CASE.
    TRANSLATE wacc TO LOWER CASE.
          wa_z7684dp-empid = wempid .
          wa_z7684dp-name = wname .
          wa_z7684dp-account = wacc .
          wa_z7684dp-designation = wdesg .
          INSERT INTO z7684dp VALUES wa_z7684dp .
          IF sy-subrc EQ 0 .
            MESSAGE 'SUCCESSFUL INSERTION TO TABLE' TYPE 'I' .
          ELSE .
            MESSAGE 'UNSUCCESSFUL INSERTION TO TABLE' TYPE 'I' .
          ENDIF.
          CLEAR: wa_z7684dp , wempid , wname , wacc , wdesg.
    REVERT BACK WITH ANY FURTHUR QUERIES
    <b>DO REWARD WITRH POINTS IF USEFUL :)</b>

  • Special character not being converted to upper case

    Hi all,
    I have an issue with special characters and upper/lower case.
    The character "ü" is in one of the values of an InfoObject and when loading we get an error message for this value. The character "Ü" is in RSKC, but still we are getting an error when loading.
    We are converting the values to upper case in the transfer rules, but this special character is not being converted to upper case...
    We start with the value "Heüringen" and after conversion we have the value "HEüRINGEN" where we want to have "HEÜRINGEN".
    Do you have any idea why this characer is not being converted?
    Any ideas are welcome!
    Best regards,
    TMV

    Hi Praveen,
    What does this module actually do? What kind of characters will the special chars be replaced with?
    Br,
    TMV

  • Convert to upper case

    I need to convert certain fields from an upload file into upper case.
    Any pointers as to how this can be done. Thanks.

    hi,
    u can use transalte command to convert into upper/lower case.as
    loop at itab.
       TRANSLATE itab1-fld1 TO LOWER/UPPER CASE.
        modift itab1  index sy-index.
    endloop.
    if helpful reward some points.
    with reagrds,
    suresh babu aluri.

  • Editable ALV: Entered Values are not Converted to Upper Case

    Hi Experts,
    I'm getting stuck with this one...
    Fieldcat-lowercase is initial
    Associated domain is NOT "lower case"
    New values entered by user are not converted automatically to upper case and - in result - chek result of lower case value is "invalid"
    Must conversion be done manually?
    Thanks for your help!
    carsten

    1. You may not press enter key after the input data,
    2. You may get it field's fieldcat references different type. For exam x field like abc-f1. f1 type char 10.But your fieldcat dont use abc-f1 field.
      DEFINE BFCAT.
        CLEAR SFCAT.
        SFCAT-FIELDNAME = &1.
        SFCAT-TABNAME   = 'GT_ITAB_BUF'.    SFCAT-SELTEXT_S = &2.
        SFCAT-SELTEXT_M = &2.
        SFCAT-SELTEXT_L = &2.
        SFCAT-COL_POS   = COLPOS.
        SFCAT-REF_FIELDNAME = &3.
        SFCAT-REF_TABNAME = &4.   
        SFCAT-OUTPUTLEN = &5.
        SFCAT-NO_OUT = &6.
        COLPOS = COLPOS + 1.
        APPEND SFCAT TO TFCAT.
      END-OF-DEFINITION.
      COLPOS = 0.
      BFCAT 'ONRNO'       ''  'ONRNO'       'ZONR_DATA01_S01' '' ''.

  • File name gets converted to upper case

    I am facing an unusual problem with Solaris 10. When I insert an USB thumb drive formatted with FAT to copy some file from the stick, some of the files whatever gets copied to hard disk get their file names changed to upper case. This is quite random, at least, I am not being able to figure out what pattern of file names are causing this problem. Any suggestions?
    Edited by: Holmes.Sherlock on Dec 4, 2012 1:13 PM

    Hi...
    you can translate the password in upper case before call bapi....
    translate psw to upper case.
    regards
    Marco

  • How do u convert  to upper case?

    hi...
    i'm new to oop and i couldnt find the syntax to change lower case to upper case anywhere...can someone kindly give me the link to that syntax please and thank you

    if i have an "apple" how do i make it to uppercase
    using the abovementioned codes??trust me i am not
    giving you my homework..i am truly in need of helpI am going to take a guess and say you tried:
    String yummy = "apple";
    yummy.toUpperCase();
    System.out.println( yummy ); only to see the "apple" returned.
    Now the answer has been given above, but why do you need to do this? String is an Immutable object. Basiclly this means that it can not change.
    Now you might say that the code
    yummy = yummy.toUpperCase();changes the String. Well it does not. It changes the refrence (yummy) to point from one string ("apple") to a brand new string "APPLE".
    This might have confused you even more, so here are some links to people who have explained it much better than I.
    JavaRanch Campfire - Cup Size: a Story About Variables
    JavaRanch Campfire - Pass By Value, Please

  • Converting to Upper Case

    Hi Guys,
    I facing weird issue in the report.I have a 0SPM_Plant  Master data as Berlin (Upper and Small Case).Is there any option to convert the Berlin to BERLIN in the reporting not in modeling.I have taken 0SPM_Plant as a reference of 0Plant.
    Please throw some light on it.
    Regards,
    Jayapal.

    In order to get that
    goto Table RSDCHABAS manage parameters infoobject. change into this table the parameter lowercase letters.
    And  activate infoobject in infoobject maintenance screen.

  • While i press the key its sholud be convert to upper case using java script

    hai
    have a peace day.
    give me a code for
    while i typing a text in lower case but it should be displayed in uppercase format in the textbox
    any body now the code means please help me
    thank u

    <%@ page contentType="text/html;charset=windows-1252"%>
    <html>
      <head>
        <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
        <title>untitled</title>
        <script language="javascript">
          function setUpperCase(val){
            val.value = val.value.toUpperCase();
        </script>
      </head>
      <body>
      <input type="text" name="textfield" onkeydown="setUpperCase(this)" />
      </body>
    </html>

  • 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.

  • Convert workarea content to upper case

    Hi experts,
    I have a work are which I  need to convert all its contents to UPPER CASE.
    is there a way i can do that without using TRANSLATE  for every field in that work area??/
    Thanks,
    Abdul.

    Hi Buddy,
    I tried for only one field and please do yourself for remaining fields .
    TYPES :BEGIN OF ls_tab1,
      field TYPE char200,
      END OF ls_tab1.
    DATA it_tab1 TYPE STANDARD TABLE OF ls_tab1 INITIAL SIZE 0.
    DATA lt_tab1 LIKE LINE OF it_tab1.
    lt_tab1-field = 'This is my first program to convert lower case to upper case  without using transalate syntax.....'.
    APPEND lt_tab1 TO it_tab1.
    READ TABLE it_tab1 INTO lt_tab1 INDEX 1
    IF sy-subrc EQ 0.
      WRITE lt_tab1-field COLOR 3.
    ENDIF.
    DATA :lv_counter TYPE i,
          uccp TYPE i,
          int TYPE i.
    LOOP AT it_tab1 INTO lt_tab1 .
      lv_counter  = STRLEN( lt_tab1-field ).
      WHILE int  NE lv_counter.
        IF lt_tab1+int(1)  EQ 'a' OR   lt_tab1+int(1) EQ 'b'  OR  lt_tab1+int(1) EQ  'c' OR lt_tab1+int(1) EQ  'd'
           OR lt_tab1+int(1) EQ 'e'  OR  lt_tab1+int(1) EQ 'f' OR lt_tab1+int(1) EQ 'g' OR lt_tab1+int(1) EQ 'h'
           OR lt_tab1+int(1) EQ 'i'  OR lt_tab1+int(1) EQ 'j' OR lt_tab1+int(1) EQ'k' OR lt_tab1+int(1) EQ'l' OR lt_tab1+int(1) EQ 'm'
           OR lt_tab1+int(1) EQ'n' OR lt_tab1+int(1) EQ 'o'   OR lt_tab1+int(1) EQ 'p'  OR lt_tab1+int(1) EQ 'q'
          OR lt_tab1+int(1) EQ 'r' OR lt_tab1+int(1) EQ 's' OR lt_tab1+int(1) EQ 't' OR lt_tab1+int(1) EQ 'u'
           OR lt_tab1+int(1) EQ 'v' OR lt_tab1+int(1) EQ 'w' OR lt_tab1+int(1) EQ 'x' OR lt_tab1+int(1) EQ 'y'
          OR lt_tab1+int(1) EQ'z'.
          CALL METHOD cl_abap_conv_out_ce=>uccpi
            EXPORTING
              char = lt_tab1+int(1)
            RECEIVING
              uccp = uccp.
          IF uccp BETWEEN 97 AND 122.
            uccp = ( uccp - 32 ) .
    *        TRY.
            CALL METHOD cl_abap_conv_in_ce=>uccpi
              EXPORTING
                uccp = uccp
              RECEIVING
                char = lt_tab1-field+int(1).
          ENDIF.
        ENDIF.
        int =  int + 1 .
      ENDWHILE.
      MODIFY it_tab1 FROM lt_tab1 .
    ENDLOOP.
    write: 'After converting to upper case'.
    READ TABLE it_tab1 INTO lt_tab1 INDEX 1
    IF sy-subrc EQ 0.
      WRITE lt_tab1-field COLOR 3.
    ENDIF.
    Please let me know further any issues .
    Thanks
    Surender

Maybe you are looking for