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.

Similar Messages

  • Vertical Lines in Classical Report

    Hi,
    I am doing a Classical Report and I need a vertical line to be drawn between the fields. i.e. I want the coloumns to be separated by vertical lines but not the rows. Hope I am clear with my requirement. This is urgent please advice.
    Rgds,
    Manju

    Hi
    write sy-vline statement where u want vertical line.
    loop at it_kna1 into wa_kna1.
        write:/1 sy-vline,
              3 wa_kna1-kunnr,
              20 sy-vline,
              30 wa_kna1-name1,
              100 sy-vline.
      endloop.
    Edited by: Chaithanya A on Mar 19, 2008 8:15 AM

  • Vertical Line is not shown in 11g Report.

    Hi All,
    I have some vertical lines (as column separators) in my reports( which I call from form through web.show_document),
    which are neither shown in screen nor in printing.
    But these lines are shown when run report from Report Builder.
    Please guide !
    Thanks.
    Dass.

    Hi,
    I am not sure about 11g Report, but generally , pl try to delete the line , create new line - check font of the line as well, some times this will solve your issue.
    dassdhan wrote:
    Hi All,
    I have some vertical lines (as column separators) in my reports( which I call from form through web.show_document),
    which are neither shown in screen nor in printing.
    But these lines are shown when run report from Report Builder.
    Please guide !
    Thanks.
    Dass.

  • Matrix report vertical line problem

    Development tool:
    Report Builder 11.1.2.2.0 (64-bit) on Windows 7
    Solaris app server with the following software versions:
    Oracle Forms and Reports 11g 11.1.2.2.0
    FMW is 11.1.1.7
    WLS is 10.3.6.0.8
    This is a report with a matrix.  The rows across have multiple fields and some of those fields may wrap depending on the amount of data in an individual field.  The matrix portion contains a single data item that does not wrap (basically just a single word status with some conditionally color formatting).  I have added a vertical line to the matrix item so there will be grid lines between each column.  All the frames are set to vertical-expand and horizontal-fixed.  I have also tried setting all the frames to vertical-variable and horizontal-fixed.  The problem is the vertical line does not expand when the data items in the across row cause a wrap and expand the height of the row vertically.  I've tried setting the vertical line to stretch with the same frame that encloses the across rows.  When I do this the vertical line disappears.  As soon as I set any value in stretch with frame the line stops showing.  I've tried all the combinations I can think of for printing on first, last, all and base printing on anchoring or enclosing and nothing works.  The line will only show if I leave the stretch with frame as null but it looks terrible when it is the height of one row but the actually row of data across may be a larger size due to field wrapping.
    Any suggestions?

    You will need to include an additional column of your date column to your SQL statement.
    e.g Your original column - to_char(your_date_column,'Month') "Months Name".
    Add a new column - to_char(your_date_column,'MM') "Sort Column".
    In the Matrix Row, include this new column field also. In the Data Model, move this new column field to the top. Remove the Break Order property to NONE for your original date field (Months Name).

  • Generating Report with vertical lines from Designer

    Hi:
    I would like to get any suggestions about generating tabular reports with vertical lines from Oracle Designer 6.0 on Windows NT.
    Any help will be appreciated.
    Thanks in advance

    Hey c2petrov,
    Thanks for using Apple Support Communities.
    After reviewing your post, it sounds like you are having trouble with the screen. A frustrating situation to be sure. This article addresses issues with video on internal or external displays.
    Apple computers: Troubleshooting issues with video on internal or external displays
    http://support.apple.com/kb/HT1573
    Have a nice day,
    Mario

  • Cinema Display Vertical Line

    Hi,
    My Cinema Display (LCD, 21" I believe, came with Powermac G4 MDD 2003) has had a pink / red vertical line in it for quite some time now. It seems to sometimes change color, but is usually redish. It sits right in the middle of the screen, and goes all the way down from the top to the bottom. It is two pixels wide.
    I have used another Cinema Display the same on this computer, and no lines, and tried this display on another Powermac, and I have lines.
    Are there any warranties for this sort of issue? Any fixes?
    Thanks for your help,
    Jordan

    Lines appearing on the monitor is a product fault with some of the Apple monitors. A quick search of the web will yield 100's of identical reports of the same problem.
    I started with one line and now I have 3. You should expect the same. The fact that Apple have refused to address or even a acknowledge this product fault is a disgrace.
    I'm sorry BSteely but your suggestion that we should simply replace our monitors because its out of warranty is ********. A product fault is a product fault pure and simple...Its not like Apple monitors are inexpensive, I have several other non-apple monitors and have never had this issue with them. It is the manufacturers responsibility to insure that a product leaves the assembly free of fault.
    This is not an isolated problem but a problem in manufacture and Apple need to do something about it to restore goodwill, as I simply will not buy another apple monitor until they prove that this issue has been addressed.

  • How I fixed the colored vertical lines on my Mac Powerbook G4 17"

    Hello all,
    I know that many people with a Powerbook G4 17" are suffering from the colored vertical line problem on their displays.  This is were a pixel wide vertical line of color (yellow, green, purple, red, and/or blue) randomly appears on the laptop's display, usually between 24-36 months after purchase.  This is also known on various internet forums as the "bridget riley effect" -- named after a painter whose art looks very similar to this effect.  Many, if not all, of the laptops that suffer from this defect are 17" displays and have a serial number that starts with W8.  Mine starts with W85; you can check yours by looking underneath the battery.  It usually starts off as just one line, then two, then a few months pass and before you know it your screen looks like this:
    This is my screen two years after the first line showed up, which was two and half years after getting it in December of 2005.  Not so pretty. And completely useless without an external display, kind of killing the purpose of a Laptop.  As a film editor I needed my screen to see the images and more importantly I needed it to be mobile.  There's not always a screen to plug into. 
    I tried getting Apple to fix the problem, but apparently they're just ignoring the fact that almost all the laptops that came from this certain factory in Thailand (indicated by the serial number starting with W8) have failing displays.  They delete threads and forums on their website, and try to censor and ignore the problem as much as they can.  Unless some huge media blitz happens, or there is some kind of legitimate lawsuit, I highly doubt they ever will do anything about it, and you can't really blame them.  They are a big business and addressing this problem with cost them potentially millions in repairs and tarnish their reputation as a quality manufacturer, and Apple's biggest commodity is its reputation.  It ***** that Apple allowed this kind of thing to happen, but as things stand right now, it would be a poor business decision to fix it.
    So, fellow vertical line sufferers, AKA the W8 club, my advice to you is stop holding out hope that they will pay for your screen to be fixed and get it done yourself!  If you do it right you can get it done for between $60-$99.  Here's how I did it. 
    First off, know that this is a hardware problem.  There is no setting in system preferences you can change that will make the lines go away.  There are failing physical parts in your computer to blame and they need to be replaced. 
    Second, in order to keep things as cheap as possible, you are going to replace the parts.  It's actually pretty easy.
    Thirdly, you are going to need a whole new display.  I thought maybe if I replaced the display data cable (the cable that runs from the computer under the key board to the back of the screen) it might solve the problem very cheaply, since a brand new one only costs about $9 online.  I took the computer apart, replaced the cable, but the display did not change at all.  So the problem is the screen, not the cable.  I needed a whole new screen, however, a brand spanking new one can cost between $350-$600.  So I went on eBay, typed in my computer, and looked for computers that were being sold for "parts" or "repair."  These are usually much cheaper because they are not working computers, but you don't need the computer to work, you just need the display to work.  If you do this, make sure you read the descriptions.  If there's any mention of display problems, move on and keep looking.  You don't want to replace the display only to have the lines show up all over again a few months down the line.  They wont always give you the serial number, but obviously try to stay away from serial numbers that start with W8.  I found a used Powerbook being sold for parts for $63.  It didn't have RAM, or a Hard-drive, or screws to keep the keyboard on, but the display apparently had no issues.  With shipping and handling it cost me $94 total and three days to get it.  The serial number started with V7.  I'm sure with a little patience and vigilance, you can find something just as cheap or even cheaper. 
    NOTE: Some powerbooks have High-Res display screens, so make sure you know which screen yours has so you know which to look for. 
    Now, how to actually replace the display.  I used an awesome website called ifixit.com.  They give you detailed easy-to-follow instructions with photographs.  I'll let them give you the nitty gritty of how to replace the display.  Here is the actual How-to guide I used:
    http://www.ifixit.com/Guide/Installing-PowerBook-G4-Aluminum-17-Inch-1-1-67-GHz- Display/258/1
    The only tools you really need are a small phillips head screwdriver and a T6 and T8 Torx screwdriver (they are starred on the end, as oppose to crossed like the end of a phillips head).  They say you need a "spudger" but I didn't.  You can get these at any hardware or auto-parts store.  Return them when your done if you are really on a budget, but you might want to take more part from this new computer in the future, so your call.  You'll need to print out the instructions first, or use another computer to follow them since you obviously can't use your Powerbook.  Find a flat, well-lit work space, preferably near a TV so you don't get bored while working, and use the how-to guide to switch the old display with the new one.  It only took me a couple of hours to finish the whole thing, and I didn't have to pay a repair man hundreds.  My display works perfectly now!  It's so nice to be have the mobility of a laptop again (especially since the computer i got off of eBay came with a battery that can actually hold a charge).
    NOTE: There are a bunch of screws and a few small parts that will need to be taken out while replacing the display, and its important they all go back in their proper spots.  So I highly recommend you take a long piece of tape, loop it, and stick it flat onto the side of your work space.  As you take out each screw or small part, stick them in order to the tape.  This way nothing gets lost and when you work backwards to put your computer back together you'll always know which screw or small part is next in line and which one the how-to guide is referring to.
    I really hope this helps people with this problem.  This seems to be the only solution.  And for less than $100 bucks, I think its worth it, especially since you now have back up parts for any other part of your computer that might fail in the future.  My disc drive stopped working recently so I'm replacing it with the one that came with the computer I got off eBay; a $90 part.  I tried to make this as easy-to-follow, practical, and comprehensive as I could -- for as cheap as I could.  GOOD LUCK!!!
    -R

    I suspect not. There are long threads with hundreds of reports, most with PowerBooks whose serial numbers began with W8 (or W85). Still there is no Repair Extension Program for this issue.
    At this point, your only recourse is to discuss the issue with Apple Consumer Relations at 1-800-767-2775, if you are in North America.

  • Qosmio G30-137 - Video card issue - the vertical lines bug

    Hi members,
    today my Qosmio G30-137 started making troubles showing vertical lines which look like this:
    After using product recovery disk Windows was unable to initiate first start and came up with a bluescreen with the error-code:
    +page fault in non-paged area STOP 0x00000050 (0xC09C3044, 0x00000000, 0X804DA90AA, 0X000000002)+
    This basically indicates that memory - either RAM, L2-Cache or Videomemory died. But i also learned that the graphic card can be smoked.
    After the blue screen you wont get the system into normal working condition, no matter what you try.
    I would strongly advise to check if your Qosmio is under warranty and see your dealer for exchange. Fortunately i bought mine 2006/06/06 so its still under warranty (even if just a view days left).
    Additional information: another member of this forum had a similar problem and reported that the whole motherboard has to be changed which causes cost of USD 700.00 and up!
    I will let you know what i ended up with.
    BRgds
    The Q

    Unfortunately, this sounds like a serious hardware issue as the other member suggested, the GPU (graphic card) could be faulty and therefore the replacement is necessary.
    The point is that the GPU is soldered on the motherboard and its not possible to remove the graphic chip from the board. In most cases the whole motherboard must be replaced to solve such graphic problems.
    In my opinion you should contact your ASP as fast as possible.
    The technicians should be able to help you explain the whole situation and you issue and ask for the further handling.
    Good luck buddy

  • Vertical Line in a LineChart

    Is there a built-in way to create a vertical line along a
    lineChart? Or do I get to build it manually?
    For an example, see the red line on the chart at...
    http://trail.motionbased.com/trail/player/2232944
    Thanks,
    Jason

    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.

  • I have vertical lines when printing even after changing cartridges.

    I have vertical lines when printing even after changing cartridges. There are no lines when copying, faxing or scanning, only printing. I have cleaned the glass, scanner and even dusted where the toner cartride slides in.  Any suggestions?

    Sorry but I have worked on laser printers for over 20 years and never encountered your issue.  That is of course if you are explaining it correctly.  When you make a copy to be printed or print a reports page from the printer or send a print job to the printer, if in all these cases you get the line, then yes the issue is either the toner cartridge or the fuser.  If you make a copy to be printed and it prints without the line (Put original in adf, press copy button and print should come out), then you have one weird unit since it does not make sense since the print formatter on the unit whether making a copy or printing from the computer or unit itself uses the same hardware.  Now to test if the printed copy has a line then just put a sheet of paper on top of the feed tray and do a self test from the printer.  When the back edge of the paper enters the printer, quickly open the toner door to stop the printing.  Remove the toner cartridge and look at the image below.  If the defect is present the toner cartridge is the issue and if the image below does not have the defect, then the fuser needs to be replaced.  Best I can do.  Good Luck.

  • Changes in Vertical Lines Across Hidden Sections

    I have quite a few reports designed in CR 8.5 primarily by someone else but modified by me over the years.  The original programmer created two page footers.  PFa is to print when there are multiple pages except on the last page (set to underlay sections), and PFb to print only on the last page or first page if there is only one page.  The report in this example is an invoice that could be multiple pages or one page.  PFa will show Continued.... as part of the footer on all but the last page.  The last page will show the total.
    The original design has vertical lines extending from the page header to a horizontal line in PFb.  For a one-page report, this works just fine.
    When printing multiple page reports, there is a little section that does not have a line in PFa.  So it has been filled in with a second line over the previous line and it extends from the top of PFa to the horizontal line in that section.  This also works fine in CR8.5.  This worked fine in CR XIR2 as well.
    I am creating a new viewer that I would like to support current versions of Crystal.  So recently I installed the CR for VS ver 9.  Now my CRXIR2 and CR2011 standalone programs show lines extending to the bottom of the page over PFa on a multipage invoice.  PFb shows properly on the last page.
    I am pretty sure when I was using CR for VS version 4 it did not do this (last week), but I cannot remember if I had tested a multipage invoice at that time.  Now that I have upgraded it appears the handling of the lines is different.  I am testing the reports and they are all showing up differently now.  The image attached shows the idea.  The vertical lines should stop at the top horizontal line except for the one on the right which should stop at the bottom horizontal line.
    I know there are other and probably better ways to program this but I inherited this stuff and am trying to find a way to not edit all the possible reports that have this problem (could be hundreds).  Does anyone know if this is an intended design change or if there is a workaround I can use?  My viewer is being programming in VB 2010 but the image attached is just from CR 2011 (CRXIR2 does the same thing now).  The second image attached is the original from CR8.5 which still works because I assume, it is using a different print engine before the change in CR version 9.
    Any help is appreciated.  TIA, rasinc

    Hi Jamie,
    Sorry for the delayed response but I have been out of the office since Wed.
    Are you saying that I just need to change the programming of the lines in the CR designer?  If so, I had already done that in the same manner as you had suggested before.  eg. don't let the lines cross a section.  Terminate the line at the first section (pfa), then fill it in after, in the lower section (pfb).
    If that is what you meant, I have done that with one to prove it is a solution.  This will work for me directly, however, the viewer will be distributed to people who may or may not be buying the CR program.  For those who buy it, they can modify their forms as they please if it is a problem for them.
    However, there will be many people continuing to use the CR 8.5 forms in this newer viewer.  These people may have to have this problem fixed and may not know it can be redesigned.  So I am trying to be proactive to figure out if I can solve it with my programming but it looks like it is a difference as part of the CR viewer dlls between CR8.5 and CR2011.
    If you think it is still something that can be adjusted in my programming somehow, I can give you a screenshot but I am thinking your thought was to change the line programming with the designer.  If so, I know how to do this, but I have never seen and do not have access to many rpts that will be affected.
    Thanks again for the help, I appreciate it. rasinc

  • URGENT:  vertical lines length in the Mainwindow in smartforms

    hI,
            In main window 4 vertical lines are there like.. below
    item | material no.er | mat.desc |  quantity |  total price
           |                      |                |              |
    Now the problem is:  these vertical lines entered into the next below window.. Now I want to reduce the length of these vertical lines.
      Please explain where can I reduce  to these vertical lines length.
    Thanks and Regards,
    Surya

    Hi,
    in the beginning of the report program:
    report  <program_name> line-size <give the length say eg:150>.
    <b>reward points if useful.</b>
    regards,
    Vinod Samuel.

  • Date field positions vertically and overlaps other report items

    I have a date field on my reports and they are positioned on the right of the report canvas where they have enough cusion space. Somehow they[label and the date itself] are coming appearing on multiple lines..one below the other instead of appearing in a single line. My settings are:
    Vertical Alignment:Fixed
    Horizontal Alignment:Fixed
    Base Printing:Enclosing
    Keep with anchoring object:No
    The field displays whatever fits on 8 units on the grid and then moves the remaining data on next line. My reports are not character mode.

    I think I need to expound on my message.
    I am actually upgrading from Oracle reports 6i to oracle reports 9i. The date field prints successfully on one line in the margin for the oracle 6i reports. HOwever there is some wrapping for the oracle 9i reports. What i have noticed is that when I place the date field anywhere within the range 0 - 8 units on the paper layout grid in the margin, the date prints successfully. Otherwise it wraps. I have no such problem in Oracle 6i.

  • 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

  • Any hope for the dreaded iMac "vertical lines"??

    Curious if there's an update to Apple's response regarding the almost universal issue with their iMac's developing vertical lines in the display withing days or weeks of the warranty expiring.

    "Almost" universal - search this forum & you'll see MANY people reporting this issue. In nearly every case (including mine) the problem happened shortly after the default warranty expired (in many cases it occurred the same week the warranty expired!)
    Issue is related to the iMac display - it develops vertical lines. Typically starts with one or two & then increases from there. Mine started with one - 2nd one just popped up. The iMac is a 2nd computer that doesn't see nearly as much use as my Powerbook or PC laptops & only the iMac developed this issue.
    There were people in contact with Apple & even class-action type remedies being discussed if I remember right! Curious what the latest word (if any) on that was.
    Message was edited by: inte

Maybe you are looking for