‎2006 Jul 28 3:31 PM
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..
...........
‎2006 Jul 28 6:52 PM
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.
‎2006 Jul 28 3:43 PM
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.
‎2006 Jul 28 3:48 PM
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 .!!?
‎2006 Jul 28 5:45 PM
May be you've changed the window size in only first page, change it's size in all pages.
Regards
Sridhar
‎2006 Jul 28 5:53 PM
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!
‎2006 Jul 28 6:26 PM
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 ???
‎2006 Jul 28 6:35 PM
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 textThis way, you can verify we are in the right page window and are working in the right section of the layout set.
‎2006 Jul 28 6:46 PM
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 ????
‎2006 Jul 28 6:52 PM
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.
‎2006 Jul 28 6:59 PM
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 ...??
‎2006 Jul 28 7:04 PM
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.
‎2006 Jul 28 7:05 PM
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!
‎2006 Jul 28 7:10 PM
Thank you Norman for walking through this issue I will be looking through on sites for treu font inst .
Thanks again