Reports 6i - doubt in executing plsql

Can any 1 pls help how to execute the report from plsql or scheduled job and not from a form
I have a report that works fine, The concern now is that somebody will have to manually run this process. It should be something automated, wherein it will run on it's own
Some batch job which will trigger automatically as per the pre defined schedule
Thx in advance
Imran

Generally with these sort of things we have a Windows Scheduled Task set up on the server (or I suppose cron on a unix server). Setting up something inside the database to call an Oracle Report on a scheduled basis is way more fiddly than it needs to be.

Similar Messages

  • First time an SQL expression is placed on report a DB SELECT executes

    The same problem can be created using the normal Crystal Reports XI Release 2 developer environment and/or code (not only a code issue). I'm using CR XI.
    Symptom:
    We dynamically auto generate SQL Expressions, Tables, Joins, Formula's and anything through C# and place it onto the Crystal Report through code via run-time user input in a web environment. I recieved a notification from one of my DB admins that crystal reports is causing massive memory consumption via unknown SELECT statements that have no joins and/or WHERE criteria.
    Some Detective Work/More Info:
    After using Microsoft "SQL Profiler" along with Crystal, I understand what is happening but don't know the "work around" to make Crystal stop executing the following SELECT scenario.
    Anytime I create a new "SQL Expression" for the first time and then physically "drag and drop" it onto the report then Crystal is executing a "silent" SELECT statement against the database in the design environment. I'm calling it "silent" because I need MS SQL Profiler to see it happen. I'm guessing that this is used for validation or something but this is causing problems when automatically generating a report in a production environment.
    Steps to re-create:
    1. Open MS "SQL Profiler" and get it running. (will show Crystal Engine silently executes the SELECTS)
    2. Add a new "SQL Expression" to your report.
    3. Drag and Drop your new "SQL Expression onto your report
    4. You will see that Crystal has created an SQL query and executed it against your database in design environment.
    The Problem:
    I can see under normal circumstances why you might want this funtionality (if it's actually used for the Crystal Engine to validate your SQL Expression). But, What also makes this functionality horrible is that on my behalf Crystal is creating these SELECT statements and using cross joins which is a major problem in a production environment. As a result, huge record sets are being created on our DB Server. I don't believe that this has any purpose in a production evironment when the cross-joins can create huge amounts of results just for the sake of Crystal Internally validating a new SQL Expression placed onto a report. It would be nice to disable this functionality in production. I don't know a "work around" since these SELECT queries are created on my behalf by the Crystal Engine at design time (via code auto generation in production).
    Questions:
    Can this functionality be disabled to prevent a production server from incurring the execution of these queries?
    Anybody else notice this and have a "work around"?

    This is a cross post of:
    1st time an SQL expression is placed on report a DB SELECT executes
    Please do not cross post. See the [Rules of Engagement|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement].
    The above post has been moved to the Crystal Reports Design forum, thus locking this thread.
    Ludek

  • 1st time an SQL expression is placed on report a DB SELECT executes

    The same problem can be created using the normal Crystal Reports XI Release 2 developer environment and/or code (not only a code issue).
    Symptom:
    We dynamically auto generate SQL Expressions, Tables, Joins, Formula's and anything through C# and place it onto the Crystal Report through code via run-time user input in a web environment. I recieved a notification from one of my DB admins that crystal reports is causing massive memory consumption via unknown SELECT statements that have no joins and/or WHERE criteria.
    Some Detective Work/More Info:
    After using Microsoft "SQL Profiler" along with Crystal, I understand what is happening but don't know the "work around" to make Crystal stop executing the following SELECT scenario.
    Anytime I create a new "SQL Expression" for the first time and then physically "drag and drop" it onto the report then Crystal is executing a "silent" SELECT statement against the database in the design environment. I'm calling it "silent" because I need MS SQL Profiler to see it happen. I'm guessing that this is used for validation or something but this is causing problems when automatically generating a report in a production environment.
    Steps to re-create:
    1. Open MS "SQL Profiler" and get it running. (will show Crystal Engine silently executes the SELECTS)
    2. Add a new "SQL Expression" to your report.
    3. Drag and Drop your new "SQL Expression onto your report
    4. You will see that Crystal has created an SQL query and executed it against your database in design environment.
    The Problem:
    I can see under normal circumstances why you might want this funtionality (if it's actually used for the Crystal Engine to validate your SQL Expression). But, What also makes this functionality horrible is that on my behalf Crystal is creating these SELECT statements and using cross joins which is a major problem in a production environment. As a result, huge record sets are being created on our DB Server. I don't believe that this has any purpose in a production evironment when the cross-joins can create huge amounts of results just for the sake of Crystal Internally validating a new SQL Expression placed onto a report. It would be nice to disable this functionality in production. I don't know a "work around" since these SELECT queries are created on my behalf by the Crystal Engine at design time (via code auto generation in production).
    Questions:
    Can this functionality be disabled to prevent a production server from incurring the execution of these queries?
    Anybody else notice this and have a "work around"?

    Note that this is a "Lagacy Application Development SDKs" forum and as such it is dedicated to topics related to legacy SDKs, including the Report Designer Component (RDC), OCX, VCL, and Crystal Reports Print Engine (CRPE).
    As your issue concerns the Crystal Report Designer (crw32.exe), transferring to the Crystal Reports Design forum:
    SAP Crystal Reports
    Ludek

  • First time an SQL expression is placed on report a DB SELECT executes -CRXI

    The same problem can be created using the normal Crystal Reports XI Release 2 developer environment and/or code (not only a code issue).
    Symptom:
    We dynamically auto generate SQL Expressions, Tables, Joins, Formula's and anything through C# and place it onto the Crystal Report through code via run-time user input in a web environment. I recieved a notification from one of my DB admins that crystal reports is causing massive memory consumption via unknown SELECT statements that have no joins and/or WHERE criteria.
    Some Detective Work/More Info:
    After using Microsoft "SQL Profiler" along with Crystal, I understand what is happening but don't know the "work around" to make Crystal stop executing the following SELECT scenario.
    Anytime I create a new "SQL Expression" for the first time and then physically "drag and drop" it onto the report then Crystal is executing a "silent" SELECT statement against the database in the design environment. I'm calling it "silent" because I need MS SQL Profiler to see it happen.  I'm guessing that this is used for validation or something but this is causing problems when automatically generating a report in a production environment.
    Steps to re-create:
    1. Open MS "SQL Profiler" and get it running. (will show Crystal Engine silently executes the SELECTS)
    2. Add a new "SQL Expression" to your report.
    3. Drag and Drop your new "SQL Expression onto your report
    4. You will see that Crystal has created an SQL query and executed it against your database in design environment.
    The Problem:
    I can see under normal circumstances why you might want this funtionality (if it's actually used for the Crystal Engine to validate your SQL Expression). But, What also makes this functionality horrible is that on my behalf Crystal is creating these SELECT statements and using cross joins which is a major problem in a production environment. As a result, huge record sets are being created on our DB Server. I don't believe that this has any purpose in a production evironment when the cross-joins can create huge amounts of results just for the sake of Crystal Internally validating a new SQL Expression placed onto a report. It would be nice to disable this functionality in production. I don't know a "work around" since these SELECT queries are created on my behalf by the Crystal Engine at design time (via code auto generation in production).
    Questions:
    Can this functionality be disabled to prevent a production server from incurring the execution of these queries?
    Anybody else notice this and have a "work around"?

    duplicate - please do not post multiple times

  • Report CO24 not getting executed

    HI friends,
    i could able to execute co24 missing parts info in my dev. server but i can't able to do in my Prod. server and i am getting following error message.
    infosystem can not be used(start report PPCOXPR!)
    please respond at the earliest.
    Daniel.

    Hai Daniel
    You get in to transaction SE38  Give the Report Name
    PPCOXPR1
    Just Execute  only Once   and now come in to Co24 it will Do
    Regards
    Reward Points if useful

  • Value not displaying in report whereas it returns in plsql developer

    HI

    Duplicate post.
    value not displaying in report whereas it returns in plsql developer
    value not displaying in report whereas it returns in plsql developer

  • Report based on sql or plsql

    Hello,
    I have an LOV_COLS, which contains the columns of scott.emp and is represented by a list P50_MY_COLS, and textfield P50_SEARCHTERM where I can enter a search term.
    Now I like to have a report which displays something like SELECT EMPNO, ENAME, MGR, SAL, COMM FROM EMP WHERE UPPER(:P50_MY_COLS) LIKE UPPER(:P50_SEARCHTERM) if a button P50_SEARCH is pressed.
    I'd like also to control the Columns if they contain NULL. The report should display the respective rows after pressing the Button P50_NULLSEARCH
    After the desired rows are reported I'd like to be abel to edit the rows...
    How can this be realized ? What is the source of the report ?
    I use the Apex 2.1 which comes with the Oracle XE installation.
    Can someone provide an example ?
    Where in the docs are the differences (with examples) of the different sql and plsql based reports explained ?
    Can a report by based on a plsql procedure/function which resides in the database (not inside the Apex-pages) ?
    thx in advance
    Edited by: wucis on Mar 10, 2011 1:17 PM

    Sharmila,
    Thanks for your response. Maybe I wasn't clear enough in my previous statement. I will give an example of what I am trying to accomplish.
    Let's say I have 2 date fields(SUBMITDATE,COMPLETEDATE) in a table TABLE A
    I want to calculate a field called CYCLETIME with the following conditions:
    If COMPLTEDATE is NULL, then CYCLETIME = SYSDATE-SUBMITDATE
    IF COMPLTEEDATE is not null, then CYCLETIME = COMPLTEEDATE-SUBMITDATE
    Would appreciate any help.
    Thanks
    Dev
    Hi,
    You can do the calculation in the sql query itself. Here is an example which shows the sum of salaray for each department in the scott.emp table.
    select deptno,sum(sal) sal
    from scott.emp
    group by deptno
    Thanks,
    Sharmila

  • Report(Excel) report(excel) to be executed,downloaded

    Hi Experts,
    I have requirement that user wants that Report(Excel) report(excel) to be executed,downloaded and saved in Network itself everyday.
    Does anyone have any suggestions.
    Thanks,
    Meenu

    I do know that you want it in a network path - I am not sure if that is possible and an available option is broadcasting to a KM folder.....
    Arun

  • Report layout problem when executing in Background

    Hi,
    I am executing one custom report in background with layout 'Z_65_400' . After execution, the report is generating spool number .
    But when I trying to see the output from the spool, here layout is coming differntly and with name 'X_65_255'.
    These are the latest packs in my system .
    SAP_BASIS     620     0064     SAPKB62064     SAP Basis Component
    SAP_ABA     620     0064     SAPKA62064     Cross-Application Component
    SAP_APPL     470     0030     SAPKH47030     Logistics and Accounting
    Could you please give the solution ASAP.
    Thanks and Regards
    NTR

    Hi
       Check you setting in SPAD Where is assign to the printer make Sure .
    Regards
    Nilesh

  • Ssrs 2008 r2 or ssrs 2012 place moving graphics in report while it is executing

    In a new ssrs 2008 r2 or ssrs 2012 report application, I want to add some graphics to
    the report(s). I know that you can embedded a graphic in the ssrs report. However I would like to be able to do one or more of the items I am listing below:
    1. In one or two spots, I would like to have the pictures change. The picture would display for 5 to 60 seconds and then a new graphic would show up.
    2.  I would like the possibility of one graphic being displayed while the entire ssrs report is executing. The next time the report is executing, a new graphic would be displayed.
    3. I would like a 'slideshow' of graphics being displayed. The slideshow would be dsiplayed in in the same sequence.
    4. I would like to obtain the graphics from an open show (free) location for a non profit public school system.
    Thus can you tell me if any of the options I listed above are possibly? If so, can  you tell me what option I can embed in a report and how to accomplish the goal in the ssrs report?
    Also if you have any other ideas about graphics in the report, can you tell me what thse option(s) are and how would I accomplish this goal?

    Hi wendy,
    In Reporting Services, if we want to only display one graphic in some time, and display other graphics in other times in a report. So that the all graphics are alternatively displayed in the report. In this scenario, we can set the AutoRefresh property of
    the report to x number of seconds for the changes to occur, then set the visibility property of graphics based on AutoRefresh length we have set. For more details, please see the steps below:
    Set the AutoRefresh property of the report to 15 seconds (supposing there are 4 graphics in the report (60/4=15)).
    Insert all graphics in the report.
    Use the following expressions to control the visibility of graphics.
    Graphic 1:=IIf(Second(Now()) < 15, False, True) the first graphic will show if the AutoRefresh occurred during the first 15 second block of the current minute, all other times during that minute it will be hidden.
    Graphic 2:=IIf(Second(Now()) >= 15 AND Second(Now()) < 30, False, True) the second graphic will show if the AutoRefresh occurred during the second 15 second block of the current minute, all other times during that minute it will
    be hidden.
    Graphic 3:=IIf(Second(Now()) >= 30 AND Second(Now()) < 45, False, True) the third graphic will will show if the AutoRefresh occurred during the third 15 second block of the current minute, all other times during that minute it will
    be hidden.
    Graphic 4:=IIf(Second(Now()) >= 45, False, True) the fourth graphic will show if the AutoRefresh occurred during the fourth 15 second block of the current minute, all other times during that minute it will be hidden.
    Besides, we cannot display the image with dynamic form by using External Image Option, it will be replaced with static form. So if we want to show slideshow in the report, we can also refer to the following thread:
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/62b0317b-1458-4d91-9fdd-00c4bbe791f7/ssrs-report-slideshow-on-autorefrsh?forum=sqlreportingservices
    Hope this helps.
    Thanks,
    Katherine Xiong
    If you have any feedback on our support, please click
    here.
    Katherine Xiong
    TechNet Community Support

  • BI Publisher: Issue while scheduling the report/query to be executed daily

    Hi,
    We are using Oracle Business Intelligence 11.1.1.6.3 and while we schedule a report(RTF Template) we are facing issue.We use bursting query and when we select option to execute immediately it runs fine and sends notifications,it also executes when we schedule it to run Once but fails when i schedule the report to be executed DAILY .

    hii
    The query does not includes any RKF, CKF any complex calculations. as I said before also query is based on MP which is designed on a single Cube. There are no such navigational Attributes used for selection, Number of records are not more than 300 on that particular selection parameter
    there is only one info object which is creating issue & it is a master info object. If i am restricting this info object in the query & then executes the query , it gives the error msg also i put a variable for input parameter, & there I restrict the value, then also query executes with an error msg
    But if query is not restricted with  any value for that info object then query executes with in a second.
    Thanks
    neha

  • Webi report throwing error when executed

    HI Experts,
    While executing a Webi Report we are gettign following error when executing with more than one characteristics -
    A Database error occured. The database eror text is : The MDX Query select { [Measures].[4225B1TBMEMOYKZGDKLVINMAW] } ON COLUMNS FROM [ZMEPSC01/ZMEPSC01_QRY_0001]
    failed to execute with the error Unknown error.(WIS 10901).
    We tried changing the Universe -> Parameter -> Control -> Limit size of result set to -> unchecked it.
    But still the error remains. Can u put some light over it.
    Thanks.

    Hello ,
    Just Check with the BI the people they might change the the column name or some thing else in the bex Query that s way It is showing error.
    Refresh the universe and generate the report then check it.
    Thanks
    Santhosh V

  • FR reports error-5200: Error executing query

    I'm working on FR-11.1.1.3.0238 version. i'm facing issues with some of the reports related to planning application db while launching reports in workspace. Where as the reports are opening with out any issues in FR studio and there is no error message recorded in the studio.The error message is recorded in the workspace related log file.
    I thought that there might be any pov corruption issue so i ran the ManageUserPov utility as well but there is no luck.
    Let me know the cause of this error message and also the resolution for it.
    Below is the error message info,
    *12-12 09:29:10 ERROR jsp     5200: Error executing query: java.lang.ArithmeticException: / by zerojava.lang.ArithmeticException*
    com.hyperion.reporting.util.HyperionReportException: 5200: Error executing query:  java.lang.ArithmeticException: / by zerojava.lang.ArithmeticException
         at com.hyperion.reporting.webviewer.WebDynamicReport.execute(Unknown Source)
    jsp_servlet._modules._com._hyperion._reporting._web._reportviewer.__hrrunjob._jspService(__hrrunjob.java:1411)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at com.hyperion.reporting.webviewer.HRLocaleFilter.doFilter(Unknown Source)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:531)
         at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:459)
         at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:159)
         at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:180)
         at jsp_servlet._modules._com._hyperion._reporting._web._reportviewer.__hrcheckforpovorprompt._jspService(__hrcheckforpovorprompt.java:1486)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at com.hyperion.reporting.webviewer.HRSecurePagesFilter.doFilter(Unknown Source)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at com.hyperion.reporting.webviewer.HRLocaleFilter.doFilter(Unknown Source)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3242)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2010)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1916)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1366)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
    Thanks in advance
    Edited by: kailash on Dec 13, 2012 5:59 PM

    Neeraj,
    In the FR report server the settings are as you suggested except the TcpTimedWaitDelay = 60, this setting is set to 30.
    The same settings are there in Essbase and Planning servers.
    So i would like to know what exactly is all about the setting and the possible cause of the problem. It would be very helpful if i can get the cause.
    Thanks in advance
    Edited by: kailash on Dec 19, 2012 9:03 PM

  • XL reporter error occurred while executing report! Rows: 25203 Columns: 30

    An error occurred while executing report! Rows: 25203 Columns: 30 Unspecified error
    One user gets this error when trying to run a custom XL report. It works for other users(on different PCs). The user can run other XL reports successfully.

    Hello  pls
    follow below procedure
    start->my computer>cdrive>program files >sap>sap business one> remove these two files 1).AddOnsInstall.sbo and 2).AddOnsLocalRegistration.sbo and clear all ur %temp%Files,prefetch,recent files and restart and open sap then u will get connected to xl reporter add on. and u will not get any errors
    regards
    Jenny

  • Reports 6.0 not executing thru Menu

    Hi Everybody,
    Problem in executing Report through menu.
    Software used: Windows NT / 98, Oracle 8.1.6, Developer 6.0
    Following is the PL/SQL code in Menu to call reports:
    DECLARE
    pl_id ParamList;
    pl_name VARCHAR2(10) := 'tempdata';
    ind number := 0;
    BEGIN
    pl_id := Get_Parameter_List('pl_name');
    IF Id_Null(pl_id) THEN
    pl_id := Create_Parameter_List('pl_name');
    ind := 1;
    END IF;
    if ind != 1 then
    delete_parameter(pl_id,'vg');
    end if;
    Add_Parameter(pl_id,'vg',TEXT_PARAMETER,1);
    Run_Product(REPORTS,'article_list', SYNCHRONOUS, RUNTIME, FILESYSTEM, pl_id,
    null);
    end;
    The report 'article_list' contains a Query PL/SQL which uses a function
    'sub_func'.
    When we compile the report and a '.rep' file is generated and then use menu to
    execute this report it gives following error.
    REP-1401: 'sub_func' Fatal PL/SQL error occured
    ORA-06508: PL/SQL: could not find program unit being called.
    If the same report is called without '.rep' file that is with the source file
    '.rdf' then it is executed normally.
    Please let us know the possible solution for the above.
    Thanks,
    null

    As I remember it was supportet against 8.0.5 and beginning with Patch 7 against 8.0.6, but never against 8.0.4. But this can still be viewed in the certification matrix in metalink.
    Regards
    Rainer

Maybe you are looking for

  • Synced with another library?

    My wife and I share an iTunes library and always have. My iPod works fine, but she went to add some more music to her shuffle and it says that her iPod is synced with another library and the only thing we can do is completely erase her iPod and resyn

  • Oracle SQL - Extracting clob value from XML with repeating nodes

    Hi All, I am attempting to run SQL on a table (called test_xml with a column xml_data [data type xmltype]). The column contains xml with repeating nodes (description). The following statement runs successfully when the node contains data of a non clo

  • VA41 data Conversion

    Hi All, Just quick question What’s best option for VA41 data Conversion (single/multiple line items). Custom BDC / Custom Program with BAPI / Standard Idoc / LSMW /... Thanks in advance. Regards, Tim

  • What does error code 150:30 mean and why can i not access my elements site

    what does error code 150:30 mean I cannot access my element equipment

  • Graphics Under A Budget

    I have found a list of different cards that meat my budget im just not sure what would be best for me.  I am a casuall gamer im not orried about havin effects turned up full and i do want games to run at 1024 x 768 . I would like to be able to play t