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

Regarding Boxes in Script

Former Member
0 Likes
753

Hi all ,

i have to display table contents in Script in frame with horizontal and vertical lines. I am trying to do this by

/: BOX XPOS 1 CM YPOS &YORIGIN& CM WIDTH '18' CM HEIGHT 1 CM FRAME 10 TW

In print program i am increasing &YORIGIN& value. Even thought the value &YORIGIN& is increasing it is not printing any lines.

Correct me where i am wrong..

thanks in advance,

Ananth

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
734

Hi Ananth,

i guess you have declared yorigin as integer....

If so in your box command use formatting options

&YORIGIN(C)&

this will work for you

regards

padma

6 REPLIES 6
Read only

Former Member
0 Likes
734

Hi Go through the link given below :

http://help.sap.com/saphelp_45b/helpdata/en/65/897415dc4ad111950d0060b03c6b76/content.htm

Hope it will solve your problem.

Thanks & Regards

Nikunj Shah

Read only

bpawanchand
Active Contributor
0 Likes
734

Hi

for horizontal line the WIDTH should be 0 and vertical is obatyined by making HEIGHT = 0.

POSITION XORIGIN 5 CM YORIGIN 5 CM

SIZE WIDTH 0 CM HEIGHT 5 CM

BOX FRAME 10 TW. ( for horizontal line)

POSITION XORIGIN 5 CM YORIGIN 5 CM

SIZE WIDTH 10 CM HEIGHT 0 CM

BOX FRAME 10 TW. ( for vertical line)

Regards

Pavan

Read only

Former Member
0 Likes
734

Hi,

Take One text element .Under that Increase the &YORIGIN&

In SAP Script Editor.

Hope you will get that.

Regards,

Sujit

Read only

Former Member
0 Likes
734

hi,

use the command like this.

/: BOX XPOS 24 CH YPOS 0 CH HEIGHT 2 CH WIDTH 21 CH FRAME 3 TW INTENSITY 12

/: BOX XPOS 45 CH YPOS 0 CH HEIGHT 2 CH WIDTH 29 CH FRAME 3 TW INTENSITY 12

/: BOX XPOS 0 CH YPOS 2 CH HEIGHT '8.2' CH WIDTH 24 CH FRAME 3 TW

Rgds

umakanth

Read only

Former Member
0 Likes
735

Hi Ananth,

i guess you have declared yorigin as integer....

If so in your box command use formatting options

&YORIGIN(C)&

this will work for you

regards

padma

Read only

0 Likes
734

Thaks a lot .. its working

thanks,

Ananth