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

Text length in Sap Script

Former Member
0 Likes
1,179

Hi all, how can I force auto adjust of Text leght in Sap Script ?

I have a text to print, and when it is taller than page area it is printed in another page Ok. But I don't want that it is printed in another page, I want that it is adjusted automatically to print in one page only, without I have adjust text font manually.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
961

Hi!

Welcome on SDN.

Here's the official document of SAPScript.

http://help.sap.com/saphelp_erp2005vp/helpdata/en/d1/803411454211d189710000e8322d00/content.htm

Regards

Tamá

6 REPLIES 6
Read only

Former Member
0 Likes
962

Hi!

Welcome on SDN.

Here's the official document of SAPScript.

http://help.sap.com/saphelp_erp2005vp/helpdata/en/d1/803411454211d189710000e8322d00/content.htm

Regards

Tamá

Read only

Former Member
0 Likes
961

Hi,

Here you can include what ever you want to print on one page in

Protect

End Protect

command. Initially it will try and fit all in first page, but if the text is extra large, then it will print the whole on the second page.

Hope this helps.

Regards,

Shahu

Read only

Former Member
0 Likes
961

Hi!

Place the lines which u want to print in the same page inside <b>PROTECT</b> and <b>ENDPROTECT</b>.

Reward if it helps.

Regards,

Neha Bansal.

Read only

Former Member
0 Likes
961

Use protect and End-protect this will allign your data in the same window.

note :- if u put a tabel or data in your main window it keeps growing according to your data size .

if it dos't work get back to me.

I think i have solved your problem please give 10 points

Read only

Former Member
0 Likes
961

there is a function module split_text use this function module in external subroutine you split the text according to size of the window

Read only

Former Member
0 Likes
961

The text was changed manually