Custom DB information on a Scheduled (Run Once, Now) Report Issue

Hey,
On our reporting system we have a few hundred crystal reports all with different database logon information native to the report. For all these reports, on the Process->Database tab in the CMC, we have the first radio button selected (Use original database logon information from the report).
However, our custom reporting application is configured to pass custom DBServer name, database name, userID, password to the report to have it run against different DBs depending on the client that is running the report.
When running the report online (not scheduled) this is not an issue, and the correct database information is applied to the report everytime. When running OFFLINE (scheduling the report to run once, run now), we are passing the same information to the report but in many instances, it is not working. If the report in the CMC has bogus native DB information that doesn't exist anywhere, the code to alter the custom DB information seems to be working properly. However, if in the CMC, the DB information is valid...the newly passed customDB information is not taking and not being applied to the report.
Any help in resolving this would be great. This is the code function in VB .NET that passes the custom SQL information to the report:
            Private Sub cePassSQLCredentials(ByVal ServerName As String, ByVal DatabaseName As String, ByVal UserID As String, ByVal Password As String)
                Dim currentLogon As ReportLogon
                Dim tableIndex As Integer = 0
                'Function to pass SQL credentials to all tables within the queued
                'Crystal report.
                While tableIndex < ceDoc.ReportLogons.Count
                    tableIndex = tableIndex + 1
                    ceDoc.ReportLogons.Item(tableIndex).UseOriginalDataSource = False
                    ceDoc.ReportLogons.Item(tableIndex).CustomServerName = ServerName
                    ceDoc.ReportLogons.Item(tableIndex).CustomDatabaseName = DatabaseName
                    ceDoc.ReportLogons.Item(tableIndex).CustomUserName = UserID
                    ceDoc.ReportLogons.Item(tableIndex).CustomPassword = Password
                    ceDoc.ReportLogons.Item(tableIndex).CustomDatabaseDLLName = "crdb_ado.dll"
                End While
            End Sub
Thanks,
Scott

Hi,
I think you can not modify a job...
Today there is the 11.1.1.6. And now you can do it. http://docs.oracle.com/cd/E23943_01/bi.1111/e22257/whatsnew.htm#CHDHEHIB

