Drawing a vertical line in sapscript

Hi all,
How can I draw vertical lines in sapscript? Box can be used, but is there any other way? like vline or something else?
Regards,
Netrey.

Hi
Try with the field &VLINE&
if don't work,You have to draw boxes only as per the size of the windows.
/: BOX FRAME 10 TW
There is no other way like how we write in Report output.
Reward points if useful
Regards
Anji
Message was edited by:
        Anji Reddy Vangala

Similar Messages

  • How to Draw a vertical line in flex

    I was just wondering the simplest way to draw a vertical line , preferably dashed.

    You could always just use the graphics class of your chart component.  Just access its graphics object, set the line style/thickness, move to the start point, and line to the end point.  Something like this,
    this.graphics.lineStyle(1, 0x000000);
    this.graphics.moveTo(startX, startY);
    this.graphics.lineTo(endX, endY);

  • PERFECT/COMPLETE VERTICAL LINE IN SAPSCRIPT?

    Hello all,
    I have to draw vertical lines to make a grid in a SAPscript. But the grid size is not fixed, there a number of records and long texts that are displayed based on certain conditions.
    Is there a way to draw a perfect/complete veritcal in SAPscript dynamically?
    Looking forward to hear from you peoples...

    You can use the BOX command to draw vertical lines.
    /: BOX [xpos] [ypos] [width][height] [frame] [intensity].
    here the widt has to be 0 to get a line and the height can be a variable as required.
    Thanks,
    Renjith.

  • How to set vertical line in SAPScript

    Dear All,
    I have to set vertical line at a particular position of SAPScript. Here the lines are of varying length. Can you suggest how to do that?
    Line 1......................            | Vertical Line
    Line 2.........................         | Vertical Line
    Line 3...............                   | Vertical Line
    Thanks and regards,
    Atanu

    Hii
    use this
    BOX WIDTH 0 FRAME 10
    BOX HEIGHT 0 FRAME 10 
    BOX WIDTH 5 CM  HEIGHT 1 CM FRAME 10 TW INTENSITY 10
    BOX WIDTH 7 CM  HEIGHT 5 CM FRAME 10 TW INTENSITY 10
    HOPE THIS HELPS
    Thanks & Regards
    Naresh

  • I am missing some appleworks abilities I do not find on pages.  How does one "draw" vertical lines in a word processing document?

    How do I "draw" a vertical line on PAGES word processing document?

    Why not ask in the Pages forum.
    Update

  • Hello need vertical  lines in the script

    Dear ABAP GURUS,
         I need to draw verticle lines in the script as a tabel, i have drawn the horizontal lines. I heard that there is the the function module to draw the verticle lines but how is that possible to use in the script. Plwase help me out in drawing the vericle lines, i Have tried using the vline but no use.

    Hi Soni,
      Its very easy to draw the vertical lines in a script.  Use BOX statement to draw the same.  Check out the syntax for BOX statement.  Give the 'Y' coordinate only and do not mention 'X' coordinate.  So that the box will appear as a vertical line.  Check it.
    Boxes, Lines, Shading: BOX, POSITION, SIZE
    The BOX, POSITION and SIZE commands for drawing boxes, lines and shadowing can be used for specifying that within a layout set particular windows or passages of text within a window are to be output in a frame or with shadowing.
    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 outputting. Line printers and page-oriented printers not supported in the standard ignore these commands. The resulting printer output may be viewed in the SAPscript print previewer.
    Syntax:
    1. /: BOX [XPOS] [YPOS] [WIDTH] [HEIGHT] [FRAME] [INTENSITY]
    2. /: POSITION [XORIGIN] [YORIGIN] [WINDOW] [PAGE]
    3. /: 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 both a measurement and a unit of measurement must be specified. The INTENSITY parameter should be specified as a percentage between 0 and 100.
    1. 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
    2. WIDTH: Width of the box. Default: WIDTH value of the SIZE command.
    3. HEIGHT: Height of the box. Default: HEIGHT value of the SIZE command.
    4. FRAME: Thickness of frame.
    Default: 0 (no frame).
    5. INTENSITY: Grayscale of box contents as % .
    Default: 100 (full black)
    Measurements: Decimal numbers must be specified as literal values (like ABAP 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 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 layout set header
    • 1 LN = height of a line relative to the LPI specification in the layout set 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 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 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 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.
    1. XORIGIN, YORIGIN: Origin of the coordinate system.
    2. WINDOW: Sets the values for the left and upper edges to be the same of those of the current window (default setting).
    3. PAGE: Sets the values for the left and upper edges to be the same of 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.
    1. WIDTH, HEIGHT: Dimensions of the rectangle or line.
    2. WINDOW: Sets the values for the width and height to the values of the current window (default setting).
    3. 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.
    Thanks & regards
    Kishore Kumar Maram

  • Vertical line issue in SAP Script main window

    Hi All,
    I want to draw a vertical line in my main window in SAP Script output.
    But problem is in main window i am printing some texts at the beggining then i am printing line items.
    So this is not fixed line (box). It may increase/decrease based on text available before line items.
    How can i manage this prining vertival line as i don't know height, top of this line!
    Thanks in advance.
    Thanks,
    Deep.

    Hai Deep,
    Use Elements as suggested by Kodarapu.
    Now goto Paragraph Formats create a format for Item lines.
    ex.
    Name Paragraph Format as 'IL' Now click on the Push Button "Tabs" on bottom Right.
    now in "Tab Position" enter the spacing that you need for your item dispaly
    ex.
    Number     Tab position       Alignment
    1               6.00   CH          LEFT
    2               25.00  CH         LEFT
    3               54.00  CH         LEFT
    The above example is for 3 items
    Now in your Script Windows-> Main
    do the following.
    /E           ITEM_LINE_A
    IL           &EKPO-EBELP&,,&EKPO-EMATN&,,,,&EKPO-TXZ01&
    Hope it SOlves your Issue.
    Cheers,
    Suvendu

  • Vertical line in a report

    Hi every body,
    In a report I need to draw a vertical line using sy-vline up to a certain height.
    i am writing d code like write : 50 sy-vline.Then it just draw a vertical line upto one row level.But I want upto the end of the page.
    How can i draw vertical line upto a ceratin Height.Plz suggest.
    Advance Thanks to all.
    @Everyone: Please avoid responding to such
    basic questions and keep the forums clean.
    This issue can easily be resolved with a
    little more effort by the user. Answering basic
    questions or posting links is also treated as
    an offense!
    Edited by: Suresh Datti on Aug 24, 2009 12:36 PM

    Hello Chitty,
    There is no such key word to print vertical line in reports. In Script/Smartforms we can draw vertical lines. You should use SY-VLINE in side the LOOP. Then only you will get that.
    Try this to get data into table format.
    TABLES: mara.
    DATA: BEGIN OF g_t_mara OCCURS 0,
            matnr TYPE matnr,
            spart TYPE spart,
          END OF g_t_mara.
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME.
    SELECT-OPTIONS: s_matnr FOR mara-matnr.
    SELECTION-SCREEN END OF BLOCK b1.
    START-OF-SELECTION.
      SELECT matnr spart
        INTO TABLE g_t_mara
        FROM mara
        WHERE matnr IN s_matnr.
      LOOP AT g_t_mara.
        AT FIRST.
          ULINE 1(24).
        ENDAT.
        WRITE: /1(1) sy-vline,
                3(18) g_t_mara-matnr, 19(1) sy-vline,
                21(2) g_t_mara-spart, 24(1) sy-vline.
        AT LAST.
          NEW-LINE.
          ULINE 1(24).
        ENDAT.
      ENDLOOP.
    Thank you.
    Best Regards,
    Sasidhar Reddy Matli.

  • Regarding vertical lines smartform main window

    hi all,
           How can i draw vertical lines in Smartforms. I want vertical lines between columns in the main window and i want the lines from top to bottom even if i have just one record in the table data.
    how can i solve this using table.
    Please reply.
    Regards
    Rami Reddy

    Hi Rami,
    Refer these links.
    Re: how to draw vertical line in a particular window
    http://209.85.175.104/search?q=cache:phjbJwuDWssJ:www.zebra.com/id/zebra/na/en/documentlibrary/misc/sap_smartforms_technical.File.tmp/SAP_SmartForms_V3.pdfHowtodrawverticallinesinsmartform&hl=en&ct=clnk&cd=3&gl=in
    Or table tab -> ypu will see a box for table pattern - > click on select
    pattern and there u will find many options to draw lines!!!
    below your table, you will have the header line type.
    double click to select it.
    on the right pane, go to attributes
    click on the top left button here (select option) ...
    in the popup, click the display frame button
    select your choice
    activate your smart form. this should work
    Or
    Even you can draw a window as vertical and specify its width as 0
    .02.It will automaticall draw a vertical line of specified parameters.
    Cheers
    Mohinder Singh Chauhan

  • Create Vertical Line

    Experts,
    How to create a vertical line or vertical Gutter in the page so that we can Segregate the columns.
    Thanks
    Nitya

    Hi  Nitya
    - Use MatrixLayout as a container for UI elements.
    - In Layour Data section set property vGutter to mediumWithRule or largeWithRule.
    This will draw a vertical gutter on the left of the current cell. You organize your elements in several rows (Matrix Layout). Then the vertical gutters in each row can be matched together. In this way you can draw a vertical lines to separate your UI elements like columns in a table.
    BR, Siarhei

  • How to add vertical line at a specified location in waveform?

    Hi,all!I made an array by generating 50 random numbers,
    they can be shown in a waveform.then i calculated the average of them.There must be a number in the array which value is the nearest to the average.I want to add
    a vertical line at the location where is the nearest number.Is that possible?
    The attached file is an incomplete vi.
    Attachments:
    add_vertical_line_waveform.vi ‏39 KB

    > I don't know if you can plot a vertical line. Me, to display this, I
    > use cursors without allowing drag.
    > Hope this will help you.
    Another way to plot a vertial line is to use inf or -inf in the
    waveform. A two point waveform a (x,y) of (3.5, 0) (3.5+dx,inf) will
    draw a vertical line from (3.5,0) upwards to the edge of the graph. It
    doesn't matter what dx is. Substituting -inf for inf should draw the
    line down. Placing one of these after the other should result in a
    vertical line from top to bottom. While on this topic, Nan should
    result in a gap in the plot.
    Greg McKaskle

  • Dotted vertical line in sap script

    Hi all,
      Can anyone help me drawing dotted vertical line in sap script?
    Thanks in advance.
    bipen

    hi,
    u can use
    for a horizontal line---
    &ULINE(71)&
    for a vertical line---
    &vline&
    regards,
    krishna

  • How to draw vertical lines in SMART FORMS

    Hi Guys,
    Can anyone please let me know how to draw vertical and horizontal lines in smart forms, i have to do this in the secondary window.
    thanks,
    Ramesh

    Hi Ramesh,
    In the window output options you have option of check box to get lines.
    Then you need to give the spacing for vertical and horizontal.
    Another option is putting a template on window and getting the boxes, but it is quite little bit complex.
    Put the cursor on the WINDOW in which the lines you want.
    Right click on it>create>complex section.
    In that select the TEMPLATE radio button.
    Goto TAB TEMPLATE.
    Name: give some name of line.
    From: From coloumn.
    To: To coloumn
    Height: specify the height of the line.
    Next give the coloumn widths.
    Like this you can draw the vertical and horzontal lines.
    If the above option doesnot workout then u can try the below option also
    any how you can draw vertical and horizontal lines using Template and Table.
    for Template First define the Line and divide that into coloumns and goto select patterns and select the required pattern to get the vertical and horizontal lines.
    For table, you have to divide the total width of the table into required no.of columns and assign the select pattern to get the vertical and horizontal lines.
    if this helps, reward with points.
    Regards,
    Naveen

  • How to draw vertical lines that are visible in preview mode?

    Hi all,
    I need to draw vertical lines on a document. The lines must be same as we draw using line tool.
    I could draw the line using CreateLineSpline() method of IPathUtils.
    The problem is that these lines are not visible in preview mode. Please tell how can we make lines that are visible in preview mode.
    Please help, I'm running out of time.

    CodeSnippetRunner has the answer:
    Utils<IPathUtils>()->CreateLineSpline

  • Bold, vertical, line and inverted drawing created when using Penpad in Flash CC - Help?

    Hello.
    Just recently, whenever I use my VisTablet 465 Penpad Stylus and tablet to mark on the Canvas in Flash, a vertical line is created. The length of it is proportional to how horizontally centered the cursor is on the screen. When I try to move the cursor, the brush makes an inverted mark off the end of the line. I cannot find out how to stop it, and cannot draw anything sensible in Flash.
    I contacted Flash assistance, and this was the conversation:
    Vivek: Hi, Welcome to Adobe Support.
    Vivek: Please give me a moment to study this case.
    Martin Laight: Thanks Vivek.
    Vivek: Are you using the latest version of driver for the tablet.
    Vivek: Please make sure Flash pro version, Tablet driver version and Windows is up to date.
    Martin Laight: Yes, we believe it to be 'Model A' driver from the VisTablet website
    Vivek: This kind of issues requires the envolvement from engineering team
    Martin Laight: As far as we can see all drivers are up to date. The pen pad works fine in Windows 7 Paint
    Vivek: ok
    Vivek: Please go to the link above and post the issue with tablet model, operating system details.
    Please help if you can.

    Hi,
    The issue is resolved in the latest update of Flash Pro.Please update Flash professional to 14.1.0.96 .Follow the instruction below for the same :
    Installation instructions
    Log out and log in to the CC desktop application. Update the application when prompted.
    You should see the list of new updates as soon as the new CC desktop application is launched.
    Install Flash Professional CC and Mobile Device Packaging app. On a high speed connection, it took me around 8 minutes.
    After the application is installed, you can launch the application directly from the desktop app by clicking on it.
    Thanks & Regards,
    Sangeeta

Maybe you are looking for

  • Regarding writing file in application server with ISO8859 characters

    Hello Experts,   I have a requirement that i need to write my file which read from the data base in ISO8859 characters in the application server. Is there any FM or any particular code conver normal data base data to ISO8859 characters ? Please give

  • Cannot run loadjava on Solaris 10 64-bit server - wrong ELF class error

    We are running into a problem when trying to run loadjava on a 10.2.0.3 database running on a Solaris 10 64-bit server. loadjava -user xxxxx/xxxxx -verbose -resolve -force my.jar creating : resource pea.properties loading : resource pea.properties ld

  • Smartview tab in Excel is disappeared

    Hi , The Smartview tab in Excel is disappeared in one of the User machine from today morning.Iit worked yesterday. May i know why it happened. He said he didn't install any updates or anything. I Verified in Enable addin's and it is checked. He is us

  • Spool file with sysdate

    How create spool file with current date and time? I want to create spool file like xyz_28062010. Please, suggest.

  • How do I retrieve my online gmarks bookmarks after my pc has crashed

    hi I had many bookmarked web pages using the gmarks (I think) or some other online firefox bookmark system I had to log in to view these bookmarks, but then I had a pc crash and the bookmarks are now gone, is there a way to retrieve them Many thanks