cancel
Showing results for 
Search instead for 
Did you mean: 

borders in sap script

Former Member
0 Kudos

Hi to all , How can i get borders for windows in SAP Script.

Accepted Solutions (1)

Accepted Solutions (1)

rashmi_purohit2
Explorer
0 Kudos

HI,

You need to the Box command in the SAP script.

Using the following new text commands:

1. /: BOX [XPOS] [YPOS] [WIDTH] [HEIGHT] [FRAME] [INTENSITY]

2. /: POSITION [XORIGIN] [YORIGIN] [WINDOW] [PAGE]

3. /: SIZE [WIDTH] [HEIGHT] [WINDOW] [PAGE]

Effect

Draws a box at this position with the specified size.

Thanks,

rashmi

Answers (5)

Answers (5)

former_member196280
Active Contributor
0 Kudos

try this, I guess ...it will help you to close the thread..

/E TAB

/: POSITION XORIGIN '0.9' CM YORIGIN '+0.6' CM

/: SIZE WIDTH '3.0' CM HEIGHT '0.6' CM

/: BOX FRAME 10 TW.

/: POSITION XORIGIN '3.9' CM

/: SIZE WIDTH '7.3' CM HEIGHT '0.6' CM

/: BOX FRAME 10 TW.

/: POSITION XORIGIN '11.2' CM

/: SIZE WIDTH '2.8' CM HEIGHT '0.6' CM

/: BOX FRAME 10 TW.

/: POSITION XORIGIN '14' CM

/: SIZE WIDTH '2.6' CM HEIGHT '0.6' CM

/: BOX FRAME 10 TW.

/: POSITION XORIGIN '16.6' CM

/: SIZE WIDTH '3.2' CM HEIGHT '0.6' CM

/: BOX FRAME 10 TW

Regards,

SaiRam

Former Member
0 Kudos

Hi

To dispaly borders for a window in scripts use BOX command with intensity.

To get the borders define the height and width same as size of window.

Define in the form as follows:

/: BOX WIDTH '17.5' CM HEIGHT '25' CM FRAME 10 TW INTENSITY

Hope this helps you.

Regards,

Rajani

Former Member
0 Kudos

Hi,

Use this

BOX XPOS '5.0' MM YPOS '9' CM WIDTH '191' MM HEIGHT '14' CM FRAME '0.5' PT

you can change the values according to your requirement.

Former Member
0 Kudos

Hi,

You need to use BOX command in sap scripts by mentioning the height and width of the box and even x and y coordinates positions

kindly go through the help document for getting the desired

[BOX command help|http://help.sap.com/saphelp_45b/helpdata/en/65/897415dc4ad111950d0060b03c6b76/content.htm]

Thanks&Regards

Sarves

Former Member
0 Kudos

thank u very much,

but can i know how to draw a single border , ie left border , right border , bottom , top .

Former Member
0 Kudos

Hi,

Use a BOX command to draw border for the specified window.

Regards,

Prashant