Last page of report is missing data

.Net 2003 & crystal XI release I SP4.  My Ado.net dataset populates correctly and even the Group Tree shows the correct values.  However, the crystal viewer doesn't generate all of the expected detail lines on the last page of the report only.  Is this some kind of bug in the software?

Well, maybe a little more background would help.  I am populating a dataset through the use of a select command in the data adapter where I join together 2 tables and fill the dataset.  I can fill the dataset without error and all of the data is there and correct.  My crystal report is passed this resulting dataset and has been built off of this dataset.  However, crystal is missing some of the information.  Also, oddly enough if I drop down the group tree pane in the report viewer I can drill down through the information and it IS in fact there and correct but the rest of the main report does not render that information.  So, I guess I don't really understand why the schema would be incompatible in any way nor do I understand why it shows in the group tree pane but not the report.  Is this method not viable for crystal reports then?  Otherwise given that the information still shows in the group tree in crystal isn't this then a bug in the software?
Edited by: Neil Shimer on Oct 9, 2008 8:17 PM
Further update - Still having problems.  Tried your suggestion and there is some sort of mapping problem but it doesn't make any sense to me.  I even tried creating a new view on the database, created a new data adapter, generated a dataset from this, connected the crystal to that xsd, etc. and the exact same problem persists.
Edited by: Neil Shimer on Oct 9, 2008 11:32 PM

