Skip to Content
avatar image
Former Member

Does the header text wrap ?

I have script where the Main window column text is too largerand it extending to 2nd column will not auto wrap as in smartforms

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

4 Answers

  • avatar image
    Former Member
    Aug 06, 2009 at 06:25 AM

    Hello,

    If you have designed separate window then only script wraps the text automatically. Else in script there is no privision to wrap the text when you have created the columns by drawing lines in main window.

    U need to format it with your own by Hardcoding it using tabs avaliable in paragraph format or if you are passing variable then use Offset and allign it.

    Thanks,

    Mihika.

    Edited by: Mihika on Aug 6, 2009 8:25 AM

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 06, 2009 at 09:22 AM

    Hi,

    There are so many functions related to Header Text Wrapping, which are present in given below link.

    http://help.sap.com/javadocs/nwce/current/wdr/com.sap.wdr/com/sap/tc/webdynpro/clientserver/uielib/standard/api/IWDAbstractTableColumn.html#getHeaderTextWrapping()

    I hope, this will be useful for u.

    with regards,

    Mamta Kumari

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 07, 2009 at 09:16 AM

    This message was moderated.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 07, 2009 at 10:59 AM

    hi,

    Sapscript has no autotruncate and autowrap functionality like smartforms.

    If you want to arrange that, you have to read the text manually with FM read_text and format yourself the way you wanna have it..

    Al,ot of work and you will have problems with paragraph formatting but it is possible.

    Gr. Frank

    Add comment
    10|10000 characters needed characters exceeded