Counting number of errors and generating a report

Hi All
I am fairly new to PL/SQL and I have a bit of a problem that I can't work out.
What I need to do, is take a file that has a 6-digit store code, and a corresponding date, that indicates that the store made a particular error on that date. That table only has 2 columns, the STOREID and ERRORDATE. If a particular store did not make the error, they will not be included in this table.
This table is provided to me monthly, .CSV format which i can import and place in a table with no problems.
I also have another "master" table that contains a list of all the store codes, and their corresponding name & address details, so something like MASTERID (number), STORENAME, ADDRESS1, ADDRESS2, ADDRESS3 ( all varchar2(200)). STOREID will be included somewhere in the MASTERID column.
I need to check each store and see if it has made the error. If it has, it needs to be placed in a table which is then used to issue an error noice. The part I'm finding difficult, is that if the store has made the same error in the past 3 months, it needs to be placed in a table so it can be issued a 'second notice' and if it has made the error twice previously in the past 6 months it needs to be placed in another table to be issued a 'final notice'.
So I somehow need to keep track of which stores have made the error for the past 6 months and then check against it to see if it should be a first, second or third notice. I thought of using another table, call it HISTORY, with the columns STOREID and ERRORDATE, which indicates the store id code and the date the error was made
The way I thought of doing it was to use the MASTERID column from the master detail table, and check each store code against the provided monthly file (STOREID). If it is in there, check the past 6 month history, count the number of previous errors and issue the notice accordingly IE-
Store code is in the monthly file but not found in the previous 6 months in HISTORY - first notice, put store code and date into HISTORY table
Store code is in the monthly and found ONCE in the previous 6 months in HISTORY - second notice, put store code and date into HISTORY table
Store code is in the monthly file and TWICE in the previous 6 months in HISTORY - third notice, put store code and date into HISTORY
Store code is in the monthly file and THREE+ times in the past 6 months in HISTORY - put store code into a table for further action, put store code and date into HISTORY
If anyone could help it would be appreciated! I will be using this in Application Express, just as an anonymous pl/sql block, and I really am not sure how to do it.
Importing and exporting .CSV files from tables is not an issue, that part I can do.
The versions are ApEx 3.0.1 and Oracle 10g 10.2
Thanks
Bill

As Frank said, please provide us some sample data else refer
WITH T1 AS
SELECT 'SRT1' STORE_ID, 'ER1' ERROR_CD FROM DUAL UNION ALL
SELECT 'SRT2' STORE_ID, 'ER6' ERROR_CD FROM DUAL UNION ALL
SELECT 'SRT1' STORE_ID, 'ER5' ERROR_CD FROM DUAL UNION ALL
SELECT 'SRT3' STORE_ID, 'ER9' ERROR_CD FROM DUAL UNION ALL
SELECT 'SRT1' STORE_ID, 'ER60' ERROR_CD FROM DUAL UNION ALL
SELECT 'SRT2' STORE_ID, 'ER10' ERROR_CD FROM DUAL
T2 AS
SELECT COUNT(ERROR_CD) OVER (PARTITION BY STORE_ID)CNT_ERR,T1.*
FROM   T1
SELECT DECODE(CNT_ERR,1,'FIRST_NOTICE',2,'SECOND_NOTICE',3,'FINAL_NOTICE') NOTICE, T2.*
FROM T2;*009*