Similar Messages

  • Schedule a Webi XIR2 report to run for all values of the prompt ...

    Hi there,
    Any ideea about if it's possible to schedule a Web Intelligence XIR2 report to automatically run for all  150 different prompt values in the LOV (and have 150 different instances)?
    BOXIR2, Java deployment.
    Many thanks.

    You'd be scheduling the document 150 different times, each for one value of the LOV.
    You'd use the ReportEngine (REBean) SDK to read the LOV values, then use the Enterprise SDK to schedule.
    Here's a bit of code that illustrates how to schedule a Webi doc a single time with specified prompts.  You'd do something similar, but iterate the prompt setting and scheduling:
        IInfoStore iStore  = (IInfoStore) eSession.getService("InfoStore");
        ReportEngine reportEngine =  ((ReportEngines) eSession.getService("ReportEngines"))
                                        .getService(ReportEngines.ReportEngineType.WI_REPORT_ENGINE);
        IInfoObjects objs = iStore.query("Select TOP 1 * From CI_INFOOBJECTS Where "
                                          + " SI_KIND='Webi' And SI_INSTANCE=0 "
                                          + " And SI_NAME = '" + reportName + "'");
        //============================================================================
        // Open Webi document, then get and set Prompts collection
        //============================================================================
        IWebi            webi    = (IWebi) objs.get(0);
        DocumentInstance di      = reportEngine.openDocument(webi.getID());
        Prompts          prompts = di.getPrompts();
        for(int i = 0, m = prompts.getCount() ; i < m ; i++) {
            Prompt prompt = prompts.getItem(i);
            String name   = prompt.getName();
            if("Enter value(s) for State:".equals(name)) {
                Lov lov = prompt.getLOV();
                lov.refresh();
                Values values = lov.getAllValues();
                prompt.enterValues(new ValueFromLov[] { values.getValueFromLov(0),
                                                        values.getValueFromLov(1)});
            } else if ("Enter Shop Id:".equals(name)) {
                prompt.enterValues(new String[] { "261" });
        //===========================================================================
        // Copy prompts over to InfoObject
        //===========================================================================
        PromptsUtil.populateWebiPrompts(prompts, webi);
        //===========================================================================
        // Schedule Webi report to run once now
        //===========================================================================
        webi.getWebiFormatOptions().setFormat(IWebiFormatOptions.CeWebiFormat.Webi);
        ISchedulingInfo schedInfo = webi.getSchedulingInfo();
        schedInfo.setRightNow(true);
        schedInfo.setType(CeScheduleType.ONCE);
        iStore.schedule(objs);
    Sincerely,
    Ted Ueda

  • Sql Server Agent: job hasn't run once today. Scheduling problem?

    I created this job yesterday at about 4PM; the view history shows that it last ran successfully at 11:53PM. These are the settings I put:
    Schedule Type: Recurring
    Occurs: Daily
    Recurs every: 1 days(s)
    Occurs every: 5 minute(s)
    Starting at: 05:00:00 PM
    Ending at: 11:59:59 PM
    Start Date: 10/30/2014
    No End Day (selected)
    The job is enabled, but it hasn't run once yet today. I don't want to start it manually because it should've started already. It is currently not running.
    What can the problem be?
    Thanks.
    VM

    The output is:
    Microsoft SQL Server 2008 R2 (RTM) - 10.50.1617.0 (X64)
    The length varies, but it's usually a bit over an hour to finish. It's set at 5 minutes so that, as soon as it completes, it runs the job again. The job history yesterday was: 5:48P, 7:03P, 7:43P, 8:58P, 9:53P, 10:58P, 11:53P. The job downloads some files,
    and that's why the job varies in length.
    VM
    I would say there is no point in scheduling a job which runs for 1 hr to run at every 5 mins although as per SQL Server agent logic if job is currently running and it misses schedule it will only start when job is finished. I would say to change logic to
    run every 1 hr.
    Plus I cannot find the support article but I know there was bug where Agent job could miss schedule can you please apply
    SQL Server 2008 R2 SP3. There are 2 reason
    1. it might fix your schedule skipping issue
    2 You would come under purview of extended support. Which I guess is very important.
    You can easily open job activity monitor and look for column Next run date
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
    My Technet Wiki Article
    MVP

  • How to set schedule run..?

    Dear Expertise,
               How can we set schedule run for my custom BO's script..?  Is it possible in SAP BYD...
    Thanks
    Regrads
    Naveen Kumar N

    Naveen,
    This can be done through the creation of a "Mass Data Run" for your custom business object.
    You'll also need a Custom Query for your BusinessObject (you can't just use QueryByElements).
    Basically, you'll create a Query that allows you to select which BusinessObjects will be processed, select which Action that will be executed at the scheduled time, and then, once your mass data run is activated, you can add those screens to the main work center you use for your custom business object, then, through the front end, schedule the MDR to run periodically.

  • List of BO reports failing daily and schedule run time

    Hi,
        Our BO reports are scheduled to refresh daily early mornings 2 - 6 AM and around 280 reports run daily. We want to know list of failed reports daily and measure run time differences for each report in different days and run time for all 280 reports.
    1. List of failed reports (to check if same reports are failing daily)
    2. Total run time for all reports
    3. Change in run for each report on different days.
    Could you please let me know how this kind of report can be generated.
    Regards,
    Nanda Kishore B

    Hello Nanda Kishore,
    Check below two links which can be helpful:
    For query builder, below link has a 4 part series of queries. You can find the other links at the bottom on the page
    BusinessObjects Query builder queries
    If you are using BI 4.x, then below link has a set of sample auditing universe and reports.
    I'm sure you can find the required reports in the attachment:
    Sample Auditing Universe and Reports for SAP BusinessObjects_4_x
    I think auditing would be the best way to get the information required.
    I hope this helps!
    -V

  • Periodic Alert scheduler runs during system downtime

    Hi,
    I have implemented a Periodic Alert and have activated the Periodic Alert Scheduler.
    The issue is that the 'Periodic Alert Scheduler' will run at 12AM everyday and our Prod systems are down during this time for backup. Can this be scheduled to run at a different time or will it resume once the systems are up?
    Thanks,
    R

    The alert will execute the scheduled run when the system is back up.

  • NW2004s: Assigning a custom theme to a web dynpro running in the portal

    The situation is as follows:
    Some web-dynpros (for java) have a custom theme, a theme which is <b>not</b> the default theme of the portal or  the default theme for web-dynpros in general.
    In NW2004 this worked as follows:
    When starting a web-dynpro in the portal it checked if it was started with the right theme. If <b>not</b> the exit plug of the WD interface view was called with an Url of the WD application plus a parameter for the right theme.
    This is the famous parameter sap-cssurl.
    For that parameter there are some values possible:
    1) sap-cssurl=http://<host>:<port>/irj/portalapps/com.sap.portal.design.urdesigndata/themes/portal/mytheme
    2) sap-cssurl=http://<host>:<port>/irj/portalapps/com.sap.portal.design.portaldesigndata/themes/portal/mytheme
    3) sap-cssurl=http://<portal>:<host>/webdynpro/resources/sap.com/tcwddispwda/global/SSR/themes/mytheme
    The first 2 are locations of the portal environment, the last one is a location of the WD runtime environment.
    As I noticed this must be a full qualified absolute Url including host and port.
    This works in NW2004 for web dynpro's running standalone <b>AND</b> in the portal.
    Now for NW2004s:
    The 3 variants of the parameter sap-cssurl work for web dynpro's running standalone.
    But now for web dynpro's which are integrated in the portal:
    The exit-plug with an Url is not possible anymore, this leads to the runtime error:
    <i>com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Exit-Plug must no be triggered with an URL when running in portal. Use portal navigation instead to navigate to another application!</i>
    Okay, as a first workaround I tried the portal navigation,
    but somehow the supplied parameter sap-cssurl has no effect.
    The code for that in the on-startup plug of the WD component:
    WDPortalNavigation.navigateAbsolute(
      PCD_ID,
      WDPortalNavigationMode.SHOW_INPLACE,
      null,
      null,
      WDPortalNavigationHistoryMode.NO_HISTORY,
      null,
      null,
      "theme_set=X&" + theme,
       theme,
       false,
       true
    I used there absolute portal navigation and the  parameter (sap-cssurl=...) is part of the <b>launcher parameter</b> and the <b>business parameter</b> in the call to <b>WDPortalNavigation.navigateAbsolute</b>.
    But as I wrote above, this has no effect on the theme.
    In the I-View the parameter "Supply portal theme" is set to <b>NO</b>, otherwise the parameter "sap-cssurl" is supplied twice (this can be seen in the poroperties of the web-page in Internet Explorer).
    What I tried afterwards was setting the parameter sap-cssurl hardcoded in the "Application parameters" of the I-View. This doesn't work either.
    My question is: Should this be anyway possible for a NW2004s portal?
    Did anyone successfully implement this?
    Kind regards,
                Erich Lind

    Hi Erich,
    I am facing the same problem. I am on 04 s and couldnot implement the custom theme to a web dynpro running in the portal. When I run the web dynpro app as stand alone, the custom theme applies fine. But when in portal, it takes the standard theme.
    Was wondering if you figured this out.
    Thanks

  • Discoverer Report whenever we create a new customer , the information is dropping off the Property manager module

    Dear Friends,
    whenever we create a new customer , the information is dropping off the Property manager module.
    Can you please help as its a very critical business issue now.
    Thanks a lot in advance.
    Kind Regards
    Siva Charan

    Dear Friends,
    whenever we create a new customer , the information is dropping off the Property manager module.
    Can you please help as its a very critical business issue now.
    Thanks a lot in advance.
    Kind Regards
    Siva Charan

  • App-V 5 Application runs once then errors

    Hello Experts,
    I'm running an App-V 5.0 SP1 Management Server and Publishing Server on Server 2012 R2. My Sequencer and Client are App-V 5.0 SP2 from the current MDOP 2013 R2.
    The target systems are all running TrendMicro Antivirus, but I'm not sure, if that could be related, as the applications can run once. I'm afraid I can't uninstall or deactivate the AntiVirus in the case :-(
    I can sequence applications fine and run them once on any given system. But as soon as the application has been run once, it cannot be run on any system anymore. It errors out with the message:
    "A Problem caused the program to stop working correctly. Please close the program" then when clicking close the program, a new error message pops up: "The application was unable to start correctly (0x00000005). Click OK to close the application"
    In this case, it's FireFox, but the problem isn't related to the sequenced app - it happens to all app-v applications. If I export the sequenced app to my lab environment, the application works fine and does not through any errors.
    Here are the event viewer logs:
    Application Log:
    Faulting application name: firefox.exe, version: 27.0.1.5156, time stamp: 0x52fc0faa
    Faulting module name: MSVCR100.dll, version: 10.0.30319.1, time stamp: 0x4ba1dbbe
    Exception code: 0xc0000005
    Fault offset: 0x000407a6
    Faulting process id: 0x1668
    Faulting application start time: 0x01cf3865e9e27497
    Faulting application path: C:\Users\setup\AppData\Local\Microsoft\AppV\Client\Integration\C36655B9-CE43-445D-91CE-CCCCD2D8ABD1\Root\VFS\ProgramFilesX86\Mozilla Firefox\firefox.exe
    Faulting module path: C:\Users\setup\AppData\Local\Microsoft\AppV\Client\Integration\C36655B9-CE43-445D-91CE-CCCCD2D8ABD1\Root\VFS\ProgramFilesX86\Mozilla Firefox\MSVCR100.dll
    Report Id: 284ea35b-a459-11e3-955e-001dd8b71c30
    App-V Admin Log:
    Error encountered while executing command Mount-AppvClientPackage -PackageId abf22cdc-27ea-4d63-a937-d3824ce71196 -VersionId 9d3c1bfb-5ecc-4aa0-be9a-0f2811f5ae1a. Error: Application Virtualization Service failed to complete requested operation.
    Operation attempted: Mount Package.
    Windows Error: 0x80004004 -
    Error module: Streaming Manager. Internal error detail: 74F0282C80004004.
    Please consult AppV Client Event Log for more details.
    A virtual application could not be launched from package '' because the App-V Client Service is not running. Start the App-V Client Service and try again.
    Any Ideas? 
    Cheers,
    Fred

    Hello,
    Have you tried this hotfix?
    http://blogs.technet.com/b/appv/archive/2014/03/03/hotfix-package-2-for-microsoft-application-virtualization-5-0-service-sp2-is-now-available.aspx
    Nicke Källén | The Knack| Twitter:
    @Znackattack

  • Photoshop v7.0 I get the error "missing or invalid personalization information"  This used to run, I'm now on Windows 7 64 bit.  Anyone have any ideas please?  Thanks.

    I get the error "missing or invalid personalization information"  This used to run, I'm now on Windows 7 64 bit.  Anyone have any ideas please?  Thanks.

    Hi,
    If my memory serves me right (it’s some while since I changed and I have not used Photoshop for some years…) I was running it on XP.  I upgraded to Win 7 on  a new machine but ported across files, programmes etc.  I cannot recall if Photoshop ever ran on Win 7.
    I have tried to reinstall but the CD is warped and despite applying pressure to it neither of my drives likes it.  I have Photoshop 7 on my third hard drive, a portable drive, which came from the XP machine.
    Sorry, long-winded but I hope it helps.

  • Extracting text from Customer master information records

    Hi,
    I want to extract the details of texts from the customer material information record (Tranx: VD52). All the input data like Sales org,Distribution channel, Customer number and material number are stored in structure MV10A. How to use this data to extract the relevant text descriptoins in the customer-material info records.
    Thanks for your response.

    No problem, we can concatenate all four in one field.
    First you need to declare a variable G_NAME(70) type C.
    Then use syntax
    CONCATENATE SALES ORG DISTRI CHANNEL CUSTOMER MATNR INTO G_NAME.
    Pass this G_NAME to the function module.
    Also you need to use Conversion routines to get correct Customer and Material No.
    call function 'CONVERSION_EXIT_MATN1_INPUT'
         exporting
              input        = MATNR
        IMPORTING
             OUTPUT       = MATNR
        EXCEPTIONS
             LENGTH_ERROR = 1
             OTHERS       = 2.
    call function 'CONVERSION_EXIT_ALPHA_INPUT'
         exporting
              input   = KUNNR
        IMPORTING
             OUTPUT  = KUNNR.
    Use above 2 routines before you do concatenation.

  • Why does a new run once start up program run every time I start my computer? The start up program is coming from Reader XI. The only name on it is a number starting with 141_______.

    Why does a new run once start up program run every time I start my computer? The start up program is coming from Reader XI. The only name on it is a number starting with 141_______.

    See also https://forums.adobe.com/thread/1654402

  • Help changing a run continuously VI into a run once

    Hi,
    I know that I am probably going to invoke the wrath of the labview gods with this request by not going through my tutorials again but I am unfortunately stuck and
    getting a bit of a brain freeze on this one.
    I have a VI for a flow meter, that runs perfect when I hit run continously but I need to add this to another VI that just runs once so I am trying to convert. 
    I have had previous suggestions in another thread to replace the for loop with a while loop. Add a Stop button on the front panel and wire it to the Stop it True terminal in the loop.
    Move the Waveform Chart and Flow Rate terminals inside the loop. I have done this but the VI does not run correctly, the dial just keep accumalating/adding and not resetting.
    Any alternate approaches that I can try would be greatly appreciated.
    Thank you.
    Attachments:
    Flow Meter 2.vi ‏56 KB

    I tried to do some cleanup and got away from that stupid Express VI.  Your loops really should be combined otherwise you have one nasty race condition with your local variable.  I also found a nice property node for the counter to reset its count.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines
    Attachments:
    Flow Meter 4.png ‏41 KB

  • Customer Invoice - Information

    Hi ... At the time of Posting Customer Invoice, Information popup message is appearing as follows:
    XXXX.XX INR Advance From Customers exist. When we see that Customer Account there is no advance exists (sen all special GL Indicators of Customer)
    Message No F5096.. Application Area : F5
    It is warning message and this message is required only for Customer's having advance, but it is appeared for a Customer without advance also why?
    Thanks in advance ...Ramesh

    Check your PO Status tab in the header. If any payment already made the vendor then you can see displayed as down payments. This case the above warning message will pop-up at the time of MIRO.
    To clear please follow as below steps:
    1. Create a request for down payment
    2. Create the down payment by the actual payment
    3. Clear the MIRO invoice against the down payment
    The down-payment will stay remain open until cleared them against a invoice.
    Thanks,
    Kumar

  • Using an own function in a select how can i set that the function run once?

    Hi
    Using an own function in a select how can i set that the function run once, not in every row?
    Please help me
    Thanks
    Viktor

    Something like this ?
    SQL> select * from dept;
        DEPTNO DNAME                          LOC
            10 ACCOUNTING                     NEW YORK
            20 RESEARCH                       DALLAS
            30 SALES                          CHICAGO
            40 OPERATIONS                     BOSTON
    SQL> create or replace function ret_name (deptnum in number) return varchar2
      2  is
      3     name    varchar2(50);
      4  begin
      5     select dname into name
      6     from dept
      7     where deptno=deptnum;
      8     return name;
      9  exception
    10     when no_data_found then
    11             return('Not existent deptno');
    12* end;
    SQL> /
    Function created.
    SQL> select deptno, decode(rownum,1,ret_name(deptno),null) dname from dept;
        DEPTNO DNAME
            10 ACCOUNTING
            20
            30
            40
    SQL>

Maybe you are looking for

  • Printing in windows 8

    Here's how a picture looks before printing: Here's how it looks printed from Lightroom to my Epson R1900 printer: I can print this picture from picasa and get the correct colors out of the epson r1900 printer. I've uninstalled and reinstalled the lat

  • Error messages with itunes and winamp when i plug my ipod in

    my itunes wont open and when i try it gives me a message about debuging so i got winamp and got the ml-ipod plug-in hoping i could get my music on my ipod that way and when i got it it gave me the same message about debuging so i reformated my ipod t

  • Network Devices not able to connect to the Internet, but local network has no issues.

    Hello All, I have been having this problem for the past 4 months or so(ever since I got the server).  I have a Windows Server 2012 R2 machine running a DHCP server.  I have 2 network devices installed on it.  One hardwired to the motherboard and one

  • BEFW11S4 v2: Javascript Error in Gozila.js

    Hello, I have a BEFW11S4 v2 (yes, old) and have the most current firmware (1.45.10).  However, under Firefox 3 I keep getting the following JS error: Warning: Expected ',' or '{' but found ';'.  Ruleset ignored due to bad selector. Source File: http:

  • ProcessCopy is slow on some machines

    I'm testing interMedia on two [supposedly] identical servers. On one of the servers, with identical test data, the processCopy method takes almost 20X more time to complete. What could be causing this?