Similar Messages

  • No Data on Last Page of Report

    Hi - I have a 3 page report in Crystal Reports for Visual Studio 2005. It is being rendered via a VB .NET web page that is using the CrystalReportViewer that has the page navigation buttons. Quite often (but not all the time) when you click the navigation buttons to go to the last page it has the text objects for the page but not any of the data fields. The data is completely blank.
    Sometimes when you navigate back to the second page and then go to the third page the data appears. Or some customers click the Print button and then they can see the data.
    The report was working well on an old clunky web server and I believe the problem started when we switched to a new web server. Is the new web server rendering too fast for Crystal or something?
    Any ideas to help view data on page 3 all of the time?

    Hi, Wendy;
    That is pretty strange. Have you ensured that the new server has updated Video drivers? Have you installed the latest service pack for Crystal Reports for .NET 2005?
    https://smpdl.sap-ag.de/~sapidp/012002523100006007872008E/crvs05sp1.exe
    Regards,
    Jonathan

  • Footer required only on last page of report -template uses @section context

    I have created a template that uses a tag - <?for-each@section:G_DELIVERY_ID?>. This is causing the Header and Footer to reset for each new Delivery ID. The template also has a last page only footer which I have added on the second page of template using <?start@last-page-first:body?> tag.
    When the XML data has two Delivery IDs with one page data for each. This gives a two page output as expected.
    The user requirement is that the last page only footer information in the template (on page 2) should be printed only on the last Delivery ID i.e. only once for the
    report, that too on the last page of last Delivery ID. Currently the footer is printed on both pages of the report i.e. for bothe Delivery IDs. How can I achieve this?

    Amit,
    Did you find a solution to this issue.
    Please advice what you have done to fix the issue.
    Padma.

  • How to get footer only in last page of report

    anybody tell me
    1).how to get footer only in last page while we are displaying reports
        and header only in first page .
    2) how to create search help and how to use it .
    3) how to create lock objects and how can we use it

    Hi
    This posting has an example of using a splitter container:
    Changing width of a custom container dynamically
    This posting has a discussion about using TOP-OF-PAGE:
    Display Page numbers in ALV
    This posting has an example of using picture control:
    Insert picture in selection screen.
    This posting has an example of putting a picture on top of an ALV grid:
    Logo in OO ALV Grid
    The page footer is defined using the statement END-OF-PAGE.
    The processing block following END-OF-PAGE is processed only if you reserve lines for the footer in the LINE-COUNT option of the REPORT statement.
    <u><b>CREATION:</b></u>
    Go to SE11 Tcode
    select search help
    give the 'z' search help name and create
    select the selection method ur table name eg : 'mara'
    dialog module 'display value immediately'.
    add the field whatever u want and lpos = 1 and spos = 1 and check import and export parameter.
    where left position when displaying and spos = search position
    and then save and activate ..
    <b>Creating Search Help:</b>
    http://www.sapdevelopment.co.uk/dictionary/shelp/shelp_basic.htm
    http://www.sapdevelopment.co.uk/dictionary/shelp/shelp_imp.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/cf/21ee86446011d189700000e8322d00/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/cf/21ee2b446011d189700000e8322d00/frameset.htm
    A lock object is a virtual link of several SAP tables which is used to synchronize simultaneous access by two users to the same set of data ( SAP lock concept).
    Locks are requested and released in the programming of online transactions by calling certain function modules which are automatically generated from the definition of the lock objects. These lock objects must be explicitly created in the ABAP Dictionary.
    <b>To set locks, you must perform the following steps:</b>
    1. You must define a lock object in the ABAP Dictionary. The name of the lock object should begin with E.
    2. The function modules for requesting and releasing locks which are created automatically when the lock object is activated must be linked to the programming of the relevant online transactions.
    <u><b>Reasons for Setting Locks</b></u>
    Suppose a travel agent want to book a flight. The customer wants to fly to a particular city with a certain airline on a certain day. The booking must only be possible if there are still free places on the flight. To avoid the possibility of overbooking, the database entry corresponding to the flight must be locked against access from other transactions. This ensures that one user can find out the number of free places, make the booking, and change the number of free places without the data being changed in the meantime by another transaction.
    <u><b>Lock Mechanisms in the Database System</b></u>
    The database system automatically sets database locks when it receives change statements (INSERT, UPDATE, MODIFY, DELETE) from a program. Database locks are physical locks on the database entries affected by these statements. You can only set a lock for an existing database entry, since the lock mechanism uses a lock flag in the entry. These flags are automatically deleted in each database commit. This means that database locks can never be set for longer than a single database LUW; in other words, a single dialog step in an R/3 application program.
    Physical locks in the database system are therefore insufficient for the requirements of an R/3 transaction. Locks in the R/3 System must remain set for the duration of a whole SAP LUW, that is, over several dialog steps. They must also be capable of being handled by different work processes and even different application servers. Consequently, each lock must apply on all servers in that R/3 System.
    <u><b>SAP Locks</b></u>
    To complement the SAP LUW concept, in which bundled database changes are made in a single database LUW, the R/3 System also contains a lock mechanism, fully independent of database locks, that allows you to set a lock that spans several dialog steps. These locks are known as SAP locks.
    The SAP lock concept is based on lock objects. Lock objects allow you to set an SAP lock for an entire application object. An application object consists of one or more entries in a database table, or entries from more than one database table that are linked using foreign key relationships.
    Before you can set an SAP lock in an ABAP program, you must first create a lock object in the ABAP Dictionary. A lock object definition contains the database tables and their key fields on the basis of which you want to set a lock. When you create a lock object, the system automatically generates two function modules with the names ENQUEUE_<lock object name> and DEQUEUE_<lock object name> . You can then set and release SAP locks in your ABAP program by calling these function modules in a CALL FUNCTION statement.
    <u><b>Lock Types</b></u>
    There are two types of lock in the R/3 System:
    <u><b>
    Shared lock</b></u>
    Shared locks (or read locks) allow you to prevent data from being changed while you are reading it. They prevent other programs from setting an exclusive lock (write lock) to change the object. It does not, however, prevent other programs from setting further read locks.
    <u><b>Exclusive lock</b></u>
    Exclusive locks (or write locks) allow you to prevent data from being changed while you are changing it yourself. An exclusive lock, as its name suggests, locks an application object for exclusive use by the program that sets it. No other program can then set either a shared lock or an exclusive lock for the same application object.
    example uses the lock object ESFLIGHT and its function modules ENQUEUE_ESFLIGHT and DEQUEUE_ESFLIGHT to lock and unlock the object.
    For more information about creating lock objects and the corresponding function modules, refer to the Lock objects section of the ABAP Dictionary documentation.
    The PAI processing for screen 100 in this transaction processes the user input and prepares for the requested action (Change or Display). If the user chooses Change, the program locks the relevant database object by calling the corresponding ENQUEUE function.
    MODULE USER_COMMAND_0100 INPUT.
      CASE OK_CODE.
        WHEN 'SHOW'....
        WHEN 'CHNG'.
    * <...Authority-check and other code...>
          CALL FUNCTION 'ENQUEUE_ESFLIGHT'
    EXPORTING
    MANDT = SY-MANDT
    CARRID = SPFLI-CARRID
    CONNID = SPFLI-CONNID
    EXCEPTIONS
    FOREIGN_LOCK = 1
    SYSTEM_FAILURE = 2
    OTHERS = 3.
    IF SY-SUBRC NE 0.
    MESSAGE ID SY-MSGID
    TYPE 'E'
    NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
          ENDIF.
    The ENQUEUE function module can trigger the following exceptions:
    FOREIGN_LOCK determines whether a conflicting lock already exists. The system variable SY-MSGV1 contains the name of the user that owns the lock.
    The SYSTEM_FAILURE exception is triggered if the enqueue server is unable to set the lock for technical reasons.
    At the end of a transaction, the locks are released automatically. However, there are exceptions if you have called update routines within the transaction. You can release a lock explicitly by calling the corresponding DEQUEUE module. As the programmer, you must decide for yourself the point at which it makes most sense to release the locks (for example, to make the data available to other transactions).
    If you need to use the DEQUEUE function module call several times in a program, it makes good sense to write it in a subroutine, which you then call as required.
    The subroutine UNLOCK_FLIGHT calls the DEQUEUE function module for the lock object ESFLIGHT:
    FORM UNLOCK_FLIGHT.
         CALL FUNCTION 'DEQUEUE_ESFLIGHT'
              EXPORTING
                  MANDT     = SY-MANDT
                  CARRID    = SPFLI-CARRID
                  CONNID    = SPFLI-CONNID
              EXCEPTIONS
                  OTHERS    = 1.
         SET SCREEN 100.
    ENDFORM.
    You might use this for the BACK and EXIT functions in a PAI module for screen 200 in this example transaction. In the program, the system checks whether the user leaves the screen without having saved his or her changes. If so, the PROMPT_AND_SAVE routine sends a reminder, and gives the user the opportunity to save the changes. The flight can be unlocked by calling the UNLOCK_FLIGHT subroutine.
    MODULE USER_COMMAND_0200 INPUT.
      CASE OK_CODE.
        WHEN 'SAVE'....
        WHEN 'EXIT'.
          CLEAR OK_CODE.
          IF OLD_SPFLI NE SPFLI.
             PERFORM PROMPT_AND_SAVE.
          ENDIF.
          PERFORM UNLOCK_FLIGHT.
          LEAVE TO SCREEN 0.
        WHEN 'BACK'....
    <b>
    Another Example</b> :
    please see this link with Screen shot .....
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21eea5446011d189700000e8322d00/frameset.htm
    Reward all helpfull answers
    Regards
    Pavan

  • Want to hide a field in the last page of report

    Hi All
    I have an issue .. can anyone of the oracle techies give me a solution for this ..? pleeaassee
    The issue is that let us say i have a report for 5 pages. I have placed a field on the margin of a report to display CONTINUE.. . Now we dont want this field to be displayed when the report is on the last page. We tried of setting property of the field Print on to All but last page but it is not accepting that
    can anybody provide a solution for that ..?
    Thanx in advance
    Hari

    The problem you're hitting is that the margin area is formatted before the body area in the report. Since this is the case, you don't know if you are on the last page since the body has yet to be printed when you print your "continue" column.
    There are a several ways to accomplish what you want:
    - Guess whether it is the last page and print based on your "guess"
    Normally you'd use a running count along with a total count to see if you've printed the last instance of the repeating frame and are hence on the last page. Since your object is in the margin rather than the body, you'd need to estimate how many records will fit on the page and if there are less then these many records left then you shouldn't print the "continue" field.
    This can be tricky to do if your frame is variable sized so you don't really know how many instances of the repeating frame will be on each page.
    - Place the "continue" field in the body rather than the margin
    To do this, you need to create a fixed sized frame that all your normal layout goes into. This should be sized to your typical page size. Then create the "continue" field after the fixed sized frame (you may need to re-size the body area - do this in "margin" mode). Set the print condition to "all pages" against the "continue" field so that it prints on every page. You can then use the running count/total count method to determine if the last repeating frame has been printed when you come to print your "continue" field.

  • How to hide pages in reports when no data on it?

    hello,
    i have a master detail report,which has data on the master without data in the detail,so how can i hide pages which has no data on its detail?
    Thanks.

    Put the following In the format trigger of the repeating frame:
    return :cs_cnt > 0;
    Here cs_cnt is the summary column counting details per master.

  • Displaying Footer on last page of report

    Hi:
    Is there a way to display the footer only on the last page of a report? For example, if I have a three-page report, I need the footer to be displayed on the third page only. Any help would be greatly appreciated. Thank you kindly.
    Sincerely,
    Dinesh.

    Hi,
    Use the Syntax <?start@last-page:body?><?end body?> before the footer , if your template is facing any exception include a Section break in continuous (one of the Section break types) before the above mentioned syntax.
    Best Regards,
    Mahesh

  • How to print text or field (inside a rep fram)on the last page in report 6i

    Hi Everyone,
    I want to print the text on the last page.
    my text is inside a repetating frame.
    as i want to display page no in the filed
    and if it is a last page, display page number appended with Last
    so it will look like
    for 3 pages
    on the first page
    1
    on second page
    2
    and on last page it should display
    3 Last

    You cannot know if you are on the last page or not. See this similar thread: Get value of total pages variable
    Why not put the page number in the margin like this:
    Page 1 of 3
    Page 2 of 3
    Page 3 of 3
    You do that by creating a text field in the margin. Enter this text:
    Page &<PhysicalPageNumber> of &<TotalPhysicalPages>

  • SSRS Report is missing data when exported to Excel via a subscription

    I have an SSRS report on a daily subscription that creates an Excel attachment and emails it  to a number of users. Some of the users are reporting that they cannot see all
    of the data in the Excel attachment.
    The report has a date column and 6 numeric columns, and the affected users cannot see the numerical columns - the fields are empty. The date column is displaying
    correctly along with all of the column headers.
    If however I change the format to XHTML, all data is displayed for all users.
    What's weird is that it is not affecting all users - for the affected users, the file size of the attachment is considerably smaller so it doesn't look like the
    issue is with their PC's - the data is not there to begin with.
    I've tried setting the DataElementOutput property on each of the fields to Output but no luck.
    I am using SQL Server 2008R2.

    Hi Wolfmeister,
    Glad to heard that the issue had been solved and thanks for your sharing.
    It will be very beneficial for other community members who have similar questions.
    Thanks,
    Katherine Xiong
    If you have any feedback on our support, please click
    here.
    Katherine Xiong
    TechNet Community Support

  • Report Writer Missing Data for Cost Center+Investment Internal Order

    Hi Gurus,
    I have met a problem on Report writer. T-code KSBB -> Report for Cost Center Group by Cost Elements in diff months.
    The report can be drilled down to call KSB1 to give line items on the cost element by cost center/group.
    The problem is the drill-down report missed the line items for investment orders. ( Compared with manually use KSB1)
    The overhead internal order line items are fine.
    For example, document 001-Apr:
    Dr. Cost Element 1009                 $900  -- BA 90  Cost Center 90000 Investment order 9001
         Cr. Other cost elements.                  $900
    Document 002-Apr
    Dr. Cost Element 1009                 $800 -- BA90 Cost Center 90000 Overhead order 7001
         Cr. Other cost elements                      $800
    In KSBB report, the cost center group for 90000 in cost element 1009 in Apr only has $800.
    And the drilled down report which called KSB1 has the line item for docuemnt 002.
    However, when I run KSB1 directly, the total amount for cost element 1009 in cost center 90000 is $1700.
    Here is what I checked:
    1. I have my ABAPer checked the KSBB program and KSB1 program to debug them in DEV ( DEV and PRD has the same problem). The different to get the data is that in KSB1, it has selected a value type 11 ( Googled: field name is WRTTP, Down payments as expenses. In program: WRTTP means Statistically Actual ) and 04 ( Googled: Actual True Posting. In program: 04 in WRTTP means Actual posting).
    But in KSBB, it only select 04 when I clicked the drill down report to call KSB1.
    2. I am thinking that the cause was on different types of internal order:
    Overhead internal orders are statistical orders.  Investment orders are actual orders.
    Could you help to throw some light on the problem?
    Thank you very much.
    Emma

    Hi,
    Cost Centre vise Report you can take from KSB1
    Internal Order Vise Report you can take fro KOB1
    Regards,
    Sridhar Sha

  • End of page in last page

    hi...
    End of page triggers only when the body of the list is full... if in the last page I dont have enough data to display  the whole page then the end of page is not displayed...
    how can i achieve this ie. end of page in the last page
    regards
    padma

    Hi Padmavathi,
    Let me give you and example
    Suppose you can fill 10 = x, lines in a page and if records in your internal table is w_line,
    y = ( x - ( w_line - ( sy-cpagno - 1 ) * x ) ).
    skip y.
    y is the number of lines left out in the last page. Skipping so many lines triggers the end-of-page.
    Reward if useful
    Indu.

  • Missing data when exporting to "MS Word (*.doc)" and "RTF (*.rtf)"

    Hello,
    We are using CR XI R2 SP3 in our product.  The reports that we generate (using ODBC dsn) show URLs from the database as hyper link text fields.  When we export the report to "Microsoft Word (.doc)" or "Rich Text Format (.rtf)" format, even though the export operation succeeds, the report is missing data when it encounters a URL that looks like following.  There is basically no data after that URL.
    http://www.xyz.com/kType=t;s.linkName=n;s.t()};s.ssl=(s.wd.location.protocol.toLowerCa
    And when it encounters a URL like following, MS Word complains that the file is invalid even though the export succeeds.
    https://www.xyz.com/m));if(m%3E0&m!=e)if(parseInt(c.substring(m+1,e%3C0?c.length:e))%3Cd.get
    If we export the report to pdf format, then everything works just fine.
    Any help on this will be highly appreciated.

    Hi Sumit
    Try to set the URL field with the RTF format. To do this try following:
    1. Right click the field->Format Field.
    2. Click the paragraph tab->Text Interpretation->RTF Text
    Now try to export it.
    Hope this helps.
    Regards
    Nikhil

  • Print a text on last page of smartform rpt

    Hi All
    I want to print a text on first and last page of report created in smartforms
    plz suggest..........

    Hi,
    In a Smart Form, you can use a similar MAIN window approach. For a secondary window, you might wish to use a conditional event such as <b>'Only After End of Main Window'</b>.
    Map page FIRST to NEXT and page NEXT to NEXT as you have done; page LAST does not need to be mapped to any other page. Make sure the MAIN window is contained on both page FIRST and page NEXT. Then add a command node within your MAIN window at the very end of this window (outside of any tables or loops). In its general attributes click on the 'Go to new page' and select the LAST page here.
    During form output, regardless of whether the MAIN window is completed within page FIRST or NEXT, page LAST will be triggered as your final page.
    Note: Any secondary windows on pages FIRST or NEXT with the condition 'only after end of MAIN window' may no longer print, as form output now will advance to the LAST page before this condition is satisfied.
    Regards
    Sudheer

  • Very intermittent missing page regions / report rows / page item values

    My goals in making this posting are twofold:
    1. I'm looking to see if anyone else has experienced this type of issue before.
    2. I'm looking for ideas about what can be done to debug such an infrequent bug with serious implications.
    Synopsis
    I'm having a weird problem where very infrequently I will load a page and I'll notice that one or more page regions, report rows, or page item values are missing. If I reload the page the missing parts appear as they normally should.
    By "very infrequently" I would say it happens to me somewhere between 1 in 100 and 1 in 1000 page loads, of course at my last project demonstration in happened twice in 10 minutes to my demo participants. I've attempted to debug this, but most of the techniques I know of involve reloading the page or reposting the form data and (of course) everything looks fine then.
    Environment
    * This has happened on multiple different pages, under ApEx 3.1 (Linux) and 3.2 (Solaris).
    * I believe that so far I've only ever seen this under Firefox 3/3.5 under OSX, but since I do the vast majority of my development with this browser it's not reasonable to conclude that it only happens under Firefox.
    Logs
    * No application errors during this timeframe.
    * Nothing of significance in the database alerts log (just thread notes and log sequences).
    * Nothing of significance in the webserver log (just the usual mod_ossl connection errors).
    Thanks for your attention,
    Jason
    Edited by: Jason G on Jul 24, 2009 12:43 PM

    Well, thanks for reading the post anyway.
    While working through some debugging steps I realized that I was populating some of the regions as the page rendered using AJAX -- this would pause the page rendering until the AJAX request returned. I believe that a hanging AJAX call was the likely culprit of the very intermittent symptoms I was seeing.
    I moved the AJAX calls to the last region of the page and added a javascript function that "watches the page load" by checking for regions by ID and looking at javascript boolean flags to let me know when the page is fully rendered. If this process takes longer than 5 seconds it notifies the user that something happened and offers to reload the page for them in an effort to fix the issue.
    So far, so good -- but it will take a lot of testing to convince me that this case is solved. I hope my documenting this is helpful for others in similar situations.
    Good luck,
    Jason

  • Report Last Page Help

    Hi,
    Need help on printing. I need to print following line
    "This is a computer generated statement and does not require signature" on last page of each policy.
    Assume there are 5 member's policy statement of 2 page each. I need to print above line at the 2nd page of each member. Before next member policy statment starts.
    Thanks
    Dipesh

    Hi,
    I am sorry, i think i did not convey my problem properly.
    Assume i am generating my report for 3 members. For each member data is streched, across multiple pages.
    Name Pages
    Member A 3
    Member B 4
    Member C 5
    The statment "This is a computer generated statement and does not require signature" should get printed at 3rd page of Member A, 4th page of Member B and 5th page of Member C.
    Incidentally, that happens last page of each member.

