01-21-2005 2:55 PM
Hi,
I've a question -> it is possible to shade a window or a text (but you've to know the position of the text)
POSITION WINDOW
POSITION XORIGIN '-0.5' CH YORIGIN '-0.25' LN
SIZE WIDTH '+0.4' CH HEIGHT +1 LN
BOX HEIGHT '1.7' LN INTENSITY 20
is it also possible to shade a textline without knowing the position of the print? for example: I've two positions: print postion 1 without a shade - position 2 with a shade (in window main).
Thank you very much
best regards
Johannes
01-24-2005 9:06 AM
Hi Johannes,
It is possible with SAPScript. First of all, you should define a Character format, say "SH" for "shading", then go to pushbutton "Font" at the bottom of the screen. Then click "On"-radiobutton at "Underlined" row, and press the "Other attributes" pushbutton (you know, the one with an arrow pointing right). Here you should define the shading. I recommend you to populate "-0.50 LN" as spacing, "1.00 LN" as thickness, and "80%" as intensity, but you may change these parameters if you wish!
I hope it helps. BR,
Alvaro
PS: If it works, please let us know by rewarding this answer. Thanx!
01-22-2005 3:07 PM
It s easy to do it using smartforms and a loop ( not a table ).
For Sapscript, You might try to use standard function like WRITE_FORM_LINES to calculate dynamically the box position for shading, it isn't difficult but you have to spend time ( use LN for unit of position ), think about it before begining .
To my mind, i prefer the use of smartform.
Sincerely
01-24-2005 9:06 AM
Hi Johannes,
It is possible with SAPScript. First of all, you should define a Character format, say "SH" for "shading", then go to pushbutton "Font" at the bottom of the screen. Then click "On"-radiobutton at "Underlined" row, and press the "Other attributes" pushbutton (you know, the one with an arrow pointing right). Here you should define the shading. I recommend you to populate "-0.50 LN" as spacing, "1.00 LN" as thickness, and "80%" as intensity, but you may change these parameters if you wish!
I hope it helps. BR,
Alvaro
PS: If it works, please let us know by rewarding this answer. Thanx!
01-25-2005 12:58 PM