Draw tables in sapscript

How to draw the tables in sapscript?
Is there any other way then draw box for vetical and horizontal line.

Hi
See this and draw the boxes in Script
SAPScripts
http://esnips.com/doc/1ff9f8e8-0a4c-42a7-8819-6e3ff9e7ab44/sapscripts.pdf
http://esnips.com/doc/1e487f0c-8009-4ae1-9f9c-c07bd953dbfa/script-command.pdf
http://esnips.com/doc/64d4eccb-e09b-48e1-9be9-e2818d73f074/faqss.pdf
http://esnips.com/doc/cb7e39b4-3161-437f-bfc6-21e6a50e1b39/sscript.pdf
http://esnips.com/doc/fced4d36-ba52-4df9-ab35-b3d194830bbf/symbols-in-scripts.pdf
http://esnips.com/doc/b57e8989-ccf0-40d0-8992-8183be831030/sapscript-how-to-calculate-totals-and-subtotals.htm
POSITION WINDOW
SIZE WIDTH '160' MM HEIGHT '140' MM
BOX FRAME 10 TW
Box
BOX HEIGHT '11' MM WIDTH '160' MM FRAME 10 TW INTENSITY 35
linessssssss
BOX XPOS '20' MM WIDTH 0 TW HEIGHT '140' MM FRAME 10 TW
BOX XPOS '45' MM WIDTH 0 TW HEIGHT '140' MM FRAME 10 TW
BOX XPOS '80' MM WIDTH 0 TW HEIGHT '140' MM FRAME 10 TW
BOX XPOS '120' MM WIDTH 0 TW HEIGHT '140' MM FRAME 10 TW
Boxes, Lines, Shading: BOX, POSITION, SIZE
Use the BOX, POSITION, and SIZE commands for drawing boxes, lines, and shading to print particular windows within a form or passages of text within a window in a frame or with shading.
The SAP printer drivers that are based on page-oriented printers (the HP LaserJet driver HPL2, the Postscript driver POST, the Kyocera Prescribe driver PRES) employ these commands when printing. Line printers and page-oriented printers not supported in the standard ignore these commands. You can view the resulting printer output in the SAPscript print preview.
Syntax:
/: BOX [XPOS] [YPOS] [WIDTH] [HEIGHT] [FRAME] [INTENSITY]
/: POSITION [XORIGIN] [YORIGIN] [WINDOW] [PAGE]
/: SIZE [WIDTH] [HEIGHT] [WINDOW] [PAGE]
BOX Command
Syntax
/: BOX [XPOS] [YPOS] [WIDTH] [HEIGHT] [FRAME] [INTENSITY]
Effect: draws a box of the specified size at the specified position.
Parameters: For each of XPOS, YPOS, WIDTH, HEIGHT, and FRAME, you must specify both a measurement and a unit of measurement. Specify the INTENSITY parameter as a percentage between 0 and 100.
XPOS, YPOS
Upper left corner of the box, relative to the values of the POSITION command.
Default: Values specified in the POSITION command.
The following calculation is performed internally to determine the absolute output position of a box on the page:
X(abs) = XORIGIN + XPOS
Y(abs) = YORIGIN + YPOS
WIDTH
Width of the box. Default: WIDTH value of the SIZE command.
HEIGHT
Height of the box. Default: HEIGHT value of the SIZE command.
FRAME
Thickness of frame.
Default: 0 (no frame).
INTENSITY
Grayscale of box contents as %.
Default: 100 (full black)
Measurements: You must specify decimal numbers as literal values (like ABAP numeric constants) by enclosing them in inverted commas. Use the period as the decimal point character. See also the examples listed below.
Units of measurement: The following units of measurement may be used:
TW (twip)
PT (point)
IN (inch)
MM (millimeter)
CM (centimeter)
LN (line)
CH (character).
The following conversion factors apply:
1 TW = 1/20 PT
1 PT = 1/72 IN
1 IN = 2.54 CM
1 CM = 10 MM
1 CH = height of a character relative to the CPI specification in the form header
1 LN = height of a line relative to the LPI specification in the form header
/: BOX FRAME 10 TW
Draws a frame around the current window with a frame thickness of 10 TW (= 0.5 PT).
/: BOX INTENSITY 10
Fills the window background with shading having a gray scale of 10 %.
/: BOX HEIGHT 0 TW FRAME 10 TW
Draws a horizontal line across the complete top edge of the window.
/: BOX WIDTH 0 TW FRAME 10 TW
Draws a vertical line along the complete height of the left hand edge of the window.
/: BOX WIDTH '17.5' CM HEIGHT 1 CM FRAME 10 TW INTENSITY 15
/: BOX WIDTH '17.5' CM HEIGHT '13.5' CM FRAME 10 TW
/: BOX XPOS '10.0' CM WIDTH 0 TW HEIGHT '13.5' CM FRAME 10 TW
/: BOX XPOS '13.5' CM WIDTH 0 TW HEIGHT '13.5' CM FRAME 10 TW
Draws two rectangles and two lines to construct a table of three columns with a highlighted heading section.
POSITION Command
Syntax
/: POSITION [XORIGIN] [YORIGIN] [WINDOW] [PAGE]
Effect: Sets the origin for the coordinate system used by the XPOS and YPOS parameters of the BOX command. When a window is first started, the POSITION value is set to refer to the upper left corner of the window (default setting).
Parameters: If a parameter value does not have a leading sign, then its value is interpreted as an absolute value, in other words, as a value that specifies an offset from the upper left corner of the output page. If a parameter value is specified with a leading sign, then the new value of the parameter is calculated relative to the old value. If one of the parameter specifications is missing, then no change is made to this parameter.
XORIGIN, YORIGIN
Origin of the coordinate system.
WINDOW
Sets the values for the left and upper edges to match those of the current window (default setting).
PAGE
Sets the values for the left and upper edges to match those of the current output page (XORIGIN = 0 cm, YORIGIN = 0 cm).
/: POSITION WINDOW
Sets the origin for the coordinate system to the upper left corner of the window.
/: POSITION XORIGIN 2 CM YORIGIN '2.5 CM'
Sets the origin for the coordinate system to a point 2 cm from the left edge and 2.5 cm from the upper edge of the output page.
/: POSITION XORIGIN '-1.5' CM YORIGIN -1 CM
Shifts the origin for the coordinates 1.5 cm to the left and 1 cm up.
SIZE Command
Syntax
/: SIZE [WIDTH] [HEIGHT] [WINDOW] [PAGE]
Effect: Sets the values of the WIDTH and HEIGHT parameters used in the BOX command. When a window is first started, the SIZE value is set to the same values as the window itself (default setting).
Parameters: If one of the parameter specifications is missing, then no change is made to the current value of this parameter. If a parameter value does not have a leading sign, then its value is interpreted as an absolute value. If a parameter value is specified with a leading sign, then the new value of the parameter is calculated relative to the old value.
WIDTH, HEIGHT
Dimensions of the rectangle or line.
WINDOW
Sets the values for the width and height to the values of the current window (default setting).
PAGE
Sets the values for the width and height to the values of the current output page.
/: SIZE WINDOW
Sets WIDTH and HEIGHT to the current window dimensions.
/: SIZE WIDTH '3.5' CM HEIGHT '7.6' CM
Sets WIDTH to 3.5 cm and HEIGHT to 7.6 cm.
/: POSITION WINDOW
/: POSITION XORIGIN -20 TW YORIGIN -20 TW
/: SIZE WIDTH +40 TW HEIGHT +40 TW
/: BOX FRAME 10 TW
A frame is added to the current window. The edges of the frame extend beyond the edges of the window itself, so as to avoid obscuring the leading and trailing text characters.
Reward points if useful
Regards
Anji