Maybe you are looking for

  • Boot Camp not able to install Windows 7 Ultimate 64 Bit!!???

    Guys I'm using Mac OS X Lion 10.7.2 & I'm having a problem installing Windows 7 Ultimate 64 Bit through boot camp. When I insert the windows installation disc it creates the partition but as soon as it restarts to proceed the installation, it hangs u

  • BI 4.1 installation in  Red hat Linux 6.5

    Hi Experts, we are planning to have one cluster environment in Red hat Linux 6.5. 1) Two nodes in cluster ( two red hat Linux 6.5 servers) 2) 1 server with Websphere as a web application server. From the last two years i am completely working on wind

  • Can't find a way to delete album Iphone4?!

    Hello, I tried everything. I go to Itunes while my iphone is connected. I click on my name and then on Photo's. I click sync from and then choose map. The first thing that comes up is the album that I want to keep it but I don't have anything else to

  • Cant download pdf, swf and pptx in Adobe Connect !!!

    Hi, we cant download documents in Adobe Connect, system write writes "it is impossible to transform a file".  We cant download all types files, in many adobe connect rooms, what happened?!

  • Will the photo book made in iPhoto 06 convert okay in iPhoto 09?

    I could not order a photobook made in iPhoto 06 in my country (which is now available with 09). So if I upgrade to iPhoto 09, will my photobook be intact when I have upgraded to 09? Ths