cancel
Showing results for 
Search instead for 
Did you mean: 

Draw table with sapscript

Former Member
0 Kudos

Hi all,

My requirement is to draw a table with 4 rows and 5 columns.

I tried to code like this :


/E BOX
/:BOX HEIGHT '0.5' CM FRAME 10 TW
/:BOX XPOS '.48' CM WIDTH 0 TW HEIGHT '0.5' CM FRAME 10 TW
/:BOX XPOS '.78' CM WIDTH 0 TW HEIGHT '0.5' CM FRAME 10 TW
/*                                                                        
/:BOX HEIGHT '1.0' CM FRAME 10 TW
/:BOX XPOS '.48' CM YPOS '0.5' CM WIDTH 0 TW HEIGHT '0.5' CM FRAME 10 TW
/:BOX XPOS '.78' CM YPOS '0.5' CM WIDTH 0 TW HEIGHT '0.5' CM FRAME 10 TW
/*	 	                                                                        
/:BOX HEIGHT '1.5' CM FRAME 10 TW
/:BOX XPOS '.48' CM YPOS '1.0' CM WIDTH 0 TW HEIGHT '0.5' CM FRAME 10 TW
/:BOX XPOS '.78' CM YPOS '1.0' CM WIDTH 0 TW HEIGHT '0.5' CM FRAME 10 TW

However my output is not the same as what I seen in the preview and real printout.

Preview

http://i566.photobucket.com/albums/ss106/wkw510/pic12.jpg

Printout

http://i566.photobucket.com/albums/ss106/wkw510/pic13.jpg

Can someone please guide me how to resolve this?

Or provide me some code or reference how to get the above requirement?

Many thanks!

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

In WINDOW draw a horizontal line in the starting and in end again draw a horizontal line to close the table and the height with the vertical line.

or.

BOX XPOS '3' CM WIDTH 0 TW HEIGHT '8.2' CM FRAME 10 TW.

Regards,

jaya

Former Member
0 Kudos

Hi Jaya,

I thought I already did that in my code.

But now the problem is the preview and the printout is not the same.

You can view it in the links I provided.

Former Member
0 Kudos

Can you once revisit the orientation of the paper / layout and the printer settings?

Regards,

S.Dakshna Nagaratnam.

Former Member
0 Kudos

Hi Dakshna,

Would like to check with you how or what are the steps to check printer settings in SAP?

Thanks in advance.

Answers (0)