|Home • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us|
How to give Shades in SAPScript?
By Shweta Chavan, Hitachi Consulting
Document will elaborate you how to shade your table in SAPScript? Normally it is
very easy to maintain document shading in Smartform & Adobe forms. But in
SAPScript it is manual activity to do such things. We have to write down the
code for getting such tables or shades.
In SAP Script
Release 3.0A, text commands were introduced for drawing borders, lines, and
shading. Parameters can be set for position, size, border thickness, and
shading. Within a layout set, individual windows or specific text passages
within a window can therefore be output with a border or shading.
are the borders defined in the layout set?
the following new text commands:
/: BOX [XPOS]
[YPOS] [WIDTH] [HEIGHT] [FRAME] [INTENSITY]
[XORIGIN] [YORIGIN] [WINDOW] [PAGE]
3. /: SIZE [WIDTH] [HEIGHT] [WINDOW] [PAGE]
/: BOX [XPOS] [YPOS] [WIDTH] [HEIGHT] [FRAME] [INTENSITY]
: Draws a box at this position with the specified size.
: XPOS, YPOS, WIDTH, HEIGHT and FRAME always require
/: BOX FRAME 10 TW
Draws a frame around the current window with a frame thickness of 10 TW (= 0.5 PT)
BOX INTENSITY 10
the window background with a density (gray shade) of 10 %
/: BOX HEIGHT 0 TW FRAME 10 TW
Draws a horizontal line at the upper window border over the entire window width
/: BOX WIDTH 0 TW FRAME 10 TW
/: BOX WIDTH '17.5' CM HEIGHT '1' CM FRAME 10 TW INTENSITY 15
Draws two rectangles and two lines to construct a three-column table with a highlighted heading line Output
of above blue lines will be like follow:
Please send us your feedback/suggestions at webmaster@SAPTechnical.COM
©2006-2007 SAPTechnical.COM. All rights reserved.
product names are trademarks of their respective companies. SAPTechnical.COM
is in no way affiliated with SAP AG.
Graphic Design by Round the Bend Wizards