Draw horizental a Line in SmartForm

Hi friends,
i want to print horizental line in smartfrom , i tried with SY-ULINE but is printing dots .
how can i draw a horizental line?
Please help,
thanks
ramesh.

In tab Output options there is option to draw frames and shading.
You can use frames to draw lines.
-Alpesh

Similar Messages

  • How to draw horizontal line in smartform after end of the all line items

    Hi Friends,
    I am working on the smartform. I have created TABLE node in Main window.
    i want to draw a horizontal line after end of the main window table node. i mean after printing all the line items of the table, I need to print one horizontal line.
    Could you please help me how to resolve this issue.
    FYI: I tried with the below two options. But no use.
    1. desinged footer area in the table node of the main window.
    2. tried with uline and system symbols.
    please correct me if i am wrong. please explain in detail how to draw horizontal line after end of the main window table.
    this is very urgent.
    Thanks in advance
    Regards
    Raghu

    Hello Valter Oliveira,
    Thanks for your answer. But I need some more detail about blank line text. i.e thrid point.
    Could you please tell me how to insert blank line text.
    1 - in your table, create a line type with only one column, with the same width of the table
    2 - in table painter, create a line under the line type
    3 - insert a blank line text in the footer section with the line type you have created.

  • How to draw a line in smartforms!

    Hello ABAPers,
    In smartform, I am having a table. Every 3 rows I want to draw a line. How can I do that in Smartforms?
    Thanks,

    hi Naren,
    Check these links out
    drawing line in smartforms
    Re: Smartforms - Line Height
    Re: smartforms blank line
    Regards,
    Santosh

  • How to print vertical lines in smartform?

    Hello friends,
    Is it possible to draw vertical (continuous) lines in the main-area in a smartform? The line should start from the header and end when it reaches the footer. the line should look like it divides the main window.

    hi,
    you may specify an x-position and a length in this way:
    code
    SELECTION-SCREEN ULINE /12(10).
    [/code]That means, "position at column 12 and draw an horizontal line of width 10 characters".
    I hope this helps. Best regards
    Reward points if found helpful...
    Cheers,
    Chandra Sekhar.

  • Dashed Line in Smartform

    Hi,
    I wanted to know how we can draw a dashed vertical line in smartform.

    hi
    good
    you may specify an x-position and a length in this way:
    code
    SELECTION-SCREEN ULINE /12(10).
    [/code]That means, "position at column 12 and draw an horizontal line of width 10 characters".
    I hope this helps. Best regards
    thanks
    mrutyun^

  • How to reduce the length of  lines in Smartform windows

    Hi,
           In  smartform  Mainwindow or any window,  how to draw the vertical lines and horizontal lines and how to reduce the lengths...very urgent please explain.
    Thanks and Regards,
    surya

    Hi Surya,
    You should use templates for this purpose.
    and if you are in table then you can not use templates. Here you should go for the line type.
    and in either case there will be pattern tab in the right side bottom.
    if double click on the teplate it will get display.
    click on the select pattern and select the required format and give the line width
    ex 15 TW
    I think this will help you

  • How to print horizantal lines in smartforms?

    hi friends,
                       how to print horizantal lines in smartforms.
    waiting for ur valuble replies.
    Thanks,
    Kiran

    HI,
    If u use templates or table,then use borders to print the horizontal lines.
    Eg : Create template-->Table painter->click select pattern button->Display framed pattern->select 3rd one.it will display only horizantal lines.
    if want to print horizantal line under the text, then create one paragraph or character formate with Underline in smartstyles.Use that paragraph or character to u r text element

  • How to draw only straight line instead of angled one??

    Dear friends,
    I saw a very good code posted by guru here(I think is camickr),
    But I tried to change it and I hope to draw only straight line instead of angled one, can you help how to do it??
    Thanks so much.
    import java.util.*;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.event.*;
    public class DrawingArea extends JPanel
         Vector angledLines;
         Point startPoint = null;
         Point endPoint = null;
         Graphics g;
         public DrawingArea()
              angledLines = new Vector();
              setPreferredSize(new Dimension(500,500));
              MyMouseListener ml = new MyMouseListener();
              addMouseListener(ml);
              addMouseMotionListener(ml);
              setBackground(Color.white);
         public void paintComponent(Graphics g)
              // automatically called when repaint
              super.paintComponent(g);
              g.setColor(Color.black);
              AngledLine line;
              if (startPoint != null && endPoint != null)
                   // draw the current dragged line
                   g.drawLine(startPoint.x, startPoint.y, endPoint.x,endPoint.y);
              for (Enumeration e = angledLines.elements(); e.hasMoreElements();)
                   // draw all the angled lines
                   line = (AngledLine)e.nextElement();
                   g.drawPolyline(line.xPoints, line.yPoints, line.n);
         class MyMouseListener extends MouseInputAdapter
              public void mousePressed(MouseEvent e)
                   if (SwingUtilities.isLeftMouseButton(e))
                        startPoint = e.getPoint();
              public void mouseReleased(MouseEvent e)
                   if (SwingUtilities.isLeftMouseButton(e))
                        if (startPoint != null)
                             AngledLine line = new AngledLine(startPoint, e.getPoint(), true);
                             angledLines.add(line);
                             startPoint = null;
                             repaint();
              public void mouseDragged(MouseEvent e)
                   if (SwingUtilities.isLeftMouseButton(e))
                        if (startPoint != null)
                             endPoint = e.getPoint();
                             repaint();
              public void mouseClicked( MouseEvent e )
                   if (g == null)
                        g = getGraphics();
                   g.drawRect(10,10,20,20);
         class AngledLine
              // inner class for angled lines
              public int[] xPoints, yPoints;
              public int n = 3;
              public AngledLine(Point startPoint, Point endPoint, boolean left)
                   xPoints = new int[n];
                   yPoints = new int[n];
                   xPoints[0] = startPoint.x;
                   xPoints[2] = endPoint.x;
                   yPoints[0] = startPoint.y;
                   yPoints[2] = endPoint.y;
                   if (left)
                        xPoints[1] = startPoint.x;
                        yPoints[1] = endPoint.y;
                   else
                        xPoints[1] = endPoint.x;
                        yPoints[1] = startPoint.y;
         public static void main(String[] args)
              JFrame frame = new JFrame("Test angled lines");
              frame.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
              DrawingArea d = new DrawingArea();
              frame.getContentPane().add( d );
              frame.pack();
              frame.setVisible(true);
    }

    Change the AngledLine class to store two points instead of 3 points (I would rename the class to be StraightLine). The code is much simpler because you just store the starting and ending points and you don't need to calculate the middle point.

  • How to suppress blank lines in smartforms

    Hi all,
         How can we suppress blank lines in smartforms?
    In my scenario I am having customer address details in main window.
    i.e. Name
         Street
          P O Box
          P O Box Location
          Post Code
          Telephone
          Fax.
    Suppose if there is no value for P O Box Location the address is getting displayed as
          Name
         Street
          P O Box
                          -> Leaving blank space
          Post Code
          Telephone
          Fax.
    But I want it as
         Name
         Street
          P O Box
          Post Code
          Telephone
          Fax.
    i.e The blank line should not be displayed.
    Kindly let me know how to do this.
    Regards,
    Neethupriya.

    Hi Neethu,
    Are you using ADDRESS option in smartforms or code to get address from customer master?
    If you are using code, you can give condition like P O Box Location <> SPACE in condition tab.
    Pranav

  • How to protect the lines in smartforms

    hi gurus
    i want to know how to protect the line in smartforms..
    regards
    baskar

    Check this link.
    http://www.saptechies.com/smartforms-protect-lines-in-main-window/
    if you are using tables, there are two options for protection against line break: – You can protect a line type against page break. – You can protect several table lines against page break for output in the main area.
    Protection against page break for line types – Double-click on your table node and choose the Table tab page. – Switch to the detail view by choosing the Details pushbutton. – Set the Protection against page break checkbox in the table for the relevant line type. Table lines that use this line type are output on one page.
    Protection against page break for several table lines – Expand the main area of your table node in the navigation tree. – Insert a file node for the table lines to be protected in the main area. – If you have already created table lines in the main area, you can put the lines that you want to protect again page break under the file using Drag&Drop. Otherwise, create the table lines as subnodes of the file. – Choose the Output Options tab page of the file node and set the Page Protection option. All table lines that are in the file with the Page Protection option set are output on one page
    Regards,
    Maha

  • How to get 2nd line in smartforms using template

    how to get 2nd line in smartforms main window using template. i have also defined loop .

    if possible can you try with the TABLES..
    Put one TABLE in your MAIN window
    create table lines as per your requirment...consider all lines like 6 for header, 1 for main, 1 for total
    Now, you will find three section under the tables: header, main, footer...
    in header section, create a table line, assign one of the proper lines from the line types.. repeat for your all lines.
    in main section, you can access your data form the loop.
    the footer secion will be called, just after the main will be finished.
    Regards,
    Naimesh Patel

  • 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);

  • Can not draw a solid line after drawing a dashed line

    I have been using a Graphics2D object in order to paint onto a buffered image and then transition that to a panel for viewing. The way the program works requires me to create the dashed line first through BasicStroke. After doing this I have tried to reset the setStroke with multiple new pens including BasicStroke(), BasicStroke(1.0f), and BasicStroke(1.0f, BasicStroke.CAP_BUTT, BasicStroke.JOIN_BEVEL, 0.0f, new float[] {1,0}, 0.0f).
    Any ideas as to why I am still incapiable of drawing a solid line?

    Any ideas as to why I am still incapiable of drawing
    a solid line?Without seeing any code, I could guess, but my guess and a quarter won�t even buy you a newspaper around here now a days.
    Seriously though, you need to create a short, self contained, compilable example. Look here for an explanation on how to create this:
    http://www.physci.org/codes/sscce/

  • I want to know how to draw arrows & dashed lines in a picture control

    I have to draw arrows & dashed lines in a picture control. Just like we can do that in word or paint etc. I need to do the same using the mouse and drag the line/arrow till I realease the mouse. I am able to this for a normal line ( it works perfectly) but when I have to draw an arrow or a line I am stumped.

    Unfortunately, you have to code your own VIs to do these. It's not going to be too complicated if you manage the animation (while dragging the mouse) with a normal line and draw the dashed line/arrow at the end (when releasing the mouse button).
    In both cases, you'll know start/end line coordinates, thus having the line equation. For arrows, you need to calculate the angle in order to draw it properly.
    A simpler solution may be an activeX control with these features (Paint like) already integrated or to develop one in Visual Basic (at least it will be simpler to manage mouse events and drawing tasks).
    Let's hope somebody already did it and wants to share.

  • Drag and Drop inside JTable: what draws the 'insert' line during the drag?

    I'm trying to reconfigure a rather complex table with a fair number of custom renderers to include drag & drop of rows for resorting the table. Everything is working great, except that as I drag the rows there is no indication of the current insert point (i.e. the line that appears between rows). When I make a simpler table I see the line... I'm not sure what aspect of my current table is blocking this function. I'm writing in the hope that can someone can direct me to the method(s) responsible for drawing this line.
    Thanks!

    To elaborate a bit for anyone who might read this. I inquired with the Substance developers and they hope to support this feature in v5.1 (which requires SE6), but have no plans to update v4.3 (the last release before a switch to SE6).
    Also, I'd still be grateful for any info pointing me to the Swing methods that draw the drag line.

