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

Similar Messages

  • 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.

  • Line-size classical report

    The total no of characters in the report are 90. But when I set the line-size to 90, the print out comes out in landscape instead of portrait. I also changed the format to 65x132.  Is it possible to have 90 chars and print in portrait?

    You can check in trx SPAD. Click "Full Administration" in appli. toolbar. Go to "Device type" tab and specify X_65_132 under "Format types" field and click "Display".
    On the detail screen, click on "Edit" on the menu bar and choose "List Driver attributes". You can see the orientation there (Landscape or Portrait). I think by default it is Landscape.
    Hope this helps.
    Best regards,
    Hadiman

  • How to Align Query output in vertical grids in Classic Reports

    HI all,
    I have a requirement to display query output in a vertical grid.
    For example, If my query output is :
    SQL, PL/SQL, Forms,Reports, XMLP, APEX etc then output should be displayed in following format:
    1. SQL 2. PL/SQL 3. Forms
    4. Reports 5. XMLP 6. APEX
    Thanks in Advance!!
    Regards,
    Vamsi

    866010 wrote:
    Thanks for the response!!
    SQL: select * from emp
    where 1=1
    and emp = 1 ;
    We want to display emp details from the above query in the following format:
    EMP No : 1 Ename: XXX Manager_Id: 2
    Job: Consultant Sal: 1000 Commission: 5
    We want a break after three columns.Create a custom named column template and base the tabular form report on this: {message:id=10399762}
    Please read the FAQ and forum sticky threads (if you haven't done so already), and update your forum profile with a real handle instead of "866010".
    When you have a problem you'll get a faster, more effective response by including as much relevant information as possible upfront. This should include:
    <li>Full APEX version
    <li>Full DB/version/edition/host OS
    <li>Web server architecture (EPG, OHS or APEX listener/host OS)
    <li>Browser(s) and version(s) used
    <li>Theme
    <li>Template(s)
    <li>Region/item type(s) (making particular distinction as to whether a "report" is a standard report, an interactive report, or in fact an "updateable report" (i.e. a tabular form)
    With APEX we're also fortunate to have a great resource in apex.oracle.com where we can reproduce and share problems. Reproducing things there is the best way to troubleshoot most issues, especially those relating to layout and visual formatting. If you expect a detailed answer then it's appropriate for you to take on a significant part of the effort by getting as far as possible with an example of the problem on apex.oracle.com before asking for assistance with specific issues, which we can then see at first hand.

  • How to fix Width of column in classic report.

    Dear Friends
    i am using Apex 3.2.
    i have created Clasic Report and i have summary column in my report that column have description of issue so i want to fix width of that column nn Classic report .
    i have try some code in html expression
    <span>style="width: 480px; display: block; white-space: normal; font-size: 11px;">#ACTIVITY_SUMMARY#</span>
    {code
    after apply abovemention code that display me in my summary like this and not manage width of column.
    style="width: 480px; display: block; white-space: normal; font-size: 11px;">Dear Cherryl, Greetings !! Thank you very much for the new query and we are pleased to confirm the availability of one single cabin in all the three categories of cabin on M.V. Mahabaahu. We would like to inform you that both the departures 15th Oct 2013 & 29th Oct 2013 (Golden triangle with Cruise) are operational and attached are the prices for your kind consideration. As a special promotion for the 15th Oct 2013 departure only, we are offering USD 100 per person reduction on the Golden triangle portion combined with the cruise. Kindly review and advise us to block the accommodation accordingly. Regards...pankaj
    How to fix Width of column in classic report.
    Thanks                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Hi,
    I'm working an example in APEX 4.2 so YMMV (your milage may vary!).
    For Classic Reports, where the Column Attributes "Display As" is set to Display as Text (escape special characters ...:
    1) I find that Column width and Element Width setting have no effect to make the column smaller or larger.
    2) Here is one way that works:
    - In the Region's Region Definition, under Attributes give the Static ID a name (no spaces), say, class-report.
    - In the columns you want to affect, place "&#60;div>#ENAME#</div&#62;" in the columns Column Formatting "HTML Expression". Where "ENAME" here is the actual column name.
    I'm using the EMP table as an example.
    - Finally, in the page's HTML Header put, for example
    <style>
    #classic-report td.data[headers="ENAME"] div {
      width: 200px;
      color: blue;
    #classic-report td.data[headers="JOB"] div {
      width: 50px;
      white-space: nowrap;
      word-wrap: break-word;
    </style>This makes the ENAME column wider and the JOB column smaller and wraps it.
    Much more could be said. If you tweak you will find you can also affect spacing above, below and right/left of the data.
    #classic-report .report-standard th.header {
      border-left: #9fa0a0 1px solid;
      padding: 2px 3px 4px 5px;   /* top right bottom left margins */
      font-size: 11px;
      font-weight: bold;
      vertical-align: bottom;
    #classic-report .report-standard td.data {
      border-left: #9fa0a0 1px solid;
      padding: 3px 4px 5px 6px;
      font-size: 9px;
    }Does this help?
    Howard

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

  • Dynamic setting of line count and footer in classical report

    Hi all,
    In classical report,we can set line count and footer at the beginning of the report  as Line-count 6(2), here out of 6 lines 4 lines is for content and 2 lines is for footer (assume no standard heading), but if my report produces less content than 4 say 3 at run time ,then footer will not be displayed .Here again i have to set line count and footer as 5(2) in order to get the footer to be displayed ,so How can i achieve dynamic setting of the line count and footer,
    Thanks,
    Avinash

    Use RESERVE,
    START-OF-SELECTION.
    RESERVE 6 LINES.           "at the last of your code
    This will trigger a page-break & footer will be displayed.

  • Line number in Classical Report

    Hi All,
    How to get current line number in Classical Report?
    i want to show that in my o/p.
    regards,
    Anuj

    Hi Anuj
    Please try like this
    there are 2 ways.
    READ CURRENT LINE FIELD VALUE <fieldname>.
    READ CURRENT LINE.
    first statement does'nt work on numeric type fields especially when there are commas ',' like 5,600,00.
    it'll give you dump.
    but always works on CHAR type.
    so in your case use second statement. though you're reading entire row but use only single field what ever you want.
    check this example.
    DATA : BEGIN OF itab OCCURS 0,
    matnr LIKE eban-matnr,
    menge LIKE eban-menge,
    END OF itab.
    AT LINE-SELECTION.
    READ CURRENT LINE.
    WRITE :/ itab-menge.
    START-OF-SELECTION.
    SELECT matnr menge INTO TABLE itab FROM eban UP TO
    10 ROWS WHERE matnr NE space.
    LOOP AT itab.
    WRITE :/ itab-matnr, itab-menge.
    HIDE : itab-matnr, itab-menge.
    ENDLOOP.
    Thanks
    venkat

  • 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

  • How  2 increase line size of  classical report displayed thru  modular prog

    Hi guys,
    I have displayed a classical report through a modular program using LEAVE TO LIST-PROCESSING AND RETURN TO SCREEN 130.
    But now i want to increase the line-size of my classical report as only half of the report is getting displayed.
    I tried the following thing:-
    SY-LINSZ = 125.
    perform f_report_pass.
    *Print repost showing records which were not saved
    perform f_report_fail.
    LEAVE TO LIST-PROCESSING AND RETURN TO SCREEN 130.
    but that did not work.
    Please help me increase the line size.
    Regards
    Rahul Gambhir

    Hi Vasanth
    I am using a modular program hence there isnt any statement :-
    REPORT ZXXX NO STANDARD PAGEHEADING LINE-SIZE 255
    This is the code that I am using :-
    SY-LINSZ = 200.
    perform f_report_pass.
    *Print repost showing records which were not saved
    perform f_report_fail.
    LEAVE TO LIST-PROCESSING AND RETURN TO SCREEN 130.
    Regards
    Rahul

  • Horizontal to Vertical Convert Internal table in Classical report

    Hi Experts,
         I have internal table as like below for six column.
         I want to convert as like below in classical report.
       Here H001, H002, H003, H004 are vendor code it is dynamic.
    Thanks,
    Himanshu Patel.

    Hi Himanshu,
    Create a hotspot in write statement by adding HOTSPOT ON with write statement , then in at line selection add this code.
    Modify the PO Value based on your need.
    DATA: REPID(18) VALUE '4500017274'.
    SET PARAMETER ID 'BES'  FIELD REPID .
    CALL TRANSACTION 'ME23N' AND SKIP FIRST   SCREEN.
    This will call the screen by opening the Particular document Specified.
    Regards,
    Sivaganesh

  • How to freeze the columns in Classical reports using vertical scroll

    Hi All,
    I am facing one problem that when i am scrolling down the page in the report     output ,the columns in the report are moving upward.I want to freeze those columns . Please give me the solution for to freeze the columns in classical report when i scroll vertically.
    With Regards,
    R.P.Sastry

    Put ur colum headers in TOP-OF-PAGE Event.
    this will sole ur problem.
    reward if useful.
    Regards,
    Vimal

  • Classic Report with a two-line row, the second one as a drop down?

    Hi,
    Using APEX 4.0 is it possible to make a classic report layout that has row items sorted in 2 rows? The first row for each SQL record set row looks like the classic report 'normal' row, while the second one contains just one single column value. This second row is supposed to be hidden and should be displayable by clicking a small '+' sign at the beginning of the row.
    I remember having seen this done, but I simply seem not to be able to formulate my query correctly to let Google display me the expected result. Although I am not sure if was APEX+jQuery or ExtJs. I hope though it is not ExtJS, since I do not plan to use that one.
    Thank you in advance.
    Tamas

    Is this for Verizon landline internet? If so, you should ask your question in the Verizon Residential forums. http://forums.verizon.com

  • OnMouseOver displays Tooltip from hidden column of classic report

    What: The Goal:
    Make easily available more information than fits on one line of the screen without using multiple fixed lines.
    Background:
    Classic report with 18 data items (columns) visible. Has Search box and user can choose number of rows displayed.
    A couple data items can be long (20-30 characters) compared to the screen width. The right-most data item might run 100 characters.
    Proposed Strategy:
    1) Display the first n characters of the long item(s) on the report.
    2) On onMouseOver display the entire item.
    Proposed Approach:
    1) For each column with long data, hold the entire value in a hidden item.
    2) Display long (hidden) value in tooltip (bubble?/balloon?) upon onMouseOver of that value.
    Note: This is not ToolTip/Help for a column but display of the long value for a specifc item in the row of a column.
    Sought After Feature:
    1) To reduce maintenance, would like to implement for multiple columns using a single common block of code.
    Question:
    Given other approaches you know, is this a good approach to achieve the goal? Alternative approaches?
    Howard

    Well it took a while and you really made me work for this. :)
    For the end result hover on the Job Ln Nm column.
    http://apex.oracle.com/pls/apex/f?p=991202:1
    I added some old code I had laying around. It adds a bubble that will stay up for 5 sec or until you click away or hover on another record.
    What I would do at this point is just truncate (with a substr) the length of the Long Nm to something short. Use whatever indicator you want for the hover. Like for example these glasses <img src="#IMAGE_PREFIX#Fndview1.gif"> It's really up to you.
    You'll see there's an AJAX Callback PLSQL where you can retreive and format the content of the popup to whatever you want. You could make it real pretty.
    Here's what I did:
    1. New ShowJob javascript procedure.
    function ShowJob(pThis,pId){
         this.dTimeout;
         clearTimeout(this.dTimeout);
         this.dGet = dGet;
         this.dShow = dShow;
         this.dCancel = dCancel;
         var get = new htmldb_Get(null,$v('pFlowId'),'APPLICATION_PROCESS=FULL_LONG_NAME',$v('pFlowStepId'));
         this.dGet();
         return;
         function dGet(){
               this.dTimeout = setTimeout("this.dCancel()",6500);
              get.addParam('x01',pId);
               get.GetAsync(dShow);
         function dShow(){
               $x_Hide('rollover');
               if(p.readyState == 1){
               }else if(p.readyState == 2){
               }else if(p.readyState == 3){
               }else if(p.readyState == 4){
                     $x('rollover_content').innerHTML = p.responseText;
                     $x_Show('rollover');
                var l = findPosX(pThis)+pThis.offsetWidth+5;
                     var t = findPosY(pThis);
                $x_Style('rollover','left',l + 'px');
                     $x_Style('rollover','top',t + 'px');
    // This math would center on the vertical           
    //                 $x_Style('rollover','left',findPosX(pThis)+pThis.offsetWidth+5);
    //                 $x_Style('rollover','top',findPosY(pThis)-($x('rollover').offsetHeight/2)+($x(pThis).offsetHeight/2));
                   document.onclick = function(e){
                   dCheckClick(e);
               }else{return false;}
         function dCheckClick(e){
              var elem = html_GetTarget(e);
              try{
                        var lTable = $x_UpTill(elem,"DIV");
                        if(lTable.id!='rollover_content'){dCancel();}
                        else{}
              }catch(err){dCancel();}
         function dCancel(){
               $x_Hide('rollover');
              document.onclick = null;
               get = null;
    }2. Rollover div on the page footer (div id="rollover"...). Of course this could be a region also.
    &lt;div id="rollover" style="display:none;color:black;background:#FFF;border:2px solid #369;width:290px;position:absolute;padding:4px;">
    &lt;div id="rollover_content">&lt;/div>
    &lt;/div>
    3. PLSQL AJAX Callback. : FULL_LONG_NAME
    -- select your value with apex_application.g_x01
    htp.p('You hover over ' || apex_application.g_x01 || '<br>');
    htp.p('Here is the Full Long Name: XXXXXXX XXXXXXX XXXXXXX 1234565');4. Changed Long Nm column to be a link with the onmouseover call that calls the new procedure ShowJob. I made the assumption that with the NUM parameter you could fetch the full record of what you need.
    onmouseover="ShowJob(this,#NUM#)"
    That should be it.
    Let me know what you think.
    -Jorge
    Edited by: jrimblas on Apr 22, 2013 1:05 PM: Added code to post for completion

Maybe you are looking for

  • [SOLVED] Unable to boot after CLI shutdown

    Fresh install Archlinux (3.8.4-1-ARCH) + KDE From KDE console, I did a shutdown with  the following command # shutdown -h -P now I observed the following messages on the screen (no errors apparently): [ OK ] Stopped Getty on tty1. [ OK ] Stopped K Di

  • Comments on the Audigy 2

    This post is to all the whiners and complainers regarding the Aud 2 zs. I purchased this card recently and I must say it is truely awesome. It replaced an Audigy 2 Platinum that I thought was excellent. Creative raised the standard in PC sound with t

  • Drop Down by Index in Table

    Hi I wish to have a drop down by index field in my table but only in certain cells in one particular row. Once the value has been chosen I wish to then colour the two cells above the drop down. Is this possible? Regards Ian

  • Transferring iPod music synced to an old iTunes account

    I have an iPod which is synced to an old iTunes account we no longer use. When the computer crashed the thousands of personal CDs we had in iTunes went away.  I now have several iPads and a new iTunes account I would like to get on the same page....h

  • Request Assistance - Converting VHS and DVDs for Apple TV

    I have an Apple TV and love it. My mission is to take my old VCRs and DVDs, convert them and place them in my Apple TV Library. I have run into a snag however when the movies is multiple tapes or DVDs. Up to now I have been simply posting them as Par