Similar Messages

  • How to Draw table in SAPscript ???

    Hi all Guru of SAPScript!
    I want to draw a table with column and row in SAPscript. Who can help me step by step?
    Thanks!
    Edited by: kathy a on May 6, 2008 11:53 AM

    Hi,
    Use BOx Syantax  How to Draw table in SAPscript ??? Pls Read the description
    Syntax:
    1. /: BOX [XPOS] [YPOS] [WIDTH] [HEIGHT] [FRAME] [INTENSITY]
    2. /: POSITION [XORIGIN] [YORIGIN] [WINDOW] [PAGE]
    3. /: SIZE [WIDTH] [HEIGHT] [WINDOW] [PAGE]
    BOX
    Syntax:
    /: BOX [XPOS] [YPOS] [WIDTH] [HEIGHT] [FRAME] [INTENSITY]
    Effect: draws a box of the specified size at the specified position.
    Parameters: For each parameter (XPOS, YPOS, WIDTH, HEIGHT and FRAME), both a measurement and a unit of measure must be specified. The INTENSITY parameter should be entered as a percentage between 0 and 100.
    •XPOS, YPOS: Upper left corner of the box, relative to the values of the POSITION command.
    Default: Values specified in the POSITION command.
    The following calculation is performed internally to determine the absolute output position of a box on the page:
    X(abs) = XORIGIN + XPOS
    Y(abs) = YORIGIN + YPOS
    •WIDTH: Width of the box.
    Default: WIDTH value of the SIZE command.
    •HEIGHT: Height of the box.
    Default: HEIGHT value of the SIZE command.
    •FRAME: Thickness of frame.
    Default: 0 (no frame).
    •INTENSITY: Grayscale of box contents as %.
    Default: 100 (full black)
    Measurements: Decimal numbers must be specified as literal values (like ABAP/4 numeric constants) by being enclosed in inverted commas. The period should be used as the decimal point character. See also the examples listed below.
    Units of measure: The following units of measure may be used:
    •TW (twip)
    •PT (point)
    •IN (inch)
    •MM (millimeter)
    •CM (centimeter)
    •LN (line)
    •CH (character).
    The following conversion factors apply:
    •1 TW = 1/20 PT
    •1 PT = 1/72 IN
    •1 IN = 2.54 CM
    •1 CM = 10 MM
    •1 CH = height of a character relative to the CPI specification in the layout set header
    •1 LN = height of a line relative to the LPI specification in the layout set header
    Examples:
    /: BOX FRAME 10 TW
    Draws a frame around the current window with a frame thickness of 10 TW (= 0.5 PT).
    /: BOX INTENSITY 10
    Fills the window background with shadowing having a gray scale of 10 %.
    /: BOX HEIGHT 0 TW FRAME 10 TW
    Draws a horizontal line across the complete top edge of the window.
    /: BOX WIDTH 0 TW FRAME 10 TW
    Draws a vertical line along the complete height of the left hand edge of the window.
    /: BOX WIDTH '17.5' CM HEIGHT 1 CM FRAME 10 TW INTENSITY 15
    /: BOX WIDTH '17.5' CM HEIGHT '13.5' CM FRAME 10 TW
    /: BOX XPOS '10.0' CM WIDTH 0 TW HEIGHT '13.5' CM FRAME 10 TW
    /: BOX XPOS '13.5' CM WIDTH 0 TW HEIGHT '13.5' CM FRAME 10 TW
    Draws two rectangles and two lines to construct a table of three columns with a highlighted heading section.
    POSITION
    Syntax:
    /: POSITION [XORIGIN] [YORIGIN] [WINDOW] [PAGE]
    Effect: Sets the origin for the coordinate system used by the XPOS and YPOS parameters of the BOX command. When a window is first started the POSITION value is set to refer to the upper left corner of the window (default setting).
    Parameters: If a parameter value does not have a leading sign, then its value is interpreted as an absolute value, in other words as a value which specifies an offset from the upper left corner of the output page. If a parameter value is specified with a leading sign, then the new value of the parameter is calculated relative to the old value. If one of the parameter specifications is missing, then no change is made to this parameter.
    •XORIGIN, YORIGIN: Origin of the coordinate system.
    •WINDOW: Sets the values for the left and upper edges to be the same of those of the current window (default setting).
    •PAGE: Sets the values for the left and upper edges to be the same as those of the current output page (XORIGIN = 0 cm, YORIGIN = 0 cm).
    Examples:
    /: POSITION WINDOW
    Sets the origin for the coordinate system to the upper left corner of the window.
    /: POSITION XORIGIN 2 CM YORIGIN '2.5 CM'
    Sets the origin for the coordinate system to a point 2 cm from the left edge and 2.5 cm from the upper edge of the output page.
    /: POSITION XORIGIN '-1.5' CM YORIGIN -1 CM
    Shifts the origin for the coordinates 1.5 cm to the left and 1 cm up.
    SIZE
    Syntax:
    /: SIZE [WIDTH] [HEIGHT] [WINDOW] [PAGE]
    Effect: Sets the values of the WIDTH and HEIGHT parameters used in the BOX command. When a window is first started the SIZE value is set to the same values as the window itself (default setting).
    Parameters: If one of the parameter specifications is missing, then no change is made to the current value of this parameter. If a parameter value does not have a leading sign, then its value is interpreted as an absolute value. If a parameter value is specified with a leading sign, then the new value of the parameter is calculated relative to the old value.
    •WIDTH, HEIGHT: Dimensions of the rectangle or line.
    •WINDOW: Sets the values for the width and height to the values of the current window (default setting).
    •PAGE: Sets the values for the width and height to the values of the current output page.
    Examples:
    /: SIZE WINDOW
    Sets WIDTH and HEIGHT to the current window dimensions.
    /: SIZE WIDTH '3.5' CM HEIGHT '7.6' CM
    Sets WIDTH to 3.5 cm and HEIGHT to 7.6 cm.
    /: POSITION WINDOW
    /: POSITION XORIGIN -20 TW YORIGIN -20 TW
    /: SIZE WIDTH +40 TW HEIGHT +40 TW
    /: BOX FRAME 10 TW
    A frame is added to the current window. The edges of the frame extend beyond the edges of the window itself, so as to avoid obscuring the leading and trailing text characters.
    Reward Helpfull Answers
    Regards
    Fareedas

  • Draw table with sapscript

    Hi all,
    My requirement is to draw a table with 4 rows and 5 columns.
    I tried to code like this :
    /E BOX
    /:BOX HEIGHT '0.5' CM FRAME 10 TW
    /:BOX XPOS '.48' CM WIDTH 0 TW HEIGHT '0.5' CM FRAME 10 TW
    /:BOX XPOS '.78' CM WIDTH 0 TW HEIGHT '0.5' CM FRAME 10 TW
    /:BOX HEIGHT '1.0' CM FRAME 10 TW
    /:BOX XPOS '.48' CM YPOS '0.5' CM WIDTH 0 TW HEIGHT '0.5' CM FRAME 10 TW
    /:BOX XPOS '.78' CM YPOS '0.5' CM WIDTH 0 TW HEIGHT '0.5' CM FRAME 10 TW
    /:BOX HEIGHT '1.5' CM FRAME 10 TW
    /:BOX XPOS '.48' CM YPOS '1.0' CM WIDTH 0 TW HEIGHT '0.5' CM FRAME 10 TW
    /:BOX XPOS '.78' CM YPOS '1.0' CM WIDTH 0 TW HEIGHT '0.5' CM FRAME 10 TW
    However my output is not the same as what I seen in the preview and real printout.
    Preview
    http://i566.photobucket.com/albums/ss106/wkw510/pic12.jpg
    Printout
    http://i566.photobucket.com/albums/ss106/wkw510/pic13.jpg
    Can someone please guide me how to resolve this?
    Or provide me some code or reference how to get the above requirement?
    Many thanks!

    Hi,
    In WINDOW draw a horizontal line in the starting and in end again draw a horizontal line to close the table and the height with  the vertical line.
    or.
    BOX XPOS '3' CM WIDTH 0 TW HEIGHT '8.2' CM FRAME 10 TW.
    Regards,
    jaya

  • Issue in drawing table as XPOS and YPOS can't be determine SAPscript

    Hi All,
    I'm in a  issue in drawing a table in SAPSCRIPT.
    I have to draw a fix 5 rows 5 coloumns table.
    But issue is that i cannot give the X and Y pos as above to it is text element which displays some other line items.
    So as the items may vary and thereafter i have to draw a new table.
    I used sy-uline and sy-vline but it is not looking completely like a table as it has broken lines.
    Kindly advice.

    ZS   &uline(80)&
    ZF   &vline& Shift 1,,&vline&,,|,,&vline&,,&vline&,,&vline&
    ZS   &uline(80)&
    in this way im making boxes , but for box statment i will need xpos and ypos else it will draw box at the beginning of window.
    Can any one please help me with this paragraph format.
    I have used small text but exact tabular structure is not possible.
    Paragraph format used : ZF : Line Spacing    0.80    LN
    Family     HELVE
    Font Size  10.0  pt
    What else can help it to look like a complete table ? Srihari any advice ?
    Edited by: ujjwal_d15 on Feb 7, 2012 12:47 PM

  • Creation of table in SAPScript

    Hi,
       I am new to SAPScripts.
    Could you please give me a sample code to draw a table with 5 rows and 4 columns in SAPScript

    Try this.
    Here the code works this way the YORIGIN is incremented by 0.6CM each time it is in the loop thus drawing tables dynamically.
    /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
    P4 &X_VBAP-KWMENG(C)&,,&X_VBAP- ARKTX&,,&V_TOTALa&,,&V_TOTALb&,,&V_TOTALc&
    the driver program's piece of code.
    LOOP AT it_vbap INTO x_vbap.
    CALL FUNCTION 'WRITE_FORM'
    EXPORTING
    element = 'TAB'
    window = 'MAIN'
    EXCEPTIONS
    element = 1
    function = 2
    type = 3
    unopened = 4
    unstarted = 5
    window = 6
    bad_pageformat_for_print = 7
    spool_error = 8
    codepage = 9
    OTHERS = 10.
    IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    ENDLOOP.
    Regards,
    SaiRam

  • How to draw table in layout in module pool

    how to draw table in layout in module pool with wizard or table control

    Hi
    Goto Screen Painter .
    here we can create table in 2 ways,
    with wizard and without wizard.
    with wizard it will step by step...
    for without wizard (its quite easy)
    Click Table control and Drag into ur screen.
    then --> click input box and place into to that table control
    for two column do this two times.
    then for header click the text icon in left side and drag into
    correspoding places .. then ur table is ready..
    then give names using double clicking the elements
    See the prgrams:
    DEMO_DYNPRO_TABLE_CONTROL_1 Table Control with LOOP Statement
    DEMO_DYNPRO_TABLE_CONTROL_2 Table Control with LOOP AT ITAB
    Reward if useful.

  • Layout mode in Dreamweaver CS3. Can't draw table

    I did the same exact thing i do in dreamweaver 8, but in cs3,
    it's now working.
    I went to layout mode and with a blank page and the draw
    table button is grayed out.
    what do i do to use it. I'm already in layout mode.

    Get out of Layout mode for starters.
    In my opinion, there are three serious problems with Layout
    Mode -
    1. Perhaps most importantly, it sits between you and *real*
    HTML tables,
    and fools you into believing that concepts like "layout cell"
    and
    "autostretch" really mean something. They do not. As long as
    you use
    Layout Mode, you'll never learn one of the most important
    things for new web
    developers - how to build solid and reliable tables.
    2. Actually, #1 wouldn't be *so* bad, except that the code
    that is written
    by Layout Mode is really poor code. For example, a layout
    table contains
    MANY empty rows of cells. This can contribute to a table's
    instability.
    In addition, if your initial positioning of the table's cells
    is a bit
    complex,
    Layout Mode will throw in col- and rowspans aplenty as it
    merges and splits
    cells willy-nillly to achieve the pixel-perfect layout you
    have specified.
    Again,
    this is an extremely poor method for building stable tables,
    because it
    allows
    changes in one tiny cell's shape (i.e, dimensions) to ripple
    through the
    rest
    of the table, usually with unexpected and sometimes
    disastrous consequences.
    This is one of the primary reasons for the final result's
    fragility - read
    this -
    http://apptools.com/rants/spans.php
    3. The UI for Layout Mode is beyond confusing - many options
    that you might
    want to use are inaccessible, e.g., inserting another table,
    or layer onto
    the page.
    I can understand the new user's desire to use this tool to
    make their life
    easier,
    but the cost is just too heavy in my opinion.
    To make good tables, keep it simple. Put a table on the page,
    and begin to
    load your content. If you would want a different table
    layout, instead of
    merging or splitting cells, consider stacking tables or
    nesting simple
    tables instead, respectively.
    And above all, do not try to build the whole page with a
    single table!
    To read more about this approach, visit the DW FAQ link in my
    sig, and run
    through the table tutorials.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Dreamweaver2k2" <[email protected]> wrote
    in message
    news:[email protected]...
    >I did the same exact thing i do in dreamweaver 8, but in
    cs3, it's now
    >working.
    > I went to layout mode and with a blank page and the draw
    table button is
    > grayed out.
    >
    > what do i do to use it. I'm already in layout mode.
    >

  • Why is draw table empty after i import from memory id 'SAP_APPLICATION' ?

    Hello,
    I have the following
    data draw like draw.
    data intdraz like draz occurs 0 with header line.
    import draw
              intdraz
    from memory id 'SAP_APPICATION'
    at this point draw table is empty and does not contain the information of the selected file, so basically
    draw-DOKAR
    draw-DOKNR
    draw-DOKTL
    draw-DOKVR
    are all empty.
    does anyone know why this is happening ?
    thank you

    Hi Rushikesh,
    Dynamic table i have created with same structure as of internal table which is getting exported....
    thats why i m surprised how come structure mismatch.....i have checked in debugger, structure is same.....for both the tables,
    Can you/anyone give any example of Exporting internal table to MEMORY ID and getting it back (IMPORT) into dynamic internal table of same structure...
    Regards
    Munish Garg
    Edited by: MunishGarg on Feb 16, 2010 11:36 AM

  • How to psss a table from sapscript to routine program

    HI,
    i want to pass a table from sapscript to routine program.
    the requirment is to sor the table by material number wise.
    how do we pass throug itcsy structure.
    Regards,
    Balachandran

    REPORT YMMR_TDS_LPRG .
    TABLES: ADRC."Central address administration
          FORM FETCH_VEN_ADD                                            *
    -->  IN_TAB                                                        *
    -->  OUT_TAB                                                       *
    FORM FETCH_VEN_ADD TABLES IN_TAB STRUCTURE ITCSY
                              OUT_TAB STRUCTURE ITCSY.
      DATA: L_STREET4 LIKE ADRC-CITY2,
            L_STREET5 LIKE ADRC-LOCATION,
            L_INDEX1 LIKE SY-TABIX.
      DATA: LEN TYPE I.
      DATA: Z1(5) VALUE '00000'.
      LEN = STRLEN( IN_TAB-VALUE ).
      IF LEN = 5.
        CONCATENATE '00000' IN_TAB-VALUE INTO IN_TAB-VALUE.
      ELSEIF LEN = 6.
        CONCATENATE '0000' IN_TAB-VALUE INTO IN_TAB-VALUE.
      ENDIF.
      SELECT CITY2 LOCATION FROM ADRC
      INTO (L_STREET4,L_STREET5)
      WHERE ADDRNUMBER = IN_TAB-VALUE.
        IF SY-SUBRC = 0.
          LOOP AT OUT_TAB.
            CLEAR L_INDEX1.
            IF OUT_TAB-NAME = 'ADRC-CITY2'.
              L_INDEX1 = SY-TABIX.
              OUT_TAB-VALUE = L_STREET4.
              MODIFY OUT_TAB INDEX L_INDEX1 TRANSPORTING VALUE.
            ELSE.
              L_INDEX1 = SY-TABIX.
              OUT_TAB-VALUE = L_STREET5.
              MODIFY OUT_TAB INDEX L_INDEX1 TRANSPORTING VALUE.
            ENDIF.
          ENDLOOP.
        ENDIF.
      ENDSELECT.
    ENDFORM.
    Se71
    /:PERFORM FETCH_VEN_ADD IN PROGRAM YMMR_TDS_LPRG
    /:USING &T001-ADRNR&
    /:CHANGING &ADRC-CITY2&
    /:CHANGING &ADRC-LOCATION&
    /:ENDPERFORM

  • Draw tables?

    Post Author: mike7510uk
    CA Forum: General
    is there any way in crystal x1 to draw tables?I have a timetable report to do and it seems very primitive that i have to draw all the lines

    Post Author: V361
    CA Forum: General
    If a crosstab report would work that is the quickest.  Other than that, I usually create mine using the borders on the fields, say you turn all the left borders on, and align the fields next to each other.  The far right field you turn left and right borders on.  Anyway, other than that, you can draw lines and extend them from top to bottom of the report, of course if your fields grow......  That's one reason I use crosstabs, or the field borders.   Hope this helps.

  • Drawing tables without boxes and lines in XI

    Post Author: geeeeee
    CA Forum: Crystal Reports
    Hi I'm trying to figure a way to draw tables in XI (it seems like a pretty simple task) but I can't find how to draw a table without hand drawing lines and boxes. Any ideas? Thanks

    Hi,
    Unfortunatelly drawing a frame for table is not so straightforward. To draw a frame around the columns and table itself you need to create a window (on top of window where you display your table) placing it at column position and checking Lines width in Output Options tab for this window. This will produce a fake column frame. See [this example|http://img294.imageshack.us/my.php?image=tableq.png].
    For rows you could do similar: check what is the heihgt of row in the table and draw respective windows as rows. This one, however will look a bit strange, but for columns it looks and works fine.
    Regards
    Marcin

  • Tables in sapscript

    Hi,
    I have two queries on 'tables in sapscript'.
    1> For some longer records,the extended part of the last field is coming down below the first field..like
    field1         field2            field3
    AAA          BBBB         CCCCCCCC
    CC
    How to prevent this ?
    If the length of field3 data is more,i want it to come in second line of field 3 itself.
    2>I have created separate element for the column headings.Now,the space between the column headers remain constant even if the spacing between the contents are varrying.
    field1           field2           field3
    AAAAAAAAAA   BBBBBB   CCCCCCC...
    How to make the distances between the column headers same as the contents ?
    Please help.Thanks in advance.
    Regards
    Ananya

    I hope ur query 1 is solved .
    //I have created separate element for the column headings.Now,the space between the column headers remain constant even if the spacing between the contents are varrying.
    column headings are Fixed length and it will remain constant .
    where as ur field contents may vary
    Remember that i have only  finite space ( equal to that of the column header ) to display the data .
    if the field data is more than you need to set the column heading in proportion to the column heading .
    ex.
    material description is 35 char
    then
    Material Description                                    Plant                    "<-- heading
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX    2222                    "<--field val
    i can only fit that size of 35 for material description.
    The texts will not vary .
    regards,
    vijay.

  • Cannot find "draw table layout icon" cs5 dreamweaver

    Hi guys,
    I can't seems to find the draw table layout icon on cs5 dreamweaver?
    Any ideas have to bring it up???
    Thanks in advance.
    Darrel

    Hi guy Darrel,
    do you think about that (screenshots from my German DW)?
    It's coming from there Translated from my German DW): window > workspace layout > classically:
    If I should not have understood the question correctly, please ask or explain again.
    Hans-G.

  • Sapscript Drawing tables

    Hi,
    I need to draw a table with three columns across the length of the main window. I'm using BOX to draw the lines. But how do I get it to draw across the entire main window including the NEXT pages. Some sample code would be helpful.
    Thanks,
    A.P.

    Hi,
    You need to use
    /: POSITION WINDOW
    Then write the BOX command after this statment.
    /: BOX [XPOS] [YPOS] [WIDTH] [HEIGHT] [FRAME] [INTENSITY]
    /: POSITION [XORIGIN] [YORIGIN] [WINDOW] [PAGE]
    /: SIZE [WIDTH] [HEIGHT] [WINDOW] [PAGE]
    Regards
    Sudheer

  • SAP-Script - Draw Table (Boxes) with variable number of lines

    Hello,
    I want to create a Table with Frames in a SAP-Script Form. First of all I don´t know the position of the table in the window main. It can be page 2 or 3 on top or in the middle. But i have to describe a position like
    POSITION YORIGIN '12.95' CM.  How can i position the table in a variable way?
    And i don´t know the number of lines of the table. How can I manage to draw the correct numbers of boxes as numbers of lines exist?
    Kind Regards
    Carsten Fuchs

    Hi carsten,
    1. Drawing GRID (just like excel, matrix)
       is very cumbersome in sapscript layout.
      (either dynamically, or hardcoded)
    2. Moreover, the final look,
       may or maynot appear as requried,.
      ie. exactly with proper alignment and grid lines.
    3. If the font size is required to change,
      then the dynamic position also changes.
    4. If the grid is supposed to go to the next page,
      again the calculation and logic becomes tougher.
    5. To use grid, its better to use smartform,
       which provided FINE CONTROL of the grid
      and its lines and width, height, style etc.
    6. In sapsctip, at most we can use
       UNDERLINE (_) and PIPE (|)
    regards,
    amit m.

Maybe you are looking for