Similar Messages

  • How to count number of sales orders generated in a month in SAP SD

    Hi SD Gurus,
    I have a very strange query from client. I have to count the number of sales order created in a month for a z report. For example 30 in Jan, 25 in Feb etc. Could anyone suggest me How to count number of sales orders generated in a month in SAP SD.
    Regards
    Vinod Kumar

    Hi,
    Goto the T.Code "SE16" or "SE16n" or "SE11".
    Enter the table name as VBAK
    Enter the created on date as the starting date of the period and to date as the end date.
    Enter.
    Click on "Number of Entries".It will tell you the number of entries created in a particular period.
    If you want a report,goto the T.Code "VA05n".
    Regards,
    Krishna.

  • Error while generating the report on Test env (for divide condition)

    Hi All,
    I am facing the below error while generating the report in test environment while the same report is working fine on Prod environment.
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 16001] ODBC error state: S1000 code: 1791 message: [Oracle][ODBC][Ora]ORA-01791: not a SELECTed expression. [nQSError: 16001] ODBC error state: S1000 code: 1791 message: [Oracle][ODBC][Ora]ORA-01791: not a SELECTed expression. [nQSError: 16015] SQL statement execution failed. (HY000)
    Actually the error is coming for the below logics:
    COUNT(DISTINCT RMA.RMA)/COUNT(DISTINCT User."User Name")
    "RMA Fact"."Module Backlog"/COUNT(DISTINCT User."User Name")
    Can anyone please tell if I need to make any configuration changes as the same logic works perfectly fine on production but not on test.
    Thanks in advance

    Is anyone having any idea about it...

  • Error when generating the report in Production Server

    Hi,
    I have created one infoset query in Development server of my client. It is working fine there. I had transported the request containg this query to Production server. But whenever I am trying to generate report using this query in Production server it is giving an error message
    "Error when generating the report".
    I am not getting what 's problem.
    Samriddhi

    Samriddhi,
    Genarally its not suggested to transport Queries. Should be able to create Queries directly Production. There might be diferences between your Development and Production versions.
    Thanks.

  • Error when generating the report (see long text), Message no. AQ_AD_HOC221

    Hi All,
    I am facing a peculiar problem while executing an infoset query.I have created 2 customized fields Compa-ratio and PIR in infotype 0008 in an infoset.I have coded in these additional fields.
    When I execute a query using 1 of these customized fields the report is generated correctly.But when I put both the fields in the output the report shows an error "Error when generating the report (see long text)". The message# associated with this errAQ_AD_HOC221.
    I have also checked the data types and the references. Nothing seems to be wrong here.
    Does anybody has any clue about this ?
    Kajal

    Hi Bernd,
    I had a look at those notes. But the information provided did'nt prove to be helpful. I found out the problem. I was using the same local variable for both the fields in their code. This generated the error. This error is a very generic one and does'nt help in finding out what exactly is the problem.
    I changed the other local variable and it started working. When I was using the same variable that time I did'nt forget to clear the values but the query still generated the error.
    Anyways thanks a lot for the reply.
    Kajal

  • Need help to count number of rows and display in file

    Hello,
    my scenario is IDOC to File......i am using XSLT mapping and using FCC parameters to convert the flat file.
    now new requirement is i need to count number of rows and add count value last of the file.
    Please let me know how to do it,
    thanks in advance for your help.
    Regards,
    Chinna

    thanks again, one more Q.
    in XSLT mapping i have written for loop for complete structure.
    example : <Details>
                         <node1>
                         <node2>
                   </details>
    in XSLT mapping
                         <xsl:for-each select="ZMATMAS_01/IDOC/E1MARAM">
         <Details>
         </Details>
         </xsl:for-each>
    if i add the field at target side....then i will come under details node and it will be repeated.
    how to declare in XSLT mapping.

  • Count number of rows from oracle and sql database and generate a report

    Hi All,
    Can someone help me in writing a java program for the following scenario?
    1. Read the number of rows available from oracle table and print the total row count in a Report.txt text file.
    2. Read the number of rows inserted in a sql database (after a specific process-just an information) and print the total row count in the same text file Report.txt .
    3. Read the Error Log file (which is generated after a specific process say it has success and failed report for each iterations) and print the number of success and number of failure in the same text file Report.txt .
    I need the final Report.txt file in the following format:
    1. Oracle table <table name> has 500000 rows.
    2. After completion of the specific process 300000 rows were added to SQL table <table name>
    Error Log Report:
    300000 successfull entries and 200000 failed entries were found from the Error Log file.

    Thanks for your immediate reply.
    I'm just a beginner in java so if i make any mistake please correct and excuse me. :)
    This is the code i have for connecting to two different database.
    package connectDatabase;
    * @author
    import java.sql.*;
    public class ConnectTo
         public void OracleDB()
              Connection dbconn;
              try {
                DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
                String connString="jdbc:oracle:thin:@SYS_IP:1521:oracl";
                dbconn = DriverManager.getConnection(connString, "uname","pwd" );
            catch(SQLException sqlex)
                 sqlex.printStackTrace();
            catch(Exception excp)
                excp.printStackTrace();
         public void SqlDB()
              Connection conn;
              try { 
                Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); 
                String url = "jdbc:odbc:connectDB"; 
                conn = DriverManager.getConnection(url,"uname","pwd");  
              catch (Exception e)
                System.err.println("An Exception occured! " +e.getMessage()); 
    }I'm just codding the second half which is for connecting to oracle databse and calculates the row count and displayes in the command prompt.
    then connects to SQL database and counts successfull insert in the table.(row count) and displayes on the command prompt.
    can you simplify the above code so that i can call the oracleDB() method and SqlDB() method seperately from another calss file using the object of this class?
    I'm ok if the report can be seen in a command prompt. FInally i need to calculate the success and failure count from the log file. will let you know once i'm done with codding.

  • Error while generating earlywatch report.

    Hi Guru's
                  I am having problem in generating earlywatch report.
    In solution manager i find these errors:-
    The data for this session is overdue. Data has not yet been transferred from the associated satellite system.
    Go to the Service Data Control Center (transaction SDCCN) in the satellite system and check why the data has not been sent.
    Typical sources of errors are:
    The RFC connection for the SAP Solution Manager system is not working.
    The 'Task Processor' background job, which collects the session data, has been changed.
    Problems arose while data was being collected (see the detail log for the task that collects the session data).
    A periodic 'SDCC Maintenance Package' task has not been scheduled to check whether your SAP Solution Manager system requests session data.
    Session number: 1000000002286
    In source system tcode sdccn when i try to run Refresh sessions i get following error:-
    31.05.2010     12:24:34      > Task rescheduled for 20100531125533 ( attempt 0001 )     /BDL/SAPLBDL11     0
    31.05.2010     12:24:34     Refresh of session overview failed from destination SM_SMPCLNT100_BACK     /BDL/SAPLBDL11     0
    31.05.2010     12:24:34      > Sessions cannot be refreshed from destination SM_SMPCLNT100_BACK ( SMP , 0020275310 )     /BDL/SAPLBDL11     0
    31.05.2010     12:24:34      > You cannot log on (CUA system assignment missing)     /BDL/SAPLBDL11     0
    31.05.2010     12:24:34      > error reading function module interface DSWP_API_SESSIONLIST_GET from  SM_SMPCLNT100_BACK     /BDL/SAPLBDL11     0
    31.05.2010     12:23:58     Refresh of session overview started from destination SM_SMPCLNT100_BACK     /BDL/SAPLBDL11     0
    I have checked with the rfc's they are working fine.
    Please help.
    Regards
    Akif

    Hi Akif,
    Could you please try deleting the RFC Connection and entering it again in the Managed system.
    1) SDCCN
    2) Goto-> Settings-> Task specific.
    3) RFC Destinations-> Settings click on change mode.
    4) Delete the RFC and then add the RFC Connection again and mark as Master and active.
    Then check it, hope it solves the issue.
    Thanks,
    Raghavendra.

  • Error while generating  BI Reports with Formules From Oracle 10g reports

    Hi Team,
    I had a problem of viewing reports in Bi Publisher. I will explain what i am doing
    I an taking an example table emplyee to generate the reports
    create or replace package body tstPkg as
    I am creating Package Header as Below
    function check_role(p_sal number) return varchar2 as
    v varchar2(100);
    begin
    if p_sal > 2000 then
    v := 'MGR';
    else
    v := 'EXEC';
    end if;
    return v;
    end;
    and I am creating Package Body
    create or replace package tstPkg as
    function check_role(p_sal number) return varchar2;
    end;
    after creation i am generating a report by using the formulae so that in paper layout it will generate 14 pages
    with an extra column in a passage format.
    After this i saved it in specific folder
    Then i am converting to XML by using "Reports Converter" Tool to xml.
    By using ConvetionTool ioracle.apps.xdo.rdfparser.BIPBatchConversion , i converted the xml file and it generated .Pls files , template files and the rest..
    After this i cpoied the folder structure into bi publisher reports, then i refreshed the metadata and i changed the defualt data source. but it showing the error as
    ORA-00923: FROM keyword not found where expected
    and my quetry is like this in data template
    select *,EmpSal.cf_1formula(emp.SAL) CF_1 from emp
    How to resolve the above problem?
    Regards
    Bhuvan
    end;
    Edited by: 867649 on Jun 22, 2011 6:38 AM

    Hi,
    When i tried to compile below packages. It gave 'Warning: Package altered with compilation errors.' message for both.
    DBMS_SWRF_REPORT_INTERNAL
    DBMS_SWRF_INTERNAL
    Again i came back to original position. Now again all 4 objects are in INVALID state. Please advice.
    Regards

  • Error in generating parameterized report in siebel 8.1.1.5

    Hi, we recently upgraded to siebel 8.1.1.5. My report displays the values selected by the user in the parameter applet. I have done the following as indicated in the Reports Guide:
    1) Define parameters in Siebel UI
    Label: Report View Type
    Name: Report_View_Type
    Type: LOV
    Picklist: Plan List Report Type
    2) Declare the parameter in rtf template
    <?param@begin: Report_View_Type?>
    3) Upload template in Templates view
    4) Associate view
    The parameter applet appears but after clicking the Submit button, Siebel goes idle. I can't do anything so I resort to closing the entire window. I don't seem to find any error logged in the xdo.log file:
    [121911_044545055][][STATEMENT] PublicReportService::uploadReportDataChunk Service BEGIN
    [121911_044545055][][STATEMENT] PublicReportService::uploadReportDataChunk the first chunk of XML Report Data
    [121911_044613540][][STATEMENT] PublicReportService::runReport Service BEGIN
    [121911_044613540][][STATEMENT] PublicReportService::initSession BEGIN
    [121911_044613540][][EVENT] SiebelValidator(Properties prop)
    [121911_044613540][][EVENT] endpoint:http://10.205.18.56/eai_enu/start.swe?SWEExtSource=WebService&SWEExtCmd=Execute
    [121911_044613540][][EVENT] adminUsername:SADMIN
    [121911_044613540][][EVENT] adminPassword:********
    [121911_044613540][][EVENT] Endponit contains no UserName or Password, appending it with Admin's
    [121911_044637368][][EVENT] GetRoles() returnsSiebel Administrator,DoCS Data Administrator,XMLP_ADMIN,XMLP_DEVELOPER,XMLP_SCHEDULER,XMLP_SIEBEL_GUEST,Siebel Developers,DoCS System Administrator,DoCS Administrator,DoCS Manager,Genesys Multimedia Agent,DoCS FAU Manager,DoCS OOHC MDS Portal,DoCS OOHC MDS KIDS,DoCS Portal Generic,CIW Report Creator,CIW Report Viewer,CIW Administrator
    [121911_044637368][][STATEMENT] PublicReportService::initSession END --- Elapse Time = 23828
    [121911_044637368][][STATEMENT] PublicReportService::generateReport BEGIN
    [121911_044637368][][STATEMENT] ReportAbsPath = /SiebelCRMReports/Plans List Report 8115b/Plans List Report 8115b.xdo
    [121911_044637368][][STATEMENT] ********** By Pass DocumentCache is false
    [121911_044637368][][STATEMENT] Logger.init(): *** DEBUG MODE IS ON. ***
    [121911_044637383][][STATEMENT] Logger.init(): LogDir=D:\BIPHome_1\jdk\jre\lib\Temp
    [121911_044637383][][STATEMENT] [ PDF GENERATOR ]---------------------------------------------
    [121911_044637383][][STATEMENT] XDO version = Oracle BI Publisher 10.1.3.4.1
    [121911_044637383][][STATEMENT] java.home = D:\BIPHome_1\jdk\jre
    [121911_044637383][][STATEMENT] XDO_TOP = null
    [121911_044637383][][STATEMENT] Config Path = null
    [121911_044637383][][STATEMENT] Debug Cfg Path= D:\BIPHome_1\jdk\jre\lib\xdodebug.cfg
    [121911_044637383][][STATEMENT] Font dir = D:\BIPHome_1\jdk\jre\lib\fonts\
    [121911_044637383][][STATEMENT] Locale = en-US
    [121911_044637383][][STATEMENT] Fallback font = type1.Helvetica
    [121911_044637383][][STATEMENT] [ PDF GENERATOR PROPERTIES ]----------------------------------
    [121911_044637399][][STATEMENT] digit-substitution=null(not set)
    [121911_044637399][][STATEMENT] font.ALBANY WT J.normal.normal=truetype.D:\BIPHome_1\jdk\jre\lib\fonts\ALBANWTJ.ttf
    [121911_044637399][][STATEMENT] font.ALBANY WT K.normal.normal=truetype.D:\BIPHome_1\jdk\jre\lib\fonts\ALBANWTK.ttf
    [121911_044637399][][STATEMENT] font.ALBANY WT SC.normal.normal=truetype.D:\BIPHome_1\jdk\jre\lib\fonts\ALBANWTS.ttf
    [121911_044637399][][STATEMENT] font.ALBANY WT TC.normal.normal=truetype.D:\BIPHome_1\jdk\jre\lib\fonts\ALBANWTT.ttf
    [121911_044637399][][STATEMENT] font.ALBANY WT.normal.normal=truetype.D:\BIPHome_1\jdk\jre\lib\fonts\ALBANYWT.ttf
    [121911_044637399][][STATEMENT] font.ANDALE DUOSPACE WT J.normal.bold=truetype.D:\BIPHome_1\jdk\jre\lib\fonts\ADUOJB.ttf
    [121911_044637399][][STATEMENT] font.ANDALE DUOSPACE WT J.normal.normal=truetype.D:\BIPHome_1\jdk\jre\lib\fonts\ADUOJ.ttf
    [121911_044637399][][STATEMENT] font.ANDALE DUOSPACE WT K.normal.bold=truetype.D:\BIPHome_1\jdk\jre\lib\fonts\ADUOKB.ttf
    [121911_044637399][][STATEMENT] font.ANDALE DUOSPACE WT K.normal.normal=truetype.D:\BIPHome_1\jdk\jre\lib\fonts\ADUOK.ttf
    [121911_044637399][][STATEMENT] font.ANDALE DUOSPACE WT SC.normal.bold=truetype.D:\BIPHome_1\jdk\jre\lib\fonts\ADUOSCB.ttf
    [121911_044637399][][STATEMENT] font.ANDALE DUOSPACE WT SC.normal.normal=truetype.D:\BIPHome_1\jdk\jre\lib\fonts\ADUOSC.ttf
    [121911_044637399][][STATEMENT] font.ANDALE DUOSPACE WT TC.normal.bold=truetype.D:\BIPHome_1\jdk\jre\lib\fonts\ADUOTCB.ttf
    [121911_044637399][][STATEMENT] font.ANDALE DUOSPACE WT TC.normal.normal=truetype.D:\BIPHome_1\jdk\jre\lib\fonts\ADUOTC.ttf
    [121911_044637399][][STATEMENT] font.ANDALE DUOSPACE WT.normal.bold=truetype.D:\BIPHome_1\jdk\jre\lib\fonts\ADUOB.ttf
    [121911_044637399][][STATEMENT] font.ANDALE DUOSPACE WT.normal.normal=truetype.D:\BIPHome_1\jdk\jre\lib\fonts\ADUO.ttf
    [121911_044637399][][STATEMENT] font.CG TIMES.italic.bold=type1.Times-BoldItalic
    [121911_044637399][][STATEMENT] font.CG TIMES.italic.normal=type1.Times-Italic
    [121911_044637399][][STATEMENT] font.CG TIMES.normal.bold=type1.Times-Bold
    [121911_044637399][][STATEMENT] font.CG TIMES.normal.normal=type1.Times-Roman
    [121911_044637399][][STATEMENT] font.COURIER NEW.italic.bold=type1.Courier-BoldOblique
    [121911_044637399][][STATEMENT] font.COURIER NEW.italic.normal=type1.Courier-Oblique
    [121911_044637415][][STATEMENT] font.COURIER NEW.normal.bold=type1.Courier-Bold
    [121911_044637415][][STATEMENT] font.COURIER NEW.normal.normal=type1.Courier
    [121911_044637415][][STATEMENT] font.COURIER.italic.bold=type1.Courier-BoldOblique
    [121911_044637415][][STATEMENT] font.COURIER.italic.normal=type1.Courier-Oblique
    [121911_044637415][][STATEMENT] font.COURIER.normal.bold=type1.Courier-Bold
    [121911_044637415][][STATEMENT] font.COURIER.normal.normal=type1.Courier
    [121911_044637415][][STATEMENT] font.DEFAULT.italic.bold=type1.Helvetica-BoldOblique
    [121911_044637415][][STATEMENT] font.DEFAULT.italic.normal=type1.Helvetica-Oblique
    [121911_044637415][][STATEMENT] font.DEFAULT.normal.bold=type1.Helvetica-Bold
    [121911_044637415][][STATEMENT] font.DEFAULT.normal.normal=type1.Helvetica
    [121911_044637415][][STATEMENT] font.HELVETICA.italic.bold=type1.Helvetica-BoldOblique
    [121911_044637415][][STATEMENT] font.HELVETICA.italic.normal=type1.Helvetica-Oblique
    [121911_044637415][][STATEMENT] font.HELVETICA.normal.bold=type1.Helvetica-Bold
    [121911_044637415][][STATEMENT] font.HELVETICA.normal.normal=type1.Helvetica
    [121911_044637415][][STATEMENT] font.MONOSPACE.italic.bold=type1.Courier-BoldOblique
    [121911_044637415][][STATEMENT] font.MONOSPACE.italic.normal=type1.Courier-Oblique
    [121911_044637415][][STATEMENT] font.MONOSPACE.normal.bold=type1.Courier-Bold
    [121911_044637415][][STATEMENT] font.MONOSPACE.normal.normal=type1.Courier
    [121911_044637415][][STATEMENT] font.SANS-SERIF.italic.bold=type1.Helvetica-BoldOblique
    [121911_044637415][][STATEMENT] font.SANS-SERIF.italic.normal=type1.Helvetica-Oblique
    [121911_044637415][][STATEMENT] font.SANS-SERIF.normal.bold=type1.Helvetica-Bold
    [121911_044637415][][STATEMENT] font.SANS-SERIF.normal.normal=type1.Helvetica
    [121911_044637430][][STATEMENT] font.SERIF.italic.bold=type1.Times-BoldItalic
    [121911_044637430][][STATEMENT] font.SERIF.italic.normal=type1.Times-Italic
    [121911_044637430][][STATEMENT] font.SERIF.normal.bold=type1.Times-Bold
    [121911_044637430][][STATEMENT] font.SERIF.normal.normal=type1.Times-Roman
    [121911_044637430][][STATEMENT] font.SYMBOL.normal.normal=type1.Symbol
    [121911_044637430][][STATEMENT] font.TIMES NEW ROMAN.italic.bold=type1.Times-BoldItalic
    [121911_044637430][][STATEMENT] font.TIMES NEW ROMAN.italic.normal=type1.Times-Italic
    [121911_044637430][][STATEMENT] font.TIMES NEW ROMAN.normal.bold=type1.Times-Bold
    [121911_044637430][][STATEMENT] font.TIMES NEW ROMAN.normal.normal=type1.Times-Roman
    [121911_044637430][][STATEMENT] font.TIMES.italic.bold=type1.Times-BoldItalic
    [121911_044637430][][STATEMENT] font.TIMES.italic.normal=type1.Times-Italic
    [121911_044637430][][STATEMENT] font.TIMES.normal.bold=type1.Times-Bold
    [121911_044637430][][STATEMENT] font.TIMES.normal.normal=type1.Times-Roman
    [121911_044637430][][STATEMENT] font.ZAPFDINGBATS.normal.normal=type1.ZapfDingbats
    [121911_044637430][][STATEMENT] pdf-changes-allowed=0
    [121911_044637430][][STATEMENT] pdf-compression=true
    [121911_044637430][][STATEMENT] pdf-enable-accessibility=true
    [121911_044637430][][STATEMENT] pdf-enable-copying=false
    [121911_044637430][][STATEMENT] pdf-encryption-level=0
    [121911_044637430][][STATEMENT] pdf-font-embedding=true
    [121911_044637430][][STATEMENT] pdf-hide-menubar=false
    [121911_044637430][][STATEMENT] pdf-hide-toolbar=false
    [121911_044637430][][STATEMENT] pdf-no-accff=false
    [121911_044637446][][STATEMENT] pdf-no-cceda=false
    [121911_044637446][][STATEMENT] pdf-no-changing-the-document=false
    [121911_044637446][][STATEMENT] pdf-no-printing=false
    [121911_044637446][][STATEMENT] pdf-open-password=
    [121911_044637446][][STATEMENT] pdf-permissions=0
    [121911_044637446][][STATEMENT] pdf-permissions-password=
    [121911_044637446][][STATEMENT] pdf-printing-allowed=0
    [121911_044637446][][STATEMENT] pdf-replace-smartquotes=true
    [121911_044637446][][STATEMENT] pdf-security=false
    [121911_044637446][][STATEMENT] ------------------------------------------------------
    [121911_044637461][oracle.apps.xdo.common.font.FontFactory$FontDef][STATEMENT] Type1 font created: Helvetica
    [121911_044637461][oracle.apps.xdo.template.rtf.RTFParagraph][STATEMENT] stylename=Normal
    [121911_044637461][oracle.apps.xdo.template.rtf.RTFParagraph][STATEMENT] stylename=Normal
    [121911_044637461][oracle.apps.xdo.template.rtf.RTFParagraph][STATEMENT] stylename=Normal
    [121911_044637461][oracle.apps.xdo.template.rtf.RTFParagraph][STATEMENT] stylename=Normal
    [121911_044637461][oracle.apps.xdo.template.rtf.RTFParagraph][STATEMENT] stylename=Normal
    [121911_044637461][oracle.apps.xdo.template.rtf.RTFParagraph][STATEMENT] stylename=Normal
    [121911_044637461][oracle.apps.xdo.template.rtf.RTFParagraph][STATEMENT] stylename=Normal
    [121911_044637461][oracle.apps.xdo.template.rtf.RTFParagraph][STATEMENT] stylename=Normal
    [121911_044637461][oracle.apps.xdo.common.font.FontFactory$FontDef][STATEMENT] Type1 font created: Helvetica-Bold
    [121911_044637461][oracle.apps.xdo.template.rtf.RTFParagraph][STATEMENT] stylename=Normal
    [121911_044637461][oracle.apps.xdo.template.rtf.RTFParagraph][STATEMENT] stylename=Normal
    [121911_044637477][oracle.apps.xdo.template.rtf.RTFParagraph][STATEMENT] stylename=Normal
    [121911_044637477][oracle.apps.xdo.template.rtf.RTFParagraph][STATEMENT] stylename=Normal
    [121911_044637477][oracle.apps.xdo.template.rtf.RTFParagraph][STATEMENT] stylename=Normal
    [121911_044637477][oracle.apps.xdo.template.rtf.RTFParagraph][STATEMENT] stylename=Normal
    [121911_044637477][oracle.apps.xdo.template.rtf.RTFParagraph][STATEMENT] stylename=Normal
    [121911_044637477][oracle.apps.xdo.template.rtf.RTFParagraph][STATEMENT] stylename=Normal
    [121911_044637477][oracle.apps.xdo.template.rtf.RTFParagraph][STATEMENT] stylename=Normal
    [121911_044637477][oracle.apps.xdo.template.rtf.RTFParagraph][STATEMENT] stylename=Normal
    [121911_044637477][oracle.apps.xdo.template.rtf.RTFParagraph][STATEMENT] stylename=Normal
    [121911_044637477][oracle.apps.xdo.template.rtf.RTFParagraph][STATEMENT] stylename=Normal
    [121911_044637477][oracle.apps.xdo.template.rtf.RTFParagraph][STATEMENT] stylename=Normal
    [121911_044637477][oracle.apps.xdo.template.rtf.RTFParagraph][STATEMENT] stylename=Normal
    [121911_044637477][oracle.apps.xdo.template.rtf.RTFParagraph][STATEMENT] stylename=Normal
    [121911_044637477][oracle.apps.xdo.template.rtf.RTFParagraph][STATEMENT] stylename=Normal
    [121911_044637493][oracle.apps.xdo.template.rtf.RTFParagraph][STATEMENT] stylename=Normal
    [121911_044637493][oracle.apps.xdo.template.rtf.RTFParagraph][STATEMENT] stylename=Normal
    [121911_044637493][oracle.apps.xdo.template.rtf.RTFParagraph][STATEMENT] stylename=Normal
    [121911_044637493][oracle.apps.xdo.template.rtf.RTFParagraph][STATEMENT] stylename=Normal
    [121911_044637493][oracle.apps.xdo.template.rtf.RTF2XSLParser][STATEMENT] Time spent: 110
    [121911_044637508][oracle.apps.xdo.common.font.FontFactory][STATEMENT] type1.Helvetica closed.
    [121911_044637508][oracle.apps.xdo.common.font.FontFactory][STATEMENT] type1.Helvetica-Bold closed.
    [121911_044637508][][STATEMENT] Setting data definition:Report_View_Type type:oracle.apps.xdo.servlet.data.bind.ReportParameterBoundValue
    [121911_044637508][][STATEMENT] Set ReportRequest's parameters key[0], Report_View_Type
    [121911_044637508][][STATEMENT] Set ReportRequest's parameters value[0], [Ljava.lang.String;@1639ff
    [121911_044637508][][STATEMENT] Default Report OutputFormat = html
    [121911_044637524][][STATEMENT] Logger.init(): *** DEBUG MODE IS ON. ***
    [121911_044637524][][STATEMENT] Logger.init(): LogDir=D:\BIPHome_1\jdk\jre\lib\Temp
    [121911_044637524][oracle.apps.xdo.template.FOProcessor][STATEMENT] FOProcessor constructor is called.
    [121911_044637524][oracle.apps.xdo.template.FOProcessor][STATEMENT] FOProcessor has been initialized without default config.
    [121911_044637524][oracle.apps.xdo.template.FOProcessor][STATEMENT] FOProcessor.setLocale is called with 'en-US'.
    [121911_044637524][oracle.apps.xdo.template.FOProcessor][STATEMENT] FOProcessor.setTemplate(InputStream)is called.
    [121911_044637524][][STATEMENT] Logger.init(): *** DEBUG MODE IS ON. ***
    [121911_044637524][][STATEMENT] Logger.init(): LogDir=D:\BIPHome_1\jdk\jre\lib\Temp
    [121911_044637524][oracle.apps.xdo.template.FOProcessor][STATEMENT] Log file 'xdo_121911_044637524_fo_data_15.xsl' is created.
    [121911_044637524][oracle.apps.xdo.template.FOProcessor][STATEMENT] FOProcessor.setData(InputStream) is called.
    [121911_044637524][oracle.apps.xdo.template.FOProcessor][STATEMENT] Log file 'xdo_121911_044637524_fo_data_16.xml' is created.
    [121911_044637774][oracle.apps.xdo.template.FOProcessor][STATEMENT] Log file 'xdo_121911_044637524_fo_out7.out' is created.
    [121911_044637774][oracle.apps.xdo.template.FOProcessor][STATEMENT] FOProcessor.setOutput(OutputStream)is called.
    [121911_044637774][oracle.apps.xdo.template.FOProcessor][STATEMENT] FOProcessor.setOutputFormat(byte)is called with ID=1.
    [121911_044637774][oracle.apps.xdo.template.FOProcessor][STATEMENT] Start Memory: max=508MB, total=163MB, free=45MB
    [121911_044637774][oracle.apps.xdo.template.FOProcessor][STATEMENT] FOProcessor.generate() called.
    [121911_044637774][oracle.apps.xdo.template.FOProcessor][STATEMENT] createFO(Object, Object) is called.
    [121911_044637774][oracle.apps.xdo.common.xml.XSLT10gR1][STATEMENT] Oracle XML Developers Kit 10.1.0.5.0 - Production
    [121911_044637790][oracle.apps.xdo.common.xml.XSLT10gR1][STATEMENT] Scalable Feature Disabled
    [121911_044638180][oracle.apps.xdo.template.FOProcessor][STATEMENT] Log file 'xdo_121911_044637524_fo_fo_18.fo' is created.
    [121911_044638180][][STATEMENT] XSL-T time used: 406
    [121911_044638196][oracle.apps.xdo.template.fo.FOProcessingEngine][STATEMENT] Using proxy for PDF Generator
    [121911_044638196][oracle.apps.xdo.template.FOProcessor][STATEMENT] Calling FOProcessingEngine.process()
    [121911_044638196][][STATEMENT] Using optimized xslt
    [121911_044638196][][STATEMENT] [ PDF GENERATOR ]---------------------------------------------
    [121911_044638196][][STATEMENT] XDO version = Oracle BI Publisher 10.1.3.4.1
    [121911_044638196][][STATEMENT] java.home = D:\BIPHome_1\jdk\jre
    [121911_044638196][][STATEMENT] XDO_TOP = null
    [121911_044638196][][STATEMENT] Config Path = null
    [121911_044638196][][STATEMENT] Debug Cfg Path= D:\BIPHome_1\jdk\jre\lib\xdodebug.cfg
    [121911_044638196][][STATEMENT] Font dir = D:\BIPHome_1\jdk\jre\lib\fonts\
    [121911_044638196][][STATEMENT] Locale = en-US
    [121911_044638196][][STATEMENT] Fallback font = type1.Helvetica
    [121911_044638196][][STATEMENT] [ PDF GENERATOR PROPERTIES ]----------------------------------
    [121911_044638196][][STATEMENT] digit-substitution=null(not set)
    [121911_044638196][][STATEMENT] font.ALBANY WT J.normal.normal=truetype.D:\BIPHome_1\jdk\jre\lib\fonts\ALBANWTJ.ttf
    [121911_044638196][][STATEMENT] font.ALBANY WT K.normal.normal=truetype.D:\BIPHome_1\jdk\jre\lib\fonts\ALBANWTK.ttf
    [121911_044638196][][STATEMENT] font.ALBANY WT SC.normal.normal=truetype.D:\BIPHome_1\jdk\jre\lib\fonts\ALBANWTS.ttf
    [121911_044638196][][STATEMENT] font.ALBANY WT TC.normal.normal=truetype.D:\BIPHome_1\jdk\jre\lib\fonts\ALBANWTT.ttf
    [121911_044638211][][STATEMENT] font.ALBANY WT.normal.normal=truetype.D:\BIPHome_1\jdk\jre\lib\fonts\ALBANYWT.ttf
    [121911_044638211][][STATEMENT] font.ANDALE DUOSPACE WT J.normal.bold=truetype.D:\BIPHome_1\jdk\jre\lib\fonts\ADUOJB.ttf
    [121911_044638211][][STATEMENT] font.ANDALE DUOSPACE WT J.normal.normal=truetype.D:\BIPHome_1\jdk\jre\lib\fonts\ADUOJ.ttf
    [121911_044638211][][STATEMENT] font.ANDALE DUOSPACE WT K.normal.bold=truetype.D:\BIPHome_1\jdk\jre\lib\fonts\ADUOKB.ttf
    [121911_044638211][][STATEMENT] font.ANDALE DUOSPACE WT K.normal.normal=truetype.D:\BIPHome_1\jdk\jre\lib\fonts\ADUOK.ttf
    [121911_044638211][][STATEMENT] font.ANDALE DUOSPACE WT SC.normal.bold=truetype.D:\BIPHome_1\jdk\jre\lib\fonts\ADUOSCB.ttf
    [121911_044638211][][STATEMENT] font.ANDALE DUOSPACE WT SC.normal.normal=truetype.D:\BIPHome_1\jdk\jre\lib\fonts\ADUOSC.ttf
    [121911_044638211][][STATEMENT] font.ANDALE DUOSPACE WT TC.normal.bold=truetype.D:\BIPHome_1\jdk\jre\lib\fonts\ADUOTCB.ttf
    [121911_044638211][][STATEMENT] font.ANDALE DUOSPACE WT TC.normal.normal=truetype.D:\BIPHome_1\jdk\jre\lib\fonts\ADUOTC.ttf
    [121911_044638211][][STATEMENT] font.ANDALE DUOSPACE WT.normal.bold=truetype.D:\BIPHome_1\jdk\jre\lib\fonts\ADUOB.ttf
    [121911_044638211][][STATEMENT] font.ANDALE DUOSPACE WT.normal.normal=truetype.D:\BIPHome_1\jdk\jre\lib\fonts\ADUO.ttf
    [121911_044638211][][STATEMENT] font.CG TIMES.italic.bold=type1.Times-BoldItalic
    [121911_044638211][][STATEMENT] font.CG TIMES.italic.normal=type1.Times-Italic
    [121911_044638211][][STATEMENT] font.CG TIMES.normal.bold=type1.Times-Bold
    [121911_044638211][][STATEMENT] font.CG TIMES.normal.normal=type1.Times-Roman
    [121911_044638211][][STATEMENT] font.COURIER NEW.italic.bold=type1.Courier-BoldOblique
    [121911_044638211][][STATEMENT] font.COURIER NEW.italic.normal=type1.Courier-Oblique
    [121911_044638211][][STATEMENT] font.COURIER NEW.normal.bold=type1.Courier-Bold
    [121911_044638211][][STATEMENT] font.COURIER NEW.normal.normal=type1.Courier
    [121911_044638211][][STATEMENT] font.COURIER.italic.bold=type1.Courier-BoldOblique
    [121911_044638227][][STATEMENT] font.COURIER.italic.normal=type1.Courier-Oblique
    [121911_044638227][][STATEMENT] font.COURIER.normal.bold=type1.Courier-Bold
    [121911_044638227][][STATEMENT] font.COURIER.normal.normal=type1.Courier
    [121911_044638227][][STATEMENT] font.DEFAULT.italic.bold=type1.Helvetica-BoldOblique
    [121911_044638227][][STATEMENT] font.DEFAULT.italic.normal=type1.Helvetica-Oblique
    [121911_044638227][][STATEMENT] font.DEFAULT.normal.bold=type1.Helvetica-Bold
    [121911_044638227][][STATEMENT] font.DEFAULT.normal.normal=type1.Helvetica
    [121911_044638227][][STATEMENT] font.HELVETICA.italic.bold=type1.Helvetica-BoldOblique
    [121911_044638227][][STATEMENT] font.HELVETICA.italic.normal=type1.Helvetica-Oblique
    [121911_044638227][][STATEMENT] font.HELVETICA.normal.bold=type1.Helvetica-Bold
    [121911_044638227][][STATEMENT] font.HELVETICA.normal.normal=type1.Helvetica
    [121911_044638227][][STATEMENT] font.MONOSPACE.italic.bold=type1.Courier-BoldOblique
    [121911_044638227][][STATEMENT] font.MONOSPACE.italic.normal=type1.Courier-Oblique
    [121911_044638227][][STATEMENT] font.MONOSPACE.normal.bold=type1.Courier-Bold
    [121911_044638227][][STATEMENT] font.MONOSPACE.normal.normal=type1.Courier
    [121911_044638227][][STATEMENT] font.SANS-SERIF.italic.bold=type1.Helvetica-BoldOblique
    [121911_044638227][][STATEMENT] font.SANS-SERIF.italic.normal=type1.Helvetica-Oblique
    [121911_044638227][][STATEMENT] font.SANS-SERIF.normal.bold=type1.Helvetica-Bold
    [121911_044638227][][STATEMENT] font.SANS-SERIF.normal.normal=type1.Helvetica
    [121911_044638227][][STATEMENT] font.SERIF.italic.bold=type1.Times-BoldItalic
    [121911_044638227][][STATEMENT] font.SERIF.italic.normal=type1.Times-Italic
    [121911_044638227][][STATEMENT] font.SERIF.normal.bold=type1.Times-Bold
    [121911_044638227][][STATEMENT] font.SERIF.normal.normal=type1.Times-Roman
    [121911_044638243][][STATEMENT] font.SYMBOL.normal.normal=type1.Symbol
    [121911_044638243][][STATEMENT] font.TIMES NEW ROMAN.italic.bold=type1.Times-BoldItalic
    [121911_044638243][][STATEMENT] font.TIMES NEW ROMAN.italic.normal=type1.Times-Italic
    [121911_044638243][][STATEMENT] font.TIMES NEW ROMAN.normal.bold=type1.Times-Bold
    [121911_044638243][][STATEMENT] font.TIMES NEW ROMAN.normal.normal=type1.Times-Roman
    [121911_044638243][][STATEMENT] font.TIMES.italic.bold=type1.Times-BoldItalic
    [121911_044638243][][STATEMENT] font.TIMES.italic.normal=type1.Times-Italic
    [121911_044638243][][STATEMENT] font.TIMES.normal.bold=type1.Times-Bold
    [121911_044638243][][STATEMENT] font.TIMES.normal.normal=type1.Times-Roman
    [121911_044638243][][STATEMENT] font.ZAPFDINGBATS.normal.normal=type1.ZapfDingbats
    [121911_044638243][][STATEMENT] pdf-changes-allowed=0
    [121911_044638243][][STATEMENT] pdf-compression=true
    [121911_044638243][][STATEMENT] pdf-enable-accessibility=true
    [121911_044638243][][STATEMENT] pdf-enable-copying=false
    [121911_044638243][][STATEMENT] pdf-encryption-level=0
    [121911_044638243][][STATEMENT] pdf-font-embedding=true
    [121911_044638243][][STATEMENT] pdf-hide-menubar=false
    [121911_044638243][][STATEMENT] pdf-hide-toolbar=false
    [121911_044638243][][STATEMENT] pdf-no-accff=false
    [121911_044638243][][STATEMENT] pdf-no-cceda=false
    [121911_044638243][][STATEMENT] pdf-no-changing-the-document=false
    [121911_044638243][][STATEMENT] pdf-no-printing=false
    [121911_044638243][][STATEMENT] pdf-open-password=
    [121911_044638258][][STATEMENT] pdf-permissions=0
    [121911_044638258][][STATEMENT] pdf-permissions-password=
    [121911_044638258][][STATEMENT] pdf-printing-allowed=0
    [121911_044638258][][STATEMENT] pdf-replace-smartquotes=true
    [121911_044638258][][STATEMENT] pdf-security=false
    [121911_044638258][][STATEMENT] ------------------------------------------------------
    [121911_044638258][][STATEMENT] Rendering page [1]
    [121911_044638258][][STATEMENT] Phase2 time used: 0ms
    [121911_044638258][][STATEMENT] Continue rendering page [1]
    [121911_044638258][oracle.apps.xdo.common.font.FontFactory$FontDef][STATEMENT] Type1 font created: Helvetica
    [121911_044638258][oracle.apps.xdo.common.font.FontFactory$FontDef][STATEMENT] Type1 font created: Helvetica-Bold
    [121911_044638258][][STATEMENT] Phase2 time used: 0ms
    [121911_044638258][][STATEMENT] Continue rendering page [1]
    [121911_044638258][][STATEMENT] Phase2 time used: 0ms
    [121911_044638258][][STATEMENT] Continue rendering page [1]
    [121911_044638258][][STATEMENT] Phase2 time used: 0ms
    [121911_044638274][][STATEMENT] Continue rendering page [1]
    [121911_044638274][][STATEMENT] Phase2 time used: 0ms
    [121911_044638274][][STATEMENT] Continue rendering page [1]
    [121911_044638274][][STATEMENT] Phase2 time used: 0ms
    [121911_044638274][][STATEMENT] Continue rendering page [1]
    [121911_044638274][][STATEMENT] Phase2 time used: 0ms
    [121911_044638274][][STATEMENT] Continue rendering page [1]
    [121911_044638274][][STATEMENT] Phase2 time used: 0ms
    [121911_044638274][][STATEMENT] Continue rendering page [1]
    [121911_044638274][][STATEMENT] Generating page [1]
    [121911_044638274][][STATEMENT] Phase2 time used: 0ms
    [121911_044638274][][STATEMENT] Total time used: 78ms for processing XSL-FO
    [121911_044638274][oracle.apps.xdo.common.font.FontFactory][STATEMENT] type1.Helvetica closed.
    [121911_044638274][oracle.apps.xdo.common.font.FontFactory][STATEMENT] type1.Helvetica-Bold closed.
    [121911_044638274][][STATEMENT] FO+Gen time used: 78 msecs
    [121911_044638290][oracle.apps.xdo.template.FOProcessor][STATEMENT] clearInputs(Object) is called.
    [121911_044638290][oracle.apps.xdo.template.FOProcessor][STATEMENT] clearInputs(Object) done. All inputs are cleared.
    [121911_044638290][oracle.apps.xdo.template.FOProcessor][STATEMENT] End Memory: max=508MB, total=163MB, free=31MB
    [121911_044638290][][STATEMENT] PublicReportService::generateReport FINISH and Return BIPReportResponse --- Time Elapse = 922
    As you can see, I am testing for only one parameter and am unsuccessful in generating the pdf. Anyone who has a success story with the enhanced parameterized reporting in Siebel 8.1.1.5? We have no problems generating the regular BIP reports (non-parameterized) so I think we can rule out any patch installation issues. Appreciate any help :)

    Please close this thread...it appears that the error occurs when the report involves a big set of records. I tried trying to filter only one record and was able to produce the pdf

  • Error in generating ADDM Report(Oracle 11g 64 bit EE on linux RHEL 5)

    I collected .dmp file from production using awrextr.sql and imported in our development side using awrload.sql .
    I am able to generate awr snapshots report out of it without any trouble.
    But When I try to generate addm report using addmrpti.sql I am facing following error(Please see output pasted below)
    Specify the Report Name
    ~~~~~~~~~~~~~~~~~~~~~~~
    The default report file name is addmrpt_1_7149_7156.txt. To use this name,
    press <return> to continue, otherwise enter an alternative.
    Enter value for report_name:
    Using the report name addmrpt_1_7149_7156.txt
    Running the ADDM analysis on the specified pair of snapshots ...
    begin
    ERROR at line 1:
    ORA-13711: Some snapshots in the range [7149, 7156] are missing key statistics.
    ORA-06512: at "SYS.DBMS_ADVISOR", line 201
    ORA-06512: at line 27
    Generating the ADDM report for this analysis ...
    ERROR:
    ORA-13608: The specified name NULL is invalid.
    ORA-06512: at "SYS.PRVT_ADVISOR", line 3122
    ORA-06512: at "SYS.DBMS_ADVISOR", line 585
    ORA-06512: at line 1
    End of Report
    Report written to addmrpt_1_7149_7156.txt
    SQL>
    Any clue or help will be really helpful for us.

    hello,
    have a look at this'
    ORA-13711:Some snapshots in the range [string, string] are missing key statistics.
    Cause:      Some AWR tables encountered errors while creating one or more
    snapshots in the given range. The data present in one or more of these missing
    tables is necessary to perform an ADDM analysis.
    Action:      Look in DBA_HIST_SNAP_ERROR to find what tables are missing in
    the given snapshot range. Use the ERROR_NUMBER column in that view
    together with the alert log to identify the reason for failure and take necessary action to
    prevent such failures in the future. Try running ADDM on a different snapshot range
    that does not include any incomplete snapshots.thanks and regards
    VD
    Edited by: Dixit on Aug 31, 2009 1:52 AM
    Edited by: Dixit on Aug 31, 2009 1:53 AM

  • Error while generating XMLP report

    Hi,
    I have generated a XML Publisher report using Application Engine (using row set).
    The process runs to NO success and the following error appears in the log file.
    xmlpublisher PTFOProcessor.generateOutput error.
    Exception:null
    Can anyone throw light on as what could be the possible reason for this error.
    xmlpublisher PTFOProcessor.generateOutput error
    Please help me on this.
    thanks in advance
    Venkat

    Hi Kumar,
    By default if a report takes more than 100 seconds to generate you will see the message you have described. In order to view this report you must go to and click the Reports button in the web client tool bar, and click on the option, "My BI Publisher Reports". From this view you will see a list of all reports you have generated. To change the default preference of 100 seconds you can find detailed info under Siebel bookshelf: [http://download.oracle.com/docs/cd/E14004_01/books/Reports/ReportsAdmin9.html#wp305847]
    -Fred

  • Error while generating the report in BI using CRM

    dear experts...   .  / friends  ...
    i have created a query long back called SERVICE REQUEST using Query designer
    using that particular query i have generating the reports from MAY 1 to till date
    in my report i have a characteristics called USER STATUS , for this user status i can restrict the below values i.e
    open
    reopen
    waiting
    in - transfer
    resolved
    new
    completed
    in the above values , i want to get the transaction numbers which are not completed i.e. i need to exclude complete
    and i need to include all the above values
    but after generating the report , am getting completed records too...
    and in the report  i saw for that completed record i have OPEN DOCUMENTS(key figures)  and NO.OF DOCUMENT HEADERS(key figures) is 0
    actually if we see any updated record for the particular report the key figure NO.OF DOCUMENT HEADERS should be 1 right?
    so in my scenario if NO.OF DOCUMENT HEADERS getting 0 so the filter condition for COMPLETED , is not working
    so that the reason  even though i have filtered the COMPLETED value for the USER STATUS field , am getting those
    fields....
    so friends kindly help me in this regard to avoid completed value for the filed USER STATUS..
    thanks in advance...for u r helping
    regards...
    GA

    dear experts,
    for the above issue i have raised the OSS message and i got the below reply as well..
    they told me to create a pre queris can any one help me in this regard?
    =>
    => If you want to ensure that all completed transactions are filtered
    from the report even when keyfigure "open documents" <> 0 then
    you have to adjust your query definitions, e.g. by means of
    pre-queries to create a list of records for which a "completed"
    state-entry exists.

  • Powershell script to count number of list and library items in site collection

    We are identifying large lists in our 2010 SP environment and I'm attempting to write code to output the total number of list items in a site collection.   I'm using the code below but it only displays column data for title and url. 
    What do I need to add so it can count the number of items in each sharepoint list and library? 
    Get-SPSite -WebApplication http://sharepoint -Limit All |
       Select -ExpandProperty AllWebs |
       Select -ExpandProperty Lists |
       Select ParentWebUrl, Title
    I'm referencing
    http://sharepointpromag.com/sharepoint/windows-powershell-scripts-sharepoint-info-files-pagesweb-parts

    Please find belwo script, it will iterarte through all the folder/Subfoder to get the item counts from all list and library, you can modify this script to run this at site collection scope:
    Note: save the script in .ps1 file and execute the script as described below to get log file, it will save the log file out.txt in seleted directory:
    e.g.PS D:\PowershellScripts> .\ListItemCount.ps1 > out.txt
    $SPWebApp = Get-SPWebApplication "http://weburl.com/"
    foreach ($SPSite in $SPWebApp.Sites)
    if ($SPSite -ne $null)
    foreach ($SPWeb in $SPSite.AllWebs)
    foreach ($list in $SPWeb.Lists)
    $ListURL = $SPWeb.url + "/" + $list.RootFolder.Url
    Write-Output $ListURL
    [Microsoft.SharePoint.SPQuery]$query = New-Object Microsoft.SharePoint.SPQuery
    #$query.Folder = fldr;
    #Recursive Scope....
    $query.ViewAttributes = "Scope='Recursive'"
    $allitems = $list.GetItems($query);
    $filecount = $allitems.Count;
    Write-Output " No of item: " $filecount
    if ($SPWeb -ne $null)
    $SPWeb.Dispose()
    if ($SPSite -ne $null)
    $SPSite.Dispose()
    You can update the code to get any specific list type item count, using if($list.BaseType -eq "DocumentLibrary") condition:
    if($list.BaseType -eq "DocumentLibrary")
    $ListURL = $SPWeb.url + "/" + $list.RootFolder.Url
    Write-Output $ListURL
    [Microsoft.SharePoint.SPQuery]$query = New-Object Microsoft.SharePoint.SPQuery
    #$query.Folder = fldr;
    #Recursive Scope....
    $query.ViewAttributes = "Scope='Recursive'"
    $allitems = $list.GetItems($query);
    $filecount = $allitems.Count;
    Write-Output " No of item: " $filecount
    if ($SPWeb -ne $null)
    $SPWeb.Dispose()
    If my contribution helps you, please click Mark As Answer on that post and Vote as Helpful
    Thanks, ShankarSingh

  • Error when generating XL Report from Report Organizre

    Dear Experts,
    I get this error msg, and it happens to a particular XL Report only, other reports are Ok.
    Even so, I dont know hwats wrong if this report. Does anyone know what could have caused this error and what has gone wrong in my report?
    [Click here to view screenshot|http://www.flickr.com/photos/45736280@N07/4887239349/sizes/l/in/photostream/]
    Warmest Regards,
    Chinho

    Dear Chinho,
    I got this kind of problem before.  However it may be caused by different problems. Since it is already start writing the report, it means no problem with the grammar. You may change this report by deleting certain field to troubleshoot.
    Thanks,
    Gordon

Maybe you are looking for

  • Enterprise 420R Memory upgrade question...

    I wish to upgrade/expand the memory in my 420R from 2Gb to 4Gb. I have a complete set of memory totaling 4Gb from another 420R with boot issues (to be resolved later). I remove all memory fro the ailing 420R, set aside, then remove original 2Gb from

  • SOAP over HTTPS Scenario.

    Experts, I am using PO 7.31 Single Stack. I am going to integrate with some Third-Party System ( B2B ) Scenario. As its B2B client want this to integrate this over SSL. We are using SOAP Communication channel at Source side. We have shared a PI WebSe

  • Third party deduction for LIC premium from salary ?

    for deduction of LIC from salary i assigned the standard wagetype MLIC  in v_t7inia . then i maintained the infotype 57 where i maintained  standard wagetype MLIC  with amount 2000 and payment frequecy 3 month start month as november. while i run the

  • Issues with extended chars in names

    Are there any known issues with this API when either the eDir name or GW name contains extended chars? I'm encountering numerous problems creating users and modifying settings (e.g. visibility) with the 8.0.1 client with both the 7.0.3 and 8.0.1 back

  • My Threads Takes 90 secs to Complete or Timeout

    Occasionally works in a few seconds, but 80% of the time very, very slow or it times out.  When it works, it is for a few days, then it goes back to the slow/fail mode. Browser IE 11. Am I doing anything wrong? Thanks. Kalman Toth Database & OLAP Arc