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

Similar Messages

  • How to convert a string from upper case to lower case in FOX formula

    Hi Experts,
    How to convert a string from upper case to lower case in FOX formula?
    Thanks,
    Cheers!!!
    PANKAJ

    The last result.append( c ) should be:
    result.append( Character.toLowerCase(c) );

  • Rfcnpass converts passwords to all upper case

    All,
    I am trying to synchronize my passwords on my SAP systems by using rfcnpass which is delivered in the RFCSDK. I am using the latest 7.1 version. This worked great until we upgraded our SAP systems to 7.0. Now when I run rfcnpass it changes the password to what I enter, but it converts it to all upper case. Does anyone know how to get by this issue ?
    Sean

    Julius Bussche wrote:
    Synchronizing passwords is pre-destined to cause problems - either because they do grow out of sync anyway, or the systems' policies differ or because your weakest common password rule is dictating the security level to the strongest system and when you get hacked you will not know where it came from (if you notice at all...).
    I fully agree - also stated in [SAP note 376856|https://service.sap.com/sap/support/notes/376856].

  • 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 the entrie to upper case

    Hello Experts,
    My client is asking me to convert the entries which are existing in database to upper case and display in upper case in transaction from where he is calling f4 help. and also he wants to display the same data in upper case in adobe forms.
    Please let me know how to make it possible.
    Thanks in advance.
    Indra.

    Hi,
    In self developed programs, you can use TRANSLATE command.
    In standard F4 help, you cannot convert to uppercase. The use of upper/lower case is a property of domain.
    Best regards,
    Leandro Mengue

  • Converting lower case to upper case data of flat file

    Hi All,
    I have a requirement purche order creation by using bapi function module.My requirement is  when I am uploading the flat file and if flat file  contains the data in lower case then before passing it to the function module i want to convert it in to Upper case. please tell me how can I do this.
    its very urgent.
    Regards,
    Amit.

    hi,
    Use translate statement ..
    DATA letters(3) TYPE C.
    MOVE 'abc' TO letters.
    TRANSLATE letters TO UPPER CASE.
    write : letters.
    Also refer
    /people/alvaro.tejadagalindo/blog/2006/12/21/does-abap-lacks-of-string-processing
    Regards,
    Santosh

  • 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

  • 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

  • Fetch data from IR to form in UPPER CASE format for text field items

    Hello,
    Can anyone please help with this issue. I have a IR report with form and I want to fetch the data to upper case when I go to the form level to edit the details from the IR report. I am using the Oracle APEX in built automatic row processing DML to update, create or delete the records. Is their any way, where I can convert the data to upper case whenever user creates a new record or updates the existing record using the in-built automatic row processing DML.
    Please help.
    Thanks,
    Orton

    Jari,
    I have tried your option but no luck. The thing is the text is getting converted from lower to upper case when i navigate from report to form level. But I want to save the data to the database all upper case, even if the user enters data in lower case and this applies for both inserts and updates. Whenever i tried to create or update a record, all the data should be converted to upper case before inserting or updating to the database.
    Please help.
    Thanks,
    Orton

  • Issue with upper case in cyrillic characters - error with SID generation

    Hi all,
    I have a problem loading a cyrillic string into a characteristic in a DSO.
    I get an error message when trying to activate the data in the DSO.
    The characteristic is a CHAR18 with the "lowercase letters" unmarked and there is an abap
    routine to convert the string in upper case.
    According to the error message, the string seems to be converted because the error shows the string in upper case ( the input was in lower case)  but the DSO data is not activated:
    " Value 'НЕУСТОЙКА 3498' (hex. '041D0415042304210422041E0419041A041000200033003400')
    of characteristic A2_ALLOCN contains invalid characters",
    I am working in an unicode system and I don´t know what is wrong...
    Any input will be highly appreciate it.
    Thanks in advance,
    Elena

    Value 'НЕУСТОЙКА 3498'
    Seems to be value contains invalid character.  Й
    If you need to populate invalid char into target  maintain this in t- code RSKC , Then system allows the Invalide chars into the target
    Donu2019t need edit this ivalue manually in PSA with required value and reconstruct from PSA.
    With Regards,
    Kishore.
    Edited by: Siv Kishore on Apr 22, 2009 11:37 AM
    Edited by: Siv Kishore on Apr 22, 2009 11:39 AM

  • Script to make the bookmarks all upper case

    due to the glare from the mounitor, I want to cover all the patches by black as much as possible.
    a work around is to convert the letters to upper case.
       I think it increases the total surface area of the black.
    I wanna start with the bookmarks.
    Is there a PROGRAMMATIC way to convert all the bookmarks to UPPERCASE ?
    for example :-
    in one paper pdf in the journal of 911 studies there is a bookmark that is
    nanothermite discovery in the dust   ===>  NANOTHERMITE DISCOVERY IN THE DUST
    can you attest that the size of the black has increased ?
    I hope some kind soul here can help out.
    Dying Vets
    P.S. plssss dont be shy of VETS, we are humans too, just follow the "orders" !!!

    "but I need to know the acrobat native objects."
    You need to download the "AcroJS.pdf" helpfile from Acrobat SDK pages.
    The object I used is bookmark.
    The routine to get all bookmarks "dumpBookmarks(..)" I took also from there.
    I put only in:
    s = bm.name;  //get the bookmark name
    bm.name = s.toUpperCase();  //change name to uppercase
    2) If you want to set only the first sign lowercase, then you have to write a loop which change every first sign after a space to lowercase.
    If there is no special reason, I would concentrat on setting the font to bold and/or use special color. I think that better to read as Upper-/Lowercase or popper.
    3) I would say: "I don't have any clue". My translator say:  "I haven't a clue."
    However, it leeds to the same result.
    best regards, Reinhard

  • Char to upper case

    Hello:
    The question is simple..
    How do you people convert a char to upper case?
    Regards
    pete

    this way is good enough as for me:
                   char c = chars;
                   String s = String.valueOf(c);
                   result.append("[" + s.toUpperCase() + s.toLowerCase() + "]");

  • How to convert lower case to upper case?

    Hi,
    How to convert lower case letter to upper case and vice versa?

    TRANSLATE
    Variants:
    1. TRANSLATE c TO UPPER CASE.
    2. TRANSLATE c TO LOWER CASE.
    3. TRANSLATE c USING r.
    See String processing
    Variant 1
    TRANSLATE c TO UPPER CASE.
    Variant 2
    TRANSLATE c TO LOWER CASE.
    Effect
    The first variant converts all lowercase letters in c to uppercase. The second variant converts all uppercase letters to lowercase.
    Example
    DATA letters(3) TYPE C.
    MOVE 'abc' TO letters.
    TRANSLATE letters TO UPPER CASE.
    letters now has the contents 'ABC'.
    Note
    The classification of upper- and lowercase, and the actual characters used are determined by the current text environment (see SET LOCALE LANGUAGE). Problems may occur when the system converts the characters, if the wrong language has been specified in SET LOCALE LANGUAGE, or if data has been processed that does
    Variant 3
    TRANSLATE c USING r.
    Effect
    Replaces all the characters in the field c according to the rule in field r. c1 containscharacter pairs. The second character in each pair replaces the first. If r does not contain a character in c, this character remains unchanged. r can also be a variable.
    Example
    DATA: letters(20) TYPE C VALUE 'abcabcabcXab',
          change(15)  TYPE C VALUE 'aXbaYBabZacZ'.
    TRANSLATE letters USING change.
    letters now contains 'XaZXaZXaZXXaZ'.
    REWARD IF USEFUL

  • 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

  • Converting mixed case table name to upper case

    I am migrating data from Access to Oracle and new tables and columns being created are in mixed case is there a way to convert all tablename or column name automatically.
    Also does the migration workbench handle the memo fields currently defined in my oracle database.

    If you want tables and columns to be created in Upper Case then make sure the Create ANSI-Compliance Names checkbox is unchecked in the options section.
    1.Open Workbench.
    2.Tools -> Options
    Memo fields are migrated to CLOB fields in Oracle.

