Skip to Content
author's profile photo Former Member
Former Member

Sap Script - shade

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 24, 2005 at 09: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!

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 22, 2005 at 03: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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.