Reports randomly "miss" records

Background:
I've made a report that I send to customers.  From this report, I've made a summary report that's literally a copy of the first report, but most everything is suppressed except for one section of the original report.  Again, from the main report, I've made another report that is basically the summary report, except it outputs all the information in a specific format so I can upload it into my financial system as a flat file.  Other than all the suppressed sections there are a few layout changes and such, but nothing that should affect the data, they way it's sorted, etc...
The Problem:
The 3 report's summations don't match up all the time.  I'd say they are 90% correct.  I did some expanding to find out that the reports randomly drop a record of data here and there.  They are terribly small differences too because a record is usually only a matter of cents, however this makes it hell on us because we can't rely on the summary to match what the customer sees which may not match the upload into our financial system.
More bad news:
It appears to be random and it isn't just one report that does it.  Sometimes the customer receipt misses a record and the others don't, sometimes the summary misses one and the others don't and sometimes the upload misses.  You get the point.
I've gone through the SQL queries that are created and they are literally word for word.  They match 100%, even the order of everything (which was to be expected by using a copy of the receipt for the others).  Also, at first glance, all the options are the same as well.  They pull from the same DBs using the same links.  All filtering is in place and all match.  Finally, the records read always match up after the reports finish, so they are obviously all pulling the data.
I'm stumped and have been working on this for toooooo long.  I think it's time for some fresh minds.  Anyone?
Darren

some answers:
Yes, there are occasional null values in reported fields, but all 3 reports get the same values and I believe all reports have the same fields shown.  Will have to take a closer look to make sure.
Yes, I do rounding here and there, but again every report does the same thing at the same places.  The rounding is done after the summations of the records occur.  Theoretically, it shouldn't affect the records themselves.
Yes, the dropping of records is repeatable.  I can refresh the report and the same records are dropped every time.
Here's the SQL from the main receipt report, but I warn you, it gets pretty hairy.  There are many tables that need to be joined across multiple databases.  Nothing should be confidential.
LOCAL
SELECT "MC_Call_Infos"."Extension", "MC_Call_Infos"."Cost_0", "MC_Call_Infos"."Date_Time", "MC_Call_Infos"."Dialed_Number", "MC_Call_Infos"."Dest_Description", "MC_Call_Infos"."Wait_Time", "MC_Call_Infos"."Ring_Time", "MC_Call_Infos"."Talk_Time", "MC_Call_Infos"."Hold_Time", "MC_Call_Infos"."Source", "MC_Call_Infos"."Account_Code"
FROM   "MicroTelCall"."MICROTEL"."MC_Call_Infos" "MC_Call_Infos"
WHERE  ("MC_Call_Infos"."Date_Time">={ts '2008-12-01 00:00:00'} AND "MC_Call_Infos"."Date_Time"<{ts '2009-01-01 00:00:01'})
ORDER BY "MC_Call_Infos"."Extension", "MC_Call_Infos"."Date_Time"
EXTERNAL JOIN MC_Call_Infos.Extension={?LOCAL: MC_Extensions.Extension_Number}
LOCAL
SELECT "MT_Divisions"."Name", "MC_Extensions"."Note_0", "MT_Departments"."Name", "MC_Extensions"."Note_1", "MC_Extensions"."Extension_Number"
FROM   ((("MicroTel"."MICROTEL"."MC_Extensions" "MC_Extensions" INNER JOIN "MicroTel"."MICROTEL"."MC_Employee_Extension_Tags" "MC_Employee_Extension_Tags" ON "MC_Extensions"."Sequence"="MC_Employee_Extension_Tags"."Extension_Sequence") INNER JOIN "MicroTel"."MICROTEL"."MT_Employees" "MT_Employees" ON "MC_Employee_Extension_Tags"."Employee_Sequence"="MT_Employees"."Sequence") INNER JOIN "MicroTel"."MICROTEL"."MT_Departments" "MT_Departments" ON "MT_Employees"."Department_Sequence"="MT_Departments"."Sequence") INNER JOIN "MicroTel"."MICROTEL"."MT_Divisions" "MT_Divisions" ON "MT_Departments"."Division_Sequence"="MT_Divisions"."Sequence"
WHERE  "MC_Extensions"."Extension_Number"={?LOCAL: MC_Call_Infos.Extension}
ORDER BY "MT_Divisions"."Name", "MT_Departments"."Name", "MC_Extensions"."Note_0"
I filter by date.  Only other filters are for the subreports that filter based on the department that the main report is currently compiling.  I do in line filtering of any records that aren't valid at run time.  So any records that are $0.00 or below and any records that have "false" numbers.

