on 12-11-2006 5:28 AM
How can I create lines of a table form in SAPScript? I'm using &VLINE& &ULINE& manually inserted in the editor and hard to align.
Points for the helpful ideas. Thanks!
u can use box command for the same.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm done with the box and the data are already aligned. Now, I'm trying to include horizontal lines on each record..like a table that has borders on each coloumn and row.
This the code that I'm using, each record has a line.
/: BOX XPOS 0 CM YPOS '0.45' CM WIDTH 108 CH HEIGHT 0 CH FRAME 10 TW
/: BOX XPOS 0 CM YPOS '0.9' CM WIDTH 108 CH HEIGHT 0 CH FRAME 10 TW
/: BOX XPOS 0 CM YPOS '1.35' CM WIDTH 108 CH HEIGHT 0 CH FRAME 10 TW
But not all records are fitted. I need to adjust each line so the line won't overlap the text. Is there other way? It's very time consuming.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
use BOX command as below
Eg:
BOX YPOS '2' LN WIDTH '10' CM HEGIHT '0' CM FRAME '10' TW
Here YPOS means the position of Y axis and the width and height of the line. Frame 10 TW mwans the thickness of the line.
like this way call inside the window and draw the box or line in ur script.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thanks guys! i'm experimenting on it. but can't find the other angle of the box.
/: BOX XPOS 1 CH YPOS 1 IN WIDTH 20 CM HEIGHT 0 CM FRAME 10 TW
/: BOX XPOS 1 IN YPOS 1 IN WIDTH 0 CM HEIGHT 5 CM FRAME 10 TW
PH Company: <_header-ccode& <_header-cctxt&,,Material Slip/Delivery
Note:<_header-deltx&
PH Material Document No: <_header-matdn&,,Cost Center: <_header-costc&
PH Movement Type: <_header-mvtyp& <_header-mttxt&,,Plant
= <_header-plant& '/' lt_header-pltxt
PH Issued By: <_header-isdby&,,Storage Location: <_header-stloc&
<_header-sltxt&
PH Document Date: <_header-docdt&,,PO No: <_header-ponum&
PH Posting Date: <_header-postd&,,Page: &page&
PH Vendor: <_header-vendr& <_header-vname&
/: BOX XPOS 1 IN YPOS 1 IN WIDTH 0 CM HEIGHT 15 CM FRAME 10 TW
/: BOX XPOS 1 IN YPOS 1 IN WIDTH 0 CM HEIGHT 15 CM FRAME 10 TW
Hi,
try these steps
1. write -
2. write headings with '|' at start and end as well as the field separator.
3. write -
4. similar to step two write the data with pipe separators.
5. write -
or u can use --
You can use <b>BOX</b> command :
For eg,
<b>/: BOX WIDTH '10' CM HEIGHT 1 CM FRAME 10 TW</b>
Regards
pankaj singh
p.s - use the tab position correctly in your paragraph format.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.