For Wrapping of Text

Hi,
is there any way for wrapping text in ABAP which is similar to MS-word or MS-excel.
Currently  i have 3 fields in an internal table.
first field is of length 10,
second field is of length 40,
third field of length 256.
Third field is mainly used for Notes.
client said that report  coulmn length should be 80.
after 80 i need to wrap the text in next line, with out affecting display of other rows.
Please guide me.

use FM RKD_WORD_WRAP
call function 'RKD_WORD_WRAP'
           exporting
                textline            = idiagline
                outputlen           = 80
           importing
                out_line1           = idiag_1
                out_line2           = idiag_2
           exceptions
                outputlen_too_large = 0 
                others              = 0.
Regards,
Joy.

Similar Messages

  • How can I wrap the text for LinkToAction UI Element.

    Hi All,
    I am trying to wrap the text for LinkToAction UI Element which is inside the group.I have set the wrap property to be true.But still its not getting wrapped.I have set the width of the group to be 0px.I have even set the wrap property for the RootUIElementContainer and set the width property to be 0 px.I am using the FlowLayout.Any ideas are appreciated.
    Thanks in Advance

    I have the same problem.
    would you plz tell me how to wrap.

  • How to wrap the text in column headers?

    Hi Friends,
    Can anyone please suggest how to wrap the text in column headers of a Java WebDynpro table?
    I believe that caption is the only UI element that a column header can have and it does not allow wrapping of the text.
    My original requirement is as follows,
    In a table I need to dynamically set the width of the columns according to the width configured by the user in some other view. All the columns of the table are dynamically rendered.
    Now what happens is when the user sets the width of the column to a rather low value, say 15 pixels, then the column is displayed like
    Supplier Catalog Name
    Sheila
    Catalog
    Name
    Dropdown
    As you can see it looks rather odd.
    Supplier Catalog Name is the header of the column and I use IWDCaption for header.
    Sheila Catalog Name Dropdown is the value of a particular row at the specified column. I am using a TextView as the TableCellEditor.
    I think what is happening here is that the framework wraps the text in the TextView according to the width specified (15px) and then the column width is extended because it can not accommodate the text (Supplier Catalog Name ) of the column header.
    We are using SAP NetWeaver Development Studio 7.0.12 as the IDE.
    I searched some forums and many people have suggested using scrollable columns but I don't understand how it will help in wrapping the text in a column header.
    Any help would be of great advantage.
    Thanks
    Amit

    Hi Deepti,
    Thanks a lot for the answer but the option that you have specified does not wrap the text. Instead it truncates the text being displayed and only the substring of the text which could be displayed in the given pixels is displayed.
    I need to show the whole text wrapped (Meaning if the width of the column is not sufficient then the text goes into the next line).
    Ayyapparaj,
    Thanks to you too for an helpful answer. It seems that the Netweaver has finally come up with a way to wrap the text in the column headers but as Manoj pointed out, I do not see the property headerTextWrapping  for a table column, Can you please specify which version of netweaver supports it?
    We are using SAP NetWeaver Development Studio 7.0.12 as the IDE.
    Thanks
    Amit Kapoor

  • Append hyphen automatically after the wrapping of text in the dimension field

    Post Author: Nita_here
    CA Forum: WebIntelligence Reporting
    I want to Append hyphen automatically after the wrapping of text in the dimension field.
    e.g the text reads "I want to wrap this text". then if cell width exceeds after "I want to wrap" then it should be displayed like this "I want to wrap-" "this text".
    Thanks in advance,
    Nita

    Post Author: Nita_here
    CA Forum: WebIntelligence Reporting
    Thanks for your input.
    Let me tell you what I have understood. I will create a variable having the formula (which i have earlier written) in universe. Whenever i need to use the formula in infoview, I will call the variable instead. That's fine. But again, I will have the same problem. If I do any change in infoview level, the cell width is bound to change as it is not the free standing cell, its a column among othe one. e.g.
    A  B  C
    1  2  3
    4  5  6
    (you can think B as the column). Any change(addition, deletion of columns) will certainly change the cell width of B. So, again I need to calculate the things, which i dont want.
    Nita_here: I manually calculated that after 12 characters, the cell wraps the text.
    I wonder if there would be a way to do the things dynamically.
    Thanks in advance,
    Nita

  • Wrapping of Text in the Table UIElement

    Hi
       Is it possible to wrap the text in the header of a Table UIElement.Whenever a column heading is created it keeps extending on one single line. Any suggestions.
    ravi

    Please give a try with one of the following options..
    A similar post is also available at
    Newline in WDTextView
    <u>Option 1</u>
    1.Set the layout property of the UI element container to be GridLayout or MatrixLayout.
    2.Enable the "wrapping" property of Label or TextView to "true"
    3.Set the "width" property of the UI Element's(label/TV) Layout data to <integer>px [eg: 100px]
    3.Build and Deploy
    <u>Option 2</u>
    This option is only applicable for Labels. But for any Layout.
    1.Set the "width" property of the UI Element(label/TV) to <integer>px [eg: 100px]
    2.Enable the "wrapping" property of Label or TextView to "true"
    3.Build and Deploy
    Thanks and Regards,
    Sam Mathew

  • ADF 11g + How to wrap the text in a goimagelink

    Hi All,
    I'm displaying some list of goimagelinks, for which the information is being retrieved from the database. Now to align the width in between the imagelinks properly, I need to wrap the text of the go image link. Any suggestions, will help me a lot.
    Thanks All in Advance. Below is the code snippet for the same.
    Thanks & Regards,
    Dharmathej M
    <af:panelFormLayout id="pfl6" rows="3" maxColumns="3"
    labelWidth="30"
    inlineStyle="text-align:justify;">
    <af:iterator id="i6"
    value="#{bindings.LP_Applications1.collectionModel}"
    var="appiter"
    rows="#{bindings.LP_Applications1.rangeSize}">
    <af:goImageLink text="#{appiter.bindings.AppName.inputValue}"
    id="gil2"
    icon="#{appiter.bindings.Icon.inputValue}"
    iconPosition="leading"
    inlineStyle="font-size:small; font-family:Verdana, Arial, Helvetica, sans-serif;"
    destination="#{appiter.bindings.Url.inputValue}"
    shortDesc="#{appiter.bindings.ShortDesc.inputValue}"
    targetFrame="#{appiter.bindings.ExtLink.inputValue == 'T' ? '_blank' : '_self' }"/>
    <af:spacer width="70" height="10"/>
    </af:iterator>
    </af:panelFormLayout>
    ################################################################

    Try the CSS <tt>display</tt> property in combination with some fixed width, for example:
    <af:goImageLink ... inlineStyle="display:inline-block; width:80px;">

  • Word breaks incorrect when wrapping Greek text

    Hi,
    I'm trying to use Greek in Illustrator, but I'm getting line breaks in the middle of words. This sort of problem also applies to other languages. Does anyone know how this problem might be resolved?
    Note that this is NOT the same thing as turning off hyphenation; I've tried that and it doesn't work. I'm getting breaks in words without hyphens appearing. I've tried with two sorts of Greek fonts: (1) with the Helena font, which replaces Latin glyphs with Greek glyphs, and (2) with a Greek characters in Unicode with a Unicode-compatible Greek font (SBL Greek). With the first option, it seems that Illustrator is causing breaks where it sees non-alphanumeric characters. With the second option, I'm not sure what the problem is; it's breaking in various strange places.
    Setting the language to "Greek" in the Character Pallette does not help. (I'm using ancient Greek, and I'm not sure how that might differ from modern Greek).
    The same problem has apparently occurred in InDesign, and there is even a solution or two in InDesign (see the 2nd link) involving either setting the language to "No Language" (cannot be done in Illustrator, as far as I can see), or find and replace character styles (again, it seems Illustrator can't do this).
    http://forums.adobe.com/message/1873967#1873967
    http://forums.adobe.com/message/1327153#1327153
    How might this problem be solved? Setting "No Break" in the Character Pallette for all the words would require tedious selection. Its seems that this problem could be solved by allowing "No Language" to be selected, or by adding an option to only break at spaces. TextEdit on Mac OS X does the latter and wraps the text properly.
    Thanks,
    David Arndt

    Ehm ... because InDesign can't load the correct rules for that language? No language = no rules.
    Go ahead, try it.
    It is something different than unchecking "Hyphenation" -- that works on entire paragraphs only. This will work for any word (or phrase, sentence, paragraph, multiple book set) you don't want to be hyphenated.
    [Post-thought:] "No language" may lead to surprising results with some OpenType fonts, as a lot (if not all) of features may be tagged to the language. You might suddenly miss ligatures, for example. So, other than for "Other" languages, you should probably just switch hyphenation off.
    End of disclaimer.

  • Wrapping the text on the confirmation dialog

    Can any one pls tell me how to wrap the text on a confirmation dialog?
    thanks in advance.
    regards
    Lakshminarayanan.V

    Hi,
    Currently this is simply not possible. Probably later TextView UI element will be enhanced to support this (at least, this feature is at "Whish List", search this forum for word POLL), and confirmation dialogs will inherit desired behavior automatically.
    For now you have to create your own component and use it pop-over window as confirmation dialog. In your component you may either use TextArea for multi-line display (quick and ugly) or split string into several context attributes and display them using several TextView UI elements (either dynamically created or pre-created till some reasonable maximum, say, 5 lines <-> 5 controls)
    VS

  • How to wrap the text in JTextPane

    hi all,
    I have a problem with JTextPane. I have a JPanel which have 4 JButtons, one Details button and one JTextPane. I have set JTextPane to JScrollPane. Thing is when i press the Details button the JTextPane must be visible. Window size is changing. can any one say how to wrap the text in the JTextPane.

    By default text in a JTextPane will wrap, so I don't understand the question.
    Read the Swing tutorial on [url http://java.sun.com/docs/books/tutorial/uiswing/components/text.html]Using Text Components for a working example.

  • Thunderbird, enable wrap plain text messages at 72 characters.

    Hello!
    I would like to have Thunderbird to wrap my messages at 72 characters. It was possible earlier, but with the 3.0B1Pre it doesn't do it.
    In <Preferences - Composition>, there is something called 'Wrap plain text messages at [ 72 ] characters'. There is no check box to enable it.
    Is it possible to enable this feature? Have searched around a bit, without any luck.
    Orjanp...

    Try to look in about:config for:
    editor.htmlWrapColumn
    and
    view_source.wrap_long_lines

  • Key combo to wrap selected text in quotes/parens/brackets?

    Not sure if this is in the right category
    Is there a key combo to wrap selected text in quotes/parens/brackets? Kinda like the umlaut (ü) or accent (é) combo. If not, is there a way to script it?

    No, but there are third-party utilities that will do that. For example utilities like TextExpander can be configured for it and there are others that will do it automatically - create a matching bracket, quote marks, etc. Look for them at CNet Downloads or MacUpdate.

  • Issue in wrapping of text in TextEdit control

    Hi,
    I'm developing an occasionally connected application using NetWeaver Mobile 7.1. In one of the view, I use TextEdit control to display the address information where the address is a multiline text data. During testing of the application in the simulator, the wrapping of text in the TextEdit control is not working properly. The wrapping property of TextEdit control is set to "soft" but the text is not getting wrapped. Even I tried the other option "hard" wrapping but it throws some error while building of the application.
    Please suggest a solution to do wrapping of text using TextEdit control.
    Thanks in advance.
    Regards,
    DVR.

    Hi Nipun,
    The rows and cols properties are already set and also the data is multiline but the text is not wrapping.
    Say the properties of a TextEdit control rows is "4" and cols is "30" was set. The data is also a multiline text say each line has more than 30 characters. During wrapping of text with in TextEdit control the first row should have only 30 characters and rest should be wrapped off to the next row and so on.
    But during execution what happens is the text is not getting wrapped instead the first row itself has all the characters of first line of the text and second row has next line of text and so on. The text in a row can be scrolled through using horizontal scrollbar.
    My need is the horizontal scroll bar should not come and the text need to the wrapped off with number of cols specified.
    Regards,
    DVR

  • OPEN DATASET FOR INPUT IN TEXT MODE - linesize issue

    Hi,
    I faced a problem when opened ANSI file with CYRILLIC in ECC 6.0 Unicode system - the system cuts the line to 250 characters. Below is snip of code:
    REPORT  Z_TEST_01 LINE-SIZE 1023.
    DATA:
      file TYPE char40 VALUE 'ansi_file.txt',
      line TYPE char1024, len TYPE i.
    OPEN DATASET file FOR INPUT IN TEXT MODE ENCODING DEFAULT.
    WHILE sy-subrc = 0.
          READ DATASET file INTO line ACTUAL LENGTH len.
            WRITE: / len, line.
    ENDWHILE.
    CLOSE DATASET file.
    In this case, variable LEN always get value 250. File-content is correctly converted from ANSI and all CYRILLIC is displayed to the screen. I changed type for LINE - initialy the type was STRING, actially.
    Further, tried to open it in BINARY - like this:
    DATA:
      file TYPE char40 VALUE 'ansi_file.txt',
      line TYPE char1024, len TYPE i.
    FIELD-SYMBOLS <hex_container> TYPE x.
    OPEN DATASET file FOR INPUT IN BINARY MODE.
    ASSIGN line TO <hex_container> CASTING.
    DO.
      READ DATASET file INTO <hex_container>.
      IF sy-subrc = 0.
        WRITE: / line.
      ELSE.
        EXIT.
      ENDIF.
    ENDDO.
    CLOSE DATASET file.
    WRITE: / line.
    In this case I got bigger linesize (obviously 1024), but faced conversion issues - the file contains some CYRILLIC and it is messed. Played for few hours with conversions - using additions: IN LEGACY BINARY MODE... BIG/LITTLE ENDIAN, CODE PAGE... without success. So decided to ask...
    Well, I searched SDN for a similar issue, but didn't found, except this one:
    Re: OPEN DATASET STRING Problem
    Could someone points me what am I doing wrong? How can I read my ANSI file with line-size more than 250 chars? Actually, in my case line size may vary up to 1800 chars. Further, afrer conversion and some validation, I should save it back to the AS.
    Many thans in advance.
    Regards,
    Ivaylo Mutafchiev

    Sorry for the noise - it is not an issue anymore.

  • Multi-language support for user-specified text strings used in the forms

    multi-language support for user-specified text strings used in the forms
    Instead of creating multiple forms, 1 in each different language, for the same service, is there any workaround?

    Hoan - is your question what are the considerations when creating multiligual catalogs? If so, I can tell you that at other clients I have seen them use a single catalog for one or two languages. For the two langugages, such as Spanish/English, you can create a single catalog with both of them. Once you get to more than two languages, the catalog would get unweildy and is therefore not suggested.

  • Project Server 2010 - create a custom enterprise project field for persons (no text, no lookup table...)

    I want to create a custom enterprise project field and would like to use instead of for example a text attribute or a look-up table a field for employees (e.g. project manager) which are coming e.g. from the Active Directory. But when creating this custom
    project field I cannot see such an option. What solution do you suggest as I want to avoid that everybody uses different names and spellings for e.g. the project manager and without having to fill the lookup table with all resources of the company.
    Thank you so much for your help!

    Hi,
    Are you using Proejct Server 2007, 2010, 2013?
    In case you're working with 2010 version, here is an excellent
    blog about how to insert a resource picker in a PDP (project detail page).
    Hope this helps,
    Guillaume Rouyre, MBA, MVP, P-Seller |

Maybe you are looking for

  • Issue with "unknown user type 6" on Coherence 3.5.2

    Having an issue with a cluster which is running using an internally developed cluster starter tool. This tool, and the associated cluster, all use POF, and upon attempting to connect a non-storing member to the cluster from java, the following except

  • Jdbc NullPointerException calling pl/sql procedure from java

    Hi. Getting the following exception calling a plsql procedure from jdbc. - Jdbc version is 10.2.0.2, but it also happens running several other variants, including 10.1.0.5.0. - Application is running in Weblogic 8.1.3 (8.1 SP 3). The procedure call i

  • Duplications during itunes music folder transfer

    I followed the steps detailed on this Web site for the transfer of the iTunes music folder from my laptop to an external hard drive. I then moved all my music files from another location into the folder, then did the "add folder to library" command.

  • PrintWindow api with possible solution for capture screenshot Google Chrome window

    Hi, as all you know, PrintWindow api give us a black image when us want a capture screenshot  of Google Chrome window. So, a friend said me that a possible solution for this problem is:  Reduce Google Chrome window for -1px in both sides and after th

  • When calling the slider are hidden

    Yesterday I made the new update for blackbery classic Now I have the problem that when you receive a call, the two slider (Green button - red button) are barely visible on the touchscreen and I still can not accept telephone calls. At the bottom edge