cancel
Showing results for 
Search instead for 
Did you mean: 

SAPScript: About Longtext Output

Former Member
0 Kudos

Dears,

I want to output longtext in SAPScript in my form.

The length of the text is 120, and I want them output just full of the lines,

And the lines should be 30 columns, and I want to save some space

Is there any method to let these words align both left and right, except to change the font size?

Is there any method to broaden the spaces between words?

Thanks a lot

Julie

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi,

Use paragraph formats in the script

In the paragraph format

1) you can use block to align the text both right and left

2) Increase the distance between the characters by going to Tab option in the paragraph formats (ie., to broaden the space between the characters)

Thanks&Regards

Sarves

Former Member
0 Kudos

Dear,

The first one, it works,

About the second, I want to broaden the space word by word. As the length of the word is unknown

so Tab in paragraoh formats, could not work.

Is there another good method?

Thanks a lot.

Julie

Former Member
0 Kudos

Hi julie,

I don't think we have character spacing available in Scripts,

But if you want equal spacing between all the words then the better font i can suggest you is Courier as this is the only font where all the characters are of same size as a square...

I think i cleared the doubt.

Thanks&Regards

Sarves

Former Member
0 Kudos

Dear,

Your method is very useful, and the font Courier is just can satisfied my form.

Also, there is a problem, As I print preview the form, the character can full the line space,

but when I print the form, the length is just 3/4 of the line length.

I want to know, is that the problem of the Printer? Different output view for different printer?

Thanks.

Julie.

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

It can be done through Paragraph formats.

Using TAB option in the paragraph format you can set the space.

Using the function module FORMAT_TEXTLINES in print program(pass 30 to the parameter formatwidth, in your case)column length can be set.

Regards,

Sudagar Shanmugam

Edited by: sudagar shanmugam on Jun 25, 2009 12:18 PM

Former Member
0 Kudos

try making use of paragraph and character settings