on 01-15-2009 9:42 AM
Hi Experts,
I have to shade two positions in the main window which are under the two text elements.
One text element is the header of the main window and other is the summary of the main window.
I am able to achieve shading at the header using
POSITION WINDOW
BOX WIDTH '19' CM HEIGHT '2.2' LN FRAME 0 TW INTENSITY 10
But not able to get the same for the summary, as the position of it is not fixed.
The position of the summary part changes according to the contents of the main window.
Kindly suggest how I can achieve the shading for the summary part(which is not fixed) in the main window.
Thanks in advance.
Regards
Asish.
Hi,
Have a look @the following:-
In this case I am printng horizontal line before & after the total. As in your case total may appear anywhere depending on the no of items in the main window.
/E ITEM_TOTAL
/: IF &W_PFLAG& = 'Y'
/* POSITION XORIGIN '+0' CH YORIGIN &'-'W_I(C)& LN
/: SIZE HEIGHT &W_I(C)& LN
/: BOX FRAME 10 TW
/: ELSE
/: POSITION XORIGIN '0' CH YORIGIN &''W_I(C)& LN
/: SIZE HEIGHT 2 LN
/: BOX FRAME 10 TW INTENSITY 20
/* The above is for Grand Total
/* Now position is back to bottom of details hdg viz. particulars Amount
/: POSITION XORIGIN '+0' CH YORIGIN &'-'W_I(C)& LN
/: SIZE HEIGHT &W_I(C)& LN
/: BOX FRAME 10 TW
So basically what you need to do is to arrive at the correct value of w_i in your pgm, & rest is easy.
I hope this helps,
Regards
Raju Chitale
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
check this link
http://help.sap.com/saphelp_45b/helpdata/en/65/897415dc4ad111950d0060b03c6b76/content.htm
Regards,
Madhu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi asish,
[SAPscript: Definition of borders, lines, and shading|http://help.sap.com/saphelp_45b/helpdata/en/65/897415dc4ad111950d0060b03c6b76/content.htm]
Regards,
Sravanthi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
you can draw box in SAP script using the following code.
/: POSITION XORIGIN '-0' CH YORIGIN '-0.
/: SIZE WIDTH '+0.4' CH HEIGHT +1 LN
/: BOX HEIGHT '13.5' LN FRAME 10 TW
/: BOX FRAME 10 TW
this is if you want to give the lengeth and breath of box.
and BOX FRAME 10 TW is for intensity of frame line. the more the TW the thicker the line.
if you are not sure of length and breath of box and want it to be dynamic the use this code.
/: POSITION XORIGIN '-0' CH YORIGIN '-0'.
/: BOX FRAME 10 TW
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.