URL Reporting Time parameter value.

We have installed Business objects XIR2 and one of our application uses URL reporting to call a crystal report. Parameter values are retrieved from the database and used in the url.  Reports that do not have a time parameter works fine.  Even though I pass the time parameter value Im still prompted for the value.  The format of the url I use is http://hostname/businessobjects/viewrpt.cwr?init=dhtml&apstoken=<token>&prompt0=02:02:20&prompt1=LOCCODE
where prompt0 is of type par_time.  Could someone please help me with the correct format to use for parameter type time?

Ted, I checked the prompt order and the prompt type and they are correct.  These reports are working fine on Crystal 9.  Also reports that do not have a time parameter works fine in Crystal 11. Its only when reports with time parameter are called Im prompted for a value to be entered in hh:mm:ss format although I tried passing the value in hh:mm:ss format and Time(hh, mm, ss) format in the url.  The report comes up fine after entering the value in hh:mm:ss value in the prompt.  I tried encoding the url but it didnt work.  If I encode the entire url Crystal prompts me to enter values for all parameters.

Similar Messages

  • French characters in run time parameter values doesn't show up in emails

    We have a custom workflow with configurations to send email when a request is assigned to a person and also to send email on request rejections.
    We are encountering following issues with respect to French characters that are available in the message body and message subject.
    Issue 1:Notifications are configured in Human Task (ApprovalTask.task) when a task is assigned. Since the message body contains French characters we have used ISO-8859-1 encodings to render the message properly to the user. The message body also has some run time content from the task payload.
    For e.g. &#192; titre de responsable fonctionnel, une demande d''approbation pour un acc&#232;s informatique vous est assign&#233;e.
    Acc&#232;s informatique demand&#233; : <%/task:task/task:payload/ns1:ObjectDetails/ns1:name%>
    In this case all static text values are rendered properly to the end user in his email. However the French characters in run time parameter values doesn't show up properly and has some weird characters.
    Issue 2: Unable to change the default subject shown in the approval task emails i.e. Notifications are configured in Human Task (ApprovalTask.task) when a task is assigned. By default it shows Action Required: Approval. How can this default value be changed?
    Issue 3: We have an Email Activity in Bpel process that follows a task rejection. The emailpayload is ISO-8859-1 encoded and works for the message body. However the email subject shows up with ISO-8859-1 encodings itself and doesn't convert to proper string in the end user's email. Is there any specific setting required for french characters in subject?

    Hi Kulwinder,
    Thanks for your reply.
    In fact I do, I've follewed the "Using SAP HANA Variables with SAP BusinessObjects BI4.0" guide.
    Please note, when I use a fix value to parameter is working fine, for example:
    SELECT *
    FROM "_SYS_BIC"."prueba-concepto/CV_TEST_VAR_II" ('PLACEHOLDER' = ('$$FECHA$$','20130530'))
    But when I set prompt of the DataFoundation parameter I get and error, this is my sentence:
    SELECT *
    FROM "_SYS_BIC"."prueba-concepto/CV_TEST_VAR_II" ('PLACEHOLDER' = ('$$FECHA$$',@Prompt(FECHA)))
    To me is very curious that I can't enter a value in the DataPreview in Hana Studio, because is not requested, even when the input parameter have been set as mandatory
    Have you idea of what could be happening?

  • Crystal Report - Set Parameter Value - Case sensitive

    Hi,<br><br>
    We are using Crystal report 2008 CR4E API to implement the crystal report in our application. When we use parameter report with different cases, the code is not setting values for all the parameter fields in the report. Kindly help us in achieving the solution.
    <br><br>
    In Report, SQL Command is used and a parameter is passed to the SQL. The name of the parameter is given uppercase but in the SQL Command it is given in lowercase. The report still pass the parameter to the query and it is running fine in designer.
    But in our application it throws the below exception. If the parameters are defined in same case then it works fine.
    <br><br>
    Code:<br><br>
    reportClientDocument = new ReportClientDocument();<br>
    reportClientDocument.setReportAppServer(ReportClientDocument.inprocConnectionString);<br>
    reportClientDocument.open(reportName, OpenReportOptions._openAsReadOnly);<br>
    DatabaseController dbController = reportClientDocument.getDatabaseController();<br>
    Tables tables = dbController.getDatabase().getTables();<br>
    ITable table = tables.getTable(0);<br>
    IProcedure command = (IProcedure)table;<br>
    ParameterFieldController paramController = reportClientDocument.getDataDefController().getParameterFieldController();<br>
    for (int i=0; i< command.getParameters().size(); i++) {<br>
            ParameterField commandParam = (ParameterField) command.getParameters().get(i);     <br>                         
         String paramName = commandParam.getName();<br>
            String paramValue = getParmeterValues(paramName);<br>
            paramController.setCurrentValue("", paramName, Integer.valueOf(paramValue)); <br>
    }<br>
    <br><br>
    Exception:<br>
    <br>Assertion Failed:
    <br>java.lang.Throwable
    <br>     at com.crystaldecisions.reports.common.asserts.CrystalAssert.ASSERT(Unknown Source)
    <br>     at com.crystaldecisions.reports.common.asserts.CrystalAssert.ASSERT(Unknown Source)
    <br>     at com.crystaldecisions.reports.queryengine.Connection.a(SourceFile:2558)
    <br>     at com.crystaldecisions.reports.queryengine.Connection.a(SourceFile:645)
    <br>     at com.crystaldecisions.reports.queryengine.Table.a(SourceFile:2234)
    <br>     at com.crystaldecisions.reports.queryengine.Table.if(SourceFile:2161)
    <br>     at com.crystaldecisions.reports.queryengine.Table.for(SourceFile:709)
    <br>     at com.crystaldecisions.reports.queryengine.b.yk(SourceFile:512)
    <br>     at com.crystaldecisions.reports.queryengine.b.yl(SourceFile:878)
    <br>     at com.crystaldecisions.reports.queryengine.QueryInfo.vE(SourceFile:241)
    <br>     at com.crystaldecisions.reports.datafoundation.DFQuery.for(SourceFile:628)
    <br>     at com.crystaldecisions.reports.datalayer.a.do(SourceFile:1621)
    <br>     at com.crystaldecisions.reports.datalayer.a.a(SourceFile:1404)
    <br>     at com.crystaldecisions.reports.dataengine.m.b(SourceFile:334)
    <br>     at com.crystaldecisions.reports.dataengine.j.b(SourceFile:515)
    <br>     at com.crystaldecisions.reports.dataengine.m.o(SourceFile:408)
    <br>     at com.crystaldecisions.reports.dataengine.m.a(SourceFile:173)
    <br>     at com.crystaldecisions.reports.dataengine.ContextNode.a(SourceFile:114)
    <br>     at com.crystaldecisions.reports.dataengine.ContextNode.a(SourceFile:95)
    <br>     at com.crystaldecisions.reports.dataengine.j.case(SourceFile:1080)
    <br>     at com.crystaldecisions.reports.dataengine.h.<init>(SourceFile:108)
    <br>     at com.crystaldecisions.reports.dataengine.DataContext.a(SourceFile:254)
    <br>     at com.crystaldecisions.reports.dataengine.DataProcessor2.a(SourceFile:4660)
    <br>     at com.crystaldecisions.reports.dataengine.DataProcessor2.a(SourceFile:4574)
    <br>     at com.crystaldecisions.reports.dataengine.DataProcessor2.new(SourceFile:2652)
    <br>     at com.crystaldecisions.reports.dataengine.DataProcessor2.byte(SourceFile:2610)
    <br>     at com.crystaldecisions.reports.dataengine.DataProcessor2.try(SourceFile:2282)
    <br>     at com.crystaldecisions.reports.dataengine.DataProcessor2.int(SourceFile:2442)
    <br>     at com.crystaldecisions.reports.dataengine.DataProcessor2.I(SourceFile:1013)
    <br>     at com.crystaldecisions.reports.formatter.formatter.objectformatter.ObjectFormatter.fo(SourceFile:526)
    <br>     at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.if(SourceFile:613)
    <br>     at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.a(SourceFile:578)
    <br>     at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.X(SourceFile:387)
    <br>     at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.moveToPageN(SourceFile:339)
    <br>     at com.crystaldecisions.reports.formatter.export2.a.a(SourceFile:78)
    <br>     at com.crystaldecisions.reports.formatter.export2.a.a(SourceFile:247)
    <br>     at com.crystaldecisions.reports.formatter.export2.ExportSupervisorEx.if(SourceFile:642)
    <br>     at com.crystaldecisions.reports.formatter.export2.ExportSupervisorEx.a(SourceFile:586)
    <br>     at com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler.a(SourceFile:636)
    <br>     at com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler.int(SourceFile:672)
    <br>     at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(SourceFile:1944)
    <br>     at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:661)
    <br>     at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:167)
    <br>     at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(SourceFile:529)
    <br>     at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(SourceFile:527)
    <br>     at com.crystaldecisions.reports.common.ThreadGuard.syncExecute(SourceFile:102)
    <br>     at com.businessobjects.reports.sdk.JRCCommunicationAdapter.for(SourceFile:525)
    <br>     at com.businessobjects.reports.sdk.JRCCommunicationAdapter.int(SourceFile:424)
    <br>     at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(SourceFile:352)
    <br>     at com.businessobjects.sdk.erom.jrc.a.a(SourceFile:54)
    <br>     at com.businessobjects.sdk.erom.jrc.a.execute(SourceFile:67)
    <br>     at com.crystaldecisions.proxy.remoteagent.RemoteAgent$a.execute(SourceFile:716)
    <br>     at com.crystaldecisions.proxy.remoteagent.CommunicationChannel.a(SourceFile:125)
    <br>     at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(SourceFile:537)
    <br>     at com.crystaldecisions.sdk.occa.report.application.ds.a(SourceFile:186)
    <br>     at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(SourceFile:1558)
    <br>     at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(SourceFile:337)
    <br>     at com.crystaldecisions.sdk.occa.report.application.ReportSource.export(SourceFile:286)
    <br>     at com.crystaldecisions.sdk.occa.report.application.AdvancedReportSource.export(SourceFile:209)
    <br>     at com.mysystems.myapp.common.CrystelReport.print(CrystelReport.java:387)
    <br>     at com.ibm._jsp._ShowReport._jspService(_ShowReport.java:316)
    <br>     at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:87)
    <br>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    <br>     at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1146)
    <br>     at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1087)
    <br>     at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:145)
    <br>     at com.mysystems.myapp.common.MyServletFilter.doFilter(MyServletFilter.java:107)
    <br>     at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
    <br>     at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
    <br>     at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
    <br>     at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:837)
    <br>     at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:680)
    <br>     at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:588)
    <br>     at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:481)
    <br>     at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:122)
    <br>     at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.handleRequest(AbstractJSPExtensionServletWrapper.java:232)
    <br>     at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:90)
    <br>     at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:748)
    <br>     at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1466)
    <br>     at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:122)
    <br>     at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458)
    <br>     at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:387)
    <br>     at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
    <br>     at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
    <br>     at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
    <br>     at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
    <br>     at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
    <br>     at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:196)
    <br>     at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:751)
    <br>     at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:881)
    <br>     at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1497)
    <br>Rowset restart: moveToStart true
    <br>Rowset execute
    <br>Executing query using command text:
    <br>Select DeptName from Dept where DeptNo = {?deptno}
    <br>
    <br>detected an exception: Unexpected database connector error
    <br>...
    <br>Caused by: com.crystaldecisions.reports.common.QueryEngineException: Unexpected database connector error
    <br>     at com.crystaldecisions.reports.queryengine.Connection.bf(SourceFile:2958)
    <br>     at com.crystaldecisions.reports.queryengine.Rowset.z3(SourceFile:944)
    <br>     at com.crystaldecisions.reports.queryengine.Rowset.bL(SourceFile:533)
    <br>     at com.crystaldecisions.reports.queryengine.Rowset.zM(SourceFile:245)
    <br>     at com.crystaldecisions.reports.queryengine.Connection.a(SourceFile:776)
    <br>     at com.crystaldecisions.reports.queryengine.Table.a(SourceFile:2234)
    <br>     at com.crystaldecisions.reports.queryengine.Table.if(SourceFile:2161)
    <br>     at com.crystaldecisions.reports.queryengine.Table.for(SourceFile:709)
    <br>     at com.crystaldecisions.reports.queryengine.b.yk(SourceFile:512)
    <br>     at com.crystaldecisions.reports.queryengine.b.yl(SourceFile:878)
    <br>     at com.crystaldecisions.reports.queryengine.QueryInfo.vE(SourceFile:241)
    <br>     at com.crystaldecisions.reports.datafoundation.DFQuery.for(SourceFile:628)
    <br>     at com.crystaldecisions.reports.datalayer.a.do(SourceFile:1621)
    <br>     at com.crystaldecisions.reports.datalayer.a.a(SourceFile:1404)
    <br>     at com.crystaldecisions.reports.dataengine.m.b(SourceFile:334)
    <br>     at com.crystaldecisions.reports.dataengine.j.b(SourceFile:515)
    <br>     at com.crystaldecisions.reports.dataengine.m.o(SourceFile:408)
    <br>     at com.crystaldecisions.reports.dataengine.m.a(SourceFile:173)
    <br>     at com.crystaldecisions.reports.dataengine.ContextNode.a(SourceFile:114)
    <br>     at com.crystaldecisions.reports.dataengine.ContextNode.a(SourceFile:95)
    <br>     at com.crystaldecisions.reports.dataengine.j.case(SourceFile:1080)
    <br>     at com.crystaldecisions.reports.dataengine.h.<init>(SourceFile:108)
    <br>     at com.crystaldecisions.reports.dataengine.DataContext.a(SourceFile:254)
    <br>     at com.crystaldecisions.reports.dataengine.DataProcessor2.a(SourceFile:4660)
    <br>     at com.crystaldecisions.reports.dataengine.DataProcessor2.a(SourceFile:4574)
    <br>     at com.crystaldecisions.reports.dataengine.DataProcessor2.new(SourceFile:2652)
    <br>     at com.crystaldecisions.reports.dataengine.DataProcessor2.byte(SourceFile:2610)
    <br>     at com.crystaldecisions.reports.dataengine.DataProcessor2.try(SourceFile:2282)
    <br>     at com.crystaldecisions.reports.dataengine.DataProcessor2.int(SourceFile:2442)
    <br>     at com.crystaldecisions.reports.dataengine.DataProcessor2.I(SourceFile:1013)
    <br>     at com.crystaldecisions.reports.formatter.formatter.objectformatter.ObjectFormatter.fo(SourceFile:526)
    <br>     at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.if(SourceFile:613)
    <br>     at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.a(SourceFile:578)
    <br>     at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.X(SourceFile:387)
    <br>     at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.moveToPageN(SourceFile:339)
    <br>     at com.crystaldecisions.reports.formatter.export2.a.a(SourceFile:78)
    <br>     at com.crystaldecisions.reports.formatter.export2.a.a(SourceFile:247)
    <br>     at com.crystaldecisions.reports.formatter.export2.ExportSupervisorEx.if(SourceFile:642)
    <br>     at com.crystaldecisions.reports.formatter.export2.ExportSupervisorEx.a(SourceFile:586)
    <br>     at com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler.a(SourceFile:636)
    <br>     at com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler.int(SourceFile:672)
    <br>     at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(SourceFile:1944)
    <br>     at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:661)
    <br>     ... 49 more
    <br>Caused by: com.businessobjects.reports.jdbinterface.common.DBException: Unexpected database connector error
    <br>     at com.crystaldecisions.reports.queryengine.driverImpl.jdbc.JDBCQueryDefinition.Execute(Unknown Source)
    <br>     at com.crystaldecisions.reports.queryengine.driverImpl.jdbc.JDBCQueryDefinition.Execute(Unknown Source)
    <br>     at com.crystaldecisions.reports.queryengine.Connection.bf(SourceFile:2953)
    <br>     ... 91 more
    <br>Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: Incorrect syntax near '?'.
    <br>     at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(Unknown Source)
    <br>     at com.microsoft.sqlserver.jdbc.SQLServerStatement.getNextResult(Unknown Source)
    <br>     at com.microsoft.sqlserver.jdbc.SQLServerStatement.doExecuteStatement(Unknown Source)
    <br>     at com.microsoft.sqlserver.jdbc.SQLServerStatement$StmtExecCmd.doExecute(Unknown Source)
    <br>     at com.microsoft.sqlserver.jdbc.TDSCommand.execute(Unknown Source)
    <br>     at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(Unknown Source)
    <br>     at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeCommand(Unknown Source)
    <br>     at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeStatement(Unknown Source)
    <br>     at com.microsoft.sqlserver.jdbc.SQLServerStatement.execute(Unknown Source)
    <br>     at com.mysystems.myapp.connection.StatementImplementaion.execute(StatementImplementaion.java:269)
    <br>     ... 94 more

    Hi,
    Can some one please help with the solution

  • SSRS Report date parameter values using SSAS Cube as datasource

    Hey Guys, 
    i m building an SSRS report using SSAS cube as the data source. The report contains shared data-sets which provide the required data. below is the set up.
    Sql server version : Sql server 2008R2
    Report builder 3.0 
    I have, Report A, powered by Dataset D, running on Cube C. The dataset has 3 parameters out of which one of them is a date parameter- P1. I have it set up such that on the report there is  another parameter - P2 which contains the type as Date ( to
    ensure the user is exposed to a date picker), the input from this, P2 is then manipulated to required format before fed into the dataset parameter P1 (hidden). I have two questions regarding this parameter.
    Currently, when the user pick's a date (P2) which has no values, the report errors out as it doesn't find that corresponding member on the cube. Can it be made such that if the member doesn't exists, a simple error message like "date not found"
    pops up as opposed to report failing?
    Secondly, can i manipulate the date picker (P2) exposed to the user such that the unavailable dates are grey'ed out on the date parameter (P2)? 
    Please let me know if there is any more info required on each of the questions.
    Thanks
    Srikanth

    Hello Katherine,
    below are the errors which pop up with the 'Constrained' function in place and without. The MDX query is what follows.
    Without: 
    An Error has occurred during report processing. (rsProcessingAborted). The Execution Failed for the shared data set “Dataset1”.(rsDataSetExecutionError). Query Execution failed for dataset ‘DataSet1’. (rsErrorExecutingCommand). The dimension ‘[10 Sep 2014]’
    was not found in the cube when the string, [10 Sep 2014], was parsed.
    With Constrained flag:
    An Error has occurred during report processing. (rsProcessingAborted). The Execution Failed for the shared data set “Dataset1”.(rsDataSetExecutionError). Query Execution failed for dataset ‘DataSet1’. (rsErrorExecutingCommand). Query(1,1476) The restrictions
    imposed by the CONSTRAINED flag in the STRTOSET function were violated.
    SELECT
    NON EMPTY
    [Measures].[A]
    ,[Measures].[B]
    ,[Measures].[C]
    ,[Measures].[D]
    ,[Measures].[E]
    } ON COLUMNS
    ,NON EMPTY
    [DimA].[LevelA].[LevelA].ALLMEMBERS*
    [DimB].[LevelB].[LevelB].ALLMEMBERS*
    [Date].[Date].[Date].ALLMEMBERS
    DIMENSION PROPERTIES
    MEMBER_CAPTION
    ,MEMBER_UNIQUE_NAME
    ON ROWS
    FROM
    SELECT
    StrToSet (@FilterA ,CONSTRAINED) ON COLUMNS
    FROM
    SELECT
    StrToSet(@Date, CONSTRAINED) ON COLUMNS
    FROM [Cube1]
    WHERE
    [DimC].[Level1].&[Member1]
    ,[DimC].[Level2].&[Member1]
    ,[DimC].[Level3].&[Member1]
    ,[DimC].[Level4].&[Member1]
    Thanks
    Srikanth

  • Open a transaction via url, passing a parameter/value and SEND THE OK CODE

    Hello Guys,
    I'm trying to open a transaction via a hyperlink (System Action). That works so far, but my problem is that there is no button on the dynpro which triggers the going on. I have to press ENTER or the green hook in the corner of the gui. The transaction I'm opening is IE02 with an equipmentno. The value is in the destination field and the only thing what has to happen know is to trigger the next step (namely opening the "change equipment" dialog). Is there a standard OK-Code for the ENTER-Key or green hook ?
    Greetings,
    Jochen

    hi...
    I can't find that parameter in my Visual Composer environment. I tried to put it in my calling URL but it didn't work either. My URL looks like this:
    '/irj/servlet/prt/portal/prtroot/com.sap.portal.appintegrator.sap.bwc.Transaction?System=' & STORE@systemalias & '&TCode=ie02&GuiType=' & STORE@guitype & '&DynamicParameter=RM63E-EQUNR%3D' & @EQUIPMENT & '&PROCESS_FIRST_SCREEN%3D' & 'YES'
    Instead of the last parameter "PROCESS_FIRST_SCREEN" i could use a ok-code, but in transaction ie02 there is no ok-code to commit the screen, because there is no button...
    Any ideas?
    Greets,
    Jochen

  • Issue with Run time parameter values

    Hi All,
    Am facing an error while loading EBS 11.5.10 Financial data. Problem is, my parameters in the SQL Qualifier query (run time parameters in the SQL query) were not being replaced with appropriate values during run time. This is happening for the task "SDE_ORA_Reverse_GLJournals_ImportReference_Extract" that have SQL query in 'mplt_BC_ORA_XactsimpGlrfExtract' mapplet.
    Ihave checked in parameter file and it have values for those Run time parameters. For some reasons, these values were not being picked up by that SQL query.
    Can someboday help me on this about possible reason(s) behind this?

    There are 5 tasks SDE_PSFT_PayrollFact_Total, SDE_PSFT_PayrollFact_Earnings, SDE_PSFT_PayrollFact_EarningsOther, SDE_PSFT_PayrollFact_Deductions, SDE_PSFT_PayrollFact_Taxes are failing all are with same error READER_1_1_1> PR_18012 SQL Error [
    ORA-00936: missing expression Database driver error...
    I verified the mapplet in that missing expression is $$LAST_EXTRACT_DATE value.
    If you know any workaround for this issue please suggest
    I am attaching one of the error logs.
    DIRECTOR> VAR_27028 Use override value [DataWarehouse] for session parameter:[$DBConnection_OLAP].
    DIRECTOR> VAR_27028 Use override value [PSFT_9_0_HCM] for session parameter:[$DBConnection_OLTP].
    DIRECTOR> VAR_27028 Use override value [12] for mapping parameter:[$$DATASOURCE_NUM_ID].
    DIRECTOR> VAR_27027 Use default value [] for mapping parameter:[mplt_BC_PSFT_PayrollFact_Total.$$INITIAL_EXTRACT_DATE].
    DIRECTOR> VAR_27027 Use default value [] for mapping parameter:[mplt_BC_PSFT_PayrollFact_Total.$$LAST_EXTRACT_DATE].
    DIRECTOR> VAR_27028 Use override value [DEFAULT] for mapping parameter:[$$TENANT_ID].
    DIRECTOR> TM_6014 Initializing session [SDE_PSFT_PayrollFact_Total_Full] at [Wed Dec 10 13:41:44 2008]
    DIRECTOR> TM_6683 Repository Name: [Oracle_BI_DW_Base]
    DIRECTOR> TM_6684 Server Name: [Oracle_BI_DW_Base_Integration_Service]
    DIRECTOR> TM_6686 Folder: [SDE_PSFT_90_Adaptor_Test]
    DIRECTOR> TM_6685 Workflow: [SDE_PSFT_PayrollFact_Total_Full]
    DIRECTOR> TM_6101 Mapping name: SDE_PSFT_PayrollFact_Total [version 1]
    DIRECTOR> TM_6827 [C:\Informatica\PowerCenter8.1.1\server\infa_shared\Storage] will be used as storage directory for session [SDE_PSFT_PayrollFact_Total_Full].
    DIRECTOR> CMN_1805 Recovery cache will be deleted when running in normal mode.
    DIRECTOR> CMN_1802 Session recovery cache initialization is complete.
    DIRECTOR> TM_6703 Session [SDE_PSFT_PayrollFact_Total_Full] is run by 32-bit Integration Service [node01_HSCHBSCGN20031], version [8.1.1], build [0831].
    MANAGER> PETL_24058 Running Partition Group [1].
    MANAGER> PETL_24000 Parallel Pipeline Engine initializing.
    MANAGER> PETL_24001 Parallel Pipeline Engine running.
    MANAGER> PETL_24003 Initializing session run.
    MAPPING> CMN_1569 Server Mode: [ASCII]
    MAPPING> CMN_1570 Server Code page: [MS Windows Latin 1 (ANSI), superset of Latin1]
    MAPPING> TM_6151 Session Sort Order: [Binary]
    MAPPING> TM_6156 Using LOW precision decimal arithmetic
    MAPPING> TM_6180 Deadlock retry logic will not be implemented.
    MAPPING> TM_6307 DTM Error Log Disabled.
    MAPPING> TE_7022 TShmWriter: Initialized
    MAPPING> DBG_21075 Connecting to database [orcl], user [obaw]
    MAPPING> TM_6007 DTM initialized successfully for session [SDE_PSFT_PayrollFact_Total_Full]
    DIRECTOR> PETL_24033 All DTM Connection Info: [<NONE>].
    MANAGER> PETL_24004 Starting pre-session tasks. : (Wed Dec 10 13:41:45 2008)
    MANAGER> PETL_24027 Pre-session task completed successfully. : (Wed Dec 10 13:41:46 2008)
    DIRECTOR> PETL_24006 Starting data movement.
    MAPPING> TM_6660 Total Buffer Pool size is 32000000 bytes and Block size is 1280000 bytes.
    READER_1_1_1> DBG_21438 Reader: Source is [HR90DEV], user [sysadm]
    READER_1_1_1> DBG_21438 Reader: Source is [HR90DEV], user [sysadm]
    READER_1_1_1> BLKR_16003 Initialization completed successfully.
    WRITER_1_*_1> WRT_8147 Writer: Target is database [orcl], user [obaw], bulk mode [OFF]
    WRITER_1_*_1> WRT_8124 Target Table W_PSFT_PAYROLL_F_TMP :SQL INSERT statement:
    INSERT INTO W_PSFT_PAYROLL_F_TMP(EMPLID,EMPL_RCD,PAYGROUP,PAY_PERIOD_START_DT,PAY_PERIOD_END_DT,CHECK_DT,OFF_CYCLE,PAGE_NUM,LINE_NUM,SEPCHK,COMPANY,DEPTID,LOCATION_CD,PLAN_TYPE,BENEFIT_PLAN,BENEFIT_RCD_NBR,DEDCD,DED_CLASS,DED_SLSTX_CLASS,ADDL_NBR,PAY_EARN_START_DT,PAY_EARN_END_DT,ERNCD,COUNTRY,STATE,LOCALITY,TAX_CLASS,PAYROLL_TYPE,PAY_DETAIL_FLG,PAYROLL_AMOUNT,CHANGED_ON_DT,DATASOURCE_NUM_ID,INTEGRATION_ID,TENANT_ID,X_CUSTOM) VALUES ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
    WRITER_1_*_1> WRT_8270 Target connection group #1 consists of target(s) [W_PSFT_PAYROLL_F_TMP]
    WRITER_1_*_1> WRT_8003 Writer initialization complete.
    READER_1_1_1> BLKR_16007 Reader run started.
    READER_1_1_1> PR_18039 Application Source Qualifier [mplt_BC_PSFT_PayrollFact_Total.Sq_Payroll_Total] is reading from PeopleSoft.
    WRITER_1_*_1> WRT_8005 Writer run started.
    WRITER_1_*_1> WRT_8158
    *****START LOAD SESSION*****
    Load Start Time: Wed Dec 10 13:41:46 2008
    Target tables:
    W_PSFT_PAYROLL_F_TMP
    READER_1_1_1> PR_18008 Application SQ instance [mplt_BC_PSFT_PayrollFact_Total.Sq_Payroll_Total] User SQL Query [SELECT 
    PS_PAY_CHECK.COMPANY , 
    PS_PAY_CHECK.PAYGROUP , 
    PS_PAY_CHECK.PAY_END_DT , 
    PS_PAY_CHECK.OFF_CYCLE , 
    PS_PAY_CHECK.PAGE_NUM , 
    PS_PAY_CHECK.LINE_NUM , 
    PS_PAY_CHECK.SEPCHK , 
    PS_PAY_CHECK.EMPLID , 
    PS_PAY_CHECK.EMPL_RCD , 
    PS_PAY_CHECK.DEPTID , 
    'TOTAL_GROSS' SUMMARY_TYPE,
    PS_PAY_CHECK.TOTAL_GROSS SUMMARY_AMOUNT, 
    PS_PAY_CHECK.CHECK_DT , 
    PS_PAY_CHECK.LOCATION , 
    PS_PAY_CHECK.UPDATE_DT 
    FROM 
    PS_PAY_CHECK 
    WHERE
    PS_PAY_CHECK.PAYCHECK_STATUS IN ('A','F','R') AND 
    PS_PAY_CHECK.PAY_END_DT >= 
    UNION ALL
    SELECT 
    PS_PAY_CHECK.COMPANY , 
    PS_PAY_CHECK.PAYGROUP , 
    PS_PAY_CHECK.PAY_END_DT , 
    PS_PAY_CHECK.OFF_CYCLE , 
    PS_PAY_CHECK.PAGE_NUM , 
    PS_PAY_CHECK.LINE_NUM , 
    PS_PAY_CHECK.SEPCHK , 
    PS_PAY_CHECK.EMPLID , 
    PS_PAY_CHECK.EMPL_RCD , 
    PS_PAY_CHECK.DEPTID , 
    'TOTAL_TAXES' SUMMARY_TYPE,
    PS_PAY_CHECK.TOTAL_TAXES SUMMARY_AMOUNT, 
    PS_PAY_CHECK.CHECK_DT , 
    PS_PAY_CHECK.LOCATION , 
    PS_PAY_CHECK.UPDATE_DT 
    FROM 
    PS_PAY_CHECK 
    WHERE
    PS_PAY_CHECK.PAYCHECK_STATUS IN ('A','F','R') AND 
    PS_PAY_CHECK.PAY_END_DT >= 
    UNION ALL
    SELECT 
    PS_PAY_CHECK.COMPANY , 
    PS_PAY_CHECK.PAYGROUP , 
    PS_PAY_CHECK.PAY_END_DT , 
    PS_PAY_CHECK.OFF_CYCLE , 
    PS_PAY_CHECK.PAGE_NUM , 
    PS_PAY_CHECK.LINE_NUM , 
    PS_PAY_CHECK.SEPCHK , 
    PS_PAY_CHECK.EMPLID , 
    PS_PAY_CHECK.EMPL_RCD , 
    PS_PAY_CHECK.DEPTID , 
    'TOTAL_DEDUCTIONS' SUMMARY_TYPE,
    PS_PAY_CHECK.TOTAL_DEDUCTIONS SUMMARY_AMOUNT, 
    PS_PAY_CHECK.CHECK_DT , 
    PS_PAY_CHECK.LOCATION , 
    PS_PAY_CHECK.UPDATE_DT 
    FROM 
    PS_PAY_CHECK 
    WHERE
    PS_PAY_CHECK.PAYCHECK_STATUS IN ('A','F','R') AND 
    PS_PAY_CHECK.PAY_END_DT >= 
    UNION ALL
    SELECT 
    PS_PAY_CHECK.COMPANY , 
    PS_PAY_CHECK.PAYGROUP , 
    PS_PAY_CHECK.PAY_END_DT , 
    PS_PAY_CHECK.OFF_CYCLE , 
    PS_PAY_CHECK.PAGE_NUM , 
    PS_PAY_CHECK.LINE_NUM , 
    PS_PAY_CHECK.SEPCHK , 
    PS_PAY_CHECK.EMPLID , 
    PS_PAY_CHECK.EMPL_RCD , 
    PS_PAY_CHECK.DEPTID , 
    'NET_PAY' SUMMARY_TYPE,
    PS_PAY_CHECK.NET_PAY SUMMARY_AMOUNT, 
    PS_PAY_CHECK.CHECK_DT , 
    PS_PAY_CHECK.LOCATION , 
    PS_PAY_CHECK.UPDATE_DT 
    FROM 
    PS_PAY_CHECK 
    WHERE
    PS_PAY_CHECK.PAYCHECK_STATUS IN ('A','F','R') AND 
    PS_PAY_CHECK.PAY_END_DT >= ]
    READER_1_1_1> CMN_1761 Timestamp Event: [Wed Dec 10 13:41:46 2008]
    READER_1_1_1> PR_18012 SQL Error [
    ORA-00936: missing expression
    Database driver error...
    Function Name : Execute
    SQL Stmt : SELECT
    PS_PAY_CHECK.COMPANY ,
    PS_PAY_CHECK.PAYGROUP ,
    PS_PAY_CHECK.PAY_END_DT ,
    PS_PAY_CHECK.OFF_CYCLE ,
    PS_PAY_CHECK.PAGE_NUM ,
    PS_PAY_CHECK.LINE_NUM ,
    PS_PAY_CHECK.SEPCHK ,
    PS_PAY_CHECK.EMPLID ,
    PS_PAY_CHECK.EMPL_RCD ,
    PS_PAY_CHECK.DEPTID ,
    'TOTAL_GROSS' SUMMARY_TYPE,
    PS_PAY_CHECK.TOTAL_GROSS SUMMARY_AMOUNT,
    PS_PAY_CHECK.CHECK_DT ,
    PS_PAY_CHECK.LOCATION ,
    PS_PAY_CHECK.UPDATE_DT
    FROM
    PS_PAY_CHECK
    WHERE
    PS_PAY_CHECK.PAYCHECK_STATUS IN ('A','F','R') AND
    PS_PAY_CHECK.PAY_END_DT >=
    UNION ALL
    SELECT
    PS_PAY_CHECK.COMPANY ,
    PS_PAY_CHECK.PAYGROUP ,
    PS_PAY_CHECK.PAY_END_DT ,
    PS_PAY_CHECK.OFF_CYCLE ,
    PS_PAY_CHECK.PAGE_NUM ,
    PS_PAY_CHECK.LINE_NUM ,
    PS_PAY_CHECK.SEPCHK ,
    PS_PAY_CHECK.EMPLID ,
    PS_PAY_CHECK.EMPL_RCD ,
    PS_PAY_CHECK.DEPTID ,
    'TOTAL_TAXES' SUMMARY_TYPE,
    PS_PAY_CHECK.TOTAL_TAXES SUMMARY_AMOUNT,
    PS_PAY_CHECK.CHECK_DT ,
    PS_PAY_CHECK.LOCATION ,
    PS_PAY_CHECK.UPDATE_DT
    FROM
    PS_PAY_CHECK
    WHERE
    PS_PAY_CHECK.PAYCHECK_STATUS IN ('A','F','R') AND
    PS_PAY_CHECK.PAY_END_DT >=
    UNION ALL
    SELECT
    PS_PAY_CHECK.COMPANY ,
    PS_PAY_CHECK.PAYGROUP ,
    PS_PAY_CHECK.PAY_END_DT ,
    PS_PAY_CHECK.OFF_CYCLE ,
    PS_PAY_CHECK.PAGE_NUM ,
    PS_PAY_CHECK.LINE_NUM ,
    PS_PAY_CHECK.SEPCHK ,
    PS_PAY_CHECK.EMPLID ,
    PS_PAY_CHECK.EMPL_RCD ,
    PS_PAY_CHECK.DEPTID ,
    'TOTAL_DEDUCTIONS' SUMMARY_TYPE,
    PS_PAY_CHECK.TOTAL_DEDUCTIONS SUMMARY_AMOUNT,
    PS_PAY_CHECK.CHECK_DT ,
    PS_PAY_CHECK.LOCATION ,
    PS_PAY_CHECK.UPDATE_DT
    FROM
    PS_PAY_CHECK
    WHERE
    PS_PAY_CHECK.PAYCHECK_STATUS IN ('A','F','R') AND
    PS_PAY_CHECK.PAY_END_DT >=
    UNION ALL
    SELECT
    PS_PAY_CHECK.COMPANY ,
    PS_PAY_CHECK.PAYGROUP ,
    PS_PAY_CHECK.PAY_END_DT ,
    PS_PAY_CHECK.OFF_CYCLE ,
    PS_PAY_CHECK.PAGE_NUM ,
    PS_PAY_CHECK.LINE_NUM ,
    PS_PAY_CHECK.SEPCHK ,
    PS_PAY_CHECK.EMPLID ,
    PS_PAY_CHECK.EMPL_RCD ,
    PS_PAY_CHECK.DEPTID ,
    'NET_PAY' SUMMARY_TYPE,
    PS_PAY_CHECK.NET_PAY SUMMARY_AMOUNT,
    PS_PAY_CHECK.CHECK_DT ,
    PS_PAY_CHECK.LOCATION ,
    PS_PAY_CHECK.UPDATE_DT
    FROM
    PS_PAY_CHECK
    WHERE
    PS_PAY_CHECK.PAYCHECK_STATUS IN ('A','F','R') AND
    PS_PAY_CHECK.PAY_END_DT >=
    Oracle Fatal Error
    Database driver error...
    Function Name : Execute
    SQL Stmt : SELECT
    PS_PAY_CHECK.COMPANY ,
    PS_PAY_CHECK.PAYGROUP ,
    PS_PAY_CHECK.PAY_END_DT ,
    PS_PAY_CHECK.OFF_CYCLE ,
    PS_PAY_CHECK.PAGE_NUM ,
    PS_PAY_CHECK.LINE_NUM ,
    PS_PAY_CHECK.SEPCHK ,
    PS_PAY_CHECK.EMPLID ,
    PS_PAY_CHECK.EMPL_RCD ,
    PS_PAY_CHECK.DEPTID ,
    'TOTAL_GROSS' SUMMARY_TYPE,
    PS_PAY_CHECK.TOTAL_GROSS SUMMARY_AMOUNT,
    PS_PAY_CHECK.CHECK_DT ,
    PS_PAY_CHECK.LOCATION ,
    PS_PAY_CHECK.UPDATE_DT
    FROM
    PS_PAY_CHECK
    WHERE
    PS_PAY_CHECK.PAYCHECK_STATUS IN ('A','F','R') AND
    PS_PAY_CHECK.PAY_END_DT >=
    UNION ALL
    SELECT
    PS_PAY_CHECK.COMPANY ,
    PS_PAY_CHECK.PAYGROUP ,
    PS_PAY_CHECK.PAY_END_DT ,
    PS_PAY_CHECK.OFF_CYCLE ,
    PS_PAY_CHECK.PAGE_NUM ,
    PS_PAY_CHECK.LINE_NUM ,
    PS_PAY_CHECK.SEPCHK ,
    PS_PAY_CHECK.EMPLID ,
    PS_PAY_CHECK.EMPL_RCD ,
    PS_PAY_CHECK.DEPTID ,
    'TOTAL_TAXES' SUMMARY_TYPE,
    PS_PAY_CHECK.TOTAL_TAXES SUMMARY_AMOUNT,
    PS_PAY_CHECK.CHECK_DT ,
    PS_PAY_CHECK.LOCATION ,
    PS_PAY_CHECK.UPDATE_DT
    FROM
    PS_PAY_CHECK
    WHERE
    PS_PAY_CHECK.PAYCHECK_STATUS IN ('A','F','R') AND
    PS_PAY_CHECK.PAY_END_DT >=
    UNION ALL
    SELECT
    PS_PAY_CHECK.COMPANY ,
    PS_PAY_CHECK.PAYGROUP ,
    PS_PAY_CHECK.PAY_END_DT ,
    PS_PAY_CHECK.OFF_CYCLE ,
    PS_PAY_CHECK.PAGE_NUM ,
    PS_PAY_CHECK.LINE_NUM ,
    PS_PAY_CHECK.SEPCHK ,
    PS_PAY_CHECK.EMPLID ,
    PS_PAY_CHECK.EMPL_RCD ,
    PS_PAY_CHECK.DEPTID ,
    'TOTAL_DEDUCTIONS' SUMMARY_TYPE,
    PS_PAY_CHECK.TOTAL_DEDUCTIONS SUMMARY_AMOUNT,
    PS_PAY_CHECK.CHECK_DT ,
    PS_PAY_CHECK.LOCATION ,
    PS_PAY_CHECK.UPDATE_DT
    FROM
    PS_PAY_CHECK
    WHERE
    PS_PAY_CHECK.PAYCHECK_STATUS IN ('A','F','R') AND
    PS_PAY_CHECK.PAY_END_DT >=
    UNION ALL
    SELECT
    PS_PAY_CHECK.COMPANY ,
    PS_PAY_CHECK.PAYGROUP ,
    PS_PAY_CHECK.PAY_END_DT ,
    PS_PAY_CHECK.OFF_CYCLE ,
    PS_PAY_CHECK.PAGE_NUM ,
    PS_PAY_CHECK.LINE_NUM ,
    PS_PAY_CHECK.SEPCHK ,
    PS_PAY_CHECK.EMPLID ,
    PS_PAY_CHECK.EMPL_RCD ,
    PS_PAY_CHECK.DEPTID ,
    'NET_PAY' SUMMARY_TYPE,
    PS_PAY_CHECK.NET_PAY SUMMARY_AMOUNT,
    PS_PAY_CHECK.CHECK_DT ,
    PS_PAY_CHECK.LOCATION ,
    PS_PAY_CHECK.UPDATE_DT
    FROM
    PS_PAY_CHECK
    WHERE
    PS_PAY_CHECK.PAYCHECK_STATUS IN ('A','F','R') AND
    PS_PAY_CHECK.PAY_END_DT >=
    Oracle Fatal Error]
    READER_1_1_1> CMN_1761 Timestamp Event: [Wed Dec 10 13:41:46 2008]
    READER_1_1_1> BLKR_16004 ERROR: Prepare failed.
    WRITER_1_*_1> WRT_8333 Rolling back all the targets due to fatal session error.
    WRITER_1_*_1> WRT_8325 Final rollback executed for the target [W_PSFT_PAYROLL_F_TMP] at end of load
    WRITER_1_*_1> WRT_8035 Load complete time: Wed Dec 10 13:41:46 2008
    LOAD SUMMARY
    ============
    WRT_8036 Target: W_PSFT_PAYROLL_F_TMP (Instance Name: [W_PSFT_PAYROLL_F_TMP])
    WRT_8044 No data loaded for this target
    WRITER_1__1> WRT_8043 ****END LOAD SESSION*****
    MANAGER> PETL_24031
    ***** RUN INFO FOR TGT LOAD ORDER GROUP [1], CONCURRENT SET [1] *****
    Thread [READER_1_1_1] created for [the read stage] of partition point [mplt_BC_PSFT_PayrollFact_Total.Sq_Payroll_Total] has completed. The total run time was insufficient for any meaningful statistics.
    Thread [TRANSF_1_1_1] created for [the transformation stage] of partition point [mplt_BC_PSFT_PayrollFact_Total.Sq_Payroll_Total] has completed. The total run time was insufficient for any meaningful statistics.
    Thread [WRITER_1_*_1] created for [the write stage] of partition point [W_PSFT_PAYROLL_F_TMP] has completed. The total run time was insufficient for any meaningful statistics.
    MANAGER> PETL_24005 Starting post-session tasks. : (Wed Dec 10 13:41:47 2008)
    MANAGER> PETL_24029 Post-session task completed successfully. : (Wed Dec 10 13:41:47 2008)
    MAPPING> TM_6018 Session [SDE_PSFT_PayrollFact_Total_Full] run completed with [0] row transformation errors.
    MANAGER> PETL_24002 Parallel Pipeline Engine finished.
    DIRECTOR> PETL_24013 Session run completed with failure.
    DIRECTOR> TM_6022
    SESSION LOAD SUMMARY
    ================================================
    DIRECTOR> TM_6252 Source Load Summary.
    DIRECTOR> CMN_1740 Table: [Sq_Payroll_Total] (Instance Name: [mplt_BC_PSFT_PayrollFact_Total.Sq_Payroll_Total])
         Output Rows [0], Affected Rows [0], Applied Rows [0], Rejected Rows [0]
    DIRECTOR> TM_6253 Target Load Summary.
    DIRECTOR> CMN_1740 Table: [W_PSFT_PAYROLL_F_TMP] (Instance Name: [W_PSFT_PAYROLL_F_TMP])
         Output Rows [0], Affected Rows [0], Applied Rows [0], Rejected Rows [0]
    DIRECTOR> TM_6023
    ===================================================
    DIRECTOR> TM_6020 Session [SDE_PSFT_PayrollFact_Total_Full] completed at [Wed Dec 10 13:41:48 2008]

  • Report ignoring parameter value from Crystals own dialog box

    Hi,
    Iu2019m using VB 2008, Crystal 2008 SP1. Iu2019m not embedding the reports, simply opening the .rpt file from an OpenFileDialog and using the below code. Very basic stuff. The report itself has 1 SQL table in it and 1 parameter.
                Dim report As New CrystalDecisions.CrystalReports.Engine.ReportDocument
                report.Load(mReportFile, CrystalDecisions.Shared.OpenReportMethod.OpenReportByDefault)
                crvMain.ReportSource = report
                crvMain.RefreshReport()
    Yet the parameter thatu2019s used as a record selection is ignored and all the records are shown. I canu2019t see whatu2019s missing here. The .rpt file works fine in Crystal 2008, just not in the viewer, even when i debug. Iu2019ve found a crystal viewer FOC (SaberLogic Logicity) based on 2008, where the .rpt file works. Iu2019m thinking it must be a vb.net coding error or omission in my project.

    Hello,
    There are two things I can see.
    The first is a known issue described in the [Note 1204895|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes.do].
    The second is the line "crvMain.ReportSource = report" will preview the report.
    The line "crvMain.RefreshReport()" just refreshes it and would require parameters again.
    Elaine

  • Database logon failed when opening report with parameter values in CrystalReportViewer

    Hi,
    I designed 2 crystal reports: report A contains parameter fields and report B did not contain any parameter
    I can open both reports in development site using CrystalReportViewer control. When I open the reports in testing site,
    I can open report B but can't open report A. It display error message "Database logon failed". When I set EnableDatabaseLogonPrompt
    to true and try to open the report A again, it shows database connection data which was created on report.
    In addition, it is strange that it displays error "Database logon failed" when I click an item in group tree panel of the report B. This indicates that it can load data from database
    in testing site but it connect to development database when clicking items in group tree panel
    All reports connect to database using Windows Authenication. It use dynamic database connection at runtime
    How to ensure the report always connect database using login data dynamically at runtime?
    Below is my code about database connection:
    string strServerName = null;
    string strDatabaseName = null;
    ReportDocument rptDoc = new ReportDocument();
    rptDoc.Load(strFilePath);
    ConnectionInfo connInfo = new ConnectionInfo();
    TableLogOnInfo logonInfo;
    for (int i = 0; i < rptDoc.Database.Tables.Count; i++)
    logonInfo = rptDoc.Database.Tables[i].LogOnInfo;
    ReportHelper.GetReportConnection(ref strServerName, ref strDatabaseName, strSystemType);
    logonInfo.ConnectionInfo.ServerName = strServerName; 
    logonInfo.ConnectionInfo.DatabaseName = strDatabaseName;
    logonInfo.ConnectionInfo.IntegratedSecurity = true;
    rptDoc.Database.Tables[i].ApplyLogOnInfo(logonInfo);
    rptDoc.Database.Tables[i].Location = rptDoc.Database.Tables[i].Location.Substring(0, rptDoc.Database.Tables[i].Location.Length - 2);
    crvViewer.ReportSource = rptDoc;
    crvViewer.DataBind();
    Development environment:
    - SAP Crystal Reports 2013 Support Pack 1
    - Visual Studio Professional 2012
    - .NET Framework 3.5
    - DDL
    CrystalDecisions.Shared (v 13.0.8.1216)
    CrystalDecisions.Web (v 13.0.8.1216)
    CrystalDecisions.CrystalReports.Engine (v 13.0.8.1216)
    Database connection in crystal report:
    - Database Type: OLEDB (ADO)
    - Provider: SQLOLEDB
    - Integrated Security: True
    Thanks and Regards,
    Tony

    Hi Tonylck
    Try  to pass login info to crystal report dynamically as follows:
    using System;
    using System.Windows.Forms;
    using CrystalDecisions.CrystalReports.Engine;
    using CrystalDecisions.Shared;
    namespace WindowsApplication1
    public partial class Form1 : Form
    public Form1()
    InitializeComponent();
    private void button1_Click(object sender, EventArgs e)
    ReportDocument cryRpt = new ReportDocument();
    TableLogOnInfos crtableLogoninfos = new TableLogOnInfos();
    TableLogOnInfo crtableLogoninfo = new TableLogOnInfo();
    ConnectionInfo crConnectionInfo = new ConnectionInfo();
    Tables CrTables ;
    cryRpt.Load("PUT CRYSTAL REPORT PATH HERE\CrystalReport1.rpt");
    crConnectionInfo.ServerName = "YOUR SERVER NAME";
    crConnectionInfo.DatabaseName = "YOUR DATABASE NAME";
    crConnectionInfo.UserID = "YOUR DATABASE USERNAME";
    crConnectionInfo.Password = "YOUR DATABASE PASSWORD";
    CrTables = cryRpt.Database.Tables ;
    foreach (CrystalDecisions.CrystalReports.Engine.Table CrTable in CrTables)
    crtableLogoninfo = CrTable.LogOnInfo;
    crtableLogoninfo.ConnectionInfo = crConnectionInfo;
    CrTable.ApplyLogOnInfo(crtableLogoninfo);
    crystalReportViewer1.ReportSource = cryRpt;
    crystalReportViewer1.Refresh();
    Ref
    http://csharp.net-informations.com/crystal-reports/csharp-crystal-reports-dynamic-login.htm
    Mark as answer if you find it useful
    Shridhar J Joshi Thanks a lot

  • Crystal Report Viewer 11.5 Java SDK - How to set sub report parameter value

    Good day!
    I have a report with 3 sub-reports in the detail section. Main report has two parameters and each sub-report has one parameter in turn. We have our own JSP to receive parameter values from the user. I am using the following code to do the parameter value setting later into the report. Parameter value setting works for main report, but not for the sub-report.
    I get an Error, for the first sub-report, from the viewer saying:
    The parameter 'parametername' does not allow null values
    On this article: [article link|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap%28bd1lbizjptawmq==%29/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233313337333233323331%7D.do]
    It says to set the report name of the parameter field to the name of the sub report. On this aspect, assuming this tip/solution works, I would like to read the names of the sub-reports and their parameter names. I do not want to hard-code them into our application.
    Here is my current code:
    sdk.occa.report.data.Fields parameterFields = new Fields();
    I have a HashMap of <parameterName, parameterValue>
    Iterate through the map
    report.data.ParameterField aParameterField = new ParameterField();
    aParameterField.setReportName(""); //main report
    report.data.Values theValues = new Values();
    ParameterFieldDiscreteValue aParameterFieldDiscreteValue = new ParameterFieldDiscreteValue();
    aParameterFieldDiscreteValue.setValue (aValue);
    theValues.add(aParameterFieldDiscreteValue);
    aParameterField.setName(parameterName)
    aParameterField.setCurrentValues(theValues);
    parameterFields.add(aParameterField);
    viewer.setParameterFields(parameterFields);
    Please look at the line:
    aParameterField.setReportName(""); //main report
    Here's where I would like to say
    if (parameter is subreport's parameter) then setReportName(subreport name);
    Thx

    It was little difficult to navigate down the objects to find the sub reports and their parameters. I am attaching the code:
    May be there are other ways to do the same.
    public String getReportNameForParameter (String parameterName, ReportClientDocument reportClientDoc)
            String result = "";
            boolean found = false;
            try {
                SubreportController src = reportClientDoc.getSubreportController();
                DataDefController ddc = reportClientDoc.getDataDefController();
                IDataDefinition idd = ddc.getDataDefinition();
                Fields fs = idd.getParameterFields();
                Iterator fiter = fs.iterator();
                while (fiter.hasNext()) {
                    IField ifld = (IField) fiter.next();
                    if (parameterName.equals(ifld.getName())) {
                        found = true;
                    //System.out.println ("\t Field Name/Description/HeadingText: " + ifld.getName() + "/" + ifld.getDescription() + "/" + ifld.getHeadingText());
                if (!found) {
                    IStrings reportNames = src.getSubreportNames();
                    //System.out.println ("  Sub Reports If Any ...");
                    if (reportNames != null) {
                        Iterator iter = reportNames.iterator();
                        while (iter.hasNext()) {
                            String repName = (String) iter.next();
                            //System.out.println ("\t Sub Report Name " + repName);
                            ISubreportClientDocument srcd = src.getSubreport(repName);
                            ddc = srcd.getDataDefController();
                            idd = ddc.getDataDefinition();
                            fs = idd.getParameterFields();
                            fiter = fs.iterator();
                            while (fiter.hasNext()) {
                                IField ifld = (IField) fiter.next();
                                if (parameterName.equals(ifld.getName())) {
                                    result = repName;
                                    break;
                                //System.out.println ("\t\t Field Name/Description/HeadingText: " + ifld.getName() + "/" + ifld.getDescription() + "/" + ifld.getHeadingText());
            //System.out.println ("********************************************************** ");
            catch (Exception exc) {
                System.out.println ("Error/Exception while trying to find the report name for parameter [" + parameterName + "]");
                System.out.println ("*******************************************************************************************");
                exc.printStackTrace();
            return result;

  • Using "and","or"(eg Anand Y) as parameter values to BI Publisher reports

    I'm trying to pass a name parameter containing "and" for eg Anand Y, This value does not get passed to the report.Log reports invalid parameter value.
    Has any one faced this issue before?

    Rainer,
    Thanks for your reply. It helped me work around seeing the Adobe error message.
    Like you suggested I changed the report query attributes to use the ADVANCED xml-structure property (so my xml file would not be empty).
    Here is what my xml file looks like when the query returns no-data-found.
    <?xml version="1.0" encoding="UTF-8"?>
    <DOCUMENT>
    <DATE>03-MAR-08</DATE>
    <USER_NAME>TDIPPER</USER_NAME>
    <APP_ID>750</APP_ID>
    <APP_NAME>APEX - Application Builder</APP_NAME>
    <TITLE>Monthly_Detail_Report</TITLE>
    <P5_MONTH_FORMATTED>2008 February</P5_MONTH_FORMATTED>
    <REGION ID="0">ORA-01403: no data found
    </REGION>
    </DOCUMENT>
    Here is what my xml file looks like when the query returns data. For this example I've removed most the data... I just want to show my structure.
    <?xml version="1.0" encoding="UTF-8"?>
    <DOCUMENT>
    <DATE>03-MAR-08</DATE>
    <USER_NAME>TDIPPER</USER_NAME>
    <APP_ID>750</APP_ID>
    <APP_NAME>APEX - Application Builder</APP_NAME>
    <TITLE>Monthly_Detail_Report</TITLE>
    <P5_MONTH_FORMATTED>2008 January </P5_MONTH_FORMATTED>
    <REGION ID="0">
    <ROWSET>
    <ROW>
    <POSTING_MONTH>01-JAN-08</POSTING_MONTH>
    </ROW>
    In the rtf template like you suggested I added conditional logic to show a no-data-found message else show the contents of my report. The key idea here is that if ROW (holds the data) is defined in the xml structure then there is data returned from the query else I show the no data message.
    <?if:not(ROW)?>
    No Data Found For Specified Search Criteria.
    <?end if?>
    <?if: (ROW)?>
    ...detail of my report is here...
    <?end if?>
    Thanks for your help in resolving the issue. I do prefer to have Oracle fix the issue of showing the Adobe error when report queries don't find data, but this is a good work around until something better comes along.
    Thanks,
    Todd

  • Opendocument URL with range parameter

    Hi, we are running BO XI R2 with SP5 and have been recommended to switch from the older viewrpt URL functionality to the opendocument URL functionality due to issues with releasing of BOE sessions.
    We have now written some code and are testing out the opendocument URL functionality, but are finding one issue with a range parameter that we cannot get past. Our URL is really quite simple and is built like this:
    /businessobjects/enterprise115/InfoView/scripts/opendocument.aspx?sType=rpt&iDocID=23264&sViewer=actx&sRefresh=Y&lsSIndustryCode=&lsRPeriodRange=[12..12]&lsSBU=&token={url encoded token}
    No matter how we configure the syntax for the range parameter PeriodRange we are always prompted to enter values for this parameter. The idea is of course that it should take the values we pass (periods 12-12). We have tried all possibilities with URL encoding the parameter value and the various settings for prompting on the parameter in the CMC. Nothing makes any difference. It will always bring up the parameter screen for this one parameter.
    According to the opendocument documentation this is the correct syntax so why does it not accept the parameter?
    Regards,
    Stig Johansen

    Thanks for the quick answer. However we could not get this to work.
    If we use the 'prompex'-syntax for the parameters it always prompts for these
    /businessobjects/enterprise115/InfoView/scripts/opendocument.aspx?sType=rpt&iDocID=23264&sViewer=actx&promptex-BU=*
    /businessobjects/enterprise115/InfoView/scripts/opendocument.aspx?sType=rpt&iDocID=23264&sViewer=actx&promptex-BU="*"
    and if we use all the same parameters as for viewrpt we just get an error 'Object is required'.
    /businessobjects/enterprise115/InfoView/scripts/opendocument.aspx?id=23264&apsauthtype=secWinAD&init=actx:connect&promptOnRefresh=1&promptex-BU="*"
    Even if we had gotten it to work this way it would not really resolve the situation. Basing European wide reporting on an unsupported solution would not be a way that we would like to move forward. After all much the reason we were recommended to move to opendocument was that the support for this method should be more comprehensive than for the viewrpt functionality.
    Best regards,
    Stig

  • ODI Runtime Parameter value usage

    Hi Gurus,
    I need a variable which will be used to capture a value @ run-time of ODI scenario
    This value will be used to update a table column.
    When I would execute the scenario it should prompt for the value of this variable.
    What I tried :-
    create a variable: v_test
    Data type : alphanumeric
    Keep History :Latest Value
    Refreshing:
    Schema: Scott
    Select Query: select 'xyz' from dual
    ---actually I don't want any value from any table...i dont need this select from dual
    When I execute the scenario--->
    It prompts for the value for "v_test" showing the devault value 'xyz'
    If I select OK --->It updates the Test_Table as expected.
    ....But when I type in the value in the prompt it does not update.
    Question:----
    How do I use a run-time parameter value during the scenario execution..... please advise.

    Hi starak,
    Try this :
    - Remove the query from the refresh tab.
    - In your package you should a step for the variable in declare mode. You should not have a step in refresh mode.
    - When generating a scenario, tell ODI to use the variable as parameter.
    Hope it helps,
    JeromeFr

  • Passing parameter values to another report using URL actions (reportserver)

    Hi guys,
    I have two reports that I link with eachother. For report A - B everything works perfect. When I try to do the same for report B - A it works, but the parameter value is not filled in.
    =Iif(
    Parameters!PAR_LinksEnabled.Value, 
    Globals!ReportServerUrl & "?" & Replace(Globals!ReportServerUrl, "_vti_bin/ReportServer", "")
    & "Reporting/POS Reporting/Reports/POS Report.rdl&POS_ID=" & Parameters!CONNECTION_ID.Value & "&POS_LANG=" & Parameters!POS_LANG.Value & "&PAR_Date=%5BDate invoice%5D.%5BBonus Calendar - Week%5D.%5BBonus
    week of year%5D.%26%5B" & Left(Parameters!YEAR_WEEK.Label, 4) + "%5D%26%5B" & CInt(Right(Parameters!YEAR_WEEK.Label, 2)) & "%5D",
    Nothing
    Even tho I specify the parameter he has to pass through, the report opens with parameter period : <select a value>. Anyone has an idea why such behaviour happens?
    Thanks!

    Hi Yvanlathem,
    Per my understanding that you want to use the expression above to conditional add the hyperlink to pass the value to the parameter of anpother rreport via the URL in the SharePoint integrated mode report server, right?
    I have check the expression you have provided and the issue can be caused by the wrong way you have write the expression to pass the parameter, please check detais information below to make sure you have pass parameter in the URL correctly:
    Please modify the expression to below structure :
     =Iif( Parameters!PAR_LinksEnabled.Value="Enabled", "URL",Nothing)
    I saw you have use expression like "&POS_ID=" & Parameters!CONNECTION_ID.Value & "" which is incorrect, we need to set a report parameter within a URL, use the following syntax:
     parameter=value(not Value=Parameter)
    If you are using the following syntax like "Parameter1=Parameter2", both parameters and from different report, if you have add the "Go to URL" action from  report2 to Report1, please make sure Parameter1 is from the Report1
    and Parameter2 is from Report2, change the order will not work
    More detail information:
    Pass a Report Parameter Within a URL
    So, In your scenario, please make sure the value is from one report's field (POS_ID) and the the parameter(CONNECTION_ID) is from another report (e.g:"&CONNECTION_ID=" &Fields!POS_ID.Value &"")
    Similar thread for your reference:
    SSRS 2012 Drill Through report cascading Parameters not refreshing
    If you still have any problem, please feel free to ask.
    Regards,
    Vicky Liu
    Vicky Liu
    TechNet Community Support

  • How to call a report via a URL, showing a parameter prompt, but no controls

    Hi,
    I want to be able to call a report online by passing in the URL to Portal. Want to show a prompt for a parameter value and nothing else, until the parameter is entered. I can get the report to display the parameter and the controls, and I can get it to display without the parameter and without controls. However, I can't seem to find a combination that enables me to prompt the user with a parameter, without showing any controls.
    Currently, I am showing the parameter and controls with this URL:
    http://{CURRENT_SERVER_URL}/Sector/Comments/Orders/Orders.xdo?_xpf=&_xpt=0&_xdo=%2FSector%2FComments%2FOrders%2FOrders.xdo&Order_No=&_xt=Orders%20and%20Shipments&_xf=html&_xmode=2
    Thanks
    Phil

    Hi Phil,
    http://{CURRENT_SERVER_URL}/Sector/Comments/Orders/Orders.xdo?PARAMETER1=jjj&PARAMETER2=&_xmode=6
    You have to pass the parameters in the url inorder to display them in page.
    Note : PARAMETER1, PARAMETER2.
    jjj was the values passed to first parameter1 as default.
    null was passed to parameter2 as default
    use xmode=2 or xmode=6 , first one, gives extra report link , second one doesn't.

  • How to suppress "enter parameter values" screen in crystal reports for Visu

    Hi,
        I am passing parameters to the report through program.  But still the "Enter Parameter Values" Dialog is shown every time I run the application.  Code used to pass parameters is given below:
                    rptCBBookRpt objRptCBBook = new rptCBBookRpt();
                    objRptCBBook.SetParameterValue("@Branch", strBranch);
                    objRptCBBook.SetParameterValue("@CoName", mdlFinIF.objCommon.CoName);
                    objRptCBBook.SetParameterValue("@Heading", strHeading);
                    objRptCBBook.SetParameterValue("@UserInfo", mdlFinIF.objCommon.ReportInfo());
    How can I suppress the "Enter Parameter Values" dialog.  Please help.
    Cris Evan

    Well, no. But this being a community, not technical support, you may get a response, perhaps even an actual answer, or you may not...
    If you are not getting a response or an answer, you may want to consider obtaining a dedicated support here:
    http://store.businessobjects.com/store/bobjamer/en_US/pd/productID.98078100?resid=S6I@hgoHAkEAAGsiyVkAAAAR&rests=1282226845369
    Look at samples here:
    https://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsfor.NETSDK+Samples
    Check out the [Crystal Reports for Visual Studio 2005 Walkthroughs|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/2081b4d9-6864-2b10-f49d-918baefc7a23] - it will apply to your version of CR...
    And of course, developer help files.
    - Ludek

Maybe you are looking for