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

shades in sap scripts

Former Member
0 Likes
1,106

Hi,

Please tell me how to add the shades to the headers in the sapscripts.

If so please tell me the example. I tried teh Box but it is not working can any one tell me the syntax and example of it.

thanks,

Ravi

Hi,

Please tell me how to add the shades to the headers in the sapscripts.

If so please tell me the example. I tried teh Box but it is not working can any one tell me the syntax and example of it.

thanks,

Ravi

7 REPLIES 7
Read only

Former Member
0 Likes
1,037

BOX HEIGHT ‘1.5’ LN <b>INTENSITY 20</b>

Read only

0 Likes
1,037

can you give the full details of the box statement please

Thanks,

Ravi

Read only

0 Likes
1,037

Hi Ravi,

The Box Command is,

BOX xpos 0 mm YPOS 0 MM WIDTH 50 MM HEIGHT 50 MM

FRAME 10 TW INTENSITY 20

So give the Intensity value to get the Shading in your output.

Please Reward Points if it helps,

With Regards,

Neptune.M

Read only

0 Likes
1,037

Hi Ravi,

Again Neptune, type the Box command in single line.

With Regards,

Neptune.M

Read only

0 Likes
1,037

Hi Ravi,

just try this in the editor..u ll get an idea

/: BOX xpos '1' cm ypos '1' cm height '1' cm width '2' cm frame 10 tw intensity 10.

intensity defines the darkness of the shade..lesser the value, lighter the shade..

Read only

0 Likes
1,037

The following example shows how to create multiple boxes in one window.

/:POSITION WINDOW

/* FIRST BOX

/* POSITION XORIGIN '0'CH YORIGIN '0'LN "THIS IS DEFAULT.

/: SIZE WIDTH '2' CH HEIGHT '4' LN

/: BOX FRAME 4 TW

/*SECOND BOX

/* POSITION XORIGIN '0'CH YORIGIN '4'LN

/: SIZE WIDTH '10' CH HEIGHT '4' LN

/: BOX FRAME 4 TW

This code will generate three boxes relative to the size of the page window.

OR WRITE...

/: BOX xpos '1' cm ypos '1' cm height '1' cm width '2' cm frame 10 tw intensity 20.

Read only

venkat_o
Active Contributor
0 Likes
1,037

Hi Ravi ,

<b>1</b>.

Have a look at this example.

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

/: BOX WIDTH '17.5' CM HEIGHT '13.5' CM FRAME 10 TW

/: BOX XPOS '10.0' CM WIDTH 0 TW HEIGHT '13.5' CM FRAME 10 TW

/: BOX XPOS '13.5' CM WIDTH 0 TW HEIGHT '13.5' CM FRAME 10 TW

Draws two rectangles and two lines to construct a table of three columns with a highlighted heading section.

<b>2</b>.

For more Documentation on Boxes lines ,Go through this link.

http://help.sap.com/saphelp_46b/helpdata/en/d2/cb3d07455611d189710000e8322d00/frameset.htm

I hope that it solves ur problem.

<b>Thanks,

Venkat.O</b>