New-page  issue in OOABAP Report

Hi,
I'm displaying a list in a grid using OOABAP Global classes.
Could anyone please  post how to handle the New-page event in this case(In case of OOABAP Reports).

Read first this documentation [ALV Grid Control (BC-SRV-ALE)|http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVALV/BCSRVALV.pdf] and then elaborate a little more on your actual requirement.
Also perform some [search at sdn|https://www.sdn.sap.com/irj/scn/advancedsearch?cat=sdn_all&query=%22newPAGE%22OO+ALV&adv=false&sortby=cm_rnd_rankvalue#] and please don't post too many threads.
Regards

Similar Messages

  • Empty page issue in Oracle Reports!

    Hi All,
    I am facing an empty page issue between header and cover trailer when Main section is empty.
    In a report there are two forms Form-1 (Portrait size) , Form-2 (Landscape size)...
    Based on run time parameter we optionally print form-1 , form-2 or both.
    ie if run time parameter is 1 then only form 1
    if it is 2 then only form - 2
    if it is 3 then both
    As Form-1 is portrait size and Form-2 is Landscape size,
    At present in Report Layout, Form-1 is designed in Cover page Header Section
    and Form-2 is designed in Main section of report.
    So When the report is run with PRINT_PATTERN='2', Main section will be empty.
    An empty page issue appears in report for form-2.
    Is there anyway to avoid EMPTY PAGE issue between header and trailer page,
    based on runtime parameter value if Main section is empty.
    Thanks in advance.

    Hi vdsk,
    The issue I posted is not about the rdf or in concurrent program. The problem I've encountered is in the tally printer itself. So what I did was to adjust the paper size settings in the printer.
    Thanks,
    Regards,
    Diane

  • Add new page issue with spreads in indesign extension app

    Hi All,
    i am developing an adobe indesign extension application using adobe flex 3.4 sdk.
    the application purpose is to publish the document to remote server.
    i have done all the options well.
    now i am facing little problems to polish it.
    the problem are,
    1) Adding new page
       Let us say a particular indesign document (portrait) contains 6 pages.
       Page 1, 2 are in spread
       Page 3
       Page 4
       Page 5, 6 are in spread
       Now i am going to add a new page via indesign extension.
       when i try to add a new page. it will add into the last spread page. (Page 5, 6)
       Finaly it became Page 5, 6 and 7 in spread.
       What i want is.
       After adding the new page the document must have the following structure.
       Page 1, 2 are in spread
       Page 3
       Page 4
       Page 5, 6 are in spread
       Page 7
       My code for adding new page is.
       var document:Document = app.activeDocument;
       document.pages.add();
       Please suggest me the way to add a new page (without spread)
    Thanks,
    Malaris

    Try the code as below
    var document:Document = app.activeDocument;
    document.spreads.add();
    But make sure that you use this code on a document that is capable of having the the page structure that you had mentioned, i.e it should be created by unchecking the "Facing Pages" options in the new document dialog. Else it will add a two page spread to the document.
    This should solve your problem.
    Manan Joshi
    - Efficient InDesign Solutions
    -MetaDesign Solutions
    http://metadesignsolutions.com/services/indesign-development.php

  • End-of-page in OOABAP Reports

    Hi,
    I'm displaying a list in a grid using OOABAP Global classes.
    1)Could anyone post how to handle the end-of-page events in this case.
    2) Also in this case I've to code for Interactive Reporting, So also please say how to handle this parallelly for the upcoming basic lists of the same report.
    <<don't post stupid questions>>
    Edited by: Vijay Babu Dudla on Nov 18, 2008 9:16 PM

    Why are opening separates thread on all issues which all are related to BASIC ALV concepts?
    At-New using ALV  Function Modules
    New-page  issue in OOABAP Report
    At New in OOABAP Report
    Continue with one thread and search in SCN there are many examples are there with code.

  • Regarding new-page

    Dear all,
    I have used new-page command in my report
    Every new material it will go to next-page..In my report foreground is working fine.
    If i execute in background new-page is not working.. it will come all material in the same page from spool request.
    ANY SOLUTION FOR SOLVE THE PROBLEM IN BACKGROUND
    Example CODING
    select-options : so_matnr for mara-matnr.
    select  matnr from mara into table it_mara where matnr in so_matnr.
    sort it_mara by matnr.
    loop at it_mara.
    new-page.
      write : /1 it_mara-matnr.
    endloop.
    Thaks.

    Hello Friend,
    To print a different pages in spool request you have to use NEW PAGE PRINT ON...
    Pleaes modify the code like below:
    DATA PARAMS LIKE PRI_PARAMS.
    DATA: DAYS(1)  TYPE N VALUE 2,
          COUNT(3) TYPE N VALUE 1,
          VALID    TYPE C.
    CALL FUNCTION 'GET_PRINT_PARAMETERS'
      EXPORTING DESTINATION           = 'LT50'
                COPIES                = COUNT
                LIST_NAME             = 'TEST'
                LIST_TEXT             = 'Test NEW-PAGE PRINT ON'
                IMMEDIATELY           = 'X'
                RELEASE               = 'X'
                NEW_LIST_ID           = 'X'
                EXPIRATION            = DAYS
                LINE_SIZE             = 79
                LINE_COUNT            = 23
                LAYOUT                = 'X_PAPER'
                SAP_COVER_PAGE        = 'X'
                RECEIVER              = 'SAP*'
                DEPARTMENT            = 'System'
                NO_DIALOG             = ' '
      IMPORTING OUT_PARAMETERS        = PARAMS
                VALID                 = VALID.
    IF VALID <> SPACE.
      NEW-PAGE PRINT ON PARAMETERS PARAMS NO DIALOG.
      WRITE / 'First line'.
    ENDIF.

  • Report Builder - Last page issue and Report Footer issue

    I am using ColdFusion 9 Report Builder, am new to this product and encountering 2 issues.
    Issue 1 - I have a field that I would like to print on the last page of my report.  How can I determine the last page?  I initially tried using a calculated field set to the 'highest' calc.Page_Number.  Then I could compare the current page to the last page in the 'Print When' property.  But calc.Page_Number can not be used in a definition of a calculated field.
    Issue 2 - Depending on the amount of report detail, sometimes my report footer prints alone, without a page header and page footer.  The report includes this page in the total number of pages.  For example, if it is a 2 page report, the page header on page 1 will display Page 1 of 2.  Then the only data on Page 2 is the Report Footer.  No page header or page footer prints. 
    Any assistance on these issues would be most appreciated.  To date, using the Report Builder has not been easy.

    To issue 1: The report contains a report band called report footer. thsi is always at the last page. The report footer band initially is collapsed, so you have to expand it by dragging the last band divider.
    To issue 2: I guess this is a page break calculating error when detail data reaches really near the page footer area.
    Try some experiments with different setting of the following properties/issues:
    - in elements, e.g. calculating fields in the bands between report detail and page footer: In Properties / Print Control / Printing Options: Activate the option "Remove line when blank". This will remove the whole report band area if this field is blank. May save some empty space.
    - try to remove unused empty space between detail rows.
    - try to resize and reposition all detail fields so that they snap to the grid.
    Best regards

  • Crystal Report Group section in new page

    Hi all,
    I have a program written in VB.Net 2005 which display a report. In this report, I have a group by Item type ascending.
    When I run the program and load the report, it display the data correctly.
    When I move my mouse cursor on Group Section Hearder on the report, it will change to Magnify icon.
    When I double click on that Group title which is "Item Type" in my report, it will load a new page beside "Main Report" in Crystal tool bar.
    Problem is it didn't contain Report Header/Footer or Page Header/Footer.
    I like this feature but it only display the group section is not enough for me.
    Why I like it is because my report will have different Item Type. Each type can list up to more than 1 page.
    I want to print the report by Item Type. That means Item A may be total 2 pages, Item B may be total 6 pages.
    All I need to do is load the page like I mention above, it will only contain that Item Type and click on Print to print out particular Item type.
    Another issue is If i supress this Group Section in crystal report during design, when I run the program I can't double click to open up new page beside Main report.
    Any idea and solution for my case????
    Thanks.
    Edited by: scsfdev on Mar 4, 2010 9:34 AM

    Your report will need re-designing. What you are seeing is an expected behavior. Consider redesigning your report - possibly using subreports.
    If i supress this Group Section in crystal report during design, when I run the program I can't double click
    - again, an expected behavior. You suppressed the GroupSection. E.g.; you made it invisible / non functional / not needed by suppressing it...
    Ludek

  • To view reports in new page for each cutomer using Report Designer

    HI all
    I have a requirement to view the data (key figures) for each customer in a new page.
    I have created the same using the Report Designer tool.
    Now there is setting for this Group Header 'Customer' i have selected the option 'repeat group header on each page'
    still the query when generated, gives fine results for certain cases but not for all.
    like it will show the each customers in a fresh page for some pages , then in midst there would some 2-3 customers in the same page.
    There is no relation between these customers , they are same as the other customers, no difference at all.then i am not able to figure out the reason why it is behaving so odd.
    Thanks
    Ramesh

    Ramesh,
    right now there really is no way to solve what you are looking for.  There partial solutions, but you will not be able to force a page break in a dynamic report.
    Here is what I have faced, and what I have come up with so far:
    I have a series of reports that have the same column heading, but spread over 5 pages in a fixed structure.  I need to be able to re-use the header and the general report design with 6 reports.  Here is my solution:
    1. Create an outline of the report.  I did all the formatting by creating a report section for each page.  You can force page breaks between the pages.  Upgrade to patch 1502 (came out last week) and you will see some new functionality (such as fit to page, page numbers, etc).
    2. Insert all you page breaks and do all the formatting.
    3. Insert an infoprovider.  Once in, you can just drag and drop the key figure cells into your formatted report.
    4. Create additional modification for formatting as needed.
    This fixes my problem (for now), but I had to do a lot of work to come up with this.  Also, the latest patch (1501 and 1502) has created an issue for me - there is a null exception when I try to use a variable or a filter value in the report body - I can't save the report.  I have an OSS message out, but our BASIS guys are going to be taking the lead on troubleshooting this.
    The reason that you are seeing some customers on the new pages is probably because of "how the cookie falls" - they just fit that way.
    I am trying to be positive and overcome the limitations that are in place right now. If my technical issue is solved, I would recommend upgrading to the new patch (1403 is the latest stable one in my opinion)
    good luck
    Pavel

  • PDF Merge - merged report ages are not continuous but starting in new page.

    Hi,
    we tried using - FOUtility.mergeFOs(java.io.Reader[] foReaders, java.util.Properties prop) to merge and create a single PDF file but its not working as expected.
    Issue:
    The space of output pdf page 1 is discarded and the second merged file always starting in new page.
    Input:
    Report1 having 1 page
    Report2 having 2 pages - (another description )
    Expected Output PDF:
    Page 1 ( report1) , Page 1( report 2's page1 and continues ) to page 2(report 2)
    Actual Output PDF :
    Page 1 ( report 1), Page 2( report 2's page1), Page 3 ( report 2's page 2)
    Issue:
    The space of output pdf page 1 is discarded and the second merged file always starting in new page.
    Anyone faced this issue before, if yes, how did you solve it ?
    Thanks,
    Ayaps

    The output is a chm file. I am compiling as MS HTML Help
    under RoboHelp x5.
    After doing a little more trail work, I have noticed some
    other "strange" happenings. I can get the porjects to merge, but
    from the TOC all of the articles open in a new window. From the
    index, however, they all open as they should--in the topic frame
    from the main window. Not sure why that is.
    For a brief synopsis, here is what I have at this point:
    A "master" project file that includes:
    One new project for a section that is
    complete.
    One project from the existing documentation.
    I am not sure if I need to have the window definitions for
    each project would impact this or not.
    Through trial and error, I have narrowed down the problem to
    the original documentation project. If I remove it from the TOC and
    generate the project, the new topics display as they should.
    I will keep testing and see what I came come up with. If you
    have any idea as to what I might change in the original
    documentation to get it to work just let me know.
    Thanks for all your help!
    Aaron

  • Report Designer - New Page

    Hi,
    We have created a report designer report that uses a Cost Center hierarchy. We want to display each node of the hierarchy on a new page. There is an option to select Page Break Before/After for the hierarchy header.
    If we select Page Break Before, the issue with this is that the first page of the report displays as blank page and then it works fine. Is there any way to get the page breaks without the blank page?
    Thanks
    Hemant

    Hi Erik,
    In the Report Structure tab, drill down to your desired chracteristic. eg you will have Group level 0 > Group level 1: Company code > Group header 1 > 0COMP_CODE. Position on the characteristic and in the properties you will see a section "Rowpattern" where you can select page break before or after.
    Hope this answers your question,
    Pieter

  • Passing parameters from report to new page with portlets.

    Hello everyone:
    I have a plsql report portlet on a page that has a column that I would like to pass as a parameter to a new page to populate more portlets. I tried setting up a link but I can't seem to get the value in the column to pass as the parameter. I am a novice when it comes to developing portlets.
    Thanks in advance!

    The link is the way to go (at first). You have to create the link first. Then assign this link to the column that you want to the hyperlink to appear on - this assignment happens on the 2nd tab of the report (Column formatting) by choosing the newly created link in the link dropdown. After you have assigned the link to the column you must edit the assigned link where you can then choose the value that must be passed across.
    The link approach works fine, but there are limitations. I just do all the links in code these days - so in the report select statement I have <a href....>. This gives more flexibility. Ultimately there is the issue of passing parameters to forms: using links (or hand coded) you can pass parameters to reports (if param is also defined as input param with ":") and also forms, but all you can do with a form is to pass param that can be used to uniqeuly identify one record which is the one that will show in the form. Anything else (e.g. pass a param to prepopulate a field on the form) needs an even more complicated solution (:).
    Cheers.
    Anton.

  • Open Jasper Report in new page using servlet

    Guys,
    Looks very simple but i am having problem making this process work. I am using 11.1.1.4
    This is my use case:
    - From a employee page, user clicks on a menu item to open report for current employee. I need to pass appropriate report parameters to servlet and open report into new page.
    I can successfully call servlet using commandmenuitem and set request parameters and call servlet from backing bean.... but that doesn't open report in a new page.... any way i can do this?
    Another option i tried was that using gomenuitem and setting target=blank but in that case i need to pass the parameter using servlet url which i like to avoid.(in case i need to pass many parameters in future) (also values will be set on page so i need to generate url when then click the menuitem...... so there are some hoops and loops i need to go through) I don't know a way to pass the request parameter using backing bean to servlet... i don't think it is possible.
    Those are the two approaches i tried.
    If you have any better approach...I would appreciate if you can let me know. (i have searched on internet for two days now.... for the solution)
    -R
    Edited by: polo on Dec 13, 2011 7:22 AM

    Hi,
    Hope following will useful
    http://sameh-nassar.blogspot.com/2009/10/using-jasper-reports-with-jdeveloper.html
    http://www.gebs.ro/blog/oracle/jasper-reports-in-adf/

  • Fbl5n report showing pritn output for a new customer on a new page

    Hello  All,
    In fbl5n when i execute for all the customers and give print command its printing every new customer on a new page but i want to print the data continously.
    Pls let me knw how to avoid this?
    Sunny

    Hi Sunny,
    you're case is quite common, because SAP displays the customer data in a standard layout, putting a page break after every customer and company code.
    In order to avoid this, you may change the grouping criteria. For that,
    1. be sure that you have not clicked on the header of any column in the list
    2. click on button "sort ascending"
    3. here you'll see that fields "company code" and "account" have an asterisk on column NG (new group). This means that, for every change in these fields, SAP will insert a page break
    4. remove these asterisks
    5. (optional) save this layout for further launchings of the report
    I hope this helps. Best regards,
    Alvaro

  • Need help on filtering out one record from a report and open in new page

    Hi I am new and embarrassed to write in the forum asking silly questions. Thing is I am learning all from scratch without help from anyone. I have created a database (have previous knowledge only from Access) and have managed to create a beautiful report from a search filter. This report lines up several records matching what I needed. Now, I want to make the whole report with hyperlinks to a detailed page on each of the records in the report. I have tried using the feature where one can make one column hyperlinked and redirect to a new page, where I am getting all the records again - instead of only getting the record I am clicking on. I have looked and looked in the forums without finding solution and I have tested and tried various methods without luck. I am suspecting that I need some sort of knowledge on how to write a select query with where conditions that can apply to filtering out a record from one report to get another detailed on only one object (i.e. record). :/ Stupid or what?

    Hrefna.
    What you need to look into is two things:
    1) The link you defined, needs to set additional attributes for the target page. In the "Column Link" box, you have set the link to "Page in this Application" and followed by the page number (let's say, Page 10). Below that, you should set an Item to an item on you target page (let's call that P10_PRODUCT_ID). This item should be the primary key of your detail table (on the targe page). You can select this item from the popup list. The Value of the item should be picked from a popup list as well, being the value from the record you clicked on. This should then transfer your selected item to your page. The URL will then have something like P10_PRODUCT_ID:5 at the end.
    2) On the target page, 10, you must change the query slightly, so that it adds a WHERE clause:
    WHERE PRODUCT_ID = :P10_PRODUCT_ID
    Now, you should be set.
    Hope this helps.
    Borkur

  • Issue in New Page Display in a SAP Script

    Hi All
             I have applied a line count logic in my SAP script, such that if lines are more than 32, Sub Total is displayed on this page(Sub Total needs 4 lines to display) and from next page,another heading starts. (Total around 39 lines can be displayed  in one page)
    Sub Total Text contains 2 lines of text, and 2 blank lines after it (Total 4 lines)
    Now, if number of lines is around 36, Sub Total, doesnt fully display in this page and the 2 blank lines gets passed to the next page. And I am also firing a new page from my code. As a result, the 2nd page comes fully blank and the data is now being displayed at the 3rd page. How can I prevent the 2nd page from coming blank ??
    I am using Function Module 'CONTROL_FORM' (or WRITE_FORM) to fire a new page.
    I do not want to apply a line count logic for this as this wont be fool proof !!
    I hope I have made the issue clear. Kindly help !!
    Thanks
    KP

    Hi,
    otherwise u can do one thing: U call the PERFORM in the SCRIPT FORM passing the &PAGE&(Contains the current Page No) value to it. take a loal variable and pass the PAGE value to the local variable and check for every line whether both &PAGE& & local varaiable are same, if not then set the FLAG value to 'X' (it means the new page has triggered).
    Eg:
    In Script:
    /:  lv_tabix = lv_tabix + 1.
    /: PERFORM new_page_flag IN PROGRAM ZXXXXX
    /: USING &PAGE&
    /: USING &lv_tabix&
    /: CHANGING &FLAG&
    In ZXXXXX Program:
    FORM new_page_flag USING int_tab STRUCTURE itcsy
                                CHANING out_tab STRUCTURE itcsy.
    data : lv_page TYPE i,
             lv1_tabix TYPE i.
    READ TABLE int_tab WITH KEY name = 'LV_TABIX'.
    IF sy-subrc EQ '0'.
      lv1_tabix = int_tab-value.
      clear : int_tab.
    ENDIF.      
    IF lv1_tabix EQ '1'.
      lv_page = '1'.
    ENDIF.
    READ TABLE int_tab WITH KEY name = 'PAGE'.
    IF lv1_tabix GT '1'.
      IF lv_page NE  int_tab-value.
        READ TABLE out_tab WITH KEY name = 'FLAG'.
        IF sy-subrc EQ 0.
           out_tab-value = 'X'.
           MODIFY out_tab.
           clear : out_tab.
        ENDIF.
      ENDIF.
    ENDIF.
    IF sy-subrc EQ '0'.
      lv_page = int_tab-value.
    ENDIF.                          
    Hope it helps!!
    Rgds,
    Pavan

Maybe you are looking for

  • Can I run two 30 inch displays ???

    My Quad (Late 2005) has a GeForce 6600 256mb video card. Currently I am running one 30 inch. I have hooked up a second 20 without a problem. Can I run two 30 displays on the same card? Or do I need to add a second video card to the machine??

  • Query output doubt

    Hi all, I am running the following query. select rawtohex(a.member), nvl(b.status, 'null'), b.group#, b.bytes from v $logfile a, v$log b where a.group#=b.group#; Its output: RAWTOHEX(A.MEMBER) NVL(B.STATUS,'NU GROUP# BYTES *2F6462326565655F686F6D655F

  • HT201210 i need help restoring a locked ipod

    i need help restoring a locked ipod touch

  • Macbook pro won't install updates

    Little bit about my mac: Mac OS X. Version 10.6.8    I have 47GB available. I have tried updating my software, and it will only update the certain things that does not require the macbook to restart. If I try to update the software it will show the d

  • Bw migration - bo universes - reports

    hi, in the company where work is needed to migrate from SAP BW 3.5 to 7.02 . There are several Business Objects universes that rely on the InfoCube. I wanted to know if there is a way to keep the reports already created that rely on these universes.