Probs sharing a report that uses SETPARAM to pass multiple parameters

Ok we have master DB account Disco that creates reports. I also have oracle acct Duser for the users to run the reports.
Per Metalink Note:304192.1, we've got the setparam stuff working to pass in date parameters into our sheet. This works fine when I run the report as Disco. When I try to share the report to Duser, it still prompts for the dates, but then the report returns all 0's for the results. I have no idea why this is happening.
Any suggestions on how to share reports with other users that pass in parameters would be much appreciated. thanks!!
Allen

Hi Allen,
I would always recommend that you use sys_context to pass parameters. You can search this site for sys_context or take a look at (Re: Passing multiple parameters into Custom Folder... for more details.
Rod West

Similar Messages

  • Error while creating a report that uses Oracle OCI JDBC connectivity

    Please let me know why my CR and LF characters are removed from my forum posting *****
    Hi,
    I was trying to create a report that uses Oracle OCI JDBC connectivity. I am using Eclipse3.4 download from "cr4e-all-in-one-win_2.0.2.zip".  I have successfully created a JDBC OCI connection.
    The connection parameters are given below:
    URL: jdbc:oracle:oci8:@xe
    Database: xe
    username: <userName>
    password: <password>
    I have tested the above connection in Data source Explorer and it works fine!!!
    But I am getting the following error when I drag-and-drop a table from the list of tables. Not sure what I am missing here?  Any help is highly appreciated.
    com.businessobjects.reports.jdbinterface.common.DBException: InvalidURLOrClassName
         at com.crystaldecisions.reports.queryengine.driverImpl.jdbc.JDBCConnection.Open(Unknown Source)
         at com.crystaldecisions.reports.queryengine.JDBConnectionWrapper.Open(SourceFile:123)
         at com.crystaldecisions.reports.queryengine.Connection.br(SourceFile:1771)
         at com.crystaldecisions.reports.queryengine.Connection.bs(SourceFile:491)
         at com.crystaldecisions.reports.queryengine.Connection.t1(SourceFile:2979)
         at com.crystaldecisions.reports.queryengine.Table.u7(SourceFile:2408)
         at com.crystaldecisions.reports.dataengine.datafoundation.AddDatabaseTableCommand.new(SourceFile:529)
         at com.crystaldecisions.reports.common.CommandManager.a(SourceFile:71)
         at com.crystaldecisions.reports.common.Document.a(SourceFile:203)
         at com.businessobjects.reports.sdk.requesthandler.f.a(SourceFile:175)
         at com.businessobjects.reports.sdk.requesthandler.DatabaseRequestHandler.byte(SourceFile:1079)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(SourceFile:1163)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:657)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:163)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(SourceFile:525)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(SourceFile:523)
         at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
         at java.util.concurrent.FutureTask.run(Unknown Source)
         at com.businessobjects.crystalreports.designer.core.util.thread.ExecutorWithIdleProcessing$3.doWork(ExecutorWithIdleProcessing.java:182)
         at com.businessobjects.crystalreports.designer.core.util.thread.AbstractCancellableRunnable.run(AbstractCancellableRunnable.java:69)
         at com.businessobjects.crystalreports.designer.core.util.thread.PriorityTask.run(PriorityTask.java:75)
         at com.businessobjects.crystalreports.designer.core.util.thread.PriorityCompoundCancellableRunnable.runSubtask(PriorityCompoundCancellableRunnable.java:187)
         at com.businessobjects.crystalreports.designer.core.util.thread.PriorityProgressAwareRunnable.runSubtask(PriorityProgressAwareRunnable.java:90)
         at com.businessobjects.crystalreports.designer.core.util.thread.PriorityCompoundCancellableRunnable.doWork(PriorityCompoundCancellableRunnable.java:144)
         at com.businessobjects.crystalreports.designer.core.util.thread.AbstractCancellableRunnable.run(AbstractCancellableRunnable.java:69)
         at com.businessobjects.crystalreports.designer.core.util.thread.ExecutorWithIdleProcessing$IdleTask.run(ExecutorWithIdleProcessing.java:320)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Thanks
    Karthik
    Edited by: KARTHIK1 on Oct 14, 2009 9:38 PM

    Hi Ted,
    Thanks for the feedback. I was able to create a report in Creystal Reports Designer 2008 using OCI.  It is not allowing only in the Eclipse plugin. In our environment we are not allowed to user Oracle thin connections and ONLY OCI is allowed.
    1) Can you please let me know if there is a way to do this? 
    2) Will it allow data sources using native database driver?
    3) If so, can I use JRC to create these reports from a desktop java program?
    Thanks & Regards
    Karthik
    Edited by: KARTHIK1 on Oct 15, 2009 4:38 PM

  • Error while subscription on SSRS report that uses custom assembly

    I am new to SSRS. i have created a report that uses custom assembly that runs an oracle procedure and bring back result to report. this works fine on sharepoint mode interactive report. while i subscribe the same report, i am getting below error
    Request for the permission of type 'System.Data.OracleClient.OraclePermission,System.Data.OracleClient,Version=2.0.0.0,Culture=neutral,PublicKeyToken=b77a5c561934e089'failed. < ==> 
    at System.Security.CodeAccessSecurityEngine.Check(Objectdemand,StackCrawlMark&stackMark, BooleanisPermSet)
    at System.Security.PermissionSet.Demand()
    at System.Data.Common.DbConnectionOptions.DemandPermission()
    at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnectionouterConnection,DbConnectionFactoryconnectionFactory)
    at System.Data.OracleClient.OracleConnection.Open()
    i am breaking my head to find the root cause and fix for this. 
    i tried adding below permission on server machine.config file,
    <SecurityClass Name="OraclePermission" Description="System.Data.OracleClient.OraclePermission, System.Data.OracleClient, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
    <PermissionSet class="NamedPermissionSet" version="1" Unrestricted="true" Name="FullTrust" Description="Allows full access to all resources for custom assembly">
      <IPermission class="OraclePermission" version="1" Unrestricted="true" Level="High" Flags="FullTrust"/>
    </PermissionSet>
    it doesnot work and i am getting the same error on subscription. 
    can anyone help me to solve this issue. this is very urgent. thanks 

    Can you see data for Custom object @ BEx level??
    YES, then just try to re-create the same variable and Save the BW query.
    Now do View - refresh Strusture @ Universe. And you can see Filter for the same, just Parse it, just whether it is OK or not.
    OK -- then Export the Universe and create WebI reports, this will come as Prompt.
    Hope it will helps you.
    Thank You!!
    Sent from iPhone

  • Report that uses web services as data source, prompts for database logon

    I have a crystal report that uses web services as a data source. When I deploy the report to Infoview it prompts me for a database username and password. Since I am not using a database it should not prompt me for these. I tried various options in the CMC->database settings for this report but it still prompts me for the database logon info or tells me that the database logon information is incorrect.
    The report work fine in the Crystal Reports Designer.
    Does anyone know how I can prevent this report from prompting me for the database logon info ?
    Thanks,

    What options have you tried in the CMC?
    Have you tried running the report in Crystal Reports installed directly on the Enterprise machine?

  • How to convert Crystal 8.5 Reports that use queries to Crystal XI reports

    We were using the following:
    Crystal Reports version 8.5
    Crystal SQL Designer 8.0.0.0
    CRW32 8.0.0.8
    We have now migrated to Crystal XI.
    Most of our reports use queries created in the Crystal SQL Designer. 
    This is the message we receive when I open a report in Crystal XI that uses a query:
    Reports based on Crystal Dictionary or Crystal Query are no longer supported.  Please change these reports to use Business Views.
    How do I convert a Crystal report that uses a query to use a Business View?
    Thanks,
    Mac Bradley

    Hi Mac,
    There is a Database Migration Wizard that was available but the link is broken now. I'm tracking down where we can get it from. Check your CD, it may be on the disk.
    Currently it's only shipped with our Enterprise Product because it converts Queries to Business Views and Views to Command Objects.
    If you have Enterprise Available you should have a link off the Start Menu.
    Back up your reports first....
    Thank you
    Don

  • How can I identify reports that use specific tables

    Hi, is there a way that I can identify the reports that select from specific tables?  We have 3,000 reports in business object enterprise XI R2 SP5. and we're trying to identify all the reports that use a specific table.

    Or if you have a developer in Java or .NET available you can write one. Fairly simple to get the info.
    In .NET you would open each report, write the name of the report to a log file with the output of the SQL Statement:
    Using RAS as the report engine.
                GroupPath gp = new GroupPath();
                string tmp = String.Empty;
                rptClientDoc.RowsetController.GetSQLStatement(gp, out tmp);
                MessageBox.Show(tmp, "Data Source Set and SQL Statement", MessageBoxButtons.OK, MessageBoxIcon.Information);
    If you want more details is is available with a few more lines of code. The above would only show you what is used in the report.
    I don't believe there is a BOE tool that can do this but they may have one.
    Here's a link to the BOE Admin forum: BI Platform
    Thank you
    Don

  • Running web report that uses jdbc

    I have been trying to run a web report from oc4j. The report was created in reprots 9i. The url:
    http://localhost:8888/reports/test/myReport.jsp?userid=username/password@dbname
    works great for a report that was created using a sql connection. It doesn't work for a report created using a jdbc connection. When I try to use it for a jdbc report I get the following error:
    REP-4100: Failed to execute data source. REP-0069: Internal error JDBCPDS-62000:Invalid sign-on parameter P_JDBCPDS
    What url should I use to run a report that uses jdbc? Thanks.

    Hi Roger
    To clarify, for reports which have PDS based queries, you need to give a sign on parameter in the url. This sign on parameter is nothing but the connection details. In case of reports designed with sql query, you provide userid in the url. The default sign on parameter name for JDBC PDS based report is p_jdbcpds. When you design a report, you have option of changing this sign on name. In case your report has sign on parameter name different to default sign on name, you need to specify that sing on parameter name in the URL.
    For JDBC query with Oracle thin driver, the sign on parameter would look like:
    scott/tiger@(DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (COMMUNITY = tcp.world)
    (PROTOCOL = TCP)
    (Host = xxx-xxx)
    (Port = 1521)
    (ADDRESS =
    (COMMUNITY = tcp.world)
    (PROTOCOL = TCP)
    (Host = xxx)
    (Port = 1526)
    (CONNECT_DATA = (SID = xxxx)
    After @, you basically gives DB connection info as defined in tnsname.ora file for that DB.
    Thanks
    Rohit

  • Report that uses two different queries

    I need to make a Report that uses two different queries. It would do one query, then the second, putting the results one after the other on the page.
    Using the wizard, I put in the first query, and it will generate output from this first query.
    I am able to put the second query in the Report, but when I try to use something from the second query, it gives a message about accessing a field below its frequency.
    In the Reports forum, there is a reference to
    tons of samples available in
    builing reports doc 1. http://download.oracle.com/otn/other/general/B10310_01.pdf
    But the link is broken.
    What can you tell me?
    Thanks, Wayne

    What you're trying to accomplish is possible. Now that you've got the second query, add a new repeating frame in the layout editor below the first area. Open the property palette for the new repeating frame and set the source to the second query. Then add fields from the second query.
    Also, remove the fields you have for the second query from the first frame that was created by the wizard; that's what's causing the error about accessing a field below its frequency.

  • Uploading reports that use dynamic parameter values

    Post Author: singhal
    CA Forum: Deployment
    Hi,
    I am having difficulty using Crystal Reports Server XI to deploy reports that were made in Crystal Reports XI.
    When I create a report that uses a dynamic parameter listing, I get the follow error when I try to install it onto the server:
    Failed to read data from report file C:\WINDOWS\Temp\myreport.rpt. Reason: Failed to read parameter object
    But if I were to use a static parameter listing, the server will load up the report just fine.  Can you please tell me what I am doing wrong and I need to do to fix the problem.  As many details as possible would be helpful.
    Thanks,
    Back

    Post Author: TAZ
    CA Forum: Deployment
    Does the issue happen with the built in administrator account? I believe this is a permissions issue and the permissions need to be set in business views.
    Regards,
    Tim

  • How/can I use boe search 4 all reports that use specific tables

    How/can I use boe search 4 all reports that use specific tables
    can this be done with query builder
    or
    is there a way to search all sql of all reports for specific strings and report names so that I can find all report sql that uses table1  for example?

    Hi Bart!
    You can use VBScript to extract the dataprovider within the reports (Search for SDK Desktop Intelligence).
    If you can wait a few days longer, I can provide my script.
    ciao Hakan

  • How To Pass Multiple Parameters In URL with Report Builder

    Hi,
    I use apex 4.2 with database xe 11g and i use report builder to build my report i use this link to call report
    function runrep(){
    var vurl = 'http://192.168.0.57:8889/reports/rwservlet?userid=retail/1@xe&destype=cache&desformat=PDF&paramform=no&report=item_cost&P_BATCH_NO='+$v('P138_BATCH_NO');
    popupURL(vurl);
    now i want to pass Multiple Parameters like P138_ITEM_CODE , P138_UOM_CODE
    how can i add this Parameters in URL ?
    Regards
    Ahmed

    Ramani_vadakadu wrote:
    window.open("http://hq-orapp-03.kuf.com:9704/xmlpserver/~weblogic/kufpec/BTA/KUF_CONF_ITINUD.xdo?_xpf=&_xpt=1&_xdo=%2F~weblogic%2Fkuf%2FBTA%2FKUF_CONF_ITINUD.xdo&_xmode=&_paramsP_BTM_ID="+parseInt(document.getElementById('P3_BTA_ID').value)+"&_xt=KUF_CONF_ITINUD&_xf=pdf&_xautorun=true&id=weblogic&passwd=kuf2011","_blank");
    the above code we are using apex JS to BI publisher calling for report as PDF
    i don't know exactly where your parameters , did you customize my link to multiple parameters
    'http://192.168.0.57:8889/reports/rwservlet?userid=retail/1@xe&destype=cache&desformat=PDF&paramform=no&report=item_cost&P_BATCH_NO='+$v('P138_BATCH_NO'); 

  • Passing multiple parameters between two report portlets on the same page

    Hi,
    I want to pass multiple parameters between two report portlets on the same page.
    I have been succussful passing a single parameter between two portlets. The
    following are the steps :
    (1) Created first report based on the query
    SELECT htf.anchor('http://192.168.0.84:7778/servlet/page?&_pageid=97&_dad=portal30&_schema=portal30&_mode=3&dept_code='||DEPTNO,DEPTNO) Department, ename FROM EMP;
    (2) Created 2nd report
    select * from EMP where DEPTNO = :dept_code
    (3) Added pl/sql code before display page on the 2nd report
    portal30.wwv_name_value.replace_value(
    l_arg_names, l_arg_values,
    p_reference_path||'.dept_code',portal30.wwv_standard_util.string_to_table2(nvl(g
    et_value('dept_code'),10)));
    (4) Created a page and added these reports as portlets.
    Sofar it works fine for one parameter (deptno) . Now I want to add one more
    parameter say empno to my first report query and would like to pass both the
    parameters deptno and empno to the 2nd report. Please tell me how to pass multiple parameters ?
    Thanks
    Asim

    Hi,
    You will have to do the same thing
    The select will be like this
    SELECT htf.anchor('http://toolsweb.us.oracle.com:2000/servlet/page?_pageid=97&_dad=mb&_schema=mybugs&_mode=3&dept_code='||DEPTNO||'&empno='||empno,DEPTNO) Department,ename
    FROM EMP
    In the additional plsql code do the same for empno like this
    mybugs.wwv_name_value.replace_value(l_arg_names,l_arg_values, p_reference_path||'.dept_code',mybugs.wwv_standard_util.string_to_table2(nvl(get_value('dept_code'),10)));
    mybugs.wwv_name_value.replace_value(l_arg_names,l_arg_values, p_reference_path||'.empno',mybugs.wwv_standard_util.string_to_table2(get_value('empno')));
    Thanks,
    Sharmila

  • SUBMIT a report that uses screen programming

    I have a report which uses screens created in screen painter and not selection screens.
    currently the submit command supports only selection screens.Can you tell me how to achieve this for screens created by screen painter?

    SUBMIT is for type 1 programs only - i.e. reports with selection screens. If you've any dialog in there, SUBMIT simply won't work. CALL TRANSACTION is one route, as others have suggested, via BDC. But if the program your trying to run is a Z program, why not rewrite it so that the business functionality and screen handling are seperated - then you can call the business functionality direct from your calling program. (See MVC pattern for more detail or the whole programming concept of layered design).
    If the program you're wanting to run isn't your own, then look for BAPIs, FMs etc. some kind of API, and call them.
    matt

  • Crystal Report That Uses Stored Procedure Errors when connecting to the DB

    We had developed reports a few years ago, including one that calls a Stored Procedure on an iSeries AS400 DB2 database.  We upgraded our environments to Crystal Reports 2008 and BO XI 3.1.  Now, the existing report that previously ran in the old environment is not running (note that the other SQL-based reports work without a problem, only this one which uses a store procedure is not working).  I downloaded the report into my local Crystal Reports designer and tried to run it from there and I got the following error message:
    ======
    Failed to retieve data from the database.
    Details: ADO Error Code: 0x
    Source Microsoft OLE DB Provider for ODBC Drivers
    Description: [IBM][iSeries Access ODBC Driver] Statement violates access rule:  Connection is set to read only.
    SQL State: 37000
    Native Error: [Database Vendor Code: 30186 ]
    ======
    {CALL "<database>"."<library>"."RELEASEDNOTINVOICE"({d '2010-03-01'})}
    This call will still work from on a SQL client running on a JDBC connection.  Is there some problem with the new verion of BO and Crystal Reports with using the iSeries ODBC driver?

    ...my issue was resolved by setting the ODBC.INI registry entry for AllowProcCalls from 0 to 1.

  • A report that uses tablix returns error when trying to deploy to Report Server 2005

    We have some reports that have been built using tablixes, and tested in a 2008 Report Server. When trying to deploy to Report Server 2005 (don't ask why) we get an error saying
    The report definition is not valid. Details: The element 'ReportItems' in namespace 'XXXXXX' has invalid child element 'Tablix'
    So.. what is the issue? I guess 2005 does not support tablixes.. And we cannot upgrade the server version. So the real question is.. is there a workaround for this to avoid having to remake those reports for 2005??
    Thanks!
    Juan Pablo Realini .Net Developer in developement, musician, Star Wars fan, married, father of 2 1/2

    Hi Shei Pi,
    Unfortunately Microsoft provide upgrade option only, not downgrade  .
    SSRS 2005 report can be seen in 2008.. but 2008 report cant seen in 2005.
    One guy created the utility which is paid, to convert the report from 2008 version to 2005.
    You can see similar thread in MSDN here, you can find the paid utility  link also for this issue.
    https://social.msdn.microsoft.com/forums/sqlserver/en-US/bc5fbe11-531a-4a9d-861f-24625a9f4599/converting-rdl-file-of-ssrs-2008-to-ssrs-2005
    Thanks
    Prasad

Maybe you are looking for

  • Error message while burning "Menu" portion of my project

    I just purchased a Lacie external dvd burner today for my mac book. I installed everything correctly, and when I finally figured out how to burn the dvd 3/4 of the way through the "Menu" portion of the download the dvd automatically ejected itself an

  • Error in unattend file windows 8 and 8.1 sysprep

    Hi, I am using MDT 2013 and ADK 8.1. I am trying to deploy Windows 8 and Windows 8.1 base image. Once the PC has finished imaging and starts the first boot it come up with the following message: "Windows could not parse or process the unattend answer

  • JDBC receiver error urgent

    Hello Friends, I am using file to JDBC scenario. i am getting following errors in the JDBC receiver though i have set all the parameters correctly. the same scenario is working when i used XI server but it is giving errors when i am connecting to rem

  • Cannot startx or xinitd

    Hi all, I'm feeling like I"m knee deep in problems with X I got Arch installed yesterday and the processes in general went through with just a minor hitch here or there, otherwise everything was fine. I went along following the beginners guide gettin

  • Security authorizations assignment

    Hi, I'm new to security. I want to know the procedure to provide authorization to a single user for a particular transaction code. I know the SU53 or the ST01 trace and how to find the objects being checked. But what I want to know is how you actuall