cancel
Showing results for 
Search instead for 
Did you mean: 

Reducing the Box Height in SAP Script

Former Member
0 Kudos

Hi Experts,

I want to reduce the hight of the box in the SAP script.

POSITION WINDOW

POSITION XORIGIN '-0.5' CH YORIGIN '-0.25' LN

SIZE WIDTH '+0.4' CH HEIGHT +1 LN

BOX FRAME 10 TW

BOX HEIGHT '1.7' LN INTENSITY 20

i tried to reduce the hight from the +1 ln to 0,5 and hight 1.7 to less.

but box hight is not geting reduce.

Please sugest how to reduce box width

Regards,

udupi

Accepted Solutions (0)

Answers (4)

Answers (4)

former_member182040
Active Contributor
0 Kudos

you can follow this :

BOX [XPOS] [YPOS] [WIDTH] [HEIGHT] [FRAME] [INTENSITY]

and active your script and if u use this script in different client then you have use T.CODE SCC1.

Former Member
0 Kudos

Hi,

Use the below for defining boxes in scripts:

Using the BOX command specifying the x,y co-ordinates and the width and the height
/: BOX XPOS '0' CM YPOS '0.5' CM WIDTH '9.2' CM HEIGHT '3.5' CM FRAME 8 TW 

Hope it serves your problem.

marius_greeff
Active Participant
0 Kudos

Hi Udupi

The code has two parts with height in your code that is wrong. You can change it slightly like this and perhaps use MM or CM for dimensions. Also make sure to activate the form and leave the transaction completely before re-printing the form. And remember the ' ' around the dimension values.

POSITION WINDOW

POSITION XORIGIN '-0.5' CH YORIGIN '-0.25' LN

SIZE WIDTH '+0.4' CH HEIGHT '4' MM

BOX FRAME 10 TW INTENSITY 20

I hope this will solve your problem.

naresh_bammidi
Contributor
0 Kudos

Try using the followig box command

/: BOX XPOS '-0.5 CH' YPOS '-0.25' WIDTH '0.4' CH HEIGHT ''0,5'  FRAME '10' TW INTENSITY 20