Maybe you are looking for

  • Employee hire via HR_MAINTAIN_MASTERDATA

    Hi, I am trying to create employee via FM using HR_MAINTAIN_MASTERDATA, unfortunately I am facing some issues when I am creating IT0001(Organizational Assignment) , I get an error stating that IT0003 is not creating for the given ID. What i would lik

  • File to Web service (SOAP) to File scenario with out BPM in PI 7.1

    Hi All, I have scenario File to Web service (SOAP) to File scenario with out BPM.i am getting the below error: 1) Error MP: unexpected exception caught com.sap.aii.af.service.cpa.impl.exception.CPAObjectKeyException: Value of key must not be null: Ob

  • Starting my Zen Mi

    Hi, I use my Zen Micro for some months but now i got a problem I cant solve:- It freezes sometimes but i normally fix it to start the MP3 again or connect it to my computer.- It freezes today before even some text was in my screen, just turned it off

  • System Disk or External Drive for FCS Extra Content? Does it matter?

    Does it matter if you put the Apple Loops, DVD templates, LiveType data, etc etc on the system disk? Is it better to have it on a second drive--like a Scratch drive for extra data? thanks PowerMac G5 Dual 2.0   Mac OS X (10.4.5)   Final Cut Studio

  • Running INSERT into SQL Server using Heterogeneous Services

    I am running into a show stopping issue trying to insert into a SQL Server table via Oracle. Basically, I have my Heterogeneous Services set up correctly and I am able to hit the SQL Server database with my INSERT statement. But what is happening is