Manuel Page Breaks / Excel Output

Hello,
I did a report which opens an Excel Sheet "inplace" to output the data. Therefore I used the interfaces "i_oi_spreadsheet" and "i_oi_document_proxy". Unfortunately these interfaces do not provide me with a possibility to insert a manual page breaks into the Excel Sheet.
I tried to do it directly with OLE but without success so far. Does anybody have an idea, how I can insert the manual page breaks.
Many thanks for the help
Daniel

To get the same page breaks, you must use
the same paper size,
the same margins
the same headers/footers, the same row heights
the same columns widths
the same fonts so that there is no extraneous wrap in dome cells.
From my point of view it's something like "Hercules's works'.
If you nead identical layout, use the same app in both worlds.
Yvan KOENIG (VALLAURIS, France) samedi 10 octobre 2009 19:28:19

Similar Messages

  • Incompatible page breaks excel,numbers

    I need to use Excel and Numbers for my report cards. Every time I use Excel and then open it in Numbers the page breaks are different. Is there a way that I can format the spreadsheet so the page breaks will not change?

    To get the same page breaks, you must use
    the same paper size,
    the same margins
    the same headers/footers, the same row heights
    the same columns widths
    the same fonts so that there is no extraneous wrap in dome cells.
    From my point of view it's something like "Hercules's works'.
    If you nead identical layout, use the same app in both worlds.
    Yvan KOENIG (VALLAURIS, France) samedi 10 octobre 2009 19:28:19

  • How to insert a page break in smartform

    hi all
    i have to print only ten records per page. Is there anyway to insert a page break in smart forms?????

    hi
    To insert a page-break you have to Create a Node Called COMMAND.
    Here you can Specify a Different PAGE as next page if u want.
    Smartforms: protect lines in main window.
    It was easy with SAPscript, but how to do it with SF's. For 4.7 version 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.
    In 4.6, Alternatively in a paragraph format use the Page protection attribute to determine whether or not to display a paragraph completely on one page. Mark it if you want to avoid that a paragraph is split up by a page break. If on the current page (only in the main window) there is not enough space left for the paragraph, the entire paragraph appears on the next page.

  • Excel Outputs with Header, page breaks, margins in EBS R12, 10.1.3.2 BI Pub

    Hi All,
    We have most of our report outputs as Excel.
    Our client is expecting a common format for outputs in excel, with header, margins, page breaks , page numbers
    And some of our reports has more than 70 columns
    Using RTF, we could not able to manage this. the header or page breaks are being overwritten when it generated the excel outputs.
    Please let me know how to achive this.
    Thanks in advance
    Edited by: DharV on Oct 15, 2012 8:44 PM

        Hi Rohit ,
    I had copied these .class & .xml files under Myclasses -> oracle.apps.icx and oracle.apps.po and oracle.apps.fnd was same which comes part of the standard OA tutorial.
    I copied same under Myprojects as well.
    you have to decompile the class file into java file and then place it in Myproject directory , also copy all dependency files like BC4J components , and then
    try to run from Jdeveloper .
    Alternatively you can get the entire ICX folder and zip it and add it via library .
    --Keerthi

  • Page breaks appear in the spool output of report when run in the background

    Hi All,
    Report is using fm 'REUSE_ALV_GRID_DISPLAY' to display the report. parameters passed to this fm for display are :it_fieldcat,is_layout,it_events,t_outtab.
    Page breaks appear in the spool output when report is run in the background.These page breaks needs to be removed. When executed in the background, the excel extract should be the same as if pulling directly from the report itself.
    How to remove the page breaks in background?
    Thanks & Regards,
    Abhishek Singh

    Hi
    You can use the below code , which the reprt run in background. If you run the report in background thenyou need to use  'REUSE_ALV_LIST_DISPLAY'
    if sy-batch = ' '.
    call 'REUSE_ALV_GRID_DISPLAY'.
    else.
    call 'REUSE_ALV_LIST_DISPLAY'.
    endif.
    if you are using OO alv then write this code..
    CALL METHOD cl_gui_alv_grid=>offline
    RECEIVING e_offline = off.
    IF off IS INITIAL.
    CREATE OBJECT g_custom_container
    EXPORTING container_name = g_container.
    ENDIF.
    Regards

  • XML Publisher Report EXCEL output Huge stored as Web Pages

    Hello
    I have a XML Publisher Report which generates EXCEL output and the output file size is huge.
    What I notice that it is stored as Web Pages *.htm; *.html (Save as Type) in Excel this is the reason it is huge.
    If I save as Microsoft Office Excel Workbook *.xls it Reduce the size.
    I don't know how to save as ".xls" through XML Publisher using PL/SQL.
    Any body knows? please Help..
    XML Publisher Template Builder for WORD
    Version 5.6 Build 45
    PATCH        BUG_NUMBER
    XDO.H     *3263588*
    4.5.0     *3554613*
    5.0.0     *3822219*
    5.5.0     *4206181*
    5.0.1     *4236958*
    5.6.0     *4561451*
    5.6.1     *4905678*
    5.6.2     *5097966*
    5.6.3     *5472959*
    Thanks.

    Hi Vetsrini,
    We're on 10.1.3.4.1 and siebel 8.1.1.3 and when trying to open a report from within siebel in the output format EXCEL (selected from the parameter applet), it just opens the document in the browser.
    Is there a way to get it to open directly in Excel? I guess the reason is the file extension*.EXCEL, how could we get the extension to be in excel format (xls)?
    We don't want our users to have to do this themself.
    Regards,
    Hakan

  • Page Break Issue - Excel 2013

    I'm about to explode, trying to figure out why this problem is happening. I have two users who are opening
    an Excel file from the same location, and they're doing their own modifications/saves. When one user opens the document and prints, the Print Preview shows 12 pages, and there are no problems. When the other user opens the same file and prints, there are 18
    pages. 
    Throughout those 18 pages, there are several blank pages interspersed with populated ones, and there are also
    a couple of pages with one line or so, from the end of a previous page. If I go to View>>Page Break Preview, this extended document shows little slivers of extra pages. The top of those little "pages" are dashed, and the bottom line is the
    solid page-break, for the next page. 
    Why would this be happening to one user, but not the other? They're both opening the exact same page/template.
    Oh, and as a side note, I'm also getting 18 pages with blanks/single-lines, when I open the file. Is there an advanced setting that the 12-page user has checked in Excel that I'm missing? Am I providing enough information? 
    Any help is massively appreciated.
    - Thanks

    It's probably caused by a difference in printers. Excel uses the printer settings to place page breaks
    Some printers, e.g. inkjet printers, have a smaller printable area than others, e.g. laser printers. As a result, less information will fit on a page.
    The worksheet apparently also has manually set page breaks.
    Let's take a simple example: the used area of the worksheet has 94 used rows, and a manual page break has been set below row 47. I'll assume that the used area is rather narrow.
    On printer A, 48 rows fit on a page. So the first 47 rows will be printed on page 1, and the next 47 rows on page 2.
    On printer B, only 46 rows fit on a page because it has a smaller printable area. So the first 46 rows will be printed on page 1, the 47th row on page 2 (not more, because there is a manual page break below row 47). The next 46 rows will be printed on page
    3, and the 94th and last row on page 4.
    Regards, Hans Vogelaar (http://www.eileenslounge.com)

  • Matrix exporting to excel with empty columns, with page break option of "Between each instance of a group" selected.

    I am working with Report Builder 3.0 I am using a matrix to produce grouped data on separate worksheets in excel.
    The select is:
    SELECT ID, Measurement, Value, [Date] FROM Measurements_Report. (please ignore the underscores they are just for formatting) 
    The contents of the Measurements_Report table:
    ID__Measurement__Value__[Date]
    1___Hot_________33_____10/1/2014
    2___Hot_________44_____10/2/2014
    3___Cold_________55_____10/2/2014
    The matrix contains a single row group based on the field "measurement". The Measurement group has the page break option of "Between each instance of a group" selected. 
    There is a column group based on the field "Date". 
    When this is matrix is exported to excel on the first worksheet (Hot) there are three columns as shown below:
    ID__10/1/2014____10/2/2014___10/2/1014
    1___33
    2_______________44
    Notice the last column doesn't have a value.
    On the second worksheet (Cold) there are also three columns as shown below:
    ID__10/1/2014___10/2/2014___10/2/1014
    3__________________________55
    This time notice there is only one row and only a value in the last column.
    I only want the columns with data for that worksheet to show up. How can I remove these empty/duplicate columns? Hopefully there is a simple fix. Thanks ahead of time.

    With the following contents of the Measurements_Report table:
    ID__Measurement__Value__[Date]
    1___Hot_________33______10/1/2014
    2___Hot_________43______10/1/2014
    2___Hot_________44______10/2/2014
    3___Cold________55______10/2/2014
    Returns on the first tab (Hot):
    ID__10/1/2014____10/1/2014____10/2/2014
    1___33
    2_________________43
    2______________________________44
    In the excel worksheet it contains a separate column for each date with a value. Thanks again!
    Why is the same date repeating on multiple columns? Do you've the time part also returned from database?
    Please Mark This As Answer if it solved your issue
    Please Mark This As Helpful if it helps to solve your issue
    Visakh
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • ALV: How do I suppress repeating values and page breaks on printed output?

    Good day, everyone!
    First, I've done a LOT of searching trying to find the answer to my question, but I'm not finding an answer.  If this has already been answered and you can point me to a URL, I would appreciate it.
    Here's my issue:  I have a rather simple ALV report.  It has the columns of Person ID, Personnel Number, For Period, In Period, and Amount.  I sort by Person ID and Personnel Number, and if the value repeats on the next line of the report, I want to suppress it (make it blank).
    I thought the answer was in the following code, where I set the GROUP attribute to asterisk:
      CLEAR sortcat_ln.
      sortcat_ln-spos      = '1'.
      sortcat_ln-fieldname = 'PERSONID_EXT'.
      sortcat_ln-up        = c_true.
      sortcat_ln-group     = '*'.
      APPEND sortcat_ln TO sortcat.
      CLEAR sortcat_ln.
      sortcat_ln-spos      = '2'.
      sortcat_ln-fieldname = 'PERNR'.
      sortcat_ln-up        = c_true.
      sortcat_ln-group     = '*'.
      APPEND sortcat_ln TO sortcat.
    It looks PERFECT on the screen -- the values are suppressed if they repeat, and everything appears together on one screen.  However, when I print the report, two things happen:  1) The values repeat on each row, even if they are the same, and 2) I get a page break after each Person ID / Personnel Number combination.
    I now realize that I can't use the GROUP attribute.  Is there some other way in ALV to blank these repeating values and keep all the rows together on one page, rather than page breaking after each value change?
    Thanks!
    Dave

    Hi
    Same requirement i had before, when i try to print preview. the output of the grid display is in grouping is ok, but when i print preview or print it doesnt cater the grouping and page breaks, so what i did i modify the internal table use in alv , after hitting the print preview/print with the format desired by the user. you can do that in user-command. see code below
    FORM user_command USING r_ucomm TYPE syucomm
                            rs_selfield TYPE slis_selfield.
      DATA lt_sort TYPE lvc_t_sort.
      CASE r_ucomm.
        WHEN '&RNT_PREV' OR '&RNT'.
          t_final_x[] = t_final[].
          PERFORM clear_redundant.
          PERFORM set_sort_criteria USING lt_sort.
        WHEN '&F03' OR '&PRINT_BACK_PREVIEW'.
          t_final[] = t_final_x[].
        WHEN OTHERS.
      ENDCASE.
    ENDFORM.                    "user_command
    hope it helps

  • Page-break in alv background job for alv output variant not coming correctl

    Hi,
    I have created an ALV grid report. When i run the report in background i get the output with correct page-break on FIELD1. Now when i run the report in background with an "ALV output variant" (its the ALV variant that controls the fields display in the output; this is not the program variant), i do not get the page-break on FIELD1.  I have already build the sort criteria and using:
    gs_sort-group = '* '.     "New-Page
    Please let me know what could be reason for not getting the page-break in background when i am using the alv output variant and how do i correct this problem.
    Regards,
    Rakesh

    Hello Everyone,
    I have solved the problem. While running the program in background, we get the page-breaks when we use the below part of code in the sort catalogue with the condition that the program variant should not use any ALV layout variant.
    gs_sort-group = '* '.     "New-Page
    If you are using the ALV layout variant in the program variant then we can check the ROWPOS, COLPOS, and NO_OUT for that ALV layout variant and pass them along in the fieldcatalog table. You should be careful with not to pass the layout variant in the DISVARIANT. You can notice that i have cleared it and simply passing the program name into that.
    *C-- Process separately for jobs running in Background. Actually
    *C-- sortcat-group solves the problem only in Foreground. In background
    *C-- when ALV layout variant is not selected then it works otherwise it
    *C-- fails. So for background jobs we are reading the fieldcat and then
    *C-- passing the same in the display FM.
      IF sy-batch = 'X'.
        CALL FUNCTION 'REUSE_ALV_VARIANT_SELECT'
          EXPORTING
           i_dialog                  = ' '
           i_user_specific           = ' '
           i_default                 = ' '
    *   I_TABNAME_HEADER          =
    *   I_TABNAME_ITEM            =
            it_default_fieldcat       = gt_fieldcat
            i_layout                  = gs_layout
    *   I_BYPASSING_BUFFER        =
    *   I_BUFFER_ACTIVE           =
         IMPORTING
    *   E_EXIT                    =
           et_fieldcat               = lt_fieldcat
    *     et_sort                   = gt_sort[]
    *   ET_FILTER                 =
    *     es_layout                 = gs_layout
         CHANGING
           cs_variant                = gs_disvariant
         EXCEPTIONS
           wrong_input               = 1
           fc_not_complete           = 2
           not_found                 = 3
           program_error             = 4
           OTHERS                    = 5
        IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
        CLEAR gs_fieldcat.
        LOOP AT gt_fieldcat INTO gs_fieldcat.
    *C-- Transfer all position changes to gt_fieldcat from lt_fieldcat
          CLEAR ls_fieldcat.
          READ TABLE lt_fieldcat
                INTO ls_fieldcat
                WITH KEY fieldname = gs_fieldcat-fieldname.
          IF sy-subrc = 0.
            gs_fieldcat-row_pos = ls_fieldcat-row_pos.
            gs_fieldcat-col_pos = ls_fieldcat-col_pos.
            gs_fieldcat-no_out = ls_fieldcat-no_out.
            MODIFY gt_fieldcat FROM gs_fieldcat INDEX sy-tabix.
            CLEAR gs_fieldcat.
          ENDIF.
        ENDLOOP.
    *C-- Clear the disvariant for the background job as it contains the ALV
    *C-- layout varinat
        CLEAR gs_disvariant.
        gs_disvariant-report = 'ZGPPMP0001'.
    Then pass gt_fieldcat to 'REUSE_ALV_GRID_DISPLAY'.
    The reason i'm doing it this way is that when we pass the layout variant name, the contents in gt_fieldcat were getting modified.
    One more thing i'd like to point out is that that, i tried to delete the fields with no_out = 'x'. Now when i ran the program in background with all the fields in sort catalog (suppose there are 2 fields field1 and field2) also in fieldcatalog it ran fine. In the next run in background i removed one of the fields in sort catalog from the fieldcatalog (delete the fields with no_out = 'x') and i got dump. Basically i had hidden field1 and so the code which was deleting fields with no_out = 'x' deleted this field from gt_fieldcat. So basically we should not delete fields with no_out = 'x'.
    I was getting ABAP runtime errors    MESSAGE_TYPE_X in the following part of the standard code.
    000310     LOOP AT CT_SORT INTO LS_SORT.
    000320
    000330       READ TABLE IT_FIELDCAT ASSIGNING <LS_FIELDCAT>
    000340            WITH KEY FIELDNAME = LS_SORT-FIELDNAME BINARY SEARCH.
    000350       IF SY-SUBRC NE 0.
         >         MESSAGE X000(0K).
    000370       ENDIF.
    000380
    000390       LS_SORT-SELTEXT = <LS_FIELDCAT>-SELTEXT.
    i have just mentioned this part because when i checked the forum many people were getting such errors "MESSAGE_TYPE_X". This could also be one of the reasons.

  • How to create a page break in PDF output

    Hi there
    Does anyone know how to create a page break in the PDF output when using the EXPORT TO PDF command?
    I can create a page break using the page-break-after/before HTML stylesheet command, but this is not "interpreted" when the PDF is generated, and I am required to print each table in my web template on a new page.
    Please ... been searching for ages for a solution to this and can't find anything.
    Cheers,
    Andrew

    Try posting in the iWorks forum.
    https://discussions.apple.com/community/app_store/iwork_for_ios

  • How can i know about the page breaks that occur in excel sheet during report gen

    Hello,
    I am trying to generate an Excel report with a large number of columns. and i am facing the problem of some of the columns not fitting into the page due to the page break. as a result, these columns are being printed at the end of the report. I would like to add the Row and Column headers to the remaining of the columns so that it is easy to recognise as to which table they belong to. i would like to know if there is any method to find out when the page break occurs in the excel sheet, along with the last printed column number, so that it would be easy for me to add the Row and Column headers before the next row/column is printed.
    Thank You
    Regards
    Tweetz.

    Hi Tweetz,
    I have tried to find a way to do what you are asking, but have been unsuccessful.  However, you can control where the page breaks occur by using the "New Report Page.vi".  You can call this VI after appending the table to the report, and specify the cell where you wish to insert a new page break (using the "position" or "name" elements of the "MS office parameters" input).  If you know the page size and you specify the column widths, you should be able to pick reasonable places to start a new page.
    I hope that helps!
    Devin K
    Systems Engineering - RTT & HIL

  • Handling page breaks in Crystal Reports XI when exporting to Excel

    We generate reports in Crystal Reports and programmatically export them to Excel for our end users, so the user receives both an .rpt and .xls version.  We are upgrading from Crystal 8.5 to Crystal XI and have found with some of our reports that the page breaks in Excel are different in Crystal XI than in 8.5.  The first page will fill to the end and then the next page will contain a few lines of data, the next will be full and the next will contains a few lines.  Viewing the Excel page breaks, there are soft breaks before the short pages and hard breaks before the long pages.  It's as if there is too much data defined for each page so it spills onto the next page before creating another hard page break.  In Crystal 8.5, the paging was continuous as expected.  Is there any way to fix this in Crystal XI?

    Please note, this forum is dedicated to topics related to legacy SDKs, including the Report Designer Component (RDC), OCX, VCL, and Crystal Reports Print Engine (CRPE).
    As the issue you are encountering is in the CR designer, please post your query to the Crystal Reports Design forum at:
    SAP Crystal Reports
    I'd also suggest adding more detail to your query; version of Crystal Reports used, is this an upgrade issue, new report issue, etc., etc.
    Thank you for your understanding,
    Ludek

  • Export to Excel via web query (page breaks on every column?)

    The problem that I'm having is when a query is sent out via the reporting agent or whenever I export a web query to excel there are page breaks put on every column of the query. This becomes quite cumbersome whenever an end user or myself wants to print out a query.
    I have already transported the packages included in the  "How to Enhance Web Printing" and tested much of the functionality in BWD with no success.
    Can anyone shed some light on how to adjust the page breaks or format when exporting a web query to excel or when sending a query out via the reporting agent?
    Thanks,
    Chad
    BW Version 3.5  Support Package 18

    The problem that I'm having is when a query is sent out via the reporting agent or whenever I export a web query to excel there are page breaks put on every column of the query. This becomes quite cumbersome whenever an end user or myself wants to print out a query.
    I have already transported the packages included in the  "How to Enhance Web Printing" and tested much of the functionality in BWD with no success.
    Can anyone shed some light on how to adjust the page breaks or format when exporting a web query to excel or when sending a query out via the reporting agent?
    Thanks,
    Chad
    BW Version 3.5  Support Package 18

  • What page break output options are there?

    So I've confirmed that Acrobat XI Pro will allow me to take a 1000 invoice PDF and spit it every set number of pages (as well as other page break options) but what I don't know is how the output options work.
    When Acrobat XI Pro is doing the page breaks, would it be able to find the invoice number from each invoice and assign that as the new file name? Is there a place where I can read up more about the output file naming options?

    I know I can extract pages from a pdf document. What I'm trying to do is divide a 1000 invoice PDF into it's individual PDFs without having to manualy extract and rename each invoice one at a time.
    I've already confirmed the capacity to divide the entire document along various page break options (like every 3 pages) but what I don't know is the naming options. Is there a way to have it select the invoice from each particular page header/section and have it use that when saving/exporting each set of pages?

Maybe you are looking for

  • I forgot my Mac admin Password is, How can I reset it.

    I forgot my Mac admin Password is, How can I reset it. My Mac OSX version is 10.7.5

  • New IMAC's

    Does anyone know if the new IMAC's are using SATA 2 hard drives. The specs otherwise look really good on these new machines.

  • Create new iTunes Library

    My music is on an external HD, is there any way to create a Library from the HD to my laptop without moving all the music over. I just need to create a new Library on the laptop and keep the music on the external HD. Can anyone help me with this prob

  • How to manage session tracking in jsp

    how to track user account upto when he log out from the application. and tell me how to develop secure page.

  • Client Certificate Authentication not working in OSB 11g

    Hi All, I am currently having an issue with getting a 2 way SSL handshake to work in a production environment. We have the set up working and fully functional in a Test environment, however when we have deployed the code and made the same config chan