cancel
Showing results for 
Search instead for 
Did you mean: 

Creating Box in Sap Scripts

Former Member
0 Kudos

HI Gurus,

I am working on Check Printing. My issue is that I want to create a box frame for the Check amount window.

My Windoys attributes are :

LEFT MARGIN : 14.90 cm

UPPER MARGIN : 22.20 cm

WINDOW WIDTH : 3.90 cm

WINDOW HEIGHT: 1.15 cm

I want a box frame to be created for the particular window , just like we outline the window in Smartfom.

How should I wirite the box Command?

If possible please wrte the code as I am new to scripts.

Thanks in advance.

Regards,

Asish Dash

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

/: POSITION WINDOW

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

/: SIZE WIDTH '0.5' CH HEIGHT '0.25' LN

/: BOX FRAME 10 TW

/: BOX HEIGHT '1.7' LN INTENSITY 15

I guess this will resolve your problem

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

/: POSITION WINDOW

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

/: SIZE WIDTH '0.5' CH HEIGHT '0.25' LN

/: BOX FRAME 10 TW

/: BOX HEIGHT '1.7' LN INTENSITY 15

I guess this will resolve your problem

Former Member
0 Kudos

Hi,

Write

/: BOX FRAME 10 TW in u r window.This will give the Border to u r window.If u want to specify the vertical and horizantal lines,in that case u can specify the XPOS and YPOS.

Former Member
0 Kudos

/: BOX XPOS '0' MM YPOS '6.50' MM WIDTH '188' MM HEIGHT '0' MM FRAME 10 TW

/: BOX XPOS '0' MM YPOS '0' MM WIDTH '0' MM HEIGHT '6.50' MM FRAME 10 TW