Displaying text without breaking words..

Hi,
i am printing a text on a sap script using the
field :BSEG-SGTXT. this is of length 50 characters.
i am printing it on 2 lines of 25 characters each.
is there any way / function module to ensure that
the words dont get cut while the text is bieng
displayed on 2 lines..?
Rgds
Ravindra

Hi,
you can try this way...
: BSEG-SGTXT+0(25)
: BSEG-SGTXT+25(50).
Regards
vijay

Similar Messages

  • Why JTree node display text with uncomplete word with ...

    Some nodes with short word, for example Header, display uncompletely with ..., while some nodes display text with complete word which has more letters, for example Substation.
    Why?

    If you need further help then you need to create a "Short, Self Contained, Compilable and Executable, Example Program (SSCCE)",
    see http://homepage1.nifty.com/algafield/sscce.html,
    that demonstrates the incorrect behaviour, because I can't guess exactly what you are doing based on the information provided.
    Don't forget to use the "Code Formatting Tags",
    see http://forum.java.sun.com/help.jspa?sec=formatting,
    so the posted code retains its original formatting.

  • HT201263 I purchased an 1gen 16GB Ipod from a seller. The ipod only shows the connect to itunes logo when connected to computer. The display shows without the word itunes. I got error codes 1603 and 1604 and have followed all the steps that were shown on

    I purchased a 16gb ipod touch 1 gen and it wont restore or show the battery chaging icon. It shows the symbol of usb cable and what appears to be an itunes symbol without the itunes words being displayed. Upon trying to restore I have gotten error codes 1603 & 1604. I referred to the apple website for assistance and followed the steps to the letter with no results. So what else should I try or could I try because I have has no such luch thus far? I have held the home button and power button I tried to enter DFU mode but unsuccessful due to the screen boots with apple logo then immediately goes to the itunes screen and no further only when connected. Will not power on without usb connection have charged battery to see if it was the issue and no battery bar locator displays with or without being connected to PC.

    So you did all this:
    Error 1603: If you receive this error and the iOS device is not automatically placed into recovery mode, it may be necessary to do so manually. Refer to iPhone and iPod touch: Unable to restore for steps on placing iPhone into forced recovery mode. Also, remove the IPSW and attempt to restore again. If you do not want to remove the IPSW in the original user, try restoring in a new administrator user.
    Error 1604: This error is often related to USB timing. Try changing USB ports, uninstalling and reinstalling USB ports, and other available USB troubleshooting steps (troubleshooting USB connections, device not recognized properly, computer won't recognize a FireWire or USB device). If you are using a dock, bypass it and connect directly to the white Apple USB dock connector cable. If the issue persists on a known-good computer, the device may need service.
    If the issue is not resolved by USB isolation troubleshooting, and another computer is not available, try these steps to resolve the issue:
    Connect the device to iTunes, confirm that the device is in Recovery Mode. If it's not in Recovery Mode,put it into Recovery Mode.
    Restore and wait for error 1604.
    When prompted, click OK.
    Close and reopen iTunes while iPhone remains connected.
    iPhone should now be recognized in Recovery Mode again.
    Try to restore again.
    If the steps above do not resolve the issue, try restoring using a known-good USB cable, computer, and network connection.
    http://support.apple.com/kb/TS3694#error1603
    Did you try the last paragraph too?

  • How can I get an Extension's toolbar icon to display image without text (without universally affecting other icons)? How can I edit the icons text (save space)?

    "From the Show dropdown menu, you can choose what to display in the toolbars: icons, text, or icons and text together. By default, Firefox shows icons only." Is there a way to choose an individual setting for a specific toolbar icon to be icon only (no text) without universally affecting all other icons on the toolbars?
    Second, is there a way to edit the text on a specific toolbar button from an extension (because it occupies too much horizontal space on the toolbar due to the amount of text)? I do know how to locate the xpi file & open it with notepad, but then it's mainly code (not English) & FIND doesn't locate the button's text (to edit it).
    These 2 questions should apply to Extension buttons in general. However IF it makes any difference I'm referring to the Toolbar Button in Back To Top 7.0 which says "Go to top/bottom". I'd at least like to edit out "Go to", but my questions apply to other Extension buttons too. I do realize it may be necessary to redo any fix/change each time there is an update? THANK YOU.

    We use the DOM Inspector to find the IDs and Class Names of elements.
    * DOM Inspector: https://addons.mozilla.org/firefox/addon/dom-inspector-6622/
    The DOM Inspector (DOMi) has a menu item (Edit > Select Element By Click) and a toolbar button "Find a node to inspect by clicking on it" (left icon on the toolbar in the DOMi).
    * open the browser window in the DOMi (File > Inspect <b>Chrome</b> Document) and choose the first from the list.
    * click the "Find a node to inspect by clicking on it" button and use the keyboard (Alt Tab) or the Task bar to go back to the browser window (do not click in the browser window other than the title bar).
    * click that element with the mouse and keep the button pressed until you see a red border to indicate the the DOMi has located that element in the DOM tree.
    * https://developer.mozilla.org/en/DOM_Inspector/Introduction_to_DOM_Inspector

  • pre div style="word-wrap:break-word" long text /div /pre doesn't force wrap

    <pre><div style="word-wrap:break-word">long text</div></pre> works in IE9 but not FireFox 31. Actual returns do wrap text but the text of long paragraphs extends outside the <div>, despite the word-wrap:break-word style. Maybe I'm expecting too much interpretation from <pre>? But I am thinking if IE can handle this, perhaps FireFox could too?

    Try posting at the Web Development / Standards Evangelism forum at MozillaZine. The helpers over there are more knowledgeable about web page development issues with Firefox.
    http://forums.mozillazine.org/viewforum.php?f=25
    You'll need to register and login to be able to post in that forum.

  • Excel & Word file don't display text after 10.6.4 update

    Installed 10.6.4 update last week on an iMac and the cells within my excel sheets went blank. The data is still there but do not show up on screen. Tried several variation of start up and even reinstalled Office only for problem to exist still. New documents will display text but most of my existing office documents appear blank.
    So... Today I reinstalled snow leopard and my text was back & displaying until I ran the OS updates. Every thing was fine until 10.6.4 and poof!!! there went my text in office. This glitch even effects some existing word documents. Graphic, images and pdf's don't seem to be effected. Any body else having this problem?
    Just dumb founded....

    I've been experiencing the same issue. I upgraded to 10.6.4 and I lost several fonts. The interesting thing is I also lost several power point images I had created. Shapes and lines were missing even though they did not involve the offending fonts, at least not directly. There was text elsewhere in the image that used it. Why this should obliterate the rest of the images I don't know.
    The three offending Fonts for me were:
    1) Times New Roman
    2) Arial
    3) Brush Script MT
    Anywho, I managed to fix this on my machine so I'm posting how I did it here. I'm not so sure as to the why, but here it goes.
    On my machine I have 4 font folders
    1) -> System -> Library -> Fonts
    2) -> Library -> Fonts
    3) -> Users -> Me -> Library -> Fonts
    4) -> Applications -> Office X -> Office -> Fonts (yes, I'm still running Office X from 2000)
    Inside of the Font Book application, it was kind enough to point out I had duplicate fonts. Some of these were the fonts in question and others caused me no troubles. Go figure. Anyway, disabling one or the other of the duplicate fonts did not fix the problem.
    Here's what did, though. In my case the duplicate fonts existed in the second of the font directories above (henceforth referred to as Font2) and the third of the font directories listed above (Font3). I browsed to these directories and copied the fonts to my desktop to have a back up. Back in Font Book, I told it to remove each instance of the Arial and Times New Roman fonts that would not display correctly in Excel (for the moment, I left Brush Script MT alone, kind of like a control)
    Now at this point there were no Arial or Times New Roman fonts in my Font Book. Turns out they were removed from Font1, Font2 and Font3, so good thing I have a backup.
    1) Opened up Excel. It did its font menu optimization thing and sure enough, I couldn't see anything.
    2) I close Excel.
    3) I double clicked on Times New Roman that I had in Font4. Font Book opened it and I chose to install it. It put it in my Font3 directory.
    4) I opened up Excel. It did its font menu optimization thing. Suddenly I can see Times New Roman again!
    5) I close Excel.
    6) I double click on the Arial Font from my Font4 directory. Font Book opens it and I install it to my Font3 directory.
    7) I open Excel, it does its font menu optimization thing and suddenly I can see Arial!
    8) I close Excel.
    Now at this point I'm wondering if my old font files got corrupted and because I was installing using the ones from my Font4 directory (which avoids the system directly) I was getting them back. So to test, I told Font Book to remove Times New Roman again, I go through the test of opening and confirming in Excel, and then I install the Times New Roman font from my desktop that I had copied out of the Font2 directory. Everything works fine in Excel. So it's not the file that was bad.
    I was also wondering if I needed to remove all instances of the fonts or if just one was causing the trouble. So I go back to Font Book and remove the instance of Brush Script MT that was in my Font3 directory. When I opened Excel I still couldn't see anything.
    I reinstalled the copy of Brush Script MT from the desktop and tried removing the other instance of the font, the one from the Font2 Directory. Excel still shows nothing. I then reinstall the associated font file from the desktop. Excel still doesn't like me.
    Finally, I removed all instances of Brush Script MT and installed at random one of them from the desktop. Suddenly Excel likes it.
    So I don't know what the problem was, maybe an associated was bad, but either way the only way I could get my fonts back was to remove all instances of the bad fonts from Font Book and then install the font again.
    In between removing and installing I would go into Excel where it would refresh its Font list at startup. Not sure if this had anything to do with it either.
    All my fonts now display correctly and all my powerpoint drawn images show up as well. I hope this helps someone else!
    -Kevin

  • Display Text Area as Read Only

    Hello,
    I have about 5 forms, some of the forms have text areas with counters. All of my text area fields are pretty much set up the same way:
    width = 75, height= 6, max width = 500.
    When a user logs in with read only priv. the text areas turn change to read only. The problem is when I enter some data into a text area it will display across the screen. I need the text area to do word wrap. I have tried the following in the Read Only Element Table Cell Attribute.
    display:block; width: 400px; word-wrap: break-word; overflow:hiddenI have also tried to add some CSS to my HTML Header, which adds borders to all of the fields, which is not wanted and it doesn't word wrap.
    <style type="text/css">
    span.display_only {border:2px inset #D4D0C8; padding:1px 0px;}
    </style>Any help, is greatly appreciated.
    Mary
    Edited by: MaryM on Aug 25, 2010 11:58 AM

    They are page items all of them have character counters. The problem, comes when a user logs in with Read Only privelages, then the text area's turn to Read only. For example, if I enter something in the text box like (xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxeeeeeeeeeeeeeeeeeeeeeee) it will display across the screen when a Read Only user logs in and looks at it. I need it to word wrap, when it is in Read Only mode. It will also display the same way if I change the field type to Display as Text ex: (xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee), it will not word wrap.
    All of my text area boxes are varchar2 (300) or more in length. I need to be able to word word wrap. I was able to do with classic reports, using standard report columns and in the css I added the following:
    display:block; width:400px;word-wrap:break-word;overflow:hidden.Hope I explained this better.
    Mary
    Edited by: MaryM on Aug 25, 2010 12:25 PM

  • Displaying text dynamically

    Hi
    I want to display text dynamically on the stage
    e.g
    When I click mouse first time its should display " this is
    the first click" and second time " this is the second clik" and so
    on.
    Can someone help me with the code here.

    Hi Sarawinder,
    Depending on which ActionScript version you're using the
    code will
    differ. For ActionScript 2.0, it will look something like
    this:
    _root.createTextField('mouseText',_root.getNextHighestDepth,0,0,100,20);
    _root.mouseText.autoSize='left';
    _root.clickCounter=0;
    Mouse.addListener(this);
    function onMouseDown() {
    switch (_root.clickCounter) {
    case 1 : _root.mouseText.text="this is the first click";
    break;
    case 2 : _root.mouseText.text="this is the second click";
    break;
    case 3 : _root.mouseText.text="this is the third click";
    break;
    _root.clickCounter++;
    For ActionScript 3.0, there's more possibility of mucking
    things up.
    More power=more opportunity for errors. But if you feel you
    have enough
    experience then give it a try. Here's the same code for Flash
    CS3:
    import flash.text.*;
    import flash.events.*;
    var mouseText:TextField=new TextField();
    mouseText.autoSize='left';
    this.addChild(mouseText);
    var clickCounter:uint=0;
    stage.addEventListener(MouseEvent.MOUSE_DOWN,this.onMouseDown);
    function onMouseDown(eventObj:MouseEvent) {
    switch (_this.clickCounter) {
    case 1 : this.mouseText.text="this is the first click";
    break;
    case 2 : this.mouseText.text="this is the second click";
    break;
    case 3 : this.mouseText.text="this is the third click";
    break;
    this.clickCounter++;
    }//onMouseDown
    Good luck,
    Patrick
    http://www.baynewmedia.com
    Faster, easier, better...ActionScript development taken to
    new heights.
    Download the BNMAPI today. You'll wonder how you ever did
    without it!
    Available for ActionScript 2.0/3.0.
    Sarawinder wrote:
    > Hi
    >
    > I want to display text dynamically on the stage
    >
    > e.g
    >
    > When I click mouse first time its should display " this
    is the first click"
    > and second time " this is the second clik" and so on.
    >
    > Can someone help me with the code here.
    >
    >
    >

  • How to display TEXT more than 500 char in a report as multiple lines.

    Hi Friends,
    i have a requirement like i should display Texts of length more than 500 Characters in a report( ALV LIST) as multiple lines
    I am fetching the data Using FM READ_TEXT
    the output im currently geeting with 150 Char in lenth as a single line
    How we can split the text into multiple lines in a report
    first i would like to know is it possible? if possible please give your valuable suggitions if not is there any alternative way to do this task.
    Thanks & regards
    kumar.

    Hi,
    This is possible but the Solution might not look Standard/Appropriate to you.
    In ALV, you can have Multiple Line Output...There is a Field in the Field Catalogue..called as Row_position...this is by default 0...which means Single row/Line ALV output....You can have this Value in the Range of 0 to 3.......A ALV field with row_position 1, will be displayed in the second line for every record...i.e. you will have multiple line for a single record of ALV.
    In your case......you can use this but you need to split your field in two fields.....but you may end up spliting a single word....but for that also you can design the logic of splitting the Fiel value at SPACE only......
    This may work.......and Sorry if not work......

  • How to display text file in JSP?

    Hi,
    I am new to servlet/JSP/java programming.
    I have been able to download a file using ftp. I dont know who to display it in JSP.
    Here is my code. Any help will be appreciated...
    <%@ page import="java.util.*" %>
    <%@ page import="java.lang.*" %>
    <%@ page import="java.net.*" %>
    <%@ page import="java.io.*" %>
    <%@ page import="com.dmhistory.*" %>
    <html>
    <head>
    <title>Untitled</title>
    </head>
    <body>
    <%
    byte[] bytes = new byte[4096];
    URL theUrl = new URL("ftp://user:passwd@host/migr/Movers_for_Ora8/BG/logs/FLD-PAC3-20020311.log");
    BufferedInputStream in = new BufferedInputStream(theUrl.openStream());
    BufferedOutputStream outstream = new BufferedOutputStream(new FileOutputStream( new File( "D:/temp/log.txt" )));
    int pos = in.read( bytes );
    while ( pos != -1) {
    outstream.write( bytes, 0, pos );
    pos = in.read( bytes );
    %>
    <%
    in.close();
    %>
    DONE!!!
    </body>
    </html>
    How can i display this downloaded file in the browser?
    I want to display it in the original format i.e which new line and carriage returns...line by line..
    Thanks,

    Hi,
    I finally go it to display. but now I have new problem. The browser shows the text without the /n/r.
    But when I view the source using 'view->source', if see that the text has got proper format with newline and carriage returns.
    Any ideas how to display it correctly in the browser?
    <%
                   URL theUrl = new URL("ftp://user:pwd@host/migr/Movers_for_Ora8/BG/logs/FLD-PAC3-20020311.log");
                   //URL theUrl = new URL("ftp://dbcmaint:[email protected]/migr/Movers_for_Ora8/SNP/logs/SNP-PAC2-20020314.log");
                   URLConnection uc = theUrl.openConnection();
                   InputStream content = uc.getInputStream();
                   BufferedInputStream in = new BufferedInputStream (content);
                   LineNumberReader lnr = new LineNumberReader (new InputStreamReader (in));
                   String tempStr = "";
                   String str = "";
                   while ((tempStr = lnr.readLine()) != null) {
                   str += (tempStr);
                        %>
                        <%=tempStr%>
                        <%tempStr = "";
                        %>
                   <%
                   in.close();
                   lnr.close();
              %>
    Thanks

  • Pasting text from a word program while retaining the same italics formatting?

    Hello,
    I'm looking for a way to be able to copy text from another program (Microsoft Word) and then, using the Text tool in Photoshop (CS6), paste that text, but where it retains the correct italics formatting I had in the other program--and not as an image of text (Ctrl+P), in which the formatting is present, as a flat image, but rather as an actual unrasterized and editable Text layer. For example, the sentence “I told you..” where 'told' is italics, simply pastes into Photoshop as "I told you.." without the original formatting. Is there a way to get Photoshop to recognize formatting from pastes without my having to manually re-apply the formatting myself? This would be a hassle over a long period of time. If necesary I would be willing to use a plug-in that allows for this sort of recognition.
    Thanks!

    InDesign does correctly accept Word's formatting with 2 important considerations.
    In the InDesign preferences, Clipboard Handling needs to be set up to paste "All Information (Index Markers, Swatches, Styles, etc)
    In Word you can't use formatting like faux Bold or faux Italic in place of using a font that has an actual Bold or Italic font style.
    InDesign only allows for using fonts that have a Bold or Italic font style and no longer allows for faux styles like MS Word or older type layout applications like PageMaker or Quark (clicking a B or I button)
    You can copy the Text Block in InDesign (the arrow tool - not the text tool) and paste this into Photoshop as a Vector Smart Object.
    You can then use a layer style on this Vector Smart Object layer.
    But all this really just a sideshow. If you are copying a small amount of text, it shouldn't take long to reformat in PS.
    If you are doing a large amount of text or small amounts many, many times you should do as Willi Adelberger says and place the images in InDesign. You can place or paste text for MS Word in InDesign  (and adjust or edit it if you want)
    In InDesign you can color the text, apply special effects like drop shadows, embossing, etc.
    Can you tell us the amount of text you deal with, how often you need to do this, and what (if anything) do you want to do to the text after you get it into PS?
    I think everyone would agree with Willi's statement: "Personally I would avoid to make text objects in Photoshop if not specific raster-image effects or combinations are needed."

  • Displaying Text as HTML in the UIscrollbar component

    Greetings.
    I have a window on my Flash stage that has some scrollable copy in it.  The problem is, I can't seem to have any formatting for the text ... if I select a word or two to make bold, it all turns bold.  I gather I need to use the "Display Text as HTML" checkbox and then paste in some HTML formatted text but this doesn't seem to work.  I searched this forum and found that others were designating "htmlText" in Actionscript instead of just "text" ... that didn't work either.  I probably just did it wrong, or maybe it's becuase I'm using the UI component "UIscrollBar" for it's scrolling of the text.
    Is there anything else I need to do to be able to format some text with strong tags and maybe some href links?
    I have my properties inspector with the following check marks:
    Display as HTML
    Multiline
    Dynamic Text
    selectable
    Thanks everyone.

    Shamelss bump

  • Can we Read/Display the content of Word/PDF file  in Flex 3/4 ?

    Hello All,
    Can we  read/display the content of Word/PDF file in Flex 3 or Flex 4?.  I have one word file containing  Arabic  and English content with some settings like  Bold, Color, Align etc. I want to display the content of this word file as it is in the flex web application.
    Awaiting for prompt reply.
    Thanks and Regards

    thank you for your immediate reply, but,
    sorry, this does not work.
    With this code:
    <cfpdf action = "read" source = "dok_1.pdf" name =
    "mypdf">
    <cfdump var="#mypdf#"/>
    I get this result:
    Everything, but no text of the document.
    PDFDocument
    Application name of application
    Author bimbam Verlag GmbH
    CenterWindowOnScreen [empty string]
    ChangingDocument Allowed
    Commenting Allowed
    ContentExtraction Allowed
    CopyContent Allowed
    Created D:20080710
    DocumentAssembly Allowed
    Encryption No Security
    FilePath [empty string]
    FillingForm Allowed
    FitToWindow [empty string]
    HideMenubar [empty string]
    HideToolbar [empty string]
    HideWindowUI [empty string]
    Keywords [empty string]
    Language [empty string]
    Modified [empty string]
    PageLayout SinglePage
    Printing Allowed
    Producer [empty string]
    Properties [empty string]
    Secure Allowed
    ShowDocumentsOption [empty string]
    ShowWindowsOption [empty string]
    Signing Allowed
    Subject [empty string]
    Title Rheinische Angler-Zeitschrift
    TotalPages 1
    Trapped [empty string]
    Version 1.3
    Maybe i do not understand the cfpdf tag the right way.
    What i want is a kind of pdf-to-text conversion.
    Do I have to use the processddx action? I do not think so.
    But there is a property DocumentText .. ?

  • Change displayed text in textfield an space between elements

    Hey people,
    a have a Form based on a View. i want to change the spaces between some rows or elements (to group some elements) and don't know how.
    For example:
    Name Surname
    Birthday
    Phone Mobil
    City
    Between Birthday and Phone, and Phone and City now should be more space.
    I made it now like that:
    Birthday: Display --> rowspan --> 2
    and put an Element just shown as Text empty without label below "Birthday". But i don't like that because i need so much empty elements. Is there another possibility to change the style?
    I want to change the size from the displayed text in the textfields too, or make it bold maybe.
    I hope, i could make it comprehensible to you, if not ... just ask
    Greetings, Jana

    hey ageller,
    thank you very very much. that is exactly what i'm searched for ;-)
    can you tell me, if this doesn't work in firefox or mayby why? in IE 7 all works fine, but Firefox 2.0.0.6 doesn't show any changes.
    I cleared the cache but still no changes.
    Got the same problem with the width of my columns. In IE, Content is shown in one row and Firefox there is linebreak.
    Do you (or anybody else) know, how i can fix this??
    Thank you so far ....
    Jana

  • What is the best way to display text?

    Hi,
    I am developing a full screen presentation. I like to know which is the best way to display text with different styles and fonts.
    When i use JLabel, i have to use HTML. But the presentation is not good as it does not have anti-alias property. Also i want the background to be seen behind the text. Note that all the text in a paragraph is not of same style. I want some words to be in different color and style.
    Thanks,
    Mathan

    It works alos with JTextPane:
    Try this :
    import java.awt.*;
    import javax.swing.*;
    public class MyTextPane extends JTextPane  {
         public void paintComponent(Graphics g) {
              Graphics2D g2d = (Graphics2D)g;          
              g2d.setRenderingHint(RenderingHints.KEY_TEXT_ANTIALIASING, RenderingHints.VALUE_TEXT_ANTIALIAS_ON);          
              super.paintComponent(g2d);
         public static void main(String[] args) {
              JFrame f = new JFrame("test");
              f.getContentPane().add(new JScrollPane(new MyTextPane()));
              f.setBounds(200,200,300,400);
              f.setVisible(true);
    }Denis

Maybe you are looking for