on 08-27-2008 4:55 AM
Hi all,
I'd like to split a string (concatenated from 6 fields contents, each 50 chars) to display it in a smartforms as the space available in the form is 100 chars per line.
How to split it up so that the max. space could be used?
Notes: A single word should not be splited up into 2 lines...
Thanks in advance!
Hi,
You can display a Include Text and give the Text name, object, ID and declare the text in SO10.
I think it will automatically take care of the adjusting in one one line and shifting to the next line.
regards,
Gaurav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can go for the function module RKD_WORD_WRAP. There you can specify the length of line toooo.
Allot points if this is useful.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Macy,
Use the Function Module RKD_WORD_WRAP.
CALL FUNCTION 'RKD_WORD_WRAP'
EXPORTING
textline
OUTPUTLEN
IMPORTING
OUT_LINE1
OUT_LINE2
OUT_LINE3
TABLES
OUT_LINES
EXCEPTIONS
OUTPUTLEN_TOO_LARGE
OTHERS
TEXTLINE - Text to Split
OUTPUTLEN - Maximum output line width
OUT_LINE1,OUT_LINE2,OUT_LINE3 - Output lines.
Regards,
Chandra Sekhar
Edited by: Chandrasekhar Gandla on Aug 27, 2008 9:34 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.