Execute OBIEE report using Command Utility

Hi All,
I am working on OBIEE 11.1.1.5.0
I'm trying to execute/run OBIEE report through command utility and the output should be in any format other than text.
This report should be scheduled on hourly basis at particular destination/ location without using delivers scheduler.
Thanks in advance.
KD

Hi Veera,
I ran the report using nqcmd and to achive the desired result I had also specified the path by giving -0, which had also generated the pdf file for the same but the problem is when I'm opening the pdf file it throws an error saying "could not open 'quar3.pdf' because it is either not a supported file type or because the file has been damaged". Below is what I had passed in cmd.
D:\MI2\Oracle_BI1\bifoundation\server\bin>nqcmd -d coreapplication_OH1426052389
-u weblogic -p weblogic_1 -s C:\quar3.sql -o C:\quar3.pdf
I tried creating .xls, .doc which gets generated but it is not in a tabular format.
Please help....
Thanks,
KD

Similar Messages

  • Run report using command utility

    Hi All,
    I am working on OBIEE 11.1.1.6.0.
    can it is possible, Using command utility, we can run obiee report, and it's output should be any format other than text.
    and also this report schedule on hr basis, without using delivers.
    if this possible, then please suggest me how to achieve.
    Thanks in advance,
    Prashant

    Hi Veera,
    I ran the report using nqcmd and to achive the desired result I had also specified the path by giving -0, which had also generated the pdf file for the same but the problem is when I'm opening the pdf file it throws an error saying "could not open 'quar3.pdf' because it is either not a supported file type or because the file has been damaged". Below is what I had passed in cmd.
    D:\MI2\Oracle_BI1\bifoundation\server\bin>nqcmd -d coreapplication_OH1426052389
    -u weblogic -p weblogic_1 -s C:\quar3.sql -o C:\quar3.pdf
    I tried creating .xls, .doc which gets generated but it is not in a tabular format.
    Please help....
    Thanks,
    KD

  • How to execute a report using a transaction code?

    Hi team,
    I am new in ABAP and I want to do a very simple report and then call this report using a transaction code.
    Steps:
    1) create the report (SE38)
       the report is: Z_DEMO
    2) generate a transaction code for this report (SE93)
       note: the transaction code is ZDEMO
    3) call the transaction generated on step 2
    When I execute the report using SE38, everythig is ok and the records are inserted in my table zdemo2.
    But when I call my transaction ZDEMO there is no insertion. Why?
    The report ask for parameters and then fowards me to SAP's main menu.
    Thanks,
    Walter.
    The report is:
    REPORT  Z_DEMO.
    tables: zdemo2.
    parameters:
            nombre like zdemo2-nombre,
            edad like zdemo2-edad.
    data:
          begin of tabla occurs 0,
            nombre like zdemo2-nombre,
            edad like zdemo2-edad,
          end of tabla.
    zdemo2-nombre = nombre.
    zdemo2-edad = edad.
    insert zdemo2.

    Hi,
    While creating the transaction for your program
    1>Make sure u give the program name and screen number
    2>Important thing is a option "GUI SUPPORT"
    Check all the checkboxes or atleast SAPGUI for Windows to ensure that the Code runs in SAP GUI.
    Thank you.

  • Scheduling Oracle OBIEE reports using Tidal scheduler 5.3.1.X

    Hi,
    Is it possible to schedule OBIEE reports using the Tidal Scheduler? I have reviewed the documentation for Oracle Adapter/Application Adapter, and didn't find any information there. However, I did find some references with scheduling OBIEE reports using Ibots. Can I Ibots be called from the commandline? I would appreciate any information on this topic.
    Thanks,
    Derrick Au

    Derrick,
              At the current time we do not have an Oracle Business Intelligence adpater and the Product Manager has indicated that this is not currenlty on the Product Road Map.  I am from what I am reading on the internet it appears that Ibots can be ran from the commandline.  I will check with our Professional Services group to see if they have a solution connector that allows OBIEE to be ran through TIDAL.
    Thanks,
    Kenneth Kuchynka
    CISCO Systems Technical Support

  • How to print pdf file in SQL Server Reporting services report using command prompt?

    Is there a way to automatically print a SQL Server Reporting services report on command prompt? For eg: We can save a pdf file using rs.exe utility. I want to print a pdf using rs.exe utility. Is it possible? I don't want to install any 3rd party software.

    Thanks Simon for replying to my question.
    In oracle form, there is oracle command to print the report from command prompt with the help of rwrun.exe
    e.g: rwrun.exe   REPORT="D:\Test\REP_25\MLA.REP" DESNAME="testprinter" DESTYPE="PRINTER" P_FORMNAME="MLA.FMX" P_SPRACHE="E" P_SPRACHE_NR2="1" P_WHERE_BEDINGUNG="order by land_nr" USERID="test/test.world" PSV_NAME="PSV_DEMO" PSV_JOB_ID="PS$9583" RECURSIVE_LOAD="NO"
    BATCH="YES" NONBLOCKSQL="NO" ARRAYSIZE="1" PARAMFORM="NO" ERRFILE="c:\temp\psv16.tmp"<
    and to save the report we just need to change DESNAME="c:\temp\OC_100001349.pdf" DESTYPE="FILE" in above command instead of DESNAME="testprinter" DESTYPE="PRINTER".
    DESNAME and DESTYPE are the input parameters of the respective report.
    In SSRS, we can run the file from the command prompt and save it.
    rs -i "C:\Users\pujarswa\Documents\reports\new\LoadReport.rss" -s ww2004760:80/ReportServer_MSSQL -v fileName="C:\Users\pujarswa\Desktop\TipsReportLoad.pdf"
    -v reportPath="/TipsReport/LoadListTabular" -t -v format="PDF" -v LandNr=4 -u ap\swati -p test@# -e Exec2005
    But we cannot use same command for printing as you said we need to create another script for printing files.
    I have gone through the links but I dont want to use Adobe Acrobat Reader exe for printing because client it may not have Adobe Acrobat Reader on their machine.
    Also I want to pass a input parameter as type="Printer" to my report which will print directly for me and same I can acheive in command prompt passing type="Printer" fileName="C:\Users\pujarswa\Desktop\TipsReportLoad.pdf"

  • Executing Crystal Report using BI Query as datasource in Bobj portal

    I have a Crystal report using BI query as the datasource. The BI query contains User Entry variables.
    The Crystal report executes as expected except when added to the Bobj portal. From the portal, I can schedule the report and it will execute as correctly. However, if I try to execute without scheduling, I am able to enter the BI restrictions, but then am presented the following error message: "An error has occurred: For input string: "" ".
    If I remove all the BI variables from the query, the report will execute from the portal with out scheduling.
    Any help would be greatly appreciated.

    Hi,
    You can set your parameters from CMC. Select the report and set parameters in to the report properties.
    -SG

  • Executing multiple scripts using sqlcmd utility and halt execution on error

    Hello Everyone,
    This is a kind of urgent. I'm stuck with this from last couple of days and had a bad weekend due to this.
    Any help on this topic will be appreciated.
    I'm running through an issue in which I am executing 214 sql scripts in a folder using
    sqlcmd -S %Server% -E -d Employee2K6 -b -i "!dir!!file" -b -r1 1>NUL 2>"%logs%\!file!.log"
    I'm able to generate the logs as well.  I'm not able to stop the execution on error.
    Can anybody tell me how to stop the subsequent scripts execution if any of the scripts fails?
    Many Thanks!
    Kusum 

    Hi Visakh,
    Thanks for the reply. 
    I think I didn't put together my question correctly here. 
    Here's some more information for you.
    I'm executing the below mentioned command in a batchfile.
    sqlcmd -S %Server% -E -d Employee2K6 -b -i "!dir!!file" -b -r1 1>NUL 2>"%logs%\!file!.log"
    the !dir!!file here brings the folder that contains 214 scripts. I want the script execution to halt whenever a script
    fails.
    Right now all the scripts are getting executed and if some of them fails it generates the logs as well.
    I checked sqlcmd commands to halt execution on error. The msdn has it has -b but that's not working for me.
    Any help on this is highly appreciated.
    Thanks!

  • OBIEE Report using webservices : problem using the htmlviewservice.

    Hi,
    I have a requirement that i have to display OBIEE report on web browser.
    i followed the following article for achieving this. http://oraclebizint.wordpress.com/2007/07/31/customizing-obi-ee-soap-api/.
    I have a problem while creation of the html page.
    the given sample code consists the following.
    startIndex = htmlOutput.indexOf("IFRAME SRC=");
    endIndex = htmlOutput.indexOf("%3aEI Index",startIndex);
    startIndex = startIndex + 12;
    endIndex = endIndex + 10;
    System.out.println("start Index ="+ startIndex+"\n"+"end Index ="+endIndex);
    url ="<HTML><BODY><IFRAME SRC=\"" +htmlOutput.substring(startIndex,endIndex) +"\"></BODY></HTML>";
    But i didn't understand the given lines of the code. I tried a code like url = "<HTML><BODY>"+ headerHTML+htmlOutput + "</BODY></HTML>";
    I am able to get the reportId, sessionId, pageId. After creation of the html page, it always display a rotating clock.
    please help me how to get the report on html page with the url.
    Thanks in advance.
    Udaykiran.
    Edited by: UdayKiran on Sep 28, 2011 3:31 PM

    Oracle accepted this as a Bug
    Bug 14606826 - SOAP CALL FROM EXTERNAL JAVA APPLICATION TO OBIEE11G NOT RETURNING ANY DATA

  • OBIEE - Reporting using different time measures - year - month

    I have a request where the user wants to enter in an account period (YYYYMM - example: 200911). The report should display the YTD amount up to the end of that month, the same YTD amount for last year, and then show the amount for that month and the amount for the same month last year. So basically it would be:
    YTD Amount (Year: 2009 Months: Between 1 and 11)
    YTD Amount Last Year (Year :2008 Months: Between 1 and 11)
    Month Amount (Year: 2009 Month: 11)
    Month Amount Last Year (Year: 2008 Month:11)
    I can get these to work independently. Like I can get the YTDs to work by themselves and the Months to work by themselves. I just can't get them both on the same report. I have tried setting these as level based measures, but when I do, the YTD Amounts are displaying the amount for the entire year (pulling in December data).
    Any advice on how to achieve this?
    Thanks.

    Hi Raghu
    Could you pls. let me know , the syntax how to use this.
    User would select Year and Month from the Prompt and measures should be rolloup for the last year YTD. e.g the fiscal calendar is Apr - Mar . so if user selects 2012 - Jan , then last yr YTD should be caluclated from 2010-Apr to 2011 Jan.
    Regds

  • Executing BI Report using BIApplicationFrame

    Hi everyone,
    I create a WD Java app in order to display BI Report NW 7.0, almost everything works fine, but when i use the method WDBIMethods.setSelectionState it never aplys the values in the selection parameters.
    Some one has and exmple in how to use BIApplicationFrame and the method setSelectionState in to filter the values in the report?
    Regards,
    Eduardo Campos.

    Hi,
    BIApplicationFrame:
    You need to create a BI System in portal and then you need to create a BEx Ivew with the Web Template name.
    Then you need to give this Ivew url in the server property of BIApplicationFrame.
    How to pass parameters to BI WebTemplate through BIApplicationFrame:
    public static void wdDoModifyView(IPrivateView2 wdThis, IPrivateView2.IContextNode wdContext, com.sap.tc.webdynpro.progmodel.api.IWDView view, boolean firstTime)
        //@@begin wdDoModifyView
        HashMap mapParams=new HashMap();
        mapParams.put("param1","value1");
        mapParams.put("param2","value2");
        WDBIMethods.addCustomParameters(viewController,"BIApplicationFrame",mapParams);
        //@@end
    Regards,
    Charan

  • Problem in executing report using rwrun.sh with runtime/lexical parameters

    hi..
    My problem is as follows..
    I'm using SuSE8.0, with Oracle DS installed..
    I made a rep file to execute a report from command line using rwrun.sh.
    For the first time I got problems with single quotes and later I solved it by using \ as escape sequence and I can generate the report.
    I have 2 lexical parameters.
    1) atable --> for table names
    2) whereford --> for WHERE condition
    When I make the following command I execute it successfully and get the report .
    /opt/oracle/OraHome1/bin/rwrun.sh /opt/jakarta/webapps/ROOT/std-reports/DiagnoseProtokolle.rep userid=test/test@approxim batch=yes desname=/opt/jakarta/webapps/ROOT/kovi_361_Report.PDF destype=file desformat=PDF atable=\',SD_DIAGNOSESYSTEME\' whereford=\'\ \(\(\ SD_DIAGNOSESYSTEME.bezeichnung\ =\'AIRBAG\'\ \)\)\ AND\ \(\(\ SD_DIAGNOSESYSTEME.bezeichnung\ =\'ABS\'\ \)\)\ AND\' tracefile=/opt/jakarta/webapps/ROOT/trace/trace.log tracemode=TRACE_REPLACE
    ** In one line..
    If I don't use \ for escaping braces it doesn't work and also for spaces and single quotes.
    I use braces as I get sometimes mixed conditions..
    But when I make a condition like for eg: emp.emp_id = dept.emp_emp_id it is not executing..
    i mean primary key is referd to foreign key of another table.
    so in the same way the error prone command looks like this
    /opt/oracle/OraHome1/bin/rwrun.sh /opt/jakarta/webapps/ROOT/std-reports/DiagnoseProtokolle.rep userid=test/test@approxim batch=yes desname=/opt/jakarta/webapps/ROOT/kovi_361_Report.PDF destype=file desformat=PDF atable=\',MESSWERTE,SD_DIAGNOSESYSTEME\' whereford=\'\ \(\(\ MESSWERTE.mess_id\ =\ SD_DIAGNOSESYSTEME.mess_mess_id\ AND\ SD_DIAGNOSESYSTEME.bezeichnung\ =\'AIRBAG\'\ \)\)\ AND\ \(\(\ SD_DIAGNOSESYSTEME.bezeichnung\ =\'ABS\'\ \)\)\ AND\' tracefile=/opt/jakarta/webapps/ROOT/trace/trace.log tracemode=TRACE_REPLACE
    when I had a look at the trace.log file I see that particular condition is transformed in to
    MESSWERTE.mess_id = 'SD_DIAGNOSESYSTEME.mess_mess_id'
    but this is completely awkward.
    Then I made a batch file and tested it on windows and i put the whole condition in double quotes and it worked always fine..
    It seems the problem is with the shell ..or ??
    In my rwrun.sh th elast line looks like this..
    $ORACLE_HOME/bin/rwrun $*
    I also tried to chaneg this to
    $ORACLE_HOME/bin/rwrun "$@" and also $ORACLE_HOME/bin/rwrun "$*"
    but no progress..
    If some one could help me it would be gratefull for me..
    Thanx in advance..
    regards
    Kovi

    Here's the relevant portion from the Bash manual:
    Enclosing characters in double quotes preserves the literal value of all characters within the quotes, with the exception of $, `, and \. The characters $ and ` retain their special meaning within double quotes. The backslash retains its special meaning only when followed by one of the following characters: $, `, ", \, or <newline>. A double quote may be quoted within double quotes by preceding it with a backslash.
    So basically stop escaping the single-quotes with a backslash, and instead enclose the entire argument value in double-quotes. Add the single-quotes only if you want them literally, don't escape the parentheses, etc. Let's know if it works for you.
    -Manish

  • Accessing OBIEE report  from mobile browser or tablet

    HI
    jdev 11.1.1.5
    we have OBIEE reports embeded in adf jspx page .
    can we access this report from mobile browser or tablet ?
    I think we can access OBIEE report using OBIEE client application for Iphone.
    but is it possible to access the same from mobile browser?(embeded in adf application)

    chk this
    http://blogs.forrester.com/boris_evelson/10-07-07-oracle_obiee_11g_launch_we_are_back
    Mobile BI apps delivered to iPhone/iPad, BlackBerry, Android and Windows Mobile devices

  • Accessing OBIEE report  mobile browser or tablet

    HI
    jdev 11.1.1.5
    we have OBIEE reports embeded in adf jspx page .
    can we access this report from mobile browser or tablet ?
    I think we can access OBIEE report using OBIEE client application for Iphone.
    but is it possible to access the same from mobile browser?(embeded in adf application)

    Nikhil,
    It shouldn't matter whether its coming from ADF or from Oracle BI PS directly what matters is the default formatting of the images/charts that get rendered.
    I wrote a post about how to change the default image format in OBI 11g (11.1.1.3), http://www.artofbi.com/index.php/2010/12/to-flash-or-not-to-flash-svg-and-png-options-not/.
    In that post a bug prevented this default image switch from working but I think they have fixed it in 11.1.1.5 (I haven't tested it yet due to time constraints).
    I would attempt attempting to change from Flash to SVG and then you should be able to view your ADF and the default Oracle BI PS charts/graphs via the tablet devices.
    Cheers,
    Christian

  • How to compile & run using command prompt

    Hi all,
    I have a java application consisting of 3 packages & a jar file in the following hierarchy:
    -Project
    -classes
    -src
    -package1
    -package2
    -package3
    -file.jar
    The main class exists in package2 and uses classes within file.jar
    I want the steps to compile and execute the project using command prompt in windows such that the generated classes will be saved in the classes directory
    Can anyone help?
    Thanx in advance

    Hey,
    If your source(*.java) files are in src folder and ur currnet directory is project
    and you want all your class files to be classes folder then you can try this :
    c:\project>javac -cp src\file.jar -d classes\ src\*.javaAssuming that your file.jar file is in src folder.
    The above command will set the classpath to src\file.jar (-cp src\file.jar)
    -d classes\ - will generate all your class files with package hierarchy if any into classes directory.
    src\*.java - specifies the files to be compiled.
    Hope this helps.

  • I want to use command line to execute an oracle report?

    Dear all,
    I am using Oracle Application. Does anyone know how to use command line to execute an oracle report?
    I mean execute command from client to server.
    Please advice,
    Amy
    Edited by: amychan60 on Dec 13, 2009 11:33 PM

    Hi,
    Using Oracle Application Server the standard way for a client to request a report is via a HTTP request. This doesn't really lend itself to use directly on a command line on a client however you could use the following:
    explorer "http://your_server/reports/rwservlet?report=report_name.rdf&userid=userid/password@db_sid&paramform=no&destype=FILE&desname=c:\temp\filename.pdf&desformat=pdf"
    This will load explorer and submit that URL for you and request the report. You can change the parameters depending on the report output you require.
    If you need something that is silent (ie doesn't load in explorer) you'll need to investigate other ways of submitting that URL request, perhaps using Java. You could also use SRW.run_report (Event Driven Publishing) to submit the request using SQL.
    Cheers,
    Toby.

Maybe you are looking for

  • Opening mini bridge in Indesign

    I have the updated and full versions of Indesign and Bridge, however I want to open Mini bridge in Indesign to use the programmes together but when I go to the window button there is no option to open the Mini Bridge. Any advice on how to open mini b

  • I am unable to connect to server

    I accepted an ios update and downloaded it.  When it said I must accept terms and conditions concerning icloud, I was not familiar enough with it and did not accept it.  The message kept coming back and I did something to cancel it.  Now I am unable

  • Problem Importing XML Issue with FLAT MultiValued Field.

    I'm importing parts to my repository with a number of fields. This import is used to both UPDATE existing parts as well as add new parts to the catalogs. We want the fields in the import to be updated. There is one flat MultiValued Field that we need

  • PO not showing committment value

    Hi All, I am an FI consultant. We have a issue where PO is not showing committment value. Could you please sugget what can be the possible reason. Regards Deepak

  • Errors when launching NEWLANG batch in CC&B

    Hi, I have tried to install the French package for CC&B, first the batch completed without errors, but when trying to create a V model there are alot of missing values. when i checked the tables for which errors are generated (CI_ROLE_L, CI_CEVT_CAN_