Maybe you are looking for

  • CVP 7.0(2) SIP RNA Timer with CUCM Hunt Group

    I have a very simple ICM 7.5(9) script which simply assigns a call type then forwards to a label on CUCM 7.1(5), which is a hunt pilot containing a hunt list with 2 line groups...a circular LG with 10 members (RNA reversion timeout of 20 sec), follow

  • IOS 7 Missed Notifications won't clear in the Missed section of Notification Center

    I've litterally tried everything! Anytime I get a missed call it shows up under the missed section of notification center. I then tap it and call the person back but afterwards it still stays in the Missed section of Notification Center, it does not

  • MPEG2 encoding fails, but MPEG2 DVD and MPEG2 Blu-ray works

    Hey friends, Every time I try to export with the standalone MPEG2 format option in Premiere Pro CS4 the file comes out empty (0 bytes) and both Windows Media Player 11 and Adobe Encore 4.0.1 say that my machine lacks the necessary codec to play the f

  • Inconsistent printing from an FLA

    I am Using Flash MX and Flash 2004. When I insert jpgs into a keyframe and then try to print out that page while I am editing the FLA, I get strange results. Sometimes the jpg prints blank sometimes it is solid blackand sometimes it prints perfectly.

  • Migrating users - with a twist (change AD accounts to local)

    This scenario occurs on 5 Mac Pros currently running 10.5 and that have a bunch of software already installed, which I am trying to avoid redoing (obnoxious email settings, etc). These machines currently authenticate against Active Directory directly