Printing the table

Hi,
    I have requirement like without touching driver program that means using perform,form routines i have to call table data in print program.
that means in the external program using form routines i have to print the table data rows and columns. like this:
                vbeln           erdat            netwr      posnr      matnr
                111111111  11/12/2006    345.00   1313111   13141
                111111112  12/12/2006    345.00   1313112   13142
                etc.
Can any one tell me this?.

ur data is in internal table....Using perform <routinue> using <internaltable>....Inside this perform u can display the data according to ur format...

Similar Messages

  • How to print the table values in fastest way?

    Dear Friends,
    I'm having table in my application and i need to print the table values. For that I used print() method to print the table values.
    boolean complete = tableObj.print(mode, header, footer, showPrintDialog, null, interactive,
                                  null);But, the time taken for displaying print dialouge box so late and printing operation is done very slowly.
    Could anyone please tell me is there any better way and fastest way to print the table values?
    Thanks in advance

    Hi,
    In the Module pool you will have fields. For those fields you have created the name also. Assign those name to work area and from there to internal table.
    And for your requirement viceversa you need to done.
    With Regards,
    Sumodh.P

  • Using Pages, I have created a document and inserted a Table for use in logging an inventaory. When I came to print this off however the lines for the table were missing but the text was in the Table format, weird! How do I print the Table?

    Using Pages, I have created a document and inserted a Table for use logging an inventory. When I came to print this document the lines and boarders of the Table feature did not print however the text did print in the table format. How do I get the lines and boarders to print also?

    Using Pages, I have created a document and inserted a Table for use logging an inventory. When I came to print this document the lines and boarders of the Table feature did not print however the text did print in the table format. How do I get the lines and boarders to print also?

  • How to print the table

    We have to take a print out of a JTable having data.
    But our problem is that , we have some other components on that
    page also.
    and we don't want to take the print out of that components.
    we want some solution in order to take the print out of that
    JTable only.
    we want to eliminate that components from the printing page.
    plz,provide some good solution in this regard as soon as possible.

    In Java 5, it can be done with one line of code:
    table.print();
    http://java.sun.com/j2se/1.5.0/docs/api/javax/swing/JTable.html#print()
    */

  • How to print the table in java.

    we want to take the print out of JTable in java.
    But we have some other components on the GUI
    alongwith the JTable.Now our query is that how cud
    we take the print out of JTable only?
    we are using jdk1.4.2 version of java.In this version
    we don't have any direct method of taking the print out
    of JTable.
    Any valuable suggestion will be appreciated.
    Thanks.

    You don't have to use a reporting tool:
    http://java.sun.com/docs/books/tutorial/2d/printing/in
    dex.html
    Okie! Thats only a suggestion. Im sorry.

  • Printing of the Table & Paginator

    Hi
    I have webdynpro application which displays a table and i need to print the table. Can u suggest me a method how to print the table on click of button.
      Also, can some one tell how to use the paginator in the table which is getting displayed, i want to say display 10 rows at a time.
    Thanks and Regards
    Srikant

    Hi Venkata
    For the question "can some one tell how to use the paginator in the table which is getting displayed, i want to say display 10 rows at a time"
    1. Click on the table in the view
    2. Go to the properties
    3. In the property visiblerow count give 10.
    For the question " how to print the table on click of button"
    There is no direct functionality where you can print the contents of the table. Instead you can use Browser Print functionality. I understand you do not get all the rows printed but that is the easiest way.
    Regards
    NagaKishore V

  • Problem in printing the JTable values

    Dear Friends,
    I have to print the JTable values (on paper using print dialogue box).
    I'm using jtableObj.print to print the table values. But jtableObj.print takes more time to print the table values because it prints the values as a image(approximately 5 mins to print 10 pages).
    My code is ,
    boolean complete = tableObj.print(mode, header, footer, showPrintDialog, null, interactive,
                                  null);Could anyone please tell me how to reduce the time?
    Thanks in advance

    Hi again,
    1. what problem are u facing ?
      (there is no sapscript symbol / system symbol
       for finding out the length )
      (In abap u can use strlen)
    2.  data and gets trimmed
       what is the meaning of it ?
    3. do u mean to say that  !
      ABCDEF                     123 45
      GEF                        123 45
      is getting pritned like
      ABCDEF 123 45  ?
      GEF  123 45
    4. If so , then use TABS
    5. This happens because SPACE
       is different in different varlues of
       ABCDEF and GEF !
    regards,
    amit m.
    Message was edited by: Amit Mittal

  • No page break between table header and first line of the table main area

    Hi all.
    I'm printing a form which contains a lot of tables. Sometimes while printing the table header line remains at the bootom of  the page and the lines of internal table are printed on the next page (also with header because i have marked 'at page break' in the header). How is it possible not to break header line of 'Table'-node and the first line of internal table?
    Regards, Nikolai.

    Hello Niki,
    try to use page protection......
    create a folder and place the text that r to be displayed without break.........
    and check the checkbox page protection.
    I think you cannot put an entire table in a folder & turn "Page Protection" on simultaneously.
    Any ideas?
    BR,
    Suhas

  • How to print the Jtable into paper

    im facing a problem which is after i get the data to be dispaly in the jtable but im facing problem of printing the table in paper as a report.. the report must be info about the data in table..thanks

    My table has narrow columns resulting in clipping of
    text. Is there some way to print the full text in the
    columns?I researched Manning's Swing book and found an example of printing the content of JTable without clipping. But alas, my table doesn't fit in a standard 8.5''x11'' paper even in landscape setting. When one looks at Excel's spreadsheet output, the columns can span over multiple pages. I can live with that. Any solutions?

  • Printing of table data with a button

    I have an application that creates a table with data from a database. I would like to put a button at the top of the page that would allow the user to print the table in paginated format. Does anyone have any sample code or directions as to how I could accomplish this. As an FYI, I am new to JSP and Creator studio.

    Example code in the button is like this (I use oracle 10g, and call stored procedure to get the result set. In your case, maybe you just use simple view/table, give the connection to the jasper, and let the jasper query the table).
    public String printButton_action() {
            FacesContext myFaces = FacesContext.getCurrentInstance() ;
            ServletContext svContext = (ServletContext) myFaces.getExternalContext().getContext();
            HttpServletResponse response = (HttpServletResponse) myFaces.getExternalContext().getResponse();
            File reportFile = new File(svContext.getRealPath("/report.jasper"));
            if (reportFile.exists()) {
                ResultSet rs;
                Integer totrec;
                // prepare parameters, connection... etc.
                try{
                    java.sql.Date bdate = new java.sql.Date(begCalendar.getSelectedDate().getTime());
                    java.sql.Date edate = new java.sql.Date(endCalendar.getSelectedDate().getTime());
                    Connection con = getSessionBean1().getOracleconnection();
                    CallableStatement stmt = con.prepareCall("{call webcrpackage.TtcHarian(?,?,?,?)}");
                    stmt.setDate(1, bdate);
                    stmt.setDate(2, edate);
                    stmt.registerOutParameter(3, OracleTypes.NUMBER); //REF CURSOR
                    stmt.registerOutParameter(4, OracleTypes.CURSOR); //REF CURSOR
                    stmt.execute();
                    rs = (ResultSet) stmt.getObject(4);
                    totrec = Integer.valueOf(stmt.getBigDecimal(3).intValue());
                } catch(Exception e) {
                    error(e.getMessage());
                    return null;
                try {
                    JRResultSetDataSource dsource = new JRResultSetDataSource(rs) ;
                    // execute jasper
                    byte[] bytes = null ;
                    // prepare jasper parameter!!
                    Map parameters = new HashMap();
                    parameters.put("comname", getSessionBean1().getComname());
                    parameters.put("comdivision", getSessionBean1().getComdivision());
                    parameters.put("begdate", begCalendar.getSelectedDate());
                    parameters.put("enddate", endCalendar.getSelectedDate());
                    parameters.put("totalrecord", totrec);
                    bytes = JasperRunManager.runReportToPdf(reportFile.getPath(), parameters, dsource);
                    response.setContentType("application/pdf");
                    ServletOutputStream ouputStream = response.getOutputStream();
                    ouputStream.write(bytes, 0, bytes.length);
                    ouputStream.flush();
                    ouputStream.close();
                } catch (Exception ex) {
                    error(ex.getMessage());
                    return null;
            } else {
                error("Report file doesn't exist!");
            return null;
        }Long journey, search this forum on how to deploy jasper in jsc, etc..etc.
    Hope that helps.

  • In Pages (5.2), in a table, superscript is not only not printing, but not printing the text around it. Bizarre

    In Pages (5.2), in a table, superscript is not only not printing, but not printing the text around it. Any answers?

    Known issue now for almost 9 months.
    Use Pages '09 if you have it.
    Peter

  • The text in the tables is hazy when printed in the new version of pages. How can I get this to the same clear text as before?

    In the new version of Pages, the text in the tables are no long clear and sharp as before, they look embedded on all print outs. How can I change this.

    You can do a check for corrupted fonts and other font issues:
    *http://www.thexlab.com/faqs/multipleappsquit.html - Font Book 2.0 Help: Checking for damaged fonts
    *http://www.creativetechs.com/iq/garbled_fonts_troubleshooting_guide.html

  • ADOBE: How to print a table only on uneven pages and a text on the back?

    Hi, I am looking for a clear document on how to use pagination and the Odd and Even pages.
    We need to print a table over several pages, but the table should only appear on Odd pages. The even pages should be skipped. On the even (back) pages we need to print "Terms and Conditions". Is that possible? Can it be done without scripting?
    We are using ADOBE version 8.1
    In the file properties, double sided is switched on, and version set to 8.1 and higher.
    I created two Master pages, a FrontPage with ContentArea1and a BackPage with ContentArea2.
    FrontPage is used for uneven pages, BackPage is used for the even pages. The masterpages are printed correctly (alternating properly).
    One page was created for the table, totals etc.:
    ITEMS: contains item data (table with header and footer). Place is "On Odd Page". After "Goto page BackPage", so there is always one page with the text. And if the table needs to be paginated it goes to BackPage with overflow leader "Conditions".
    What should happen is that on the front pages the item table is printed. If there are too many lines then it should continue on page number 3 then 5 etc. All the even pages should display text only.
    What actually happens is that the item table also gets printed in the content area for the Condition text...
    The best I could achieve is to decrease the contenta area of the back page. To force pagination. But still it prints one table record in the (very small) content area of the back page before paginating to the next page (front page again). If it only would not do that, it would be fine.
    Cheers,
    Edwin.

    Fixed it... After a lot of creating, deleting, playing around with pagination and the inevitable cursing...
    I have created 5 pages:
    1. FirstPage
         - Odd/Even: Odd (Front) Pages
         - Placement: First page (In page set)
    2. FrontPage (For Odd pages)
         - Odd/Even: Odd/Front Pages
         - Placement: Rest of Pages
    3. BackPage (For Even pages)
         - Odd/Even: Even (Back) Pages
         - Placement: Rest of Pages
    4. LastPage
         - Odd/Even: No Odd/Even Restrictions
         - Placement: Last page (In page set)
    5. DummyPage
         - Odd/Even: Blank pages
    The 'Terms and conditions' are located on the BackPage and LastPage (as a text).
    The table that is printed is (of course) located on a normal page (flowed subform).
    Pagination tab: Placement = Following previous, and After = "Continue filling parent". No overflow... Basically, it's all default.
    The table lines will now start on the first page and if there are more lines than can be printed on this page, it will continue in the next content area. That will be on the FrontPage.
    The trick is that each master page must have a content area (mandatory). Except for Blank pages, but these cannot be used... Blank pages would only be used once, after the first page.
    What I discovered is that you can drag a content area away from the Master page and attach it to a different master page.
    Logically, if there is no content area on a page, then data cannot be printed there. So, I created a Dummypage. On this page I dumped the content areas from the LastPage and the BackPage. As a result, content cannot be printed anymore on the back of pages. Only the standard text (a text field) is printed there. When the data from the table is overflowing, it will automatically overflow from the FirstPage to the next content area. Which is located on the FrontPages only.
    The DummyPage is NOT used anywhere.
    The result is that the records can only be printed on the content areas that exist on the First and Front pages. The back pages are now skipped.
    Duplex printing is now working correctly, and the text is printed on the back of all the pages.
    Cheers,
    Edwin.

  • OEM 10G -- how to print the output of a table in a html report

    Hi everyone,
    I am trying to print the out of a particular table from the DB using OEM but having some hard time to do so, does any one know the way. Thanks for reading.
    Oracle version: 10.2
    OS: Windows xp
    Regards,
    katheri

    after login to the OEM ,
    you want the rows of the table or structure of the table?
    you can find administration tab top of the page,
    again you database objects -> tables
    new web page will open -> there you have to enter schema name and table name -> you will get the list of table and then click to view , data types and sizes and all..

  • Printing a Table in the Form

    Hi Experts..
    I would like to print the box below like this in a Form..
    Plz any one can help me clearly with coding.
    Service
    Person
    Rate
    Amount
    |----
    7.6cm
    1.4cm
    -1.7cm-
    -- 2.3 cm -
    Headings height -- 0.5 cm
    Body of table height --  9 cm
    I am Trying to print with ‘WRITE_FORM’ WITH  Element
    But it is taking too much space & it is not printing all the fields in the same line & not printing the box.
    Even I want to print the boxes exactly like above in form layout.. plz send me the code ASAP
    Thanks & Regards
    Rajendra

    hi
    Use the 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 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.
    •&#61472;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.
    this is a very time consuming task. well, hope this will help you
    /E   HEADING                                                                
    /:   BOX XPOS 0 CM YPOS 0 CM WIDTH '1.5' CM HEIGHT 10 CM FRAME 10 TW        
    /:   BOX XPOS '1.5' CM YPOS 0 CM WIDTH  4 CM HEIGHT 10 CM FRAME 10 TW       
    /:   BOX XPOS '5.5' CM YPOS 0 CM WIDTH '3.5' CM HEIGHT 10 CM FRAME 10 TW    
    /:   BOX XPOS  9 CM YPOS 0 CM WIDTH '2.5' CM HEIGHT 10 CM FRAME 10 TW       
    /:   BOX XPOS '11.5' CM YPOS 0 CM WIDTH '3.5' CM HEIGHT 10 CM FRAME 10 TW   
    /:   BOX XPOS 15 CM YPOS 0 CM WIDTH '1.5' CM HEIGHT 10 CM FRAME 10 TW       
    /E  
    DETAILS                                                                
       &IT_FINAL-WERKS&,,&IT_FINAL-NAME1&,,&IT_FINAL-PSTAT&,, &IT_FINAL-PRCTR&
    =    ,,&IT_FINAL-MINLS&,,&IT_FINAL-MAXLS&                                   
    Regards,
    Richa

Maybe you are looking for