on 03-08-2009 9:28 AM
hi,
Can any one help me how to display Lines and Boxes in SAP Script.
Regards
kiran
Hi
You can declare box in script with the following code in form
/: Box frame 10 tw intensity.
/: Box Xorigin '4' cm Yorigin '6' cm
/: Box Height '2' cm width '4' cm.
To declare lines in SAP-SCRIPT write the following code in form:
For ULINE declare in form
UL &ULINE(100)&
Hope this solve your issue
Regards,
Rajani
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The SAP printer drivers based on page-oriented printers use these commands when creating output whereas the line printers and non-supported page-oriented printers ignore these commands.
Syntax:/: BOX [XPOS] [YPOS] [WIDTH] [HEIGHT] [FRAME] [INTENSITY]
This command draws a box of the specified size at the specified position.
The following calculation is performed internally to determine the absolute output position of a box on the page:
X(abs) = XORIGIN + XPOS
Y(abs) = YORIGIN + YPOS
WIDTH determines the width of the box.
Default: WIDTH value of the SIZE command.
HEIGHT determines height of the box.
Default: HEIGHT value of the SIZE command.
FRAME determines the thickness of frame.
Default: 0 (no frame).
INTENSITY determines the box contents as a grayscale percentage.
Default: 100 (full black)
The other details I guess is provided by friends who have posted before me.
Regards,
K.Sibi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nani,
To Draw a Box.
/:POSITION XORIGIN '1' CM YORIGIN '7' CM
/:SIZE WIDTH '1' CM HEIGHT '15' CM
/:BOX FRAME 10 TW
and line
/:POSITION XORIGIN '2' CM YORIGIN '4' CM
/:SIZE WIDTH '1' CM HEIGHT '0' CM
/:BOX FRAME 10 TW
You Need to adjust the X orgin and Y orgin Accordingly According with Width and Height
Hope this is help ful
Thanks
kalyan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Do like this way....
Draws a vertical line along the complete height of the left hand edge of the window.
/: 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
also go through this link ..it is very useful to u..
[display lines and boxes|http://help.sap.com/saphelp_nw70/helpdata/EN/d1/802ec5454211d189710000e8322d00/frameset.htm]
Regards
Kiran
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This message was moderated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
In the form in the command box write the command for box as
/: BOX WIDTH '10' CM HEIGHT 10 CM FRAME 10 TW INTENSITY 15
places a box.
/: BOX XPOS '10' CM WIDTH 0 TW HEIGHT '1' CM FRAME 10 TW
places a line.
Regards,
jaya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This message was moderated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This message was moderated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This message was moderated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.