‎2006 Mar 07 9:02 AM
I need to know how would i be able to wrap-up texts(especially long texts) in a particular column displayed in SAP SCRIPT so that the remaining texts are displayed on another line as a continuation.
Regrads,
‎2006 Mar 07 9:05 AM
Hi Raghavendra,
For putting a field of 20 char length to appear in two lines in a column which can accomodate 10 character, in the first line you need to use field0(10) in the first line at the position where you want to display it and in the next line at the same position you need to mention field11(10). This way you can do the wrapping of the text.
Cheers
JK
PS: Award points if this helps you.
‎2006 Mar 07 9:15 AM
Define the appropriate paragraph format and use that for printing the text!
-Aarthi.
‎2006 Mar 07 9:15 AM
Hi raghavendra,
1. i don't think we can do
directly what u require.
regards,
amit m.
‎2006 Mar 07 9:23 AM
Hi
I have faced same problem. I created <b>new paragaph with set left Margin and right Margin set.</b> So word was not wrap instead of it went into next line.
It will definately work.
regards
vinod
‎2006 Mar 07 9:28 AM
Hi,
try to use FM <b>RKD_WORD_WRAP</b> before printing those texts.
regards
vijay
‎2006 Mar 07 9:29 AM
you can also use FM 'RKD_WORD_WRAP'. Pass the length of each line that u want and also the string containing the text, it will wrap it and pass it on to an internal table and to three export parameters as 3 lines of text (i.e if u feel that text will not cross more than 3 lines then u can directly get the wrapped texts from these export variables instead of getting it from internal table).
Hope it helps,
Sharath.