Control on lower case upper case

Hi,
I have one internal table say it_tab....i am converting this table into xml file....fields of internal table is equal to xml tag, for example i have defined internal table field name as "Product" so xml tag will be Product.....but my problem is that sap automatically convert internal table field name in uppercase....i want XML tag as "Product" instead of "PRODUCT" or "product"
Please help me how can i control this. Here is the example:
data: begin of it_tab occurs 0,
                 Product type string,
         end of it_tab.
so after generate XML file XML tag should be: Product.

using  TRANSLATE  convert the whole field name to lowercase  'product'>> using offset ( field+0(1) )  convert the first character to upper case 'Product', and modify your internal table accordingly.
dont think there s any FM or direct method to do this.
Edited by: AJ Nayak on Feb 27, 2012 3:21 PM

Similar Messages

  • Re: remote control pressing lower case 'e' launches explorer

    I have typically seen this kind of behavior when the user has a stuck
    key on
    the keyboard, in this instance, it looks like the user has a stuck
    Windows
    key. Have them unplug the keyboard and then re-establish your session.
    Jim Shank
    <[email protected] [email protected]> wrote in
    message
    news:6tdua.3301$[email protected]..
    > Two windows 9x machines, remote control works but when typing lower
    case
    > keys that map to windows system functions, those functions launch.
    For
    > example, pressing lower case 'e' launches windows explorer rather
    than
    > showing an 'e' in notepad. Lower case 'r' launches the run command.
    > Lower case 'f' launches find files.
    >
    > Has anyone seen this behavior?
    >
    > Nick
    > Elliott

    Actually, it's doing it on all machines, we are on ZFD 3.2 sp1. We
    also
    have a mix of Win9x/NT/2000. Originally, the keyboard function did
    not
    work at all until we upgraded to ZFD sp1. Now it works, but, it seems
    like the windows system key is "stuck" in the keyboard buffer or
    something. So if you have notepad or wordpad open and you type "e" an
    explorer window pops up rather than the "e" actually getting typed. Strange huh? we tried to enable/disable the system key pass through to
    no
    avail.
    Thanks for the quick response
    Nick
    > I have typically seen this kind of behavior when the user has a
    stuck
    key on
    > the keyboard, in this instance, it looks like the user has a stuck Windows
    > key. Have them unplug the keyboard and then re-establish your
    session.
    >
    > Jim Shank
    >
    > <[email protected] [email protected]> wrote in message
    > news:6tdua.3301$[email protected]..
    > > Two windows 9x machines, remote control works but when typing
    lower
    case
    > > keys that map to windows system functions, those functions launch.
    For
    > > example, pressing lower case 'e' launches windows explorer rather
    than
    > > showing an 'e' in notepad. Lower case 'r' launches the run
    command.
    > > Lower case 'f' launches find files.
    > >
    > > Has anyone seen this behavior?
    > >
    > > Nick
    > > Elliott
    >
    >

  • Remote control pressing lower case 'e' launches explorer

    Two windows 9x machines, remote control works but when typing lower
    case
    keys that map to windows system functions, those functions launch.
    For
    example, pressing lower case 'e' launches windows explorer rather than
    showing an 'e' in notepad. Lower case 'r' launches the run command.
    Lower case 'f' launches find files.
    Has anyone seen this behavior?
    Nick
    Elliott

    Actually, it's doing it on all machines, we are on ZFD 3.2 sp1. We
    also
    have a mix of Win9x/NT/2000. Originally, the keyboard function did
    not
    work at all until we upgraded to ZFD sp1. Now it works, but, it seems
    like the windows system key is "stuck" in the keyboard buffer or
    something. So if you have notepad or wordpad open and you type "e" an
    explorer window pops up rather than the "e" actually getting typed. Strange huh? we tried to enable/disable the system key pass through to
    no
    avail.
    Thanks for the quick response
    Nick
    > I have typically seen this kind of behavior when the user has a
    stuck
    key on
    > the keyboard, in this instance, it looks like the user has a stuck Windows
    > key. Have them unplug the keyboard and then re-establish your
    session.
    >
    > Jim Shank
    >
    > <[email protected] [email protected]> wrote in message
    > news:6tdua.3301$[email protected]..
    > > Two windows 9x machines, remote control works but when typing
    lower
    case
    > > keys that map to windows system functions, those functions launch.
    For
    > > example, pressing lower case 'e' launches windows explorer rather
    than
    > > showing an 'e' in notepad. Lower case 'r' launches the run
    command.
    > > Lower case 'f' launches find files.
    > >
    > > Has anyone seen this behavior?
    > >
    > > Nick
    > > Elliott
    >
    >

  • Upper Lower Case for Input Fields of ALV

    Hi,
    i have an ALV has some input fields columns. All values of input fields are upper case after entering something into that input fields (etc. airline -> AIRLINE).
    how to add upper lower case control to ALV? (etc. airline -> airline, AIRLINE -> AIRLINE)
    Thanks.

    Dear Narullah,
    The elements of your table consists of data types you can maintain in the SE11.
    The data type are based on a domain which you can maintain in SE11 as well.
    Just go to SE11 and check the domain which is behind the table field. On the tab "Definition" of the domain just checkmark "Lower Case". Afterwards the system does not translate your input to upper case automatically.
    If you use a SAP domain, you need to copy it to customer namespace, set the lower case flag, create a new data type based on your own domain and use it in the structure of your internal table.
    Does this help?
    Regards,
    Hendrik

  • Screenpainter Attribut Upper/Lower case

    Hello,
    i want to set the attribut 'Upper/lower case possible' to an element in a table control, but it is not possible.
    I can't set the falg, it's greyed out. Please help.
    Best regrads,
    Thomas Strehle

    Hi Thomas,
      For me it is coming, it is char field. In
      screen attributes Dic tab last check box (Upper/lower case)is enabled for me. please check yours.
    Siri.

  • Why upper or lower case choices for image file extensions?

    Thanks ahead of time for any help.
    I'm wondering why you would want the file extension in lower or upper case.   Is there a reason to choose one or the other in various situations?  This choice is an option in the import dialog window box under File Renaming> Extensions with choices of Leave as-is, Lowercase & Uppercase.

    JG_Coleman wrote:
    clvrmnky wrote:
    Modern Macs are case-preserving and case-aware but not case-sensitive.
    The option is just to provide more control for specific workflows.
    Really..."to provide more control for specific workflows"???  I've gotta say... if I'm wrong about UNIX systems and case-sensitive file extensions... it truly would seem senseless that there would be a setting for controlling the case of file extensions.  So far as I know, almost every major application omits such a feature.  For what type of workflow would you ever need to specify the file extension case, if not for a file system that uses case-sensitive file extensions?  I'm just curious, myself, actually...  Is there something I'm missing?
    What about writing to legacy network storage where extensions are not accepted unless in a specific case.  I believe Netware used to enforce upper-case extensions at some point.  If you had a collection of legacy data or datastore and had some service or scripts that operating on them, and could not be easily changed, you might really want to control exactly how those filenames are created.
    There are any number of paths one can go down where you can end up cursing an application because it cannot do a simple action, like write out a filename in the right case. Think of all the complaints found in these forums where someone has cited some odd use-case no one else could ever have imagined and then stated that it is obvious that Lr should accommodate this because it is so simple to fix (e.g., to do something like provide an option whereby extensions are made all upper- or lower-case.)
    You do know that even Windows and OS X are case-preserving, right?  So, the actual case used to create the file is in the file metadata, regardless of what the Finder or Explorer or shell may decide to show you. How this metadata is used by various APIs is open-ended.

  • How to convert a text file in lower case to upper case?

    I've a beginner in java world and I just come through the tutorial in http://java.sun.com/docs/books/tutorial/essential/io/filestreams.html showing how to copy a text file:
    import java.io.*;
    public class Copy {
    public static void main(String[] args) throws IOException {
         File inputFile = new File("farrago.txt");
         File outputFile = new File("outagain.txt");
    FileReader in = new FileReader(inputFile);
    FileWriter out = new FileWriter(outputFile);
    int c;
    while ((c = in.read()) != -1)
    out.write(c);
    in.close();
    out.close();
    And I would like to ask how to covert all lower case letters in input file to upper case letter in output file at the same time of copying.
    I guess it'll be using Character.toUpperCase(c), but I don't know how to do it actually.
    Any help would be much appreciated.

    Hope this helps
    import java.io.*;
    public class Copy {
    public static void main(String[] args) throws IOException {
    File inputFile = new File("farrago.txt");
    File outputFile = new File("outagain.txt");
    FileReader in = new FileReader(inputFile);
    FileWriter out = new FileWriter(outputFile);
    BufferedReader buff = new BufferedReader(in);
    String c;
    while ((c = buff.readLine()) != null)
    out.write(c.toUpperCase());
    in.close();
    out.close();
    }

  • My itune gift card says it's not authorized.  I've tried to redeem by typing in upper case letters and lower case letters.  I've never had this problem before, what do I do so I can use this gift card?

    I bought an itunes gift card yesterday and I have tried to redeem, but when I do I get a message the card has not been authorized.  I have typed in typed in the code as seen mostly upper case and I have tried lower case also.  Neither is working.  I've never had this problem before.  Should the store where I purchased it from done something to supposedly "activate" it.  I'm at a loss.  I do not have the store reciept a friend does, and I'm sure she desposed of it.

    Yes, the retailer is supposed to activate the card. Otherwise they'd lose hundreds to shoplifting. What you normally should do is go back the retailer from whom you purchased the card and discuss the problem with them. They should either correctly activate the card or give you a new one. If they refuse to help, as some retailers do, or this was a gift so you cannot contact the retailer, go here:
    iTunes Support
    and follow the instructions to report the issue to the iTunes Store.
    Regards.

  • HT1338 My MacBook Pro (running Leopard 10.5.8) won't allow keyboard to type an upper case 'C' using the shift key...works fine with caps lock, or, with my Typinator workaround using double-typed lower case c (not always best). Any ideas?

    My MacBook Pro keyboard won't type an upper case 'C' using the shift key... only with caps lock. Workaround has been to use Typinator by typing a double lower case c, not always the best solution. Mac is a refurbished model, which initially was fine. Apple tech helped me correct the quirk when it first appeared, but now it has returned and refuses fixes. Any ideas?

    I'm willing to bet that this has something to do with iCloud.  I've been facing a frozen computer nearly every time I go into it. 
    In Activity Monitor I have seen two programs associate with iCloud that take up about 2.5 GB of memory (I only have 4 in the computer) -- causing everything to freeze.  One of these is called "iCloud Helper" and the other one is something like "Address Book Sync helper" -- I see parts of these names in the stuff you have posted.
    I am at my wits' end with these and have written to Apple asking them to do away with these or fix them.  To get rid of the Address book sync thing I have gone into system preferences for iCloud and unchecked Contacts -- but then spontaneously it gets rechecked.  And oftentimes after I Force Quit the iCloud helper, it spontaneously turns on again.  My conclusion --- the iCloud is basically unusable.  It turns a Mac into the most useless, clogged, sluggish PC.  If this is happening to a lot of people's computers -- and I see no reason why yours or mine should be an exception -- these programs just might destroy Apple itself. 
    So -- I'm about to completely give up on iCloud, and I suspect that others will too unless this gets fixed.
    Cheers,
    Bob

  • How to CHECK WHETHER LOWER CASE OR UPPER CASE  IN CUSTOM TABLE

    Dear Friends,
                     I have a requirement where from  the flat file  i have collected into the internal table is as below :
      IDNo.     Name     Date      Location   Designation  Dept
      101       raja      4/12/2007  Delhi      manager      HR
      102       james    4/12/2007  Delhi      clerk          HR
    now iam checking against my custom table where iam   if the designation for the employee name already exists then i shouldnt modify/update the custom table that record
      now iam facing a problem where is the flat file is always having the Lower Case only ,
    as per the scenario  if my custom table already have the employee name i shouldnt modify/update i.e i shouldnt overwrite,
    this scenario is working but it is failing in the case
    by chance in the Custom table the employee name or designation is in Upper Case  the condition where iam checking in the code  is failing as the flat file data coming into the internal table is having always lower Case.
    So could any one please let me know how i should check in my custom table whether iam having upper case or lower case and how can i make it lower case ?
    because iam able to manage in the case where if the flat file data coming in Upper case i can check before only by
    using Translate to lower case . how i unalbe to  check for the data coming from the Custom table if  in Uppercase , so i want to change that to lower case then checking my condition whether that data already exists in my custom table before modifying the data coming from the flat .
    because the condition is failing when the data in the custom table is in upper case and the Flat file data is in lower case.
    please help how i can check for the data in the Custom table is in upper case and then change it to lower case.
    Regards
    Madhuri.

    Hi Madhuri,
    Translate both data in your flat file & custom table to lowercase before comparing them. With that, you're able to identify if there's a differences in for both data.
    If you're putting data that is pulled from custom table, what you can do is after selecting/reading the data, translate to lowercase or uppercase (whichever you prefer) but make sure if you translate to lowercase, your data in the flat file must be lowercase to and vice versa.
    Happy doing !!..
    Regards,
    Loo

  • How to translate the key words in ABAp program from lower case to upper cas

    How to translate the key words in ABAp program from lower case to upper case?

    Hi Kittu,
    You need to set the Pretty Printer settings to achieve key words in ABAP program from lower case to upper case.
    Utilities -> Settings -> Pretty Printer (tab) -> Select third radio button.
    Thats all.
    <b>Reward points if this helps.
    Manish</b>

  • UPPER and lower case file extensions for Photo Shop Elements using Windows 7

    How do I persuade WIndows 7 to show both UPPER and lower case file extensions, which is a very useful facility offered by my ancient, 2002, version of Photoshop Elements? When processing large volumes (100 plus) photos it is very useful to be able to spot those that have been processed among those awaiting my gentle touch. The JPEG file extension produced by my camera is UPPER case so by using "Save as" with lower case the modified photos are immediately spotted. This worked fine on Windows XP and the same programme has loaded and works well on my new laptop which came loaded with Windows 7 EXCEPT that it persists in using UPPER case all the time, irrespective of the preference settings in PSE. HELP!
    Camperman1

    In PSE there is a facility "File > process multiple files".
    Using this facility you can actually process multiple files at one go and you can easily rename images.
    Addi

  • I was in a Pages Doc and inadvertently had the Caps Lock on. How Can I change all the text I typed from Upper Case to Lower Case?

    I was in a Pages Doc and inadvertently had the Caps Lock on. How Can I change all the text I typed from Upper Case to Lower Case?

    Several protocols may be used.
    Here I describe two of them.
    (1) the one which I use : install and use the "Convert to Lowercase" service available in the free WordService
    (2) copy your text, paste in TextEdit and enter the Edit menu.
    I guess that you will recognize the items in your English menu.
    I apologize but I don't know the English items.
    Yvan KOENIG (VALLAURIS, France) jeudi 16 février 2012
    iMac 21”5, i7, 2.8 GHz, 12 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.3
    My Box account  is : http://www.box.com/s/00qnssoyeq2xvc22ra4k

  • 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!!!?

  • Translate search parameters to lower and upper case

    Hi All,
    I need to create a search function. Is it possible to translate the search paramaters to  both upper and lower case because inside the data there are data with upper case or lower case or both.
    Thanks in advance.

    Hi ,
      As per your requirement you have to write logic for three conditions :
    1. Translate whole word into upper case .
        TRANSLATE  your field name  TO UPPERCASE.
    2. Translate whole word into lower case .
        TRANSLATE  your field name  TO LOWERCASE.
    3. First character of your field should be in uppercase rest in lower case .
    so write your logic now considering third point also .
    Regards ,
    Nilesh Jain .

Maybe you are looking for