Passing parameters into 11g agent (ibot) scheduled report/dashboard

Hi,
Does anyone know whether or not you can pass in or set parameter values when scheduling a report or dashboard using 11g agents (ibots)?
Thanks in advance
Phil

Hi All,
Is it possible to open another application in the same window?
Currently my code is:
APPLICATION.openNewWindow(
http://<>:8080/BOE/OpenDocument/opendoc/openDocument.jsp?sIDType=CUID&iDocID=<>);
This is working fine but the requirement is to open another dashboard in the same window?
Is this possible in Design Studio 1.3?
Thanks & Regards
Swasti

Similar Messages

  • Why I can't pass parameters into CR from VB6

    I want to Pass parameters into crystal report from VB6.
    But whatever I try, it don't work Fine,
    always Show the message "This field name is not known".
    Crystal Report::
    Parameter: a.@cmpy;
                       b.@p1
    formula:
    a. If {?@cmpy} ="USA" or {?@cmpy} ="usa" then
          "This is test 1 sentences"
       else if {?@cmpy}="TWD" or {?@cmpy} = "twd"  then
          "This is test 2 sentences"
    b. if trim({?@p1})="1" then "This is test 3 sentences"  
    VB::
    Public oApp As New CRAXDDRT.Application
    Public oRpt As CRAXDDRT.Report
    oRpt.ParameterFields(1).ClearCurrentValueAndRange
    oRpt.ParameterFields(2).ClearCurrentValueAndRange
    oRpt.ParameterFields(1).AddCurrentValue ("TWD")
    oRpt.ParameterFields(2).AddCurrentValue ("1")  
    I had trid to use "IsCurrentValueSet" function to check whether parameter was set or not, and It responsed "Ture",so I so confused about it.
    Anyone know about this??
    ps. I had trid other way that change the formula indirectly, although it can work fine, but it isn't a right way to solve my problem.
    Edited by: DeanLai on Jun 22, 2010 8:54 AM

    I Find something.
    First I tried to add parameter and wanted to see these value on Report.
    So I inserted {?@cmpy} and {?@p1} into report, and used VB code
    "oRpt.ParameterFields(1).AddCurrentValue ("TWD")" and "oRpt.ParameterFields(2).AddCurrentValue ("1")",
    then ran the process, but it didn't display any value on report,
    so why it couldn't pass value into parameter??
    then I tried other way which was to add new parameter, and used the same way to pass
    value into parameter, then it can display value on report.
    So the different between these is {?@cmpy} and {?@p1} which come from
    Stores Procedure.
    While I set Database in crystal report, set all value into Store Procedure's
    parameter(the window about "Enter Parameter Values"), then it automatic come out the DB columns and parameter(SP parameter)
    , course include {?@cmpy} and {?@p1}.
    Do this problem cause my question?
    Can we pass value into parameter which come from SP parameter??
    Can we use these parameter into forumla??
    Edited by: DeanLai on Jun 30, 2010 11:56 AM

  • Passing parameters into an URL Services portlet

    Hi,
    is there any way to pass parameters into an URL Services portlet ? I want to give the user the ability to set a preference for which sections of an XML file should be displayed. The preference should be passed into the XMLFilter which should add these parameters as XSLT variables to the stylesheet. Is this possible ?
    Cheers,
    Ernst

    As of now we do not have provision to pass parameters to the portlet dynamically. However, if required, at most could be used is headerTrim tag and footerTrim tag. If you want to discard some data from mid of the file, its not supported.
    bye
    Baig
    null

  • Pass parameters into CellRenderer

    Hello!
    I want to pass parameters into CellRenderer.
    How can I do that?

    Found solution!
    Create method, that set my Bean in CellRenderer, in what I keep my values, and call this method when create my CellRenderer. Than Use MyBean inside CellRenderer when it render cell.
    JSP:
    <hbj:tableView id="NewTable" model="LotsBean.ModelLots"
              design="TRANSPARENT"
              headerVisible="false"
              footerVisible="false"
              fillUpEmptyRows="false"
              selectionMode="NONE"
              visibleFirstRow="1"
              rowCount="16"
              width="100%" >
              <%  MyCellRenderer MyCell = new MyCellRenderer();
                     MyCell.setST(MyBean);
                     NewTable.setUserTypeCellRenderer(MyCell); %>
         </hbj:tableView>
    CellRenderer class:
         public void setST(user_registration_bean Bean){
              MyBean = Bean;

  • Pass parameters into iBot?

    Hi,
    We are trying to use iBots to generate a set of PDF files for many different parameter combinations. Is it possible to pass parameters (like a parameter file) into an iBot and have it run the same answers request for each row in the parameter file, and then save the PDF output to a local directory on the server? I think BI Publisher is better suited for this task but it is not an option for us right now.
    Any suggestions?
    Thanks

    I guess I am unclear of how to automate this - I tried a simple java application from example I found on the web, calling a single Go URL, and it does not save in PDF format. Instead, I get a file with PDF extension but it's actually HTML content. The same code works if I call a direct URL to pdf file.
    Is there some way to automate these Go URLS within OBIEE?
    Here is the code I used if anyone is interested (doesn't seem to work with OBIEE though):
        public static void main(String[] args) throws Exception {
            URL u = new URL("http://localhost:9704/analytics/saw.dll?Go&NQUser=Administrator&NQPassword=Administrator&Path=/shared/Sample%20Sales/Reports/History&Action=Print&Format=pdf");
            URLConnection uc = u.openConnection();
            String contentType = uc.getContentType();
            int contentLength = uc.getContentLength();
            if (contentType.startsWith("text/") || contentLength == -1) {
              throw new IOException("This is not a binary file.");
            InputStream raw = uc.getInputStream();
            InputStream in = new BufferedInputStream(raw);
            byte[] data = new byte[contentLength];
            int bytesRead = 0;
            int offset = 0;
            while (offset < contentLength) {
              bytesRead = in.read(data, offset, data.length - offset);
              if (bytesRead == -1)
                break;
              offset += bytesRead;
            in.close();
            if (offset != contentLength) {
              throw new IOException("Only read " + offset + " bytes; Expected " + contentLength + " bytes");
            String filename = new String();
            filename = u.getFile();
            filename = u.getFile().substring(filename.lastIndexOf('/') + 1);
            filename = "obieetest.pdf";
            FileOutputStream out = new FileOutputStream("output/" + filename);
            out.write(data);
            out.flush();
            out.close();
        }

  • Issue with passing parameters through Java-JSP in a report with cross tab

    Can anyone tell me, if there's a bug in Java SDK in passing the parameters to a report (rpt file) that has a cross tab in it ?
    I hava report that works perfectly fine
       with ODBC through IDE and also through browser (JSP page)
    (ii)    with JDBC in CR 2011 IDE
    the rpt file has a cross tab and accpts two parameters.
    When I run the JDBC report through JSP the parameters are never considered. The same report works fine when I remove the cross tab and make it a simple report.
    I have posted this to CR SDK forum and have not received any reply. This have become a blocker and because of this our delivery has been postponed. We are left with two choices,
       Re-Write the rpt files not to have cross-tabs - This would take significant effort
    OR
    (ii)  Abandon the crystal solution and try out any other java based solutions available.
    I have given the code here in this forum posting..
    CR 2011 - JDBC Report Issue in passing parameters
    TIA
    DRG
    TIA
    DRG

    Mr.James,
    Thank you for the reply.
    As I stated earlier, we have been using the latest service pack (12) when I generated the log file that is uploaded earlier.
    To confirm this further, I downloaded the complete eclipse bundle from sdn site and reran the rpt files. No change in the behaviour and the bug is reproducible.
    You are right about the parameters, we are using  {?@Direction} is: n(1.0)
    {?@BDate} is: dt(d(1973-01-01),t(00:00:00.453000000)) as parameters in JSP and we get 146 records when we directly execute the stored procedure. The date and the direction parameter values stored in design time are different. '1965-01-01' and Direction 1.
    When we run the JSP page, The parameter that is passed through the JSP page, is displayed correctly on the right top of the report view. But the data that is displayed in cross tab is not corresponding to the date and direction parameter. It corresponds to 1965-01-01 and direction 1 which are saved at design time.
    You can test this by modifying the parameter values in the JSP page that I sent earlier. You will see the displayed data will remain same irrespective of the parameter.
    Further to note, Before each trial run, I modify the parameters in JSP page, build them and redeploy so that caching does not affect the end result.
    This behaviour, we observe on all the reports that have cross-tabs. These reports work perfectly fine when rendered through ODBC-ActiveX viewer and the bug is observable only when ran through Java runtime library. We get this bug on view, export and print functionalities as well.
    Additionally we tested the same in
        With CR version 2008 instead of CR 2011.
    (ii)   Different browsers ranging from IE 7 through 9 and FF 7.
    The complete environment and various softwares that we used for this testing are,
    OS      : XP Latest updates as on Oct 2011.
    App Server: GlassFish Version 3 with Java version 1.6 and build 21
    Database server ; SQL Server 2005. SP 3 - Dev Ed.
    JTds JDBC type 4 driver version - 1.2.5  from source forge.
    Eclipse : Helios along with crystal libraries directly downloaded from SDN site.
    I am uploading the log file that is generated when rendering the rpt for view in IE 8
    Regards
    DRG

  • Pass parameters into SessionEventListener by using ConnectionPolicy

    Hi,
    My project is using Eclipselink/JPA with Oracle VPD. I have to pass some parameters into SessionEventListener to set up VPD context. I found couple postings in this forum talked about using ConnectionPolicy to pass in the information. Does anyone could give me a code sample about how to pass a parameter (ex. user ID) into a ConnectionPolicy? I am using JPA, so I didn't see a clear way for me to access ConnectionPolicy. Thanks!

    I used the following solution and it worked for me
    ((EntityManagerImpl)em.getDelegate()).getServerSession().getDefaultConnectionPolicy().setProperty("USER_ID", userId);
    Then in SessionEventListener, I could use clientSession to obtain "USER_ID" from connection policy.

  • Passing parameters into the Oracle form

    I want to pass some paramaters into the .fmx file which i invoke through the applet. like say, in the following line
    serverArgs="module=abc001.fmx userid=user/pwd@dbuser useSDI=no"
    i want to pass parameters in the following manner:
    serverArgs="module=abc001.fmx(param1,param2) userid=user/pwd@dbuser useSDI=no"
    since one cannot pass parameters to a .fmx file before invoking it, it does not seem possible.
    But is there a sort of a workaround? A java wrapper for oracle forms?? so that i pass parametrs to the java class and it passes this info to the form.
    i need to pass these parameters because these param1,param2 are the username/password for my oracle forms-based application which implements its own in-house user validation logic and i need to display the menu in the applet based on the user without prompting him for this application username/password
    thanks
    Any help will be highly appreciated.

    In the form FNDRSRUN which is the Standard Request Submission form there are parameters CHAR1-CHAR5, NUMBER1-NUMBER5, and DATE1-DATE5. I was wondering if i populate the parameter NUMBER1 with my value how can I access this parameter when the form is brought up. This is more of an applications setup issue I will be creating a function that calls the FNDRSRUN form this function will force this form to use a single request not a request group. In the request setups there is a parameter. When I set up the request parameter I have to select a value set and then for Default Type I can select Constant, Profile, SQL Statement, or Segment and then I have to give a default value. Can I default this parameter to use NUMBER1 or another parameter in the FNDRSRUN form.

  • Passing Parameters from ECC (NWBC) to Crystal Reports

    Hello All,
    I would like to know if anyone has had experience passing a value from ECC (the shipment number, for example) in NWBC into a link for Crystal Reports, so the report will load with the parameter instead of having the user input it again.
    In other words, on NWBC shipment screen, if the user clicks the link, the report should automatically load with the shipment number filled in, instead of having the user enter the shipment number again.
    Thanks.

    I think this is the SCN Space you are looking for:
    SAP Enterprise Portal
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • How to pass parameters into Function module : CLOI_PUT_SIGN_IN_FRONT

    Hello friends,
    I am displaying values ie, amounts in the screen using write statements here i have to display the
    sign left side , i am using  Function module   'CLOI_PUT_SIGN_IN_FRONT'    
    Does anybody help me - How to pass paramter into this Function module.
    Regards,
    Phaneendra

    If you look to the code of the function module, you can see it is condensing the value.
    I would make a copy of this function, and remove the condense lines to give the result you want.
      data: text1(1) type c.
      search value for '-'.
      if sy-subrc = 0 and sy-fdpos <> 0.
        split value at '-' into value text1.
        condense value.
        concatenate '-' value into value.
      else.
        condense value.
      endif.

  • Can we pass value through "EXPORT" in background scheduled report

    hi experts
          my query is can we pass some field using 'EXPORT' statement while scheduling a report to run in background using statement
    submit 'ZXYX' via job jo_name number jo_num and return.
    i am using 'IMPORT" statement in 'ZXYZ'

    EXPORT, as I recall, is limited to your user context.   Check shared objects (which still may not work, although you can propagate to servers) and INDX-like tables.  Research use of INDX-like tables for how data is passed into and out of these tables (import/export).

  • Passing parameter into SQL statement in Crystal Reports

    Hi all,
    I would like to call Crystal Reports in JSP. I can handle it well now. But I hope to let user input their selection criteria before printing out the report. I know how to get the parameter value in JSP, but I really dunno how to pass these parameter values into the SQL statement in Crystal Report. Actually, is it possible to do so?
    If anyone has idea, please tell me. Thx Thx!
    Regards,
    Betty

    Dear Sir,
    I want to use Crystal Report as a web base using JSP. But, I am getting how to call .rpt file in .jsp file & passing of parameter.
    If you have any idea, please reply as early as possible
    Thanking U.
    My userid = [email protected]
    Regds
    Pankaj..

  • Passing Parameters through a URL to a Report..

    I have noticed a lot of message about similar situations where people have had problems sending certain parameters through a URL.. so this is maybe something that's not possible.. but you if you dont ask then you dont know.
    so..
    We have a form that has search options in it
    (its a customized form that replaces the customization bit that you get with a report -> .show_parms - just so we could do different things with it)
    and one of the fields is a combobox populated by an LOV
    - it has usernames in it
    so when you search using a value in the combobox it will show all the records that that person has entered into the table..
    however we are currently getting an error
    Error: An unexpected error occurred: ORA-06502: PL/SQL: numeric or value error (WWV-16016)
    this is the URL with the parameters
    http://portal.somewhere.com/pls/portal30/foldername.RPT_Edit_Request_Old.show?p_arg_names=Request.RID&p_arg_values='||nRID||'&p_arg_names=Request.CID&p_arg_values='||nCID||'&p_arg_names=Request.ATID&p_arg_values='||nATID||'&p_arg_names=Request.REQUEST_NAME&p_arg_values='||nREQNM||'%&p_arg_names=_request_rid_cond&p_arg_values=%3D&p_arg_names=_request_cid_cond&p_arg_values=%3D&p_arg_names=_request_atid_cond&p_arg_values=%3D&p_arg_names=_request_request_name_cond&p_arg_values=LIKE';
    when you remove the condition at the end
    the report is displayed (but not customized obviously)
    however you can see the value has been picked up from the combobox as it's in the URL in the address bar..
    so that bit works fine
    any thoughts/ideas/or even solutions! :) would be much appreciated
    thanks
    Richard

    actually
    nevermind
    i got it to work without even knowing :)
    the condition was causing the error
    and adding a % after the value makes it work

  • How to pass parameters to ABAP function in Crystal report

    Hi All,
    I am creating a Crystal report on top of SAP ECC 6.0. I am trying to call ABAP functions. But I am not able to see an option to pass any parameters to the function.
    Can you please help with how to pass a parameter to a ABAP function?
    Thanks
    Chetan

    Hi there,
    we thought we found the problem. But the ABAP function is now RFC compatible and i still do not see the export parameters of the ABAP function in Crystal.
    Question: The ABAP function does not deliver columns as the result but a table instead. Could this be the problem? Regarding to this we will have to change the output functinality of the ABAP-function to teliver colums instead of a table.
    Thanks for your help,
    regards
    Sebastian

  • How to pass parameters to sql agent job run configured ssis package

    Hi all,
    I have a big problem at my small project.
    I build my SSIS package that get its variables values from a configuration file..
    and when i build a SQL agent job to run this package in a schedule i set the values of variables in it .. but in run-time the package still get its parameters from the configuration file !??
    any help please ?

    >SQL agent job to run this package in a schedule i set the values of variables in it
    One way, setup a configuration table for the package. Let the package read the values for the variables from there.
    Kalman Toth Database & OLAP Architect
    SQL Server 2014 Design & Programming
    New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012

Maybe you are looking for

  • OAM 11g: Error while importing Custom Authentication Plug-in.

    We are trying to create a sample custom authentication plugin in OAM 11g as per the 11.1.1.5.0 doc. But while trying to import the plugin via oamconsole (system configuration->Plugins->Import Plugin) we receive an error "Invalid XML Structure". Do we

  • Ipod Nano 6th gen USB problem with JBL 1000 Radio

    My Ipod nano 6th generation will nt sync to my JBL Radio sytem through the USB Port. I am trying to download music from my Ipod to the hard drive on my JBL Radio. I have done this before with a different name brand player through the USB Port. The Na

  • How can I back up only iTunes and iPhoto to an external HDD

    How can I back up only iTunes and iPhoto, so I can reformat my computer and restore the files in these two programs?  I have an external, but its not big enough to create a time machine copy of my HDD.  I have an iMac running OS X Yosemite 10.10.1. 

  • CMP beans in OC4J 9.0.4.

    Hi all, I 've download the oracle sample demo "CMP Entity bean" and deploy it under OC4J 9.0.4. While running the client i get the following exception in OC4J : java.lang.NullPointerException at com.evermind.server.ejb.RemoteDBEntityEJBObject.getPrim

  • How to programmatically click a tree node(make it selected)?

    in my program, i want to make a tree node "clicked" by codes, so that the valueChanged(TreeSelectionEvent tse e) method of the TreeSelectionListener can be invoked. thanks a lot!!