Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Query regarding SAP SCRIPT

Former Member
0 Likes
702

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,

6 REPLIES 6
Read only

Former Member
0 Likes
678

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.

Read only

Former Member
0 Likes
678

Define the appropriate paragraph format and use that for printing the text!

-Aarthi.

Read only

Former Member
0 Likes
678

Hi raghavendra,

1. i don't think we can do

directly what u require.

regards,

amit m.

Read only

vinod_gunaware2
Active Contributor
0 Likes
678

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

Read only

Former Member
0 Likes
678

Hi,

try to use FM <b>RKD_WORD_WRAP</b> before printing those texts.

regards

vijay

Read only

Former Member
0 Likes
678

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.