Error while using Before report trigger. -- Urgent

Dear All,
The following error I am getting when I execute my data template where I have used Before Report Trigger. I am also pasting the Data Template that I have developed.
============================
Error
============================
XDO Data Engine Version No: 5.6.3
Resp: 20560
Org ID : 204
Request ID: 4846248
All Parameters: P_LOB=01:P_DIV_FROM=:P_DIV_TO=:P_FROM_ORG=:P_TO_ORG=:P_INV_FROM=:P_TO_INV=:P_TRX_DATE_FROM="2003/01/01 00:00:00":P_TRX_DATE_TO="2003/01/15 00:00:00"
Data Template Code: SSBWIPANA_MFGR
Data Template Application Short Name: WIP
Debug Flag: N
{P_DIV_FROM=, P_TRX_DATE_TO=2003/01/15 00:00:00, P_DIV_TO=, P_FROM_ORG=, P_TO_ORG=, P_TRX_DATE_FROM=2003/01/01 00:00:00, P_INV_FROM=, P_LOB=01, P_TO_INV=}
Calling XDO Data Engine...
[122407_011745100][][EXCEPTION] SQLException encounter while executing data trigger....
java.sql.SQLException: ORA-06550: line 2, column 12:
PLS-00302: component 'P_LOB' must be declared
ORA-06550: line 2, column 1:
PL/SQL: Statement ignored
ORA-06550: line 3, column 12:
PLS-00302: component 'P_DIV_FROM' must be declared
ORA-06550: line 3, column 1:
PL/SQL: Statement ignored
ORA-06550: line 4, column 12:
PLS-00302: component 'P_DIV_TO' must be declared
ORA-06550: line 4, column 1:
PL/SQL: Statement ignored
ORA-06550: line 5, column 12:
PLS-00302: component 'P_FROM_ORG' must be declared
ORA-06550: line 5, column 1:
PL/SQL: Statement ignored
ORA-06550: line 6, column 12:
PLS-00302: component 'P_TO_ORG' must be declared
ORA-06550: line 6, column 1:
PL/SQL: Statement ignored
ORA-06550: line 7, column 12:
PLS-00302: component 'P_FROM_INV' must be declared
ORA-06550: line 7, column 1:
PL/SQL: Statement ignored
ORA-06550: line 8, column 12:
PLS-00302: component 'P_TO_INV' must be declared
ORA-06550: line 8, column 1:
PL/SQL: Statement ignored
     at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
     at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
     at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288)
     at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:743)
     at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:215)
     at oracle.jdbc.driver.T4CCallableStatement.executeForRows(T4CCallableStatement.java:967)
     at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1168)
     at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3327)
     at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3433)
     at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java:4394)
     at oracle.apps.xdo.dataengine.XMLPGEN.executeTriggers(XMLPGEN.java:699)
     at oracle.apps.xdo.dataengine.XMLPGEN.processData(XMLPGEN.java:254)
     at oracle.apps.xdo.dataengine.XMLPGEN.processXML(XMLPGEN.java:205)
     at oracle.apps.xdo.dataengine.XMLPGEN.writeXML(XMLPGEN.java:237)
     at oracle.apps.xdo.dataengine.DataProcessor.processData(DataProcessor.java:364)
     at oracle.apps.xdo.oa.util.DataTemplate.processData(DataTemplate.java:236)
     at oracle.apps.xdo.oa.cp.JCP4XDODataEngine.runProgram(JCP4XDODataEngine.java:293)
     at oracle.apps.fnd.cp.request.Run.main(Run.java:157)
