Display first letter as caps and rest in small

hi ,
this is the scenario...i have an internal table in which one field is a character...and the records in the internal table field has names in it..and i have to print in form in the way that first letter is capital and rest is small hear is am example.....
internal table....ITAB with fields...X X X Char.
records in Char...
ron
Tom
dany
aron....
these are retrieved from the data base...so there is no garnets that they are maintained in the way i required...
Records should be printed in this fashion in form...
<b>R</b>on
<b>T</b>om
<b>D</b>any
<b>A</b>ron
Thanks in advance

It is tested  workin fine  just copy and  paste  it  and  run...
DATA: OUTPUT TYPE STRING.
CALL FUNCTION 'SWA_STRING_TO_UPPERCASE'
EXPORTING
   INPUT_EXPRESSION                 = 'KISHAN'
*   INPUT_STRING                     =
   PRESERVE_EXISTING_CAPITALS       = ''
   CAPITALIZE_AFTER_SPACE           = 'X'
   LANGUAGE                         = SY-LANGU
IMPORTING
   OUTPUT_STRING                    = OUTPUT
*   OUTPUT_EXPRESSION                =
EXCEPTIONS
   EXPRESSION_TRUNCATED             = 1
  OTHERS                           = 2
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
kishan negi

Similar Messages

  • How can I make the last photo taken display first (Arrangement by date AND time)?

    In PSE 3 Organizer, if I choose Arrangement -> Date (Newest First), it puts the photos I took yesterday first, but within a day, it puts the oldest first. In other words, all of yesterday's photos are first, but the ones taken in the morning appear before the ones taken in the afternoon. I really don't think it worked like this when we first got the software, and I'd like to know how to fix it.
    If I choose Arrangement -> Date (Oldest First), it seems to work correctly, sorting by date and time so that the oldest photos really are first.
    Does anyone know how to fix this? I'd really appreciate the help.
    Michelle

    What you are seeing is the default behaviour, which I think is logical - I like to see my latest batch of work near the top, but have them appear in the order I took them. There is an option in Edit/Preferences which lets you have the oldest first.

  • My boot camp has taken 3 hours to download... First 4 min smooth and rest of the time has been sitting at around half... Not sure what to do?

    How long does it normally take?

    Welcome to Apple Support Communities
    The Windows support software is about 700 MB, so it should take minutes depending on your Internet speed.
    If you can't download the Windows support software, choose your Mac in this list and the Windows version you want to install to get the correct download for your Mac mini > http://support.apple.com/kb/HT5634

  • How to Capitalize the first letter in a text field?

    I have a text field of first_name and one of last_name.  I want to make sure not matter what format the user inputs the the first letter is Capitalized and the rest is lower case.  Can someone tell me how this is done?  Thanks!

    Rick4209 wrote:
    I have a text field of first_name and one of last_name.  I want to make sure not matter what format the user inputs the the first letter is Capitalized and the rest is lower case.  Can someone tell me how this is done?  Thanks!
    It depends on what you want to do with the name. If this is for inserting the name in a database and you're using PHP, it's very simple:
    $name = 'DaVID';
    $formatted = ucfirst(strtolower($name));
    echo $formatted; // outputs 'David'
    This nests two functions: the inner function, strtolower(), converts everything to lowercase, and the outer function, ucfirst(), converts the first letter to uppercase.

  • Styling first letter in each line differently [was: Dreamweaver cs4 question]

    I am trying to change the font in a group of text, I want to change the first letter of each sentence to a large size and different color and when I do this it changes the entire  paragraph in the div, so how can I change the attribute of one letter in a word? Example: See how the first letter of each sentence spells out earth?  I want to make those letters to stand out.  CAN ANYONE TELL ME HOW TO DO THIS??????
    Ensuring compliance with relevant environmental legislation and regulations.
    Achieving and reviewing our set objectives and goals with continual improvements.
    Reducing environmental pollution by reducing, recycling and re-using by-products and waste.
    Training and communication to all our staff to participate and achieve environmental excellence.
    Having our environmental policy documented, implemented, maintained and made available to the public and interested third parties.
    Thank you in advance
    [Subject line edited for clarity by moderator]

    Your question went unanswered for nearly a day because of the meaningless subject line you used. Please take a moment to read How to get help quickly.
    There are a couple of ways to achieve what you want. The way I would do it is to make each line a separate paragraph, and wrap them in a div with an ID called "earth". The following CSS style rule will make the first letter of each paragraph 24px tall and green:
    #earth p:first-letter {
      color:#090;
      font-size:24px;
    This uses the first-letter pseudo-element and applies it to all paragraphs in the earth div.

  • Validation: First letter of what user type must be capital

    Hi Guys, i have a field in my form its datatype is char and user have to enter Employee's first name in this field.
    Now i want that when the record is save, in the pre-insert or update trigger i want to change the case of this field in such a way that the First letter is capital and all others are small.
    For example is user enters
    james should be converted into James
    or if he enters JAMES if is converted into James
    How to validate this? Pliz help me.
    Regards,
    Imran

    Hi,
    Lets assume your field name is first_name where you want to implement this functionality. Now on When-Validate-Item trigger of this field put following line:
    select initcap(:first_name) into :first_name from dual;
    Put this line everywhere you want this functionality. Hope that this will help you.
    Regards
    Yogesh

  • Something remembers my mail login name (in yahoo mail and other applications) so that as soon as the first letter is typed in the "name box" the rest of my login name is displayed. How can I stop it remembering this name?

    I presume I have an autofill turned on somewhere as in a number of boxes I just type in the first letter and the remainder of stuff I have typed in the past is displayed. In some instances I do not want this information to be available to others. Please can someone tell me where this info is stored so I can delete some of it.

    The Mail app on the iPad/iPhone/iPod Touch does have an option to clear previous recipients. You can learn to live with it.  But if you want to get rid of it, the only way to remove these cached email addresses from the Mail application is restoring the iPhone/iPod Touch as a new phone/iPod.  If you restore from backup, the cache is also restored.
    This article shows you the screens you will see during the restore:  http://support.apple.com/kb/HT1414

  • I purchased a tv series and downloaded the first episode, when I went to download the next episode a message popped up saying "this computer is already associated with an apple id" and won't let me download the rest of the shows

    I purchased a tv series and downloaded the first episode, when I went to download the next episode a message popped up saying "this computer is already associated with an apple id.....You can download past purchases on this computer with just one Apple ID every 90 days. You cannot associate this computer with a different Apple ID for 41 days" and won't let me download the rest of the shows even though I haven't changed accounts and I'm using the same account I purchased the shows with.

    It's been months, so you may not care anymore, but you can't download songs from multiple Apple IDs over a 90 days period.  Sorry, it's not allowed for legal reasons.

  • HT1692 I am not able to scroll my contacts. If i add or mahe any change in existing contacts, it appaers at the top of the contacts and freezes rest above the first letter of newly added or changed one. Anyone can help?

    I am not able to scroll my contacts. If i add or mahe any change in existing contacts, it appaers at the top of the contacts and freezes rest above the first letter of newly added or changed one. Anyone can help?

    Hi,
    >>1. how can i align Title(DCS Clinical Report-Technician wise) center of pdf report with image named:logo5.png immediately coming to it's right?.
    2. how do i add the given below row and it's data to my top my table in pdf report from c# windows forms using itextsharp?
    3.how to make my column headers in bold?<<
    I’m sorry for the issue that you are hitting now.
    This itextsharp is third party control, for this issue, I recommended to consult the control provider directly, I think they can give more precise troubleshooting.
    http://sourceforge.net/projects/itextsharp/
    Thanks for your understanding.
    Regards,
    Marvin
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How do i prevent the system from keeping what u type - username, sites, etc. on search box, i just type the first letter and it comes up immediately; even my username!

    When I go to a search box, i type in the first letter and the whole word comes up.
    I type in the first letter of the username and the whole word comes up.
    I just type anything and the next time i log, it remembers the whole word.
    Please take this out of my system. I do not want it to work this way. I want all memory to be gone.

    I'm starting to come to this conclusion myself, actually... though, how mom managed to do this on accident without mucking about in terminals or anything more than just a cursory knowledge of the OS X system configurations (behind the scenes), I don't know : |
    ... on the other hand, her and I tend to be the exceptions to a lot of rules : |
    I downloaded and installed TinkerTool, even though it supposedly doesn't work past 10.5.8, in the hoopes that, what it displayed (regardless of what it could change) would be correct as far as my "System" and "System (Headlines)" font settings were (see attached screenshot of the font section of TinkerTool for my system--not mom's).
    I've instructed her to install and run the utility (but not to change anything) and then send me a screenshot of the "Fonts" section so I can compare it to my own. If there's something different on her system, since TinkerTool should work on hers, we may be able to fix it that way... though it would, frustratingly enough, remain a mystery to all concerned as to how she managed to stumble upon this in the first place : |
    Anyway, I'm still hard at work on it... hopefully others are too and will share what they discover (if anything).

  • How do I disable caps on first letter in forms

    How do I disable auto caps on first letter in forms
    == This happened ==
    Every time Firefox opened
    == I log onto the admin panel of Wordpress

    Maybe caused by an extension.
    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]
    If it does work in Safe-mode then disable all your extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    You can use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
    You have to close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")

  • I have version 3.6.16 and when I login to my hotmail account, and type the first letter of the email address, a drop down box appears with my hotmail address and I can choose it from that box with a click. How do I get version 4 to do this? Thanks.

    I have version 3.6.16 and when I login to my hotmail account, and type the first letter of the email address, a drop down box appears with my hotmail address and I can choose it from that box with a click.
    How do I get version 4 to do this?
    Thanks.

    The new but not-ready-for-prime-time autocomplete method searches for matches that contain the entered text, not just ones that begin with the string. Your options are:
    1) type in longer strings that narrow the search
    2) use an add-on to search just the beginnings:
    https://support.mozilla.org/en-US/questions/1037469
    3) install an older version of TB:
    http://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/

  • I "reply"ed to an e-mail message. The next time when I chose to write a new message and type the first letter of the person I replied to earlier, that name and e-mail address appears as a choice included in a pop up list of my contacts.

    I "reply"ed to an e-mail message. The next time when I chose to write a new message and type the first letter of the person I replied to earlier, that name and e-mail address appears as a choice included in a pop up list of my contacts. The persons name is not in my contacts and I would like to delete it from popping up. Do you know how I can do this?

    The Mail app on the iPad/iPhone/iPod Touch does have an option to clear previous recipients. You can learn to live with it.  But if you want to get rid of it, the only way to remove these cached email addresses from the Mail application is restoring the iPhone/iPod Touch as a new phone/iPod.  If you restore from backup, the cache is also restored.
    This article shows you the screens you will see during the restore:  http://support.apple.com/kb/HT1414

  • Create a customer code using the First letter of a customer name and the last 4 digits of a phone number

    I am trying to create a form where one the customer has input their name and phone number it should grab the first letter of the customer's name and then the last 4 digits of the phone number.
    I am not very good at coding, and have VERY VERY limited background in coding. I understand a little (the basics pretty much).
    I am thinking i am not using the right expression to get what i want. Below is the statement I have write. This is just to find the first letter of the name, have an idea on how to get the phone number but i was trying the use the "left" and "right" functions but they wouldn't work. More specifically the left.
    form1.#subform[0].CustCode::initialize - (JavaScript, client)
    str = CustName;
    var a = str.substr(0, 1);
    any help would be greatly appreciated.
    If more information is needed, please don't hesitate to ask.

    If you switch your language to FormCalc you can use the Left and Right functions, e.g.
    Concat(Left(Name,1) , Right(Phone,4))

  • Auto-Capitalization: How can I set Pages v5.01 to auto-capitalize the first letter of the first word in a sentence and to automatically change lower case "i" to "I" appropriately. I'm unable to find a menu that offers me these.

    Auto-Capitalization: How can I set Pages v5.01 to auto-capitalize the first letter of the first word in a sentence and to automatically change lower case "i" to "I" appropriately. I'm unable to find a menu that offers me these.

    Gavin Lawrie wrote:
    Once it had been established that the iWork rewrite had resulted in some features being lost and others broken, and once Apple had acknowledged the concerns* and suggested they are working on fixes**, I'm not sure what else there is to achieve.
    You are writing that in the perspective of having read about it here already. Repeated often enough that you encountered it somewhere in the posts.
    Users are flooding in here and don't know any of this. Of course we have to repeat everything endlessly.
    Because I like to give precise, understandable and workable answers to repeated questions, and Apple doesn't allow sticky posts here, I created a separate forum which users can consult to look up real answers, and contribute for themselves if they have something valuable to add:
    http://www.freeforum101.com/iworktipsntrick/
    There is a section purely devoted to Pages 5. Add whatever answers you feel will lighten the problems of Apple's 'upgrades'.
    Peter
    * Where have they acknowledged anything?
    ** They have barely anything listed, compared to the massive list of deleted features, and nothing but an extraordinarily long time frame considering they created the problems here and now. Apple has not said they will do anything at all about fixing the real issues, the biggest of which is that the new iWork apps break virtually all the work of existing users.

Maybe you are looking for

  • Something's wrong with my ios app store

    its just that I started downloading a game, but i somehow canceled it and dont want to re-download it anymore, and i dont even have the icon of the app downloading, but every time i turn on my ipad it pops up something to put my password in, i tap ca

  • Changing the File Associations in Get Info doesn't seem to stick

    Hey everyone. I hope I'm posting this in the best possible place. I just bought a new Mac Pro (single hexacore Westmere processor if that makes a difference) and I've found that the file associations aren't working. I will Get Info on a document and

  • Displaying contents of two int. tables in same screen using grid display

    Hello everyone,    Can anyone give me any idea how we can print contents of two internal tables of different structures in same screen while we are using GRID display fm. This is working fine in LIST display with fm's like REUSE_ALV_BLOCK_LIST_INIT ,

  • Flash Builder 4.6 won't start on my Mac 10.7

    I'm having trouble launching Flash Builder 4.6. It worked for a while, but now it boots, says its loading the workbench and then it silently quits. I've tried deleting the metadata folder and also renaming my workspace folder. Are there any other sol

  • How to make a transparent background

    I have a design and i need the background to be transparent, as it is going onto a website asap. I use Photoshop CS5 (64 bit). thank you