SSO Username shows up as NULL when scheduling a report

Hi,
I have Enterprise BIP with SSO integration. When I schedule a report I call a pre-report trigger that gets the SSO username, and then uses that to set up a VPD context:
v_ssouser := SYS_CONTEXT('USERENV','CLIENT_IDENTIFIER');
vpd.set_user (v_ssouser);
However, the CLIENT_IDENTIFIER value is always NULL (as is GLOBAL_UID and ENTERPRISE IDENTITY). Is there another way to get at the SSO Username when I schedule a report in BIP?
Thanks
Phil

Found this in another forum question.
Apparently, you use
Select :xdo_user_name from dual to get the sso username.
You can pass it into a procedure as a parameter in the dataTemplate in BIP.
<parameters>
<parameter="xdo_user_name"/>
</parameters>
(Why doesn't BIP use the standard mechanism though?!)

Similar Messages

  • WebI does not return failed when scheduling a report which only holds parti

    WebI does not return failed when scheduling a report which only holds partial results.
    We have scheduled reports which take some time to run. When they are scheduled they sometimes show successful even though the report only holds partial results. The only indication is when you open the report as webi report you see the warning that it holds partial results.
    When running the report manually, it works file.
    The issue is not in the no of rows in the universe settings because we this unselected. The issue is that it times out.
    The reason that it times out is that a lot of resources are used for loading and processing data when the report is scheduled. When running it manually, it works because at this time the serverload is less. the time in the universe is set to 10 min.
    The version we have is BOXIR2-SP4.
    Ok. Issue identified.
    The question is - why is the report successful when it holds partial results? If this is normal behavior, noone can really trust the scheduled reports, especially when you save it to excel and send it by mail.
    Is there a solution for this except increasing the allowed query time which would not solve the issu but only allow more reports to complete?
    Edited by: Karlgren Michael on Sep 17, 2009 1:22 PM

    Hi ,
    Currently this problem exists in XI R2. This feature will be part of thenext Service Pack i.e XI R2 SP6.
    This CER will be delivered from IDC Webi and BIP Platform as part of Jupiter Sp6.
    Problem Statement:
         Scheduled WebI Reports which are partially refreshed are distributed to the destinations for Users to View and make decisions. These users arenu2019t usually aware that these reports have u201CPARTIAL RESULTSu201D
    Recomended Solution:
        Allow the Schedule Creator / Modifier to set a parameter to stop the distribution of the u201CPARTIALLY REFRESHEDu201D WebI report.
    Thanks
    Salini

  • BOBJ XI R1/R2 Infoview - Validating an user log in when scheduling a report

    <p>Hello,</p><p> Is it possible to validate an user input before a report gets scheduled when using BOBJ Infoview? Many times, some users forget to enter their database login info when scheduling their report and find out when it is too late that their report failed and they can get the data they wanted so badly. It would be great if javascript could be incorporated into the scheduling option in BOBJ to validate some input fields before the report get processed. Does anybody know how to do this?</p><p>Thank you</p>

    ...its <a href="http://www.mnsoft.org/boxinterfacedocs/com/bo/bointerface/tools/http/HttpResponseAnalyzer.html">HttpResponseAnalyzer</a>.
    This is part of a Consulting Solution called BOInterface that Business Objects Global Services sells and that helps you to achieve what you describe very easily.
    A description is <a href="http://www.mnsoft.org/bointerface0.0.html">here</a>.
    Make sure you read <a href="http://www.mnsoft.org/uploads/media/NottM_BOInsight2007_Final.ppt">this presentation</a>. It shows you how you can modify InfoView without changing any code.
    Contact me via direct email for more information if this is interesting for you.
    HTH,
    M
    Matthias Nott -  Business Objects
    Service Line Leader Products EMEA
    [email protected]

  • Date error when scheduling webi reports

    Hi,
    When i click the prompt option in re schedule the scheduled webi report, i got the error "while trying to invoke the method java.util.date.gettime() of a null object loaded from a local variable 'date' "
    The BI version is 4.1 SP03
    The scheduled webi reports failing and got the error as "Unparseable date: "01/01/1900" "
    How to solve this issues?
    Regards,
    Kathir

    This might fix it from the note http://service.sap.com/sap/support/notes/1981477
    Create a WebI report that uses a date object in the Query Filters
    Schedule the report
    Reschedule by manually entering date value which shows only date and no timestampExample: 12/31/2007
    Reschedule by selecting date value from the calendar which shows date timestampExample: 12/31/2007 12:00:00 AM
    Create a biar file using the Import Wizard and migrate to BI 4.1 SP2
    BI 4.1 SP2 BILaunchPad, navigate to and Right click the report and go to “History”
    Right click the instance without a timestamp for the date parameter and select “Reschedule”
    Click on “Prompts” on the left menu and note an error is produced:This error occurred: while trying to invoke the method java.util.Date.getTime() of an object loaded from local variable ‘date’
    Attempting to schedule this instance (as Run Now or Reschedule) without selecting a Prompt value fails with the error:  Unparseable date: “12/31/2007”
    Using the instance with a timestamp works as expected

  • Database Credentials When Scheduling Crystal Report

    In our Crystal Reports 2008 server, each user has their database credentials populated in their user account on the Crystal Reports Server.
    (in the area where is says "Enable Database Credentials").
    For each of our reports, we have the option "Use SSO context for database logon" selected.
    This causes the server to connect to the database using each user's database credentials when they run reports "on-demand".
    However, these credentials do not automatically populate when they go to schedule a report.
    Is there a way to get these credentials to populate the Database Login fields when scheduling reports to run?
    It seems odd to me that it would use the credentials "on-demand", but not when setting up a scheduled report.
    Any info would be appreciated.
    Thanks.

    Thanks Brian.
    What you describe is what we currently have setup.
    The difference with what I'm asking is that each user's account has different database login credentials.
    So when running "on-demand", it logs in using the credentials in their account settings.
    But when running "scheduled" everyone logs into the database using the default account.
    We have row-level security on the database (using Oracle VPD) to enforce security based on the user account that is logged into the database.
    This means that when running the report scheduled, the security doesn't work because it doesn't populate the database credentials from the user's account.

  • Error when scheduling WebI reports in Infoview

    When I shedule WebI reports in Infoview I get the error message "The target program that is required for the task i inactivated".
    First I choose the report that I want to schedule. Then I rightclick and choose "Shedule" and choose "Send To" and any of the choises. The I get the error message in the subject.
    We use:
    -BO XI 3.1 SP3
    On my client:
    -IE 7.0.573013 or Firefox 3.0
    -Win XP
    -Java 1.5
    How can I get the sheduling up and running?

    Hi All,
    I want a run my report once by scheduling, so i provide a time interval for scheduling a report
    start date/ time : 11:38:AM 10/30/2011
    end date/time : 11:43:AM 10/30/2011
    after completion of end time....report is failed and fetching an error
    Error : Object could not be scheduled within the specified time Interval
    Any solution for resolving this error

  • Error when scheduling crystal reports in CMC

    Hi Experts,
    I have  created a crystal report and exported to CMC. when i try to schedule the report i am getting a error "The property with ID SI_DELTA_METAINFO does not exist in the object"  can anyone help me to fix this issue.
    Thanks in Advance.
    Carol

    Hi Carol,
    I think your question is best posted on the Crystal Reports Data Connectivity forum, so I will move it there, and hope you will get the solution you seek.
    Regards,
    Jason

  • HTTP 302 Error When Scheduling OEM Report

    I'm trying to schedule a custom report to run out of OEM 11.1 and am receiving the below error. The report displays properly from the OEM console, but seems to get an HTTP 302 error when trying to schedule the report to run, have changed the schedule options from daily, weekly, one-time immediately, one-time later and all generate the same error. Not sure what is causing the HTTP 302 redirect during the report execution, any help is appreciated.
    This is a scheduled report.
    The most recently generated report completed with the following error.
    Error: Unexpected error getting the HTTP response stream while generating report: oracle.sysman.eml.ip.publishJob.HttpConnectionException:Response code:302
    Error Message :302 Moved Temporarily
    This document you requested has moved temporarily.
    It's now at https://<<hostname>>:7799/em/console/logon/logon&#59;jsessionid=6NJRQGKd2NVwNdbpWpVfHlG7vRxnvmn3VW71JdJbtnLyCJt5hyYt!544936836
    Connection: https://<<hostname>>:7799/em/console/home URI:/em/onetime/reports/render?printablePage=true&reportID=C47BD93ACFE176D4E040007F01004FA6&action=save&scheduled=true
    Thanks,
    Shawn

    Issue was related to the Console URL setting in the Grid Control Overview tab, it was set to http://<host>:<port>/em/console and should have been set to http://<host>:<port> instead.

  • How to hide Database Logon option when scheduling Crystal Report in BOE?

    Hi All,
    For security reason, we are try to hide the Database Logon option in Crystal Report Schedule page in InfoView.
    There is option in CMC which we can configure the default Database logon option so that users do not have to enter the logon everytime they view or schedule the report.  However, we are looking to hide this option completely.
    Does anyone know if there is a security setting which can hide the option from specific users?
    Thanks,
    Bobby

    Hi Bobby,
    As Jorge informed that there is no method available within CMC to hide database logon option when scheduling or viewing a Crystal Report in the Info view. This is very much true.
    But as you also mentioned that you don't want your users to enter the database logon credentials evertime they view or schedule a crystal report, there is one setting in CMC which we can do to avoid prompt for database logon credentials.
    CMC - Home - Go to that specific crystal report - Click Process tab - Click the sub-tab 'Database' and at the bottom of the page there is an option "Use same database logon as when report is run". Check this option after providing the database credentials and click UPDATE.
    Now whenever users try to view or schedule this specifc crystal report they won't be prompted for the database logon credentials.
    Regards,
    Venkat

  • Change the Locale settings when scheduling the report with an Excel format?

    Hi,
    My reports have been scheduled with Excel format, however, when the report is viewed in Excel, the date fields are in the format "mm/dd/yyyy" i.e. English(United States) and they need to be in the format "dd/mm/yyyy" i.e. English (Ireland).
    I am wondering if there is any way to change the Locale settings within Business Objects?
    For the time being users have been advised to manually change the format within excel, however, this is not the preferred option.
    Any ideas?

    Hi,
    Thanks for the reply.
    The cell format is set as "Date dd/mm/yyyy" but it still runs as an Excel doc with the format mm/dd/yyyy.
    When I schedule the report to run as a Web Intelligence document and then manually export it to Excel, the Date format is correct i.e. dd/mm/yyyy.
    Any more ideas?
    Regards.

  • Error when scheduling WEBI report to FTP server

    Hi
    We are getting error "destination directory error. CrystalEnterprise.Ftp: 550 Requested action not taken" while scheduling WEBI report to FTP server.
    Any help would be appreciated
    Regards,
    Anisa

    Hi All,
    I want a run my report once by scheduling, so i provide a time interval for scheduling a report
    start date/ time : 11:38:AM 10/30/2011
    end date/time : 11:43:AM 10/30/2011
    after completion of end time....report is failed and fetching an error
    Error : Object could not be scheduled within the specified time Interval
    Any solution for resolving this error

  • Error when scheduling a report

    Hi,
    I am running XML Publisher 5.6.2 standalone. I am having the following issue:
    I am trying to schedule a report to run sun - mon at 06:30am and email and excel file to the user. The job is failing. This is the error that we are receiving in the schedule tables.
    errdetail=org.quartz.JobExecutionException\: javax.naming.NamingException\: Not in an application scope - start Orion with the -userThreads switch if using user-created threads [See nested exception\: javax.naming.NamingException\: Not in an application scope - start Orion with the -userThreads switch if using user-created threads]\n\tat oracle.apps.xdo.servlet.scheduler.XDOJob.generateReport(XDOJob.java\:588)\n\tat oracle.apps.xdo.servlet.scheduler.XDOJob.execute(XDOJob.java\:236)\n\tat org.quartz.core.JobRunShell.run(JobRunShell.java\:195)\n\tat org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java\:520)\n* Nested Exception (Underlying Cause) ---------------\njavax.naming.NamingException\: Not in an application scope - start Orion with the -userThreads switch if using user-created threads\n\tat com.evermind.server.PreemptiveApplicationContext.getContext(PreemptiveApplicationContext.java\:34)\n\tat com.evermind.naming.FilterContext.lookup(FilterContext.java\:138)\n\tat javax.naming.InitialContext.lookup(InitialContext.java\:347)\n\tat oracle.apps.xdo.servlet.data.JNDIDataSource.getConnection(JNDIDataSource.java\:100)\n\tat oracle.apps.xdo.servlet.data.bind.SQLBoundValue11.callDataEngine(SQLBoundValue11.java\:424)\n\tat oracle.apps.xdo.servlet.data.bind.SQLBoundValue11.processData(SQLBoundValue11.java\:370)\n\tat oracle.apps.xdo.servlet.data.bind.SQLBoundValue11.getXML(SQLBoundValue11.java\:547)\n\tat oracle.apps.xdo.servlet.ReportContextImplV11.getReportXMLData(ReportContextImplV11.java\:331)\n\tat oracle.apps.xdo.servlet.XDOProcessor.processScheduledRequest(XDOProcessor.java\:330)\n\tat oracle.apps.xdo.servlet.ReportImpl.renderScheduledJob(ReportImpl.java\:119)\n\tat oracle.apps.xdo.servlet.scheduler.XDOJob.generateReport(XDOJob.java\:582)\n\tat oracle.apps.xdo.servlet.scheduler.XDOJob.execute(XDOJob.java\:236)\n\tat org.quartz.core.JobRunShell.run(JobRunShell.java\:195)\n\tat org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java\:520)\n
    please sommer search for that other error as well (in the appserver logs)
    If anyone has come accross this issue, could you please advise me how to fix it.
    Thanks in advance.
    Remeez

    Hello,
    Just to let you know we figured this one out.  At some point I'd installed Crystal Reports Designer XI R1 on the server (must have service packed it as well).  This is a good thing as it's helped troubleshoot various connection issues etc.
    However this overwrote the prompt.dll file, the version of the new file was 11.0.0.2478.  I've since installed Business Objects XI R1 on my local machine without Crystal Reports to see what the version of the prompt.dll file would be.  It was 11.0.0.1282 so I replaced the newer prompt.dll with the older one and problem fixed.
    Cheers,
    Chris

  • Error Message when Scheduling a report in Infoview

    I have created a report in Crystal Report using the Universe.  Report is saved to the Enterprise and set up to schedule in Infoview.
    When the report is scheduled for now or any other "when" time, I receive the error message:
    "Error in File C:\Program Files\Business Objects\BusinessObjects Enterprise 11.5\Data\procSched\tfcu-fics.reportjobserver\~tmp58860bbee30730.rpt: Unable to connect: incorrect log on parameters."
    Currently running CR Version - 11.5.0313
    BOE Version - 11.5
    On my workstation - the ODBC connection, System DSN, for crystal is using the Adaptive Server Anywhere 9.00 driver - have no issues creating the report from the Universe.
    On the server the ODBC connection, System DSN, for crystal is using the SQL Anywhere 10 driver.  Would using the SQL Anywhere 10 driver create the error message above?
    To test this I changed the workstation System DSN connection for crystal to SQL Anywhere 10 and when trying to refresh a report created from the Universe I kept receiving the ODBC Login window asking for the database password.
    Is there an issue with SQL Anywhere 10 and a Universe not holding the database username or password?

    Try This..
    1. Open the crystal client on your local machine and import that particular report.
    2. Do Database -> Verify Database. Then refresh the report on your PC and make sure that it returns data as expected.
    3. Export it back to repository and try scheduling it again. You can verify through CMC for Crystal Reports under " Database Configuration" property to make sure it points to the right ODBC.
    Let us know.

  • Problems when scheduling a report in background

    Hi Guys
    I have a report that has a lot of columns so i have created a display variant with 22 cols. When I run this report online (foreground) It picks up my variant and I can see all 22 cols. The problem is when I schedule this in background it does not display all the cols, the last three cols get cut off.
    Any idea why this is happening?
    Thanks
    Sameer

    you have to change the format in SPAD.  
    Go to transaction SPAD -> FULL ADMINISTRATION -> DEVICE TYPES -> FORMAT TYPES and there you can see all the available formats. Create a new format Z_65_700 in the similar manner with X_255... with a different number of columns (700) and save it.
    Then in the tab DEVICE/SERVERS go to OUTPUT DEVICES and type your printer -> ENTER -> then from the Menu GOTO device type -> then there is a button FORMATS where you can see all the existing formats (plus the one you have just ctreated). Find it and choose it. Then save.
    Now you have attached the new format to your printer.
    The next step is simple.
    You can do it the way you described, but there is also another way. Run your program with F9 and not F8 from the selection screen. It will ask you for printers, formats etc. There you will first select the appropriate printer and then (after ENTER) you have to go down to formats and select the new format. Do not print it immediatelly, click only the NEW SPOOL REQUEST checkbutton. This will create a new spool request.
    If you go to SP01 you will find the number of your finished job. If you click the abap list button it will only show you collumns with up to 255 characters.
    But if you take the spool number and put it as a parameters to the zzz program , it will show everything.
    Source:
    Spool List output display > 255 char when the rpt is run in Background

  • Show the print dialog when running a report from an Oracle form.

    I would like to be able to print an Oracle report from an Oracle form but
    in addition show the print dialog. My PL/SQL code is shown at the bottom of this post.
    I have set the 'printjob' system parameter to 'YES' in the
    report and I can bring up a print dialog using the reports runtime.
    However, as soon as I run it from my form I lose this capability. Setting
    'printjob' to 'YES' in the code has no apparent effect.
    Many thanks,
    Ben
    -- Launch a report
    DECLARE
      v_pl_Id   paramlist; -- parameter list
    BEGIN
      -- add the parameters to the list.
      v_pl_id := CREATE_PARAMETER_LIST ('summary');
      ADD_PARAMETER (v_pl_id, 'destype', text_parameter, 'PRINTER');
      ADD_PARAMETER (v_pl_id, 'printjob', text_parameter, 'YES');
      -- run the report
      RUN_PRODUCT (
        reports
      , 'C:\Test Reports\Test.rep'
      , synchronous
      , runtime
      , filesystem
      , v_pl_id
      , NULL
    END;

    At 10g not 9i using a bean area on my canvas implementing the following class ...
    import java.awt.Frame;
    import java.awt.JobAttributes;
    import java.awt.PrintJob;
    import java.awt.Toolkit;
    import javax.swing.JPanel;
    import java.io.*;
    import oracle.forms.ui.VBean;
    public class Select_Printer extends VBean {
    public Select_Printer()
         super();
    public String getPrinterName()
    String PrinterName=null;
              JobAttributes jobAttributes;
              try{
                   jobAttributes = new JobAttributes();
                   jobAttributes.setDialog(JobAttributes.DialogType.NATIVE);
                   Frame dummyFrame = new Frame();
                   PrintJob pJobDialog = Toolkit.getDefaultToolkit().getPrintJob(
                   dummyFrame, "Printtest", jobAttributes, null);
                   PrinterName = jobAttributes.getPrinter();
              } catch (Exception e) {
                   System.out.println("Printer error!");
              return PrinterName;
    public static void main(String[] args)
    Select_Printer select_Printer = new Select_Printer();
    System.out.println(select_Printer.getPrinterName() );
    }

Maybe you are looking for

  • How to print Indesign 1 built 20 pg. doc. using Indesign 4, saddle stitch on color copier????

    I have a document built in the first version of Indesign. We have two Macs (OS 10.4.11).  My employer purchased a Sharp/COECO brand 6200 color copier/printer (a big boy!). The #1 criteria for purchasing that equip. was that it had to successfully pri

  • Having Color Issues In LR5.3 for Olympus E-M1?

    Hello, I recently updated from LR5.2 -> LR5.3 and had processed a batch of Olympus E-M1 RAW photos to my liking using the previous version.  Now in LR5.3, there is a definite color profile change when I view the same photo in the Library vs. Develop

  • Reg.write query for report

    Dear Experts I am MM consultant and I am in need of generate reports.I don't know how to get the data from two table. Pls help me with some codings Thanks Rajakumar.K

  • How to use SQWRL in JSP

    Hello everyone. I`m a newbie, not in JSP, but in ontologies. I made my OWL ontology. Now I want to create a jsp web interface on tomcat 6.0.20 in order able to apply SQWRL queries to my owl ontology. A simple java application works fine. When I use t

  • Where can I find a manual for iMessenger?

    I want to learn more about iMessenger. Where can I find directions or a manual?