How to avoid a blank page at end of the page?

Hi Experts,
I have created a smartform where i need to display the line items based on the customer data.
I have created a command at the end of the loop. For every new customer it has to go to new page. After the completion of the report i'm getting a blank page at the end.
If i take a single customer or multiple customer, I'm getting a blank page at the end. I need to avoid this.
Please let me know the procedure to avoid it.
Thanks and Regards,
Abdur Rafique

Hi,
Try this logic
In the "Initialization" tab of global definitions
DESCRIBE TABLE IT_TAB LINES W_COUNT.
Here IT_TAB contains all the customers
While looping IT_TAB count the records into W_COUNT_CURRENT " Current record count
In the COMMAND give the condition
W_COUNT_CURRENT  <> W_COUNT (Go to new page as long as current customer is not the last customer)
For the last customer both variable will be equal and there will not be a new page.
Note that the COMMAND must be at the end of the LOOP for this logic to work
Regards

Similar Messages

  • How to find end of the Page in Crystal ? or I need to add one Horizontal line at the end of the page.--- URGENT HELP NEEDED

    Hi friends,
    I need to add one horizontal line  for the detail section at the end of the page.
    I tried to put that line in page footer and i tried with Box also. Both are not properly working. Some space problem is coming.
    Is there any feature to find end of the Page.
    I want report format like this.
    set id  |  set name |  date  Name
      1         x           dddd   vijay
                            dddd   sarathi
                            dddd    reddy
    (End of the page)
    Thanks in advance...
    vijay.

    Do you know how many detail records are showing up per page?
    If you do - you could create a Details B section that is suppressed except for on Record N (where N is a counter, and N is the last Detail record that will show up on a page).
    The Page footer is indeed built so that it will be rendered at the bottom of your physical page of paper.

  • How to get to the end of the page

    Hi,
    When we print invoices it will print range of invoices.
    for each invoice(invoice can be more than one page) at the end of the page we want to show the total amount. how can i go to end of the page?

    This mya help you
    http://blogs.oracle.com/xmlpublisher/2007/03/30/
    Thanks
    Rahul

  • Field is moved at the end of the page.....

    When i run the report in report builder the first page is displaying the fileds and data perfectly but in next page the fields are moved, first field is moved at the end of the page i.e the second page have only the first field and the rest of the field is moved to third page.
    How to resolve this?
    Thanks and regards,
    Skud

    Kiran,
    Draw a line in page footer with 1 pix or 2 pix whatever you want.
    Regards,
    Senthil Maruthappan.
    Team work never fails

  • Libreoffice right-click context menu going beyond the end of the page

    having a rather annoying issue with libreoffice 3.x (started with 3.5.x and still in 3.6.1): The right-click context menu goes over the screen borders when I am at the end of the page (instead of opening in the other direction so that all options are visible). I am running arch 64bit KDE 4.9.1. But I think in this case that's not relevant because we have a second computer, the same one basically with an extremely similar setup and there it works just fine. I did uninstall libreoffice, got rid of the .cache in the home folder, then reinstalled but the problem persists.
    Anyone know how to fix this or hints on how to approach the problem?
    Thx!
    Captn

    Update:
    the problem was fixed with an update to KDE 4.9.2 but shortly after for some reason, it reappeared. As previously mentioned, I tried uninstalling libreoffice entirely, including the libreoffice .config folder. Here is what it looks like (second screen shot):
    I noticed that this also happens with dolphin when I open it as root. Someone came across the same issue and fixed it?
    Help's greatly appreciated
    Captn
    Edit: libreoffice version 3.6.1
    Edit 2: Real Problem identified:
    I just wanted to update this thread should there be others that, at one point or another, run into a similar problem. I won't be marking the thread as solved since I did not actually solve the problem (yet). However, I did identify the cause and therefore know how to circumvent it.
    Since I didn't elaborate much on the specs / technical side, I have an HP pavilion with an Nvidia card and I am using the propretiary drivers. I set up a separate X screen for my TV and there is where the problem lies. It has worked for months but since recently this setup causes some weird graphical behavior (as in the above pictures) which can be annoying. If using the twinview setup or no external monitor, everything works normal. My guess is that plasma-desktop and the separate x screen don't work very well together for a reason unknown to me for the time being.
    The problem itself can be annoying if you rely on libreoffice to work so I hope this might help somebody should there be annyone running into a similar issue.
    Last edited by capthilts (2012-10-13 06:02:32)

  • Pages 5.5.1: When opening a document created with Pages '09 (Version 4.0) with Pages 5.5.1 the page header and the page footer are deleted. How can this be prevented? Or is this a bug in Pages 5.5.1?

    Pages 5.5.1: When opening a document created with Pages '09 (Version 4.0) with Pages 5.5.1 the page header and the page footer are deleted. How can this be prevented? Or is this a bug in Pages 5.5.1?

    Same problem here (no graphics in header or footer) and the problem has been reported months ago. It is another bug/feature lost when Apple moves from 09 to the iCloud-compatible versions.  Complain to Apple, you may have better chance than me and they may finally listen to their users....

  • How to show a blank or clear cell for the first entry in a numbers pop-up menu on a mac. I can do it on the iPad but not on the mac. Thank you.

    Can you please advise how to show a blank or clear cell as the first option in a pop -up menu on a Mac, I can see how on an IPad but but not on the Mac.
    Thank you.

    Hi grm,
    Yvan Koenig wrote an Applescript to create an popup menu with a true blank menu item. You can find it in Yvan's Box Account public area. Click on for_iWork'09, then for-numbers'09, then look for and download popup_with_nil.zip. Unzip the file, then open it with ScriptEditor.
    Yvan's scripts include instructions (in French and English) on how and where to save the script and how to use it. I haven't read this one recently, so I can't give you any further details on it.
    Regards,
    Barry

  • My macbook keeps asking me to use an administrator and their password to continue but nobody seems to know who is the administrator for this computer...does anyone know how to avoid this this or figure out who the administrator is?

    My macbook keeps asking me to use an administrator and their password to continue but nobody seems to know who is the administrator for this computer...does anyone know how to avoid this this or figure out who the administrator is?

    Lynne130,
    to figure out which users have administrative privileges, open the Users & Groups pane of System Preferences; each user other than the Guest User will be shown with a description of either “Admin” or “Standard”. It’s typical for the first user created on a Mac to be an administrative user.

  • Footer not coming end of the page in BI Publisher

    Hi All,
    I am developing a report in which the footer output is not coming end of the page after the tabular output per group Completion.
    There is a tabular group and free form group which output coming accourding to number of lines in tabular output but after the tabular output there is one
    more group in the form of tabular which show the details sum of the first tabular output which i have to print each of the group end and end of that page but
    when i am trying to get output it coming just after the first tabular output.
    Please advice...
    Regards,
    Sushant

    you have to use the word footer and header, and put these place-holders there
    better send me the template and xml, { i guess.}i know what you are trying

  • I'm creating a book format in Pages. I want the page count to be 1 on the first page of chapter one after the title page, table of contents, etc.. How do I do that?

    I'm creating a book format in Pages. I want the page count to be 1 on the first page of chapter one after the title page, table of contents, etc.. How do I do that?

    That is not the issue.
    Pages/OSX does not save files with crop marks and bleeds.
    It also by default saves transparency, which is involved in a lot of Pages' better features, at a rubbishy 72 dpi resolution.
    It also makes it extremely difficult to maintain mono-color like black only text, has no spot color and makes color management opaque.
    It really is only meant for amateur publishing and printing to your desktop printer.
    A commercial printer who is willing to use and print from Pages may have better results but at the cost of considerable micro-management which defeats the point of this "cheap" solution.
    Peter

  • BSP adds CR/LF marker at the end of the page even with compression options

    Hello!
    I'm creating normal BSP Page with Flow Logic and setting the contents myself:
    <%@page language="abap" %><%
      response->set_cdata( '-=-' ).
    %>
    The problem is that WebAS somehow always adds a CR/LF (new line) marker at the end of the page (even if I set compression option to "Remove leading and trailing spaces"). I also tried to set different mime-types.
    On the other side there is a BSP Application it00 (described here http://help.sap.com/saphelp_nw04/helpdata/en/eb/8c683c8de8a969e10000000a114084/content.htm ) that shows the uploaded file right.
    So I was trying to include that 'solution' setting OnInputProcessing event to this
    *         set response data to be the file content
              runtime->server->response->set_cdata( '!=!' ).
    *         set the mime-type and file size in the response
              runtime->server->response->set_header_field(
                name  = 'Content-Type'
                value = 'text/plain' ).
              runtime->server->response->set_header_field(
                name  = 'Content-Length'
                value = '3' ).
              navigation->response_complete( ).
    But nothing happens at all.
    Please, help me getting rid of these two annoying bytes ('CR/LF') at the end of page.

    Thank you, Cornelia!
    It works now.
    The following code is "must have"
    navigation->response_complete( ).

  • I have Windows 7, with Office 10, Acrobat Adobe 9 Std. I used to be able to combine pdf files into one pdf until I converted to Office 10. Now when I combine 3 pdf files into one pdf, I am missing the middle pdf. Pages are there but the pages are blank. A

    I have Windows 7, with Office 10, Acrobat Adobe 9 Std. I used to be able to combine pdf files into one pdf until I converted to Office 10. Now when I combine 3 pdf files into one pdf, I am missing the middle pdf. Pages are there but the pages are blank. Any Idea???

    [discussion moved to Creating, Editing & Exporting PDFs forum]

  • When reading my book on iBooks, I encounter duplicate pages for many pages then it skips the pages that should be there so I am missing large parts to chapters, is this a "bug" in the book or app? How can this be fixed?

    When reading my book on iBooks, I encounter duplicate pages for many pages then it skips the pages that should be there so I am missing large parts to chapters, is this a "bug" in the book or app? How can this be fixed?

    Does the same thing happen on any other books that you have in the app ? If not then it's probably just that one book, in which can you could try deleting the book and re-downloading it - if it re-downloads in the same state then try the 'report a problem' from your purchase history :http://support.apple.com/kb/HT1933

  • How to avoid Java Studio Creator 2 to use the regional settings?

    How to avoid Java Studio Creator 2 to use the regional settings to select the language that will be used to display the IDE in a certain language?
    My country settings are set to Belgium (French) but I want to have my IDE running in English.
    What should I change in the defautl properties of JSC2 to avoid this behaviour?
    Please, don't tell me to change my regional settings, it is not a valid answer :-)
    Best regards,
    Abdelkrim BOUJRAF

    just modify creator.conf in directory etc/
    add: -J-Duser.language=en
    in the netbeans_default_options line:
    like this:
    netbeans_default_options="-J-Duser.language=en -J-Xms96m -J-Xmx384m -J-XX:PermSize=32m -J-XX:MaxPermSize=128m -J-XX:+CMSClassUnloadingEnabled -J-XX:+CMSPermGenSweepingEnabled -J-Xverify:none -J-Dnetbeans.javacore.background_scanning=true -J-Dsunappsrvint.home=\"C:\Program Files\Sun\Creator2\SunAppServer8\""

  • Safari browser connect me with the page I want, but the page itself is not active - how to unblock it?

    Safari browser connect me with the page I want, but the page itself is not active - how to unblock it?

    Try any or all of these standard fixes.
    Go to Settings>Safari>Clear History, Cookies and Data or Cache. Restart the iPad. Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.
    Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.
    Reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.
    Quit Safari. Go to the home screen first by tapping the home button. Quit/close open apps by double tapping the home button and the task bar will appear with all of you recent/open apps displayed at the bottom. Tap and hold down on any app icon until it begins to wiggle. Tap the minus sign in the upper left corner to close the apps. Restart the iPad. Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.

Maybe you are looking for