Skip to Content
avatar image
Former Member

borders in sap script

Hi to all , How can i get borders for windows in SAP Script.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

6 Answers

  • Best Answer
    avatar image
    Former Member
    Jun 23, 2009 at 11:37 AM

    HI,

    You need to the Box command in the SAP script.

    Using the following new text commands:

    1. /: BOX [XPOS] [YPOS] [WIDTH] [HEIGHT] [FRAME] [INTENSITY]

    2. /: POSITION [XORIGIN] [YORIGIN] [WINDOW] [PAGE]

    3. /: SIZE [WIDTH] [HEIGHT] [WINDOW] [PAGE]

    Effect

    Draws a box at this position with the specified size.

    Thanks,

    rashmi

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 23, 2009 at 04:39 AM

    Hi,

    Use a BOX command to draw border for the specified window.

    Regards,

    Prashant

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 23, 2009 at 04:43 AM

    Hi,

    You need to use BOX command in sap scripts by mentioning the height and width of the box and even x and y coordinates positions

    kindly go through the help document for getting the desired

    [BOX command help|http://help.sap.com/saphelp_45b/helpdata/en/65/897415dc4ad111950d0060b03c6b76/content.htm]

    Thanks&Regards

    Sarves

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      thank u very much,

      but can i know how to draw a single border , ie left border , right border , bottom , top .

  • avatar image
    Former Member
    Jun 23, 2009 at 07:22 AM

    Hi,

    Use this

    BOX XPOS '5.0' MM YPOS '9' CM WIDTH '191' MM HEIGHT '14' CM FRAME '0.5' PT

    you can change the values according to your requirement.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 23, 2009 at 11:50 AM

    Hi

    To dispaly borders for a window in scripts use BOX command with intensity.

    To get the borders define the height and width same as size of window.

    Define in the form as follows:

    /: BOX WIDTH '17.5' CM HEIGHT '25' CM FRAME 10 TW INTENSITY

    Hope this helps you.

    Regards,

    Rajani

    Add comment
    10|10000 characters needed characters exceeded

  • Jun 24, 2009 at 05:02 AM

    try this, I guess ...it will help you to close the thread..

    /E TAB

    /: POSITION XORIGIN '0.9' CM YORIGIN '+0.6' CM

    /: SIZE WIDTH '3.0' CM HEIGHT '0.6' CM

    /: BOX FRAME 10 TW.

    /: POSITION XORIGIN '3.9' CM

    /: SIZE WIDTH '7.3' CM HEIGHT '0.6' CM

    /: BOX FRAME 10 TW.

    /: POSITION XORIGIN '11.2' CM

    /: SIZE WIDTH '2.8' CM HEIGHT '0.6' CM

    /: BOX FRAME 10 TW.

    /: POSITION XORIGIN '14' CM

    /: SIZE WIDTH '2.6' CM HEIGHT '0.6' CM

    /: BOX FRAME 10 TW.

    /: POSITION XORIGIN '16.6' CM

    /: SIZE WIDTH '3.2' CM HEIGHT '0.6' CM

    /: BOX FRAME 10 TW

    Regards,

    SaiRam

    Add comment
    10|10000 characters needed characters exceeded