=====================================================
Data Template
====================================================
<dataTemplate name="SSBWIPANA_MFGR" defaultPackage="PRODUCTION" version="1.0">
<parameters>
<parameter name="P_LOB" datatype="charecter"/>
<parameter name="P_DIV_FROM" datatype="charecter"/>
<parameter name="P_DIV_TO" datatype="charecter"/>
<parameter name="P_FROM_ORG" datatype="charecter"/>
<parameter name="P_TO_ORG" datatype="charecter"/>
<parameter name="P_FROM_INV" datatype="charecter"/>
<parameter name="P_TO_INV" datatype="charecter"/>
<parameter name="P_TRX_DATE_FROM" datatype="charecter"/>
<parameter name="P_TRX_DATE_TO" datatype="charecter"/>
</parameters>
<dataQuery>
<sqlStatement name="Q_1">
<![CDATA[SELECT DISTINCT MSI.CONCATENATED_SEGMENTS, MMT.INVENTORY_ITEM_ID,
                MSI.DESCRIPTION, MMT.TRANSACTION_UOM, SDT.TRX_DATE,
                MTP.ORGANIZATION_CODE, MMT.ORGANIZATION_ID
           FROM MTL_MATERIAL_TRANSACTIONS MMT,
                MTL_PARAMETERS MTP,
                MTL_SYSTEM_ITEMS_VL MSI,
                SSBWIP_DATE_TEMP SDT
          WHERE MMT.INVENTORY_ITEM_ID = MSI.INVENTORY_ITEM_ID
            AND MMT.ORGANIZATION_ID = MSI.ORGANIZATION_ID
            AND MSI.ORGANIZATION_ID = MTP.ORGANIZATION_ID
            AND MMT.ORGANIZATION_ID = MTP.ORGANIZATION_ID
            AND MMT.TRANSACTION_TYPE_ID IN (17, 44)
            AND MMT.ORGANIZATION_ID IN (
                   SELECT MP.ORGANIZATION_ID
                     FROM MTL_PARAMETERS MP, GL_CODE_COMBINATIONS GCC
                    WHERE MP.MATERIAL_ACCOUNT = GCC.CODE_COMBINATION_ID
                      AND GCC.SEGMENT1 = :P_LOB
                      AND (GCC.SEGMENT2 BETWEEN NVL (:P_DIV_FROM,
                                                     GCC.SEGMENT2)
                                            AND NVL (:P_DIV_TO, GCC.SEGMENT2)
            AND MTP.ORGANIZATION_CODE BETWEEN NVL (:P_FROM_ORG,
                                                   MTP.ORGANIZATION_CODE
                                          AND NVL (:P_TO_ORG,
                                                   MTP.ORGANIZATION_CODE
            AND MSI.CONCATENATED_SEGMENTS BETWEEN NVL
                                                    (:P_FROM_INV,
                                                     MSI.CONCATENATED_SEGMENTS
                                              AND NVL
                                                    (:P_TO_INV,
                                                     MSI.CONCATENATED_SEGMENTS
       ORDER BY MSI.CONCATENATED_SEGMENTS, MTP.ORGANIZATION_CODE]]>
</sqlStatement>
<sqlStatement name="Q_2">
<![CDATA[SELECT NVL (SUM (TRANSACTION_QUANTITY), 0) COMPLETION
       FROM MTL_MATERIAL_TRANSACTIONS
     WHERE INVENTORY_ITEM_ID = :INVENTORY_ITEM_ID
       AND ORGANIZATION_ID = :ORGANIZATION_ID
       AND TRANSACTION_TYPE_ID = 44
       AND TRUNC (TRANSACTION_DATE) = :TRX_DATE]]>
</sqlStatement>
<sqlStatement name="Q_3">
<![CDATA[SELECT NVL (SUM (TRANSACTION_QUANTITY) * -1, 0) INCOMPLETION
      FROM MTL_MATERIAL_TRANSACTIONS
    WHERE INVENTORY_ITEM_ID = :INVENTORY_ITEM_ID
      AND ORGANIZATION_ID = :ORGANIZATION_ID
      AND TRANSACTION_TYPE_ID = 17
      AND TRUNC (TRANSACTION_DATE) = :TRX_DATE]]>
</sqlStatement>
<sqlStatement name="Q_4">
<![CDATA[SELECT DESCRIPTION
      FROM FND_FLEX_VALUES_VL
    WHERE FLEX_VALUE_SET_ID = 1002470
          AND FLEX_VALUE = :P_LOB]]>
</sqlStatement>
<sqlStatement name="Q_5">
<![CDATA[SELECT DESCRIPTION
     FROM FND_FLEX_VALUES_VL
    WHERE FLEX_VALUE_SET_ID = 1012471
      AND FLEX_VALUE = :P_DIV_FROM
      AND PARENT_FLEX_VALUE_LOW = :P_LOB]]>
</sqlStatement>
<sqlStatement name="Q_6">
<![CDATA[SELECT DESCRIPTION
     FROM FND_FLEX_VALUES_VL
    WHERE FLEX_VALUE_SET_ID = 1012471
      AND FLEX_VALUE = :P_DIV_TO
      AND PARENT_FLEX_VALUE_LOW = :P_LOB]]>
</sqlStatement>
</dataQuery>
<dataTrigger name="beforeReport" source="PRODUCTION.beforereporttrigger(:P_TRX_DATE_FROM,:P_TRX_DATE_TO)"/>
<dataStructure>
<group name="G_CONCATENATED_SEGMENTS" source="Q_1">
<element name="CONCATENATED_SEGMENTS" datatype="charecter" value="CONCATENATED_SEGMENTS"/>
<element name="DESCRIPTION" datatype="charecter" value="DESCRIPTION"/>
<element name="TRANSACTION_UOM" datatype="charecter" value="TRANSACTION_UOM"/>
<element name="INVENTORY_ITEM_ID" datatype="number" value="INVENTORY_ITEM_ID"/>
<element name="ORGNIZATION_ID" datatype="number" value="ORGANIZATION_ID"/>
<group name="G_TRX_DATE" source="Q_1">
<element name="TRX_DATE" datatype="date" value="TRX_DATE"/>
<group name="G_1" source="Q_1">
<element name="ORGANIZATION_CODE" datatype="charecter" value="ORGANIZATION_CODE"/>
<group name="G_ORGANIZATION_CODEC" source="Q_2">
<element name="COMPLETION" datatype="number" value="COMPLETION"/>
</group>
<group name="G_ORGANIZATION_CODEI" source="Q_3">
<element name="INCOMPLETION" datatype="number" value="INCOMPLETION"/>
</group>
</group>
</group>
</group>
<group name="G_LOB" source="Q_4">
<element name="CF_LOB" datatype="charecter" value="description"/>
</group>
<group name="G_FROM_DIV" source="Q_5">
<element name="CF_DIVFROM" datatype="charecter" value="description"/>
</group>
<group name="G_TO_DIV" source="Q_6">
<element name="CF_DIVTO" datatype="charecter" value="descrption"/>
</group>
<element name="CS_COUNT" function="count()" datatype="number" value="G_CONCATENATED_SEGMENTS.CONCATENATED_SEGMENTS"/>
</dataStructure>
</dataTemplate>
Pls. suggest me.
null

Hi,
without checked the whole document .... you've defined all paramaters as datataype charecter instead of character.
Regards
Rainer

Similar Messages

  • Using Before report Trigger with Sql Server

    i have used packages in oracle using before report triggers in bi publisher 11g is it possible to do in the same way with sql server ?? don't know much about sql server . any link or documents

    Hi T.holt,
    Personally, I don’t believe SQL 2008 R2 with ADMT 3.2 is supported.  From the guidelines of install the Active Directory Migration Tool (ADMT), ADMT v3.2 requires a preconfigured instance of SQL Server for its underlying data store. We
    should use SQL Server Express and install ADMT v3.2 on a member server. ADMT installation enforces the following service pack requirements:
    • SQL Server 2005 Express must be installed with Service Pack 3 (SP3) or later.
    • SQL Server 2008 Express must be installed with Service Pack 1 (SP1) or later.
    If you use full versions of SQL Server 2005 or SQL Server 2008. In this case, you need to install and run the ADMT console on a remote computer, and you can run multiple ADMT consoles on different remote computers. If
    you use a full version of SQL Server, ADMT installation does not enforce any service pack requirements.
    For more information about installing ADMT in the target domain, you can review the following article.http://technet.microsoft.com/en-us/library/cc974370(v=ws.10).aspx
    Regards,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

  • Problem while using Before insert Trigger

    Hello everybody,
    I am using 9.2.0.4.0 XMLDB..
    The problem occurs while using the before insert trigger shown below to convert a CLOB(:new.file_clob) to XMLTYPE(:new.file_xml). The trigger is on a table with file_clob and file_xml as columns. file_xml column is based on a registered schema.
    The trigger is:
    Create or replace trigger po_2_demo_xml_tab_trg
    before insert on po_2_demo_xml_tab
    FOR EACH ROW
    -- Step 1:to convert CLOB to XMLtype and store it
    --in :new.file_xml .
    :new.file_xml := xmltype(:new.file_clob);
    -- Step 2:to verify if :new.file_xml has been created
    dbms_output.put_line(:new.file_xml.extract('/PurchaseOrder/PONum/text()').getStringVal());
    end;
    If u insert a valid xml file, u can see the PONum value on dbms output(Step 2 of the trigger works). u also get the "1 row inserted" message.
    Surpisingly, if u query on the table it shows that the file_xml column is null! For some reason, the value of :new.file_xml in the before insert trigger is not being retained in the table.
    Has anybody encountered this before? Do I have to apply any patch?
    Appreciate any help in this regard.
    Thanks,
    Partha.

    sorry! I just noticed.. the trace file does show an error, but the error is while creating the table itself.
    Please see the segment from trace file below:
    The following statements encountered a error during parse:
    create table po_2_demo_clob_xml_tab
    file_clob CLOB,
    file_xml xmltype
    )xmltype column file_xml
    XMLSCHEMA "http://Friday/PO_2.xsd"
    ELEMENT "PurchaseOrder";
    XCTEND rlbk=0,
    Error encountered: ORA-00911
    But, inspite of this I am able to insert a xml file into file_xml using a sql statement. But the before insert trigger does not retain :new values.
    Appreciate any comments.
    Thanks,
    Partha.

  • Error While Using Crystal Report and Its Print SAP Business One

    Hi Experts,
    I am using SAP Business One 8.82 PL 11. On my Server there is a problem in Crystal Report tool.
    When I am trying to see preview and tried to get print of any Crystal report layout It gives me error "Unknown Database Connector Error"
    Please give me solution on same ASAP.
    Also I have attached Screen shot of error.
    Thanks.
    Ajit.

    Hi Ajit,
    Please repost to the SAP B1 space.
    -Abhilash

  • Before Report Trigger error

    Hi,
    I'm trying to run an update in the Before Report Trigger of a report but I keep getting a fatal error message PLSQL: Function returned without value. Do I have the syntax wrong ?
    function BeforeReport return boolean is
    begin
    update trp_a set val_id = 1 where xrt is null
    commit;
    end;
    thanks

    Hi
    I am getting error ORA 06503 - PL SQL function returned without value.
    This is the function that is defined in oracle report in the "before report" trigger
    function BeforeReport return boolean is
    begin
         :CP_BATCH_NAME := ' AND BATCH_NAME= ' ||''''|| :P_BATCH_NAME || ' ' ;
    if Rtrim(LTRIM(:P_BATCH_NAME)) is not null then
    end if;
    return (TRUE);
    end;
    END;
    Pls help

  • Error while creting webi report on top of query ,using BO XI3.1

    Hi,
    I'm getting below error while creating webi report ,tried to applying some patches but no luck
    SAP021_sales value report
    a database error occured ,the data base error text is error in MDD darasetBW.getcelldata.system error in program CL_RSR_MDX_BXML_FLATENING and form ASSIGN_COMP_02(see long text) (WIS10901)
    Looking forward to your sugesstions.
    Thanks

    hi,
    Go through the below SAP Notes on the issue-
    SAP OSS Notes 1440912 and 1432162

  • Before report trigger execution sequence

    Hi,
    What is the execution sequence of the before report trigger ?
    In the report builder help, the definition says "The Before Report trigger fires before the report is executed *but after queries are parsed and data is fetched*."
    But the oracle document "Oracle iDS Reports: Build Internet Reports: Volume 2: Student Guide" says
    "Before a report executes; *after queries are parsed, but before records are fetched*
    I have built a report where, i am populating a table A with some data in the before report trigger. The data model query is a "select * from A ". But the report o/p is blank since the before report trigger was fired after the query was parsed and fetched. My understanding is that the queries should only be parsed but not fetched before the "before report trigger"
    Regards,
    Suresh

    Hi,
    this is an important question.
    In fact the online help is right: Before its execution the query is parsed and data fetching is strarted.
    Thus any plsql operation that may influence the query and the data accessed is too late in the BEFOREREPORT trigger.
    THe issue is that there is no error message or warning. THe problem scenario bandwidth is wide: From "no problem at all" to constant or intermittent error scenarios or worst case unrecognized problems like missing records or any strange behavior in the layout.
    So very carefull while using BEFOREREPORT trigger
    Ciao
    Markus

  • Run time error while using Class gcl_error

    Hi All,
    I am getting run time error while using class gcl_error
                                          type REF to zsreport_error_handling:
    '' Attempt to access a component using 'NULL' object reference (points to nothing).
    An object reference must point to an object ( an instance of a class) before you can use it to access components ( variable : ''GCL_ERROR'').
    Either the reference point has not yet been set or it has been reset to 'NULL' by a clear statement."
    Can you please suggest any solution for this ?
    Thanks in advance.

    Dear All
    Its Resolved Thanks For your Valuable time Support
    INCLUDE LV03VFB4 inside below code trigger error.
    PERFORM VVBBD_AUFBAUEN USING WA_AVBBD
                                        WA_AVBBD-APOMOBILE
                                        DA_SUBRC
                                        DA_UPDKZ
                                        DA_VVBBD_TABIX
                                        0.
    This Was the Error some how 0 was there we are removed the 0 now it is working fine
    Rgds
    Thomson

  • Drill down reports from Before Report Trigger

    Hallo,
    I am using reports 6.08 and I want to run several subreports from the parameter form of a master report. However when I call srw.run_report() from the Before Report Trigger with batch=no I get the error message ... When I use batch=yes I cannot use destype=srcreen. When I use the same call from a button trigger it works fine.
    How can I call a drill down report from the Before Report Trigger?
    The master report should not create a report itself; only the drill down report should be visible. How can I exit the master report without raising an exception after running the drill down report?
    Thanks a lot - Ulrich

    Ulrich,
    The only place where it is valid to call a report using srw.run_report() with a destype=Screen (or Preview) is from a button of an already run report (to provide drill down capabilities).
    In your situation where you're really only using Reports as a parameter form (in the master case) I would suggest that you look to use a real Oracle Form as the master driver, and run_product calls to generate the required reports.
    Hope this helps,
    Danny

  • Error while running the Report

    Hi ,
    I am trying to run the Report in Bex Analyzer. and once I enter the value for the variable, it gives me message that "Element is not correctly define (please check query)" and when i click on the error it gives me detail message as below :
    <b><b>Diagnosis
    Additional elements that do not have the same dimension, such as quantities and amounts or amounts and ratios, are added to element Sales Qty Gallons .
    Procedure
    Check your definition.
    If you still want to use this addition, you can suppress the dimensionality of one or both subexpressions by using the 'NODIM' operator. The system then interprets this or these subexpressions as nondimensional numbers.
    In the executed query, you can use the Key Figure Definition function to analyze element Sales Qty Gallons .</b></b>
    Now the thing is I am already using "NODIM" operator to add those elements. and I m not sure why this error is coming up now because I have created this query a while ago and it wasnt giving me any error at that time but now I have make some changes into it and it;s giving me this error while running the Report. But the thing is I didnt change anything in the element for which it;s showing me error.
    Thanks,
    Naitik

    Naitik,
    There are two or more key figures in your report. They are defined by different dimensions and somewhere you have a formula with both these key figure.
    Edit your query and select the Check Query icon. It will tell you which calculation you have the problem with. Edit this calculation to see which key figures are present.
    If the formula is logically correct, best thing to do is to put a NODIM( ) on your key figures that make up the formula, and then change you formula to look at the NODIM( ) version.
    That will fix things for you,
    Regards
    Gill

  • Error while opening the report.

    hi,
      Some time i am getting "500 Internal Server Error',while executing the report.Please check the following exception and  give the possible reason for getting this kind of problem.
    <b>   500 Internal Server Error</b>                                                                               
    BEx Web Application
    Failed to process request. Please contact your system administrator.
    <b>Error Summary</b>
    While processing the current request, an exception occured which could not be handled by the application or the framework.
    If the information contained on this page doesn't help you to find and correct the cause of the problem, please contact your system administrator.
    To facilitate analysis of the problem, keep a copy of this error page. Hint: Most browsers allow to select all content, copy it and then paste it into an empty document (e.g. email or simple text file).
    <b>Root Cause</b>
    The initial exception that caused the request to fail, was:
    Termination message sent
    ABEND RSBOLAP (000): Program error in class SAPMSSY1 method : UNCAUGHT_EXCEPTION
      MSGV1: SAPMSSY1
      MSGV3: UNCAUGHT_EXCEPTION
    com.sap.ip.bi.base.application.exceptions.AbortMessageRuntimeException: Termination message sent
    ABEND RSBOLAP (000): Program error in class SAPMSSY1 method : UNCAUGHT_EXCEPTION
      MSGV1: SAPMSSY1
      MSGV3: UNCAUGHT_EXCEPTION
    at com.sap.ip.bi.base.application.message.impl.MessageManager.addMessageInternal(MessageManager.java:148)
    at com.sap.ip.bi.base.application.message.impl.MessageManager.addMessage(MessageManager.java:113)
    <b>Messages</b>
    ABEND: Program error in class SAPMSSY1 method : UNCAUGHT_EXCEPTION
    ABEND: Error in BW:
    <b>System Environment</b>
    <b>Server</b>
    BI Java Release: 7 - Patch level: 0000000009 - Description: BI Web Applications Java - Additional info:  - Production mode: true
    BI ABAP Release: 700 - Patch level: 0009 - Description: SAP NetWeaver BI 7.0 (BIPCLNT300) - Additional info:  - Production mode: true
    Java Virtual Machine Classic VM - IBM Corporation - 1.4.2
    Operating System AIX - ppc64 - 5.3
    <b>Context</b>
    ACCESSIBLE false
    BEx Runtime Version 1
    CACHE true
    CONTENT_PADDING true
    COUNTRY 
    DEBUG false
    DEBUG_LEVEL 0
    DEBUG_MESSAGES false
    Initial Query String BUILDTREE=false&NAVIGATIONTARGET=navurl%3A%2F%2F7b8b73fe5fd57ae6c5c1a24aed5d1ac4&NAVPATHUPDATE=false&RELATIVENAVBASE=&SAP-LAFVERSIONS=portal%3A7.0.9.0.1%3Bur%3A7.0.9.0.1&SAP-PP-CONSUMERBASEURL=3A80&SAP-PP-PRODUCERID=com.lenovo.BIP_Lenovosap&TEMPLATE=Z_WEB_CR_ZCRMOPPI_Q0032&THEME=LenovoBlueTwo
    LANGUAGE en
    Master System Alias BIPCLNT300
    PROFILING false
    RTL false
    Request URL http
    SAP_BW_IVIEW_ID pcd:portal_content/d029033/com..BI_Reports/com.BI_Analytics/Z_WEB_CR_ZCRMOPPI_Q0032
    SAP_EXTERNAL_SID CLGF6EORaEN7Vivt8TVaQw==3eTBxzbQZSMLxB4o3h9+7w==
    THEME_NAME LenovoBlueTwo
    TRACE false
    TRAY_TYPE PLAIN
    Time Thu Oct 04 03:14:20 PDT 2007
    User EPSUPPORT (USER.R3_DATASOURCE.EPSUPPORT)
    <b>Full Exception Chain</b>
    Log ID 00145ED13086005200000889000C719A00043BA80CB04B89
    com.sap.ip.bi.webapplications.runtime.controller.MessageException: Error during conversion of the Web template "Z_WEB_CR_ZCRMOPPI_Q0032 from the master system     at com.sap.ip.bi.webapplications.runtime.impl.Page.processRequest(Page.java:2055)     at com.sap.ip.bi.webapplications.runtime.controller.impl.Controller.doProcessRequest(Controller.java:841)     at com.sap.ip.bi.webapplications.runtime.controller.impl.Controller.processRequest(Controller.java:775)     at com.sap.ip.bi.webapplications.runtime.jsp.portal.services.BIRuntimeService.handleRequest(BIRuntimeService.java:412)     at com.sap.ip.bi.webapplications.runtime.jsp.portal.components.LauncherComponent.doContent(LauncherComponent.java:21)     at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java(Compiled Code))     at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java(Compiled Code))     at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java(Compiled Code))     at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java(Compiled Code))     at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java(Compiled Code))     at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java(Compiled Code))     at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:646)     at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java(Compiled Code))     at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java(Compiled Code))     at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java(Compiled Code))     at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)     at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)     at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java(Compiled Code))     at java.security.AccessController.doPrivileged1(Native Method)     at java.security.AccessController.doPrivileged(AccessController.java(Compiled Code))     at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java(Compiled Code))     at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))     at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java(Compiled Code))     at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))     at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java(Compiled Code))     at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java(Compiled Code))     at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java(Inlined Compiled Code))     at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java(Compiled Code))     at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java(Compiled Code))     at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java(Compiled Code))     at com.sap.engine.services.httpserver.server.Client.handle(Client.java(Inlined Compiled Code))     at com.sap.engine.services.httpserver.server.Processor.request(Processor.java(Compiled Code))     at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java(Compiled Code))     at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java(Compiled Code))     at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java(Compiled Code))     at java.security.AccessController.doPrivileged1(Native Method)     at java.security.AccessController.doPrivileged(AccessController.java(Compiled Code))     at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java(Compiled Code))     at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java(Compiled Code))Caused by: com.sap.ip.bi.base.exception.BIBaseRuntimeException: Error during conversion of the Web template "Z_WEB_CR_ZCRMOPPI_Q0032 from the master system     at com.sap.ip.bi.webapplications.runtime.jsp.portal.service.template.PortalTemplateAccessService.getTemplateContent(PortalTemplateAccessService.java:93)     at com.sap.ip.bi.webapplications.runtime.preprocessor.Preprocessor.parseTemplate(Preprocessor.java:161)     at com.sap.ip.bi.webapplications.runtime.xml.XmlTemplateAssembler.doInit(XmlTemplateAssembler.java:81)     at com.sap.ip.bi.webapplications.runtime.template.TemplateAssembler.init(TemplateAssembler.java:118)     at com.sap.ip.bi.webapplications.runtime.base.Template.doInit(Template.java:105)     at com.sap.ip.bi.webapplications.runtime.base.PageObject.init(PageObject.java:232)     at com.sap.ip.bi.webapplications.runtime.base.Container.init(Container.java:46)     at com.sap.ip.bi.webapplications.runtime.impl.Page.initPageObject(Page.java:3226)     at com.sap.ip.bi.webapplications.runtime.impl.Page.createPageObject(Page.java:3427)     at com.sap.ip.bi.webapplications.runtime.impl.Page.setTemplate(Page.java:4355)     at com.sap.ip.bi.webapplications.runtime.impl.Page.doSetTemplateCommand(Page.java:4091)     at sun.reflect.GeneratedMethodAccessor293.invoke(Unknown Source)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))     at java.lang.reflect.Method.invoke(Method.java(Compiled Code))     at com.sap.ip.bi.util.MethodInvoker.callMethod(MethodInvoker.java:101)     at com.sap.ip.bi.webapplications.runtime.command.CommandProcessorHelper.processCommand(CommandProcessorHelper.java:410)     at com.sap.ip.bi.webapplications.runtime.command.CommandProcessorHelper.processCommand(CommandProcessorHelper.java:325)     at com.sap.ip.bi.webapplications.runtime.base.CommunicationProcessor.processCommand(CommunicationProcessor.java:144)     at com.sap.ip.bi.webapplications.runtime.impl.Page.processCommandInternal(Page.java:1418)     at com.sap.ip.bi.webapplications.runtime.impl.Page.processCommandSequence(Page.java:1713)     at com.sap.ip.bi.webapplications.runtime.impl.Page.doProcessRequest(Page.java:2424)     at com.sap.ip.bi.webapplications.runtime.impl.Page.processRequest(Page.java:1977)     ... 38 moreCaused by: com.sap.ip.bi.deploytime.BIBaseRareSystemException: BI runtime subsystem error: Retrieve MetadataResources Failed1.4.2com.sap.ip.bi.deploytime.metadataresourcecache.MetadataResourceCache:initialize Note call hierarchy     at com.sap.ip.bi.deploytime.metadataresourcecache.MetadataResourceCache.initialize(MetadataResourceCache.java:212)     at com.sap.ip.bi.deploytime.BISP2Jsp.transformDTT(BISP2Jsp.java:1130)     at com.sap.ip.bi.deploytime.BISP2Jsp.convert(BISP2Jsp.java:497)     at com.sap.ip.bi.webapplications.runtime.jsp.portal.service.template.PortalTemplateAccessService.getTemplateContent(PortalTemplateAccessService.java:88)     ... 59 moreCaused by: com.sap.ip.bi.base.application.exceptions.AbortMessageRuntimeException: Termination message sent ABEND RSBOLAP (000): Program error in class SAPMSSY1 method : UNCAUGHT_EXCEPTION  MSGV1: SAPMSSY1  MSGV3: UNCAUGHT_EXCEPTION     at com.sap.ip.bi.base.application.message.impl.MessageManager.addMessageInternal(MessageManager.java:148)     at com.sap.ip.bi.base.application.message.impl.MessageManager.addMessage(MessageManager.java:113)     at com.sap.ip.bi.base.application.message.impl.MessageManager.addMessageInternal(MessageManager.java:144)     at com.sap.ip.bi.base.application.message.impl.MessageManager.addMessage(MessageManager.java:113)     at com.sap.ip.bi.base.application.service.RfcService.fillMessages(RfcService.java:221)     at com.sap.ip.bi.base.application.service.RfcService.doPostProcessing(RfcService.java:171)     at com.sap.ip.bi.base.application.service.rfcproxy.impl.RfcFunction.execute(RfcFunction.java(Compiled Code))     at com.sap.ip.bi.deploytime.service.validation_metadata.impl.ValidationMetadataService.getTransformData(ValidationMetadataService.java:53)     at com.sap.ip.bi.deploytime.metadataresourcecache.MetadataResourceCache.initialize(MetadataResourceCache.java:196)     ... 62 more
    Regards,
    Ravi.M

    hi,
         Any suggestion for the above query.
    here i am using federated portal concept,once i am opening this report in the portal only i am facing the above problem.
    Regards,
    Ravi.M

  • XML Publisher error while viewing a report

    I get the following error while viewing a report I have just written using a data template:
    The report cannot be rendered because of an error, please contact the administrator.
    I am using XML Publisher 562 Enterprise.
    The Data template I have loaded is as follows:
    <dataTemplate name="FLEETMASTERS" description="Fleet Masters Listing">
         <dataQuery>
              <sqlStatement name="Q1">
                   <![CDATA[SELECT fm.fms_id, fm.reg_no, fm.vsn, fm.vin
                     FROM fleet_masters fm
                     WHERE rownum <= 100]]>
              </sqlStatement>
         </dataQuery>
    </dataTemplate>
    The rtf template loaded is simply
    Fms Id     Reg No     Vin
    F FMS_ID REG_NO VIN E
    If I use a Data Model using a SQL Query and type in above select statement, it works fine. The moment I use a Data Template I get the error mentioned above.
    A dump of the error in the log is
    [080406_041655194][][EXCEPTION] java.lang.IndexOutOfBoundsException: Index: 0, S
    ize: 0
    at com.sun.java.util.collections.ArrayList.RangeCheck(ArrayList.java:492
    at com.sun.java.util.collections.ArrayList.get(ArrayList.java:306)
    at oracle.apps.xdo.dataengine.DataTemplateParser.getParentDataSource(Dat
    aTemplateParser.java:1449)
    at oracle.apps.xdo.dataengine.XMLPGEN.writeDefaultGroup(XMLPGEN.java:298
    at oracle.apps.xdo.dataengine.XMLPGEN.writeGroupStructure(XMLPGEN.java:2
    64)
    at oracle.apps.xdo.dataengine.XMLPGEN.processData(XMLPGEN.java:251)
    at oracle.apps.xdo.dataengine.XMLPGEN.processXML(XMLPGEN.java:192)
    at oracle.apps.xdo.dataengine.XMLPGEN.writeXML(XMLPGEN.java:229)
    at oracle.apps.xdo.dataengine.DataProcessor.processData(DataProcessor.ja
    va:336)
    at oracle.apps.xdo.servlet.data.bind.AdvancedQueryBoundValue11.callDataP
    rocessor(AdvancedQueryBoundValue11.java:126)
    at oracle.apps.xdo.servlet.data.bind.AdvancedQueryBoundValue11.getValue(
    AdvancedQueryBoundValue11.java:79)
    at oracle.apps.xdo.servlet.ReportContextImplV11.getReportXMLData(ReportC
    ontextImplV11.java:335)
    at oracle.apps.xdo.servlet.XDOProcessor.process(XDOProcessor.java:235)
    at oracle.apps.xdo.servlet.ReportImpl.renderBody(ReportImpl.java:227)
    at oracle.apps.xdo.servlet.ReportImpl.renderReportBody(ReportImpl.java:4
    6)
    at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:319)
    at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:223)
    at oracle.apps.xdo.servlet.XDOServlet.doGet(XDOServlet.java:159)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterC
    hain.java:64)
    at oracle.apps.xdo.servlet.security.SecurityFilter.doFilter(SecurityFilt
    er.java:52)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletReque
    stDispatcher.java:629)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(Ser
    vletRequestDispatcher.java:376)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequ
    estHandler.java:870)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpReques
    tHandler.java:451)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpReque
    stHandler.java:218)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
    va:119)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
    va:112)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSo
    cketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
    sableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    If anyone has experienced something similar please help.
    Thank you

    Okay some more information:
    If I change the data template to this
    <dataTemplate name="FLEETMASTERS" description="Fleet Masters Listing">
         <dataQuery>
              <sqlStatement name="Q1">
                   <![CDATA[SELECT fms.fms_id FMS_ID, fm.reg_no REG_NO , fm.vin VIN
                     FROM fleet_masters fm
                     WHERE fm.fms_id BETWEEN 55531 and 55620 ]]>
              </sqlStatement>
         </dataQuery>
    </dataTemplate>
    I only get the titles being printed but no errors i.e the select does not seem to retrieve data from the database(85 records in database). If I remove the where clause I get the same titles as per the template with no data(49089 records in Database).
    Layout of template
    Fms Id Reg No Vin
    Now it begs the question, is XML Publisher finicky about the syntaxes you can use inside the "sqlStatement" clause?
    I have to say that this is really frustrating as I have had no successes using Data Templates

  • Error While Running the report in oracle apps

    Hi All,
    I got an error while running the report.The error is
    "FDPSTP failed due to ORA-06510: PL/SQL: unhandled user-defined exception".
    Please anyone give ur idea to resolve this issue as it is urgent.
    Thnaks
    Surya

    Hi;
    I got an error while running the report.The error is
    "FDPSTP failed due to ORA-06510: PL/SQL: unhandled user-defined exception".
    Please anyone give ur idea to resolve this issue as it is urgent.What is EBS version? You get this error on which steps or report? If you make search at metalik as FDPSTP failed due to ORA-06510: PL/SQL: there are 35 similar docs avaliable
    Regard
    Helios

  • Getting error while running SSRS report in SharePoint 2010

    Hi,
    I am getting below error while running a SSRS reports in SharePoint. Your help will be appreciated
    Webpage error details
    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0C; .NET4.0E)
    Timestamp: Wed, 5 Nov 2014 11:58:42 UTC
    Message: Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 503
    Line: 5
    Char: 62123
    Code: 0
    Thanks,
    Manjunath

    Hi,
    According to your post, my understanding is that you get error while running SSRS reports.
    Basically, If the Request Management service is enabled, it manages all incoming requests by evaluating logic rules against the user requests in order to determine what\which action to take and which machine or machines (targets) in the farm should handle
    the request.
    By default the Request time out value for Request Management service are as follows,
    RequestTimeout                    : 00:01:40
    RequestExecutionTimeout       : 01:00:00
    So the error throws from RM service for those reports who take more than 1 minute to generate the report.
    To solve this issue, we can stop the Request Management service.
    Or increase the time out
    value by making use of following PowerShell  script.
    $waUrl = "URLofWEbApp"
    $wa = Get-SPWebApplication $waUrl
    $rmSettings = $wa | Get-SPRequestManagementSettings
    $req=$wa.RequestManagementSettings
    $timeout2= New-TimeSpan -minutes 5
    Sreq.Requesttimeout=$timeout2
    $req.update()
    For more information:
    http://blogs.technet.com/b/sajiths/archive/2014/08/19/ssrs-reports-timed-out-with-39-503-39-error-sharepoint-2013.aspx
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • Error while uploading SSRS Reports to SharePoint Report Library

    Dear All,
    I am having a SSRS Server running in SharePoint integrated mode and I am running reports in SharePoint successfully, but I am facing issue with one site as shown below.
    I am getting below error while uploading a report to specific path as shown below;
    I can upload to any link but not for the below link shows /departments/ocean
    I checked my ReportServer paths from RS Configuration Manager and I cannot find that defined path there. But I can see all other links are registered()
    Note: Below shows my web applications in SharePoint farm(four web sites). I have define paths(site collections) only in default web application, not in other webs which has a port number.
    I am not sure how the RS Configuration Manager picks thoae Define Manage Path in site collections.
    But I think, it should pick department site collections as well.
    Could you please guide me how to rectify above error?
    ASP.Net, C#.Net, SQL Server ,Win32

    Hi,
    I recommend to check you can connect to the site collection in Report Builder.
    If not, please check if you have permission to access the site collection.
    Please also check if the Report Server Integration Feature is activated in the site collection.
    To narrow the issue scope, I recommend to create a new site collection using the departments path in SharePoint to see if the issue still occurs.
    As a workaround, you can also  save the report to local drive and then upload it to SharePoint library using Upload Document button in the ribbon in SharePoint library.
    In the meanwhile, you can post your question to the forum for SSRS: http://social.technet.microsoft.com/Forums/sqlserver/en-US/home?forum=sqlreportingservices.
    More experts will assist you, then you will get more information relation to SSRS.
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

Maybe you are looking for