2008 Oct 08 12:48 PM
Hi All,
For Voucher Printing,I hav designed my own Layout.Problem is coming with Horizontal Lines.If there are more line items,the horizontal lines in first page should be of more height i.e., the lines should fill up the MAIN Window of First Page or if less line items ,the lines should be of minimum height,I have used &SAPSCRIPT-FORMPAGES&,JOBPAGES and also if &PAGE& eq 1, but my problem is not solved.
Thanks in Advance.
With Regards,
Suman.
2008 Oct 08 4:09 PM
Is this a SAPScript or SmartForm?
Do you mean vertical lines? Horizontal lines don't have height (unless you mean thickness).
Are you trying to draw vertical lines with a dynamic height corresponding to the number of lines in the MAIN window?
In SAPScripts you could add a text element to MAIN, called each time anything is printed for MAIN in the print program, that creates a vertical line 1 line high. In some cases it's easier to add the code to the existing text elements.
i.e.
/E VLINE
/: POSITION YORIGIN +1 LN
/: BOX WIDTH 0 TW HEIGHT 1 LN FRAME 10 TW
I've rarely used SmartForms, they may have another way to do this.