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

Resize Window

Former Member
0 Likes
1,864

I want to display text in footer window ..each line only till the width of the window ? Initially the width of the indow was more ...now I reduced the width of footer window in design in my SAPSCRIPT ,

This window displays INCLUDED TEXT ...PARAGRAPH ZH !! Even after rezizing the window and reducing its size to almost half still the text gets displayed till the end of line ...!!

Say the text is : ( even after resizing the window it covers width greater than the width of footer window )

'the text to be resized ..........'

I want it to fit as per the size of the window : (so i reduced the footer window size )

the text to

be resized..

...........

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,486

Sounds like that has been your problem all along.

The form is not ACTIVE.

You want to use a 1pt font? I think standard COURIER only goes down to 6 pt (unless you install TrueType fonts).

Try changing the font size to 6.0 so the form can be activate.

12 REPLIES 12
Read only

Former Member
0 Likes
1,486

Not exactly sure what you mean but...

If you are using the PARAGRAPH command with INCLUDE, you can set a RIGHT MARGIN and LEFT MARGIN on the paragraph format to control the size.

Read only

0 Likes
1,486

yes , i did set that too . I set the paragraphs right and left margin same as that of my resized window , still it displays it to the end regardless of the size of the window and setting in the paragraphs right and left margin .!!?

Read only

0 Likes
1,486

May be you've changed the window size in only first page, change it's size in all pages.

Regards

Sridhar

Read only

0 Likes
1,486

Where is the text coming from?

Is it possible the text has a paragraph symbol specified that is overriding the one you use on the INCLUDE line?

Are you using the correct syntax on the INCLUDE statement?

/: INCLUDE SOME_TEXT PARAGRAPH Z1

I remember spelling PARAGRAPH wrong once. Took me forever to find the error!

Read only

0 Likes
1,486

The text comes from a text object maintained in SO10 . When i go to so10 , I can see that in the two dropdowns below the menu bar : PARAG Formats and Char formats , the value PARAGRAPH LEFT ALIGNED is selected by default ...IS this making any difference ?

To my surprise : I removed some text lines from the text : it was 6 lines i made it just 4 and activated the form ....but It dint display the changes ..it still went on printing the full text ???

Read only

0 Likes
1,486

I am really not sure what the problem could be.

For standard text that will be part of an INCLUDE, we usually use the default paragraph "*".

Try changing the standard text to use "*" for a paragraph symbol.

Also, in the SAPscript, you might want to add a simple text line above the INCLUDE.

Something like...

/ next will print text

This way, you can verify we are in the right page window and are working in the right section of the layout set.

Read only

0 Likes
1,486

I put the hardcoded text before the INCLUDE text :

/ test text

But , when i activated it and print it , it just doesnt display that text too ...It looks like it is everytime picking up the older version of the form . When I display the standard attributes of form it say : REVISED SAVED ..it should be ACTIVE ...but it is not .

Also , i created a paragraph format as ZF for this text , when i activate the form after this it says :

"Paragraph ZF: Font COURIER 001 is not an SAP font".

Looks like because of this it doent activate the form ?? I thought we can create our own custom paragraph type ...is it not the case ????

Read only

Former Member
0 Likes
1,487

Sounds like that has been your problem all along.

The form is not ACTIVE.

You want to use a 1pt font? I think standard COURIER only goes down to 6 pt (unless you install TrueType fonts).

Try changing the font size to 6.0 so the form can be activate.

Read only

0 Likes
1,486

I just removed the font size i gave manually and activated the form , it works for the new version but then the purpose of creating a custom paragraph goes waste ...Cant i specify a smaller font size for the footer text ...i want the footer text to come in very small font ...??

Read only

0 Likes
1,486

hi,

check the font CNHEI 8.0pt and give it in your char. format.

  • <C>your text</>

hope this helps,

do reward if it helps,

priya.

Read only

0 Likes
1,486

I think to get smaller than COURIER 6 point, you have to install the TrueType fonts in txn SE73. I have never done this before. Hopefully someone else can help or try searching the forum.

Another option is to hard code escape sequences in the layout set or create some custom print-controls, but this is not recommended. The form becomes fixed to one specific device type.

Hopefully someone else will have some ideas!

Read only

0 Likes
1,486

Thank you Norman for walking through this issue I will be looking through on sites for treu font inst .

Thanks again