Similar Messages

  • Report issue - missing records

    I have written a workflow to route an oppty record to a certain book upon selecting a checkbox on the oppty page. The records are routing fine as expected. And when I login as that user and run a list with the specified book selected in the lookin selector, I can see those records. However when I run a realtime report with that book in the lookin selector, I don't get any results.
    1. I have given the user access to this book.
    2. I have made this book the default book for analytics for him.
    3. I have given access to oppties and books at role level.
    Please suggest what I may have missed.
    Thanks in advance,
    Udaya

    Hello Udaya,
    In Real time reports, the records in the sub books are not reflected in the reports. Hence, please let me know if the records are there in the sub books or in the books.
    Regards,
    Paul

  • Loading issue..missing records .. randomly

    HI ALL,
    Thanks for ur replies.
    We found on 11/09 some records are missing from last 6 months ( 3 to 4 records for each group with diff dates) in daily delta loads 1pm.
    It is very difficult to load each group as full loads on that dates.
    We did repeat delta with no selections on 12.09.2005 at 9 am (loads 8 million rec) and on the same day daily delta also run at 1pm( it also loads 8 million rec) . Finally we seen on 13/09 we get duplicate records. We forcibly removed these request which we had run on 12th (i.e Repeat Delta & Delta).  Those were now in reconstruct tab.
    How to get my missed records from 6 months? How to handle this with out effecting cube data?
    Can we do selections in repeat delta / delta cases?
    Initialization was done on 04/04/2004.
    What is the reason for missing these recors?/
    pls tell the step wise.
    Please guide me.
    Regards,
    Srilakshmi

    Hi Roberteo:
    It is 2.X , I think so, its not possible Full repir request here.
    You Mean 1)re-init with transfer/without transfer ? selection?( before this we should remove previous init load) 2) then daily delta.
    I am thinking :to do like this , please guide me:
    “My suggestion would be since we have the option of transfered date in the selection conditions of infopackage , what we have do is we can do selective deletion of the contents of last and current month based on the closing date of the HR system and load only that data .
    For ex: if you want to delete the contents of MAY 2005 and June 2005 , and the delta failed lies in the month of May 2005. so delete the two months and load only May 2005 in a separate infopackage. After that you can continue your normal loads with the month June 2005. By this way we won’t miss any data as you are loading to cube no problem of duplication.”
    Is it advisable??
    cheers,
    sri

  • I have copied my iTunes library onto a new computer, but when I play back the songs there seems to be random "miss" or "drop out".  No probs with old computer, just the new one.  I'm onto my third new computer - same problem.  Any suggestions please?

    I have copied my iTunes library onto a new computer, but when I play back the songs using the new computer, there seems to be random "miss" or "drop out" during play back, similar to a small scratch on a vinyl record.  Although when I play the same song over again, the "miss" occurs in a different location during the song.  No probs with old computer, just the new one.  I'm onto my third new computer - same problem.  Any suggestions please?

    You don't say which version of iTunes you are using, but the symptoms you describe have been encountered by some users with the 64-bit version of iTunes 12.1.
    There is an alternative version for 64-bit editions of Windows here:
    iTunes 12.1 for Windows (64-bit — for older video cards)
    that seems to address the most of the playback issues that some users have been reporting with the full 64-bit version of 12.1.0.77 - including problems with Bluetooth speakers where either sound is degraded or completely absent.  The alternative installer here is the same architecture as most previous "64-bit" versions of iTunes, i.e., a 32-bit application with a 64-bit installer.  The "for older video cards" label appears to be something of a misnomer as some people have reported that this corrects problems found on current / high-spec systems.
    Some users have reported that after installing this alternative version it is necessary to adjust the "Play audio using" selection (normally to "Direct Sound" rather than "Windows Audio Session", though this may vary based on your audio hardware/drivers) in Edit > Preferences > Playback to restore glitch-free audio (one part of the reported symptoms is that the "Direct Sound" choice isn't available, usually in Windows 8).  It may also be necessary to ensure that your Bluetooth speakers are active and selected as the default audio device before you run iTunes.
    If this doesn't address the issue, you may want to think about reverting to iTunes 12.0 - see Turingtest2's notes on Troubleshooting issues with iTunes for Windows updates for steps needed to completely remove all installed iTunes components, and for links to the 12.0 installers.

  • How to identify missing records in a single-column table?

    How to identify missing records in a single-column table ?
    Column consists of numbers in a ordered manner but the some numbers are deleted from the table in random manner and need to identify those rows.

    Something like:
    WITH t AS (
               SELECT 1 ID FROM DUAL UNION ALL
               SELECT 2 ID FROM DUAL UNION ALL
               SELECT 3 ID FROM DUAL UNION ALL
               SELECT 5 ID FROM DUAL UNION ALL
               SELECT 8 ID FROM DUAL UNION ALL
               SELECT 10 ID FROM DUAL UNION ALL
               SELECT 11 ID FROM DUAL
    -- end of on-the-fly data sample
    SELECT  '[' || (id + 1) || ' - ' || (next_id - 1) || ']' gap
      FROM  (
             SELECT  id,
                     lead(id,1,id + 1) over(order by id) next_id
               FROM  t
      where id != next_id - 1
    GAP
    [4 - 4]
    [6 - 7]
    [9 - 9]
    SQL> SY.
    P.S. I assume sequence lower and upper limits are always present, otherwise query needs a little adjustment.

  • Opening updated report fails because record selection filter is invalid

    I am trying to update a report stored in BOE XI.  The report has been modified and the main part of the report has been moved to a subreport.   I first replace the .rpt file with the updated report.  Then I attempt to open the report using the code below it, but it throws an error and complains about an unknown field being mentioned in the filter
    oReportAppFactory = (IReportAppFactory) es.getService("", "RASReportService");
    oReportClientDocument = oReportAppFactory.openDocument((IInfoObject) oReport, 0, Locale.ENGLISH);
    ERROR MESSAGE: Cannot open report document. --- This field name is not known.
    Details: errorKind
    Error in File /opt/bobje/bobje/tmp/{F395AC11-26FC-11DF-A70C-00065B8B38B5}.rpt:
    Error in formula  <Record Selection>.
    '// Filter on desired date range
    This field name is not known.
    Details: errorKind
    If I manually delete the record selection filter in CMC before upgrading the report all works fine.  So, do I need to remove the filter before attempting to open the report or is there another step I'm missing to refresh the report using the newly updated .rpt file? 
    thanks,
    Brett

    The relevant part of the stacktrace is below.  
    java.lang.UnsupportedOperationException
            at com.crystaldecisions.sdk.properties.internal.AbstractSDKList.remove(Unknown Source)
            at java.util.AbstractList$Itr.remove(AbstractList.java:436)
            at com.crystaldecisions.sdk.plugin.desktop.common.internal.i.do(Unknown Source)
            at com.crystaldecisions.sdk.plugin.desktop.report.internal.e.f(Unknown Source)
            at com.crystaldecisions.sdk.plugin.desktop.report.internal.e.f(Unknown Source)
            at com.crystaldecisions.sdk.plugin.desktop.report.internal.e.refreshProperties(Unknown Source)
    The context is the same as the original post...
    An existing report is being updated.  The original report uses a single view and has a record selection filter.  The updated report uses the same view in a subreport, and the main report has no record selection filter.
    .rpt file is updated using IReport.replaceUnique(int, File).  
    Changes are committed to IInfoStore -> iStore.commit(IReport)
    Refresh options are enabled
    IReportRefreshOptions refreshOptions = oReport.getReportRefreshOptions();
    refreshOptions.removeOption(IReportRefreshOptions.CeRefreshOption.TITLE);
    refreshOptions.removeOption(IReportRefreshOptions.CeRefreshOption.DESCRIPTION);
    refreshOptions.addOption(IReportRefreshOptions.CeRefreshOption.PROMPT_VALUES);
    refreshOptions.addOption(IReportRefreshOptions.CeRefreshOption.RECORD_SELECTION_FORMULA);
    refreshOptions.addOption(IReportRefreshOptions.CeRefreshOption.GROUP_SELECTION_FORMULA);
    refreshOptions.addOption(IReportRefreshOptions.CeRefreshOption.PRINTER_OPTIONS);
    refreshOptions.addOption(IReportRefreshOptions.CeRefreshOption.DEFAULT_LOGON_INFO_VALUES);
    Properties are then refreshed using IReport.refreshProperties() which throws the UnsupportedOperationException
    changes are again committed.
    thanks,
    Brett

  • How to find out the missing records

    Dear all,
    I feel that there is some Inconsistent records between R/3 and the extracted records BI for the data source 2LIS_03_BF. some of the records may not be updated through delta.. Is this possible? as we have created  Zkey figures to capture the diffrent unit of measure's quantity from the table MSEGO2 and updated to IC_c03 cube.
    Can any one tell me how to go about the missed records..where to find them.. and how to extract them.
    Poits will be assigned
    Regards
    venu

    hi,
    inventory scenario is difficult to handle as this have non cumulative key figures which can be viewed at the repors.
    extreme care is required while compression and intila loads and their compression.
    run the report or ask the user to run the report and sort out the missing records.
    chk out the document and chk if the procedure done by you is correct.
    inventory management
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f83be790-0201-0010-4fb0-98bd7c01e328
    Ramesh

  • CO-PC Drilldown Reports are Missing

    In the process of creating new Drilldown Reports, it appeared that some Standard Reports were missing, so I reimported the reports from Client 000.  Now I cannot access an of my reports.  I have an entirely different menu in KKO0 and I think it reset something to prior to version 4.0 (we're on 4.6c) whan the trees changed.  All of the reports are still visible in the Tables, but not in any of the reporting trees.  ANd if I try to run a report such as S_ALR_87013151 - Actual/WIP: Aggregated - I received errors that the report does not exist.  Does anyone have any ideas?
    Thank You Pam

    I ran the Import program (RKCOBTR3) in DEBUG and stumbled across RKKBOLDR. 
    SAP also send me a message in reference to this, this morning.  See Below:
    Regards... Pam
    +I guess you run (by accident) the report RKKBOLDR - this will switch+
    +the kko0 reports to the old style of release 2.2. So please execute the+
    +report RKKBOLDR via transaction SA38 - then you should get a message+
    +KN 194 that the product drilldown uses KKROBJ records. After this the+
    +issue should be fixed (maybe you need to re-import the standard reports+
    +via the kko0 menue - environment - import reports again from client 000.+
    +Kind regards,+
    +Christian Gaertner+
    +(development SAP)+
    +PS: With the execution of RKKBOLDR you can switch between the old+
    +product drilldown reports based on KKBOB and the new based on KKROBJ.+

  • Historical Reports Link Missing in Admin Console Menu

    Hi,
    We have a weird situation in a new installation. In Admin Console Menu Historical Reports Link does not appear. I have checked WIN table, it seems ok, there is a row for Historical Report, also all records about historical reports inside xlWebAdmin.properties and xlDefaultAdmin.properties files are there.
    Any ideas why this link happens to be missing?

    Hi,
    I'd bid that the audit module is not installed then. At least in UPA_USR you'd see the row that belongs to the XELSYSADM user. I don't know if you can manually enable it someway.
    If you have any free dev machine (or in a VM), I'd advice you to make a fresh install of OIM without the audit module, and see if the resulting system seems to your actual one. Installing in a XP environment under JBOSS won't take you more than 30 minutes.
    Regards,

  • Using the paste options randomly misses out text, don't use it and use the 'Paste Special...' option instead (MS Outlook)

    Also there seems to be no obvious way to report Office bugs.  This is leaving little room for improvement.  Not sure if there has been any planning on this front???
    For example, [MS Outlook] using the paste options randomly misses out text, (don't use it and use the 'Paste Special...' option instead).  But how do I communicate this to the Office team without knowing at least one of the team personally (which I
    don't)???

    Hi,
    Do you have this issue when pasting in other programs?
    If you are pasting something into Outlook, some formats and images may get lost, especially when you choose the Paste Options as Keep Text Only.
    Once you have this issue again, please try with "Keep Source Formatting". This may keep the Sour Formatting and you may not get the text lost.
    If you have any feedback when using our products, I suggest you press Ctrl + Alt + 7 or Ctrl + Alt + 8 to submit it. Microsoft will always listen to users' voice and make the products better and easier to use.
    Regards,
    Melon Chen
    TechNet Community Support

  • Standard Report for missing parts at production order operation level?

    Hi PP Gurus,
                We have standard report for missing parts at production orders level.
    For our client, they need a report for missing parts analysis at production order operation level. Do we have any such standard report in the SAP?
    Please help.
    Thanks,
    Reddy.

    Hi Arvind,
          Thanks for for your response.
    1. List: Components,  Layout: Standard layout          set the Missing part
           It shows the component requirement/withdrawn  quantity for each operation of production order. It is not showing the commit quantity.
    2. List: Components,  Layout: Pick list          set the Missing part
           It shows the component requirement/withdrawn  quantity for each production order.
    3. List: Components,  Layout: Missing Parts List-Material View          set the Missing part
           It shows the component requirement/commit quantity for each production order. It is not showing the commit quantity at opertion level.
    4. List: Components,  Layout: Missing Parts List-Order View          set the Missing part
           It shows the component requirement/commit quantity for each production order. It is not showing the commit quantity at opertion level.
          We are unable to get the solution from all these 1 to 4 reports from COOIS.
    Do we have any option to change the existing layout (ex: 3 ) to get the commit quantity for operation with missing parts indicator?
    If avilable, what is the procedure to be followed?
    Thanks,
    Reddy.

  • How to create report which includes records of current month and last 7 days of previous month.

    Hi Experts,
    I need to create a report which includes records of current month and last 7 days of previous month.
    I will get records of current month by this formula :- month({PROBSUMMARYM1.OPEN_TIME})=month(currentdate)
    Please tell me how to add the records of last 7 days of previous Month for the same report.
    Thanks in Advance.

    Hi Ajay,
    If you have more than a year data in your database then your formula will return wrong results. ie. If your data consist of 2012,2013,2014 data then below formula will return all 8th month data irrespective of year. So, you need to check year also here
    month({PROBSUMMARYM1.OPEN_TIME})=month(currentdate)  and
    Year({PROBSUMMARYM1.OPEN_TIME})=Year(currentdate)
    Now add Abhilash second statement in OR so, your formula should look like :
    (month({PROBSUMMARYM1.OPEN_TIME})=month(currentdate)  and
    Year({PROBSUMMARYM1.OPEN_TIME})=Year(currentdate))
    OR
    Date({PROBSUMMARYM1.OPEN_TIME}) IN [DateAdd('d',-7,Maximum(LastFullMonth)), Maximum(LastFullMonth)
    -Sastry

  • How to get missing records from one table

    I have one table with many records in the table. Each time a record is entered the date the record was entered is also saved in the table.
    I need a query that will find all the missing records in the table.
    so if I have in my table:
    ID          Date          Location
    1           4/1/2015        bld1
    2           4/2/2015        bld1
    3           4/4/2015        bld1
    I want to run a query like
    Select Date, Location FROM [table] WHERE (Date Between '4/1/2015' and '4/4/2015') and (Location = bld1)
    WHERE Date not in
    (Select Date, Location FROM [table])
    and the results would be:
    4/3/2015   bld1
    Thank you

    Do you have a table with all possible dates in it?  You can do a left join from that to your above mentioned table where the right side of the join is null.  If you don't have a table with all possible dates you could user a numbers table.
    Below is one way to achieve what you want with a numbers table...
    DECLARE @Table table (ID Int, DateField Date, Location VarChar(4))
    DECLARE @RunDate datetime
    SET @RunDate=GETDATE()
    IF OBJECT_ID('dbo.Numbers') IS NOT NULL 
    DROP TABLE NUMBERS
    SELECT TOP 10000 IDENTITY(int,1,1) AS Number
       into Numbers
        FROM sys.objects s1
        CROSS JOIN sys.objects s2
    ALTER TABLE Numbers ADD CONSTRAINT PK_Numbers PRIMARY KEY CLUSTERED (Number)
    INSERT INTO @Table (ID, DateField, Location)
    VALUES ('1','20150401','bld1')
    ,('1','20150402','bld1')
    ,('1','20150404','bld1');
    WITH AllDates
    as
    SELECT DATEADD(dd,N.Number,D.StartDate) as Dates
    FROM Numbers N
    cross apply (SELECT CAST('20150101' as Date) as StartDate) as D
    select * 
    from AllDates AD
    left join @Table T on AD.Dates = T.DateField
    where ad.Dates between '20150401' and '20150404'
    AND T.ID IS NULL
    LucasF

  • SSRS 2008 R2 - Separate report for Each record?

    Hi,
    How do I create new pdf reports for each records from a table? The pdf files should be named as customerid.pdf and needs to be delivered in email or share path? 
    Each record has enough content for 5 page of pdf report.
    How do we achieve this?
    Thanks
    Raj

    You can create a data driven subscription to loop through records in the table and create pdf based on number of customerid.
    Have a look at this for DD subscriptions :
    http://msdn.microsoft.com/en-us/library/ms169673.aspx
    Kind Regards, Vikram Kansal Please mark solved if I've answered your question, vote for it as helpful to help other user's find a solution quicker

  • Reporting on Merged Records

    I would like to know if there is a way to report on records that have been merged through Portal?  It would be nice to be able to report which records have been merged over a time period (like within the last month), but if that is not possible, I am just looking for a way to report on merged records through other criteria. I heard that an iView is being developed to do this, but I can't find one for this functionality right now. I can display the Key Mapping info without a problem. But there is no way to search against this information.
    Thanks,
    Justin
    Edited by: Justin Fountain on Apr 22, 2009 9:24 PM

    I found the answer:
    If you see the REP table, there is a column called REP_MAX_REP_SIZE which contains the maximum report size for each report. This value has a default value of 5000 for most of the reports. You can change this value to have a higher number so that the report returns the data. But increasing the number can reduce the response time since the number of records will be large.

Maybe you are looking for

  • How do I make one while loop that runs 1 piece of data at a time?

    I have a question about a while loop.  Currently, I have 4 or 5 dynamic data lines that I would like to run through a while loop that will tell me if the data is within a certain range or not.  However, the ranges are different for each piece of data

  • How to insert special character in sgm file and interprete it without isoents while opening in FM9.0

    I have an sgm file which contains special characters in different languages. <!DOCTYPE MANUAL PUBLIC "-//SWE-XXX//DTD XXX MANUAL-DTD 2.0//EN"> <MANUAL LANG="CS"> <TITEL> Polish characters: óê¿ñæÑÆÊ¥Ó£ Czech characters: éìóïáøèíùòú&Og rave;ÌÉÓÚÙÈØÍÁÏ

  • PDF Thumbnail view in windows explorer

    Hi guys, hope you can give me a hand! I`m about to lose my mind here. I have 4 machines with adobe reader 8.1 installed and in those 4 machines I can see my pdf files as thumnails (they´re books, so I see the cover of each one of them). On my 5th com

  • Tcode in display mode

    i want to give t-code me9f, as01 and j1iex in display mode i give but user is still able to use these in change mode also. any help. Thanks

  • What makes my iMac different?  Part# MB323LL/A

    I was curious what made this particular model of iMac different from the other 20" Alum. models?? I ask this because when I went to price some RAM memory on Crucial.com, they differentiated this model from the rest and recommended a different model o