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

Sapscript

Hi all,

In the sapscript, i need to draw a horizontal line starting from a particular position and end at the particular position. How will i do that.? Any help??

-sinthu

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

7 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Mar 25, 2006 at 05:47 AM

    HI Sinthu,

    you can certainly do it..

    Use these commands..

    1.

    Box <xpos> <ypos> <width> <height> <frame> <intensity>

    giving 0 as height drwas a straight line..

    The BOX command draws a box as per the specifications. The x y co-ordinates are for the upper left corner relative to the values in the position command.

    2.

    Position <xorigin> <yorigin> <window> <page>

    POSITION command is used to set the x y co-ordinates with respect to the start position of the window

    regards

    satesh

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Mar 25, 2006 at 05:43 AM

    Hi sinthu,

    1. &uline(135)&

    2. we can use the above code

    where 135 = number of characters (for underline)

    regards,

    amit m.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Mar 25, 2006 at 05:53 AM

    Hi Sinthu.

    You can do so by using BOX command

    Horizontal line

    BOX XPOS -- CM YPOS -- CM WIDTH -- CM HEIGHT 0 CM FRAME 5 TW INTENSITY 1.

    Vertical line

    by making width 0 CM and of any height

    Hope your query is solved.

    If so, please award points.

    Regards,

    Sylendra.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Mar 25, 2006 at 05:59 AM

    i've writen the following code

    BOX XPOS '12.0' CM YPOS '0.5' CM WIDTH '8' CM HEIGHT '4' CM FRAME 8 TW

    Now, i want to increase the width by 8.5 and add intensity. but it is not allowing me to add in the pc editor. so, how will i continue that is in the next line.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Mar 25, 2006 at 06:04 AM

    Hi Sinthu,

    You can do that

    /: BOX XPOS 0 CM YPOS 1 CM WIDTH '20.5' CM HEIGHT 0 CM FRAME 5 TW

    /: INTENSITY 1

    Hope your query is solved.

    Regards,

    SYlendra

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Mar 25, 2006 at 06:17 AM

    Hi sylendra,

    in one line i have writen the following code

    /: BOX XPOS '10.0' CM YPOS '0.5' CM WIDTH '10.5' CM HEIGHT '4' CM

    And in the next line i wrote

    /: frame 8 tw

    when i run the program. the box itself is not getting displayed.

    When I write WIDTH '10' cm and write the code in the same line, it's getting displayed.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Mar 25, 2006 at 06:36 AM

    Hi all,

    Thanks a lot for u're responses..

    Regards,

    sinthu

    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.