Skip to Content
avatar image
Former Member

drawing table in scripts & taking print out

hi guys,

I drawn a table using window, xpos, ypos commands in the script.

but <b>while taking printout the table is not printed,</b> remaining all the matter with in

the table were printed.

but if i draw the table using sy-vline & sy-uline, the table was printed.

<b>Why it is happening ? Give me a suitable reply with example if any.</b>

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Apr 24, 2007 at 03:35 PM

    Try this example.

    IF &PAGE& EQ '1'.

    BOX FRAME 10 TW

    POSITION WINDOW

    BOX WIDTH '74' CH HEIGHT '3.1' LN FRAME 10 TW I

    POSITION XORIGIN '3.0' CM

    BOX WIDTH 0 CM HEIGHT '34.5' LN FRAME 10 TW

    POSITION XORIGIN '5.0' CM

    BOX WIDTH 0 CM HEIGHT '34.5' LN FRAME 10 TW

    POSITION XORIGIN '7.2' CM

    BOX WIDTH 0 CM HEIGHT '34.5' LN FRAME 10 TW

    POSITION XORIGIN '8.3' CM

    BOX WIDTH 0 CM HEIGHT '34.5' LN FRAME 10 TW

    POSITION XORIGIN '9.5' CM

    BOX WIDTH 0 CM HEIGHT '34.5' LN FRAME 10 TW

    POSITION XORIGIN '12.0' CM

    BOX WIDTH 0 CM HEIGHT '34.5' LN FRAME 10 TW

    POSITION XORIGIN '14.5' CM

    BOX WIDTH 0 CM HEIGHT '34.5' LN FRAME 10 TW

    POSITION XORIGIN '17.0' CM

    BOX WIDTH 0 CM HEIGHT '34.5' LN FRAME 10 TW

    ENDIF.

    IF &PAGE& NE '1'.

    POSITION WINDOW

    BOX WIDTH '74' CH HEIGHT '36.5' LN FRAME 10 TW

    POSITION WINDOW

    BOX WIDTH '74' CH HEIGHT '3.1' LN FRAME 10 TW INTENSITY 10

    POSITION XORIGIN '0.9' CM

    BOX WIDTH 0 CM HEIGHT '36.5' LN FRAME 10 TW

    POSITION XORIGIN '3.0' CM

    BOX WIDTH 0 CM HEIGHT '36.5' LN FRAME 10 TW

    POSITION XORIGIN '5.0' CM

    BOX WIDTH 0 CM HEIGHT '36.5' LN FRAME 10 TW

    POSITION XORIGIN '7.2' CM

    BOX WIDTH 0 CM HEIGHT '36.5' LN FRAME 10 TW

    POSITION XORIGIN '8.3' CM

    BOX WIDTH 0 CM HEIGHT '36.5' LN FRAME 10 TW

    POSITION XORIGIN '9.5' CM

    BOX WIDTH 0 CM HEIGHT '36.5' LN FRAME 10 TW

    POSITION XORIGIN '12.0' CM

    BOX WIDTH 0 CM HEIGHT '36.5' LN FRAME 10 TW

    POSITION XORIGIN '14.5' CM

    BOX WIDTH 0 CM HEIGHT '36.5' LN FRAME 10 TW

    POSITION XORIGIN '17.0' CM

    BOX WIDTH 0 CM HEIGHT '36.5' LN FRAME 10 TW

    POSITION XORIGIN '19.7' CM

    BOX WIDTH 0 CM HEIGHT '36.5' LN FRAME 10 TW

    ENDIF

    Reward Points if it is useful.

    Add comment
    10|10000 characters needed characters exceeded