Handle a non existance of report object while using find_report_object ?

How to handle a non existance of report object while using find_report_object?
HOW CAN I HANDLE THE ERROR FRM-41219 PROGRAMATICALLY.
SINCE ID_NULL IS NOT SUPPORTING FOR REPORT OBJECT.
1) Message level for FRM-41219 is 20, even if i set the message level to 20, it's not getting suppresed.
As per my follwoing code, error is rasing once immidiatlly after the find_report_object.
DECLARE
REPID REPORT_OBJECT;
BEGIN
REPID := FIND_REPORT_OBJECT('REP_OBJECT');
--NOTE 'REP_OBJECT' DOES NOT EXIST, IT'S NOT GOING TO THE EXCEPTION
--SECTION AND RASING THE ERROR 41219 CANNOT FIND REPORT : INVALID ID.
--QUESTION : HOW CAN I HANDLE THIS ERROR?
EXCEPTION
WHEN OTHERS THEN
MESSAGE('INSIDE EXCEPTION');
MESSAGE('INSIDE EXCEPTION');
END;

This is really more of a Forms issue since these are Forms built-ins. However, check out note 209513.1 in Metalink. It describes how to check if the report objects exists and how to trap the error.
Hope that helps,
Toby

Similar Messages

  • Runtime error 429, activeX component cant create object while using netbet pro on windows 7 & 8.1 HELP!!!

    runtime error 429, activeX component cant create object while using netbet pro
    does anyone know what I could do to fix this problem??? netbet pro was't available for a while then it's back but has yet to run

    What's netbet pro?
    I'd recommend asking questions about third party applications in the vendor's forum, not a Microsoft forum meant for admin scripting.
    EDIT: Ah, some gambling website...
    Don't retire TechNet! -
    (Don't give up yet - 12,950+ strong and growing)

  • Problem in reports 6i  while using delimiter option.

    Hi,
    I am facing problem in report writer while using delimiter option.
    Report summary
    ==============
    In my report I am having two queries in data model and two different repeating frame for each in layout.
    These quires are called based on the user parameter. That means if user parameter is 1 then query 1 is called and the report is kick off and same for query 2 when user parameter is 2).
    Problem Encountered
    =================
    Both these reports are running fine while using pdf option to generate report .
    While using delimiter option only one of the query is able to generate report (based on which ever is created first and rest will give 0 byte file).
    I have also trapped it while using messages and it is logically flowing fine.
    I think report writer does not support such scenario.
    please expedite on this.
    thankx
    peyush

    Hi,
    There are no such limitations with Reports. If I understand properly, you run the Report twice, in each run, you are trying to execute different query, and you generate two dilimited Reports output files? This should work fine. Try out the latest Reports 6i patch-10 for this. You can even approach Oracle Support with your testcase. FYI, with Reports 6i patch-11, a new feature "dlimited data" is introduced which will give delimited output with a data dump i.e it would not be dependent upon the Reports layout. You can probably try out this new feature also.
    Thanks,
    Rohit Hi Rohit,
    Thanks for the information.
    well I am generating single output file on each run .
    the problem is somewhat funny.
    I have build query2 in data model after query1.
    query 1 is giving me correct output both in .PDF and delimiter version.
    But query2 is giving me 0 byte file for delimiter version although in .PDF it is running fine.
    When I took out query2 to another module it is running fine for both.
    I hope this make sense.
    Moreover if u still not clear about the problem and thinks that u can help me out please send me ur mail id so that I can send you the RDF copy.
    Thanks
    Mohit...

  • Pass current url as report prarameter while using report viewer web part

    hello everybody
    is there a way to
    pass current url as report prarameter while using report viewer web part
    thanks in advance
    Sergey Vdovin

    Hi Evolex,
    Per my understanding that you want to get the current url and create an parameter to add this URL as its value, right?
    gernerally, we can use some code to get the current url but it almost impossible for us to get it automatically as value of the report parameter.
    In your senario, i suggest you to copy the url and specify values when creating parameters.
    Thanks for your understanding.
    Regards
    Vicky Liu
    If you have any feedback on our support, please click
    here.
    Vicky Liu
    TechNet Community Support

  • I would like to execute an existing BW report from Excel (using VBA).

    I would like to execute an existing BW report from Excel (using VBA) and download the results into Excel.  I understand that there is an Excel Add-In which (I believe) should allow me to do this.  I am an experienced user of Excel / VBA but I have virtually no experience with SAP.  If someone could point me to any source of information or specific instructions I would be extremely appreciative.  I've done multiple searches on the internet but everything I find seems to assume more knowledge of SAP and SAP acronyms than I possess. 

    Paul,
    If your company (or your client's company) has an SAP license (I assume this is the case, since there would be no other reason for you to want to access an SAP system using Excel), there is a person in your company who can request an ID for you.  It is called a SAP Service Marketplace userid, more commonly called an 'S' number.  This person in your company is usually a Basis Administrator.  Go to your SAP Basis team and ask them for access to Service Marketplace.
    The common solution for your Excel analysis problem is to install the Bex Analyzer on your PC.  You will need these same guys (Basis Team) to help you with getting the required SAP access, and to install the associated SAP software onto your PC.
    In the meantime, here is some bedtime reading for you.
    Analysis & Reporting: BEx Analyzer - Business Intelligence - SAP Library
    Best Regards,
    DB49

  • TileList Report Error While used in Child SWF

    My Photo SWF used TileList to show a list of photos, It works
    fine if I launch the Photo.swf seperately.
    But, when Photo.swf was loaded from another swf, It report
    "TypeError: Error #2007".
    The Call Stack is,
    TypeError: Error #2007: parameter child can not be null.
    at flash.display::DisplayObjectContainer/addChildAt()
    at
    fl.controls::BaseButton/fl.controls:BaseButton::drawBackground()
    at fl.controls::LabelButton/fl.controls:LabelButton::draw()
    at
    fl.controls.listClasses::ImageCell/fl.controls.listClasses:ImageCell::draw()
    at fl.core::UIComponent/drawNow()
    at fl.controls::TileList/fl.controls:TileList::drawList()
    at fl.controls::TileList/fl.controls:TileList::draw()
    at fl.core::UIComponent/::callLaterDispatcher()
    Any suggestions?
    Thx!
    Walter

    Hi Sunny,
    Narrowed down the root-case. EHP4 was inially tried to install in this sandbox system. Then it was decided to cancel it before it reached the downtime. RESET was performed.
    Now when we start EHP3, there are objects that was part of EHP3 and also touched by EHP4. So the reset does not reset them all. In fact the database side was not clean properly, so some tables are in EHP4 format.
    EHP3 finally complete, after several manual activation of objects (programs and tables).
    We are still getting several syntax error but minimal now - again, manually resolving each time.
    Thanks,
    Terry

  • How to replace all objects while using IMPDP

    I have exported a schema using EXPDP, now I am trying to import (IMPDP) that into another database as different schema, which already contains some of the objects (like tables, procedures, sequence etc). I using the option of REPLACE for TABLE_EXISTS_ACTION, but that doesn't replace if any existing procedures, sequences etc. Please let me know what option I should to replace every objects.
    And also I am getting this error
    ORA-39083: Object type JOB failed to create with error:
    ORA-00001: unique constraint (SYS.I_JOB_JOB) violated
    Failing sql is:
    BEGIN SYS.DBMS_IJOB.SUBMIT( JOB=> 6, LUSER=> 'WILLIAMS_DESIGN', PUSER=> 'WILLIAMS_DESIGN', CUSER=> 'WILLIAMS_DESIGN', NEXT_DATE=> TO_DATE('2010-05-17 14:00:00', 'YYYY-MM-DD:HH24:MI:SS'), INTERVAL=> 'trunc(sysdate+1/24,''HH'')', BROKEN=> FALSE, WHAT=> 'ol_update_query_result_stats();', NLSENV=> 'NLS_LANGUAGE=''AMERICAN'' NLS_TERRITORY=''AMERICA'' NLS_CURRENCY=''$'' NLS_ISO_CURRENC
    Job "WILLIAMS_CLEAN"."SYS_IMPORT_FULL_01" completed with 10678 error(s) a
    Thanks

    Hi,
    There is no way to do what you want using datapump. Datapump does not have an 'OBJECT_EXISTS_ACTION = REPLACE'. All it has is the TABLE_EXISTS_ACTION. Can you get around this by dropping the schema? If not, then the only way I can think of is by using the sqlfile parameter on impdp.
    sqlfile allows you to write all of the ddl that is going to be executed during a datapump job to a .sql file. You can then edit that file and either attempt a drop before the create or change the 'create' to 'create or replace'. Then run the .sql file.
    You would then have to run the datapump import job with content=data_only to load the tables with their data.
    Dean

  • XML Publisher Report Fails While using Pivot Table in R12 Oracle EBS

    Hello All,
    Need your help. I am trying to create a report with a Pivot table. I have created the .rtf file using the Oracle BI Publisher Template Builder for word 10.1.3.4.1. the data comes correctly in preview but when i register it in EBS and run the concurrent program it competes in warning and no output is displayed.
    The error message looks like as follows.
    [9/3/10 4:03:17 PM] [19934:RT444621] Executing post-processing actions for request 444621.
    [9/3/10 4:03:17 PM] [19934:RT444621] Starting XML Publisher post-processing action.
    [9/3/10 4:03:17 PM] [19934:RT444621]
    Template code: XXECOHCGEN
    Template app: XXECO
    Language: en
    Territory: 00
    Output type: EXCEL
    [9/3/10 4:03:31 PM] [19934:RT444621] Output file was found but is zero sized - Deleted
    [9/3/10 4:03:31 PM] [UNEXPECTED] [19934:RT444621] java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:45)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
         at java.lang.reflect.Method.invoke(Method.java:599)
         at oracle.apps.xdo.common.xml.XSLT10gR1.invokeNewXSLStylesheet(XSLT10gR1.java:611)
         at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:239)
         at oracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:182)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1044)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:997)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:212)
         at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1665)
         at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:975)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5936)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3459)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3548)
         at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:302)
         at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:176)
    Caused by: oracle.xdo.parser.v2.XPathException: Namespace prefix 'crosstab' used but not declared.
         at oracle.xdo.parser.v2.XSLProcessor.reportException(XSLProcessor.java:806)
         at oracle.xdo.parser.v2.XSLProcessor.newXSLStylesheet(XSLProcessor.java:571)
         ... 17 more
    would appreciate some pointers to fix this issue.
    Regards,
    Abhijeet K
    Edited by: Abhijeet K on Sep 3, 2010 8:10 AM

    HI, was there a Solution Ever found for this post other than the Workaround.
    I am at the Same issue now, Any Valuable inputs will Help me finish my Report ASAP, becos currently this is my only Show stopper
    we have Oracle Apps R12 realease 12.1.3  we use XMLpublisher built in R12
    The issue i have is .
    I created a XMLPublisher Report using PIVOT TABLE i would like to have my output to be in Excel, When i Preview it works fine, when i execute via Concurrent Program it gives the Following Log file
    XXTPC Custom Application: Version : UNKNOWN
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    TPC_ITEM_COUNT_RPT module: TPC ITEM COUNT RPT
    Current system time is 25-JUN-2012 11:00:39
    XDO Data Engine Version No: 5.6.3
    Resp: 21676
    Org ID : 101
    Request ID: 2149483
    All Parameters: report_name=RUN BY ORDER TYPE:org_name=HQF:org_choice=TPC US:item_selection=1001:order_type=k-us:pstatus=entered,waved,notwaved,shipped:transit_days=:first_receipt_date=01-jun-2012:last_receipt_date=22-jun-2012
    Data Template Code: TPC_ITEM_COUNT_RPT
    Data Template Application Short Name: XXTPC
    Debug Flag: N
    {first_receipt_date=01-jun-2012, org_choice=TPC US, item_selection=1001, report_name=RUN BY ORDER TYPE, pstatus=entered,waved,notwaved,shipped, org_name=HQF, last_receipt_date=22-jun-2012, order_type=k-us, transit_days=}
    Calling XDO Data Engine...
    Start of log messages from FND_FILE
    End of log messages from FND_FILE
    Executing request completion options...
    Output file size:
    29148
    ------------- 1) PUBLISH -------------
    Beginning post-processing of request 2149483 on node HQTERPAS1LX at 25-JUN-2012 11:00:51.
    Post-processing of request 2149483 failed at 25-JUN-2012 11:00:52 with the error message:
    One or more post-processing actions failed. Consult the OPP service log for details.
    ------------- 2) PRINT   -------------
    Not printing the output of this request because post-processing failed.
    Finished executing request completion options.
    Concurrent request completed
    Current system time is 25-JUN-2012 11:00:52
    I have requested my DBA to get me the OPP file..
    Thanks in advance for any solution.

  • Embed flash(Xcelsius) into crystal report 2008 while using Visual Studio

    I am having some deep trouble with Crystal Reports 2008 and Visual studio. I have created a dashboard using Xcelsius 2008, embedded it in a report (along with flashvars) using Crystal Reports 2008.Then, I have added the .rpt file in a windows project in Visual Studio 2005. But the embedded swf file does not show in report designer in visual studio. And when I run the application the flash content is not displayed. However, when I export the report from the crystal report viewer toolbar to pdf format, I can see the flash content in the generated pdf file. Can anyone pls tell me how did you import the report file into visual studio so that the flash content shows up in the crystal report viewer.
    Thanks in advance.

    Hello,
    It's not clear what viewing mode you tested in?
    So to expand on AG's first line, the problem is in .NET IDE it uses the old CRViewer.dll for previewing reports from the Preview tab in .NET development IDE. This version of the viewer is for simple viewing only as it is old technology and does not support Flash files.
    Second the ActiveX viewer will not support Flash files, you must use the CrystalDecisions.windows.Forms viewer or HTML and you need to be on SP1, any version before SP1 did have issues.
    Compile and run your app in Release mode to verify if you can see the report as in CR Designer.
    Thank you
    Don
    Edited by: Don Williams on May 26, 2009 2:32 PM

  • Opendocument link showing parameter while using lsS

    Hi,
    We are using OpenDocument to view a report. We want to pass the default values to the parameters for crystal report. While using lsS when the date is specified to the parameter the parameter to which the value is assigned stops getting displayed in the parameter panel.
    We want to display the parameter with the default value which is passed.
    Is there a solution for the same?
    Regards,
    Simran

    Well, there isn't a 'neat' way to do this other than the Java way.
    Here are some options though:
    1) Create a command object with a SQL query that returns one row and one column in the form of 'first day of last month'. Change the existing Date prompt type in your report to 'dynamic' and choose the field from the command object above as the 'value' field.
    This will remove the calendar date picker and instead you'll need to choose the value from the drop-down. The drop-down will always get the first day of last month from the SQL query.
    2) Create a blank report and create a formula in the report that returns first day of last month. Insert the original report as a Subreport and link this formula field to the date prompt in the Subreport. This method will completely get rid of the prompt as the value is automatically passed to a subreport. If the existing report already contains a subreport then you can't use this method anyway.
    -Abhilash

  • GPM Custom GPO-Settings: An error occurred while generating report: Object reference not set to an instance of an object.

    Hello,
    As you can tell from the title of this question, I am no expert with GPO's.  Before I begin, I spent a few minutes to an hour searching and reading in hopes of finding the solution and avoid putting myself out there as a "GPO Newb".  While
    I found several posts and answers that were similar and were related, the questions and answers were more advanced and did present the solutions providing the person had initial knowledge already.  That is not necessarily my case and I would ask for a
    little patience and a bit of 'hand-holding' for what I need.
    I run SBS 2011, and in Group Policy Management I have a custom GPO.  In this GPO I define all my settings.  I understand this may not be the best or most practical method of applying policies, but I am not very strict and have few settings.  This
    policy existed prior to my joining the company, and was migrated in to this SBS '11 from SBS '03.  That may be the issue, but before making any changes I am seeking expert advice.
    When I select that GPO, named "Main GPO", and click on the tab at the top "Settings" I see the error: "An error occurred while generating report: Object reference not set to an instance of an object."
    I saw that when I right click the GPO > View > Options and select the tab "Reporting" that it states that for reporting to work the location of the .adm files must be specified.  I see that my option for the location is set to "Default"
    which by my guessing would be located in the C:\Windows\sysvol directory.  Below is what I see there:
    C:\Windows\sysvol\domain
    C:\Windows\sysvol\staging
    C:\Windows\sysvol\staging areas
    C:\Windows\sysvol\sysvol
    I think the problem is that my custom GPO are not inside the default location, which I speculate is: C:\Windows\sysvol\domain\policies (which I do see some objects there).
    But instead I also see items in this folder: C:\Windows\sysvol\sysvol\JOHN.LOCAL\policies (while where I just typed 'JOHN.LOCAL' is my actual local domain).
    To further this, when I edit that custom GPO, then at the very top of the tree I right click on it and select Properties, I see a Unique Name listed there as a long string of numbers and letters, similar to a registry entry.  I searched my server for
    that same Unique Name and found it listed inside the folder: C:\Windows\sysvol\domain\policies
    If I am correct with my assumption and basic knowledge, I should move all objects as follows:
    -Move FROM: C:\Windows\sysvol\domain\policies
    -Move TO: C:\Windows\sysvol\sysvol\JOHN.LOCAL\policies
    My concerns are that I am not correct at all, that I will break something, that there may be an easier fix than moving anything, or that I am overlooking something causing this error altogether. 
    Thank you for anyone's help and time with assisting me with this request.
    John Fester

    > top "Settings" I see the error: "An error occurred while generating
    > report: Object reference not set to an instance of an object."
    That's due to a security setting (most possibly) your current OS does
    not understand. Hard to find out wich exact setting it is... To resolve
    this issue, we need the gtpptmpl.inf file residing in the policiy's
    sysvol folder. To open this folder, edit the policy, move to computer
    settings - policies - windows settings - scripts - startup, press "show
    files". Then move two folders upwards and back down to
    .\microsoft\windows nt\secedit. There you'll see the gpttmpl.inf - post
    its contents and we'll have a look at it.
    > location, which I speculate is: C:\Windows\sysvol\domain\policies (which
    > folder: C:\Windows\sysvol\sysvol\JOHN.LOCAL\policies (while where I just
    That's perfectly ok - JOHN.LOCAL in fact is a symlink pointing to "domain".
    > all objects as follows:
    > -Move FROM: C:\Windows\sysvol\domain\policies
    > -Move TO: C:\Windows\sysvol\sysvol\JOHN.LOCAL\policies
    No.
    Martin
    Mal ein
    GUTES Buch über GPOs lesen?
    NO THEY ARE NOT EVIL, if you know what you are doing:
    Good or bad GPOs?
    And if IT bothers me - coke bottle design refreshment :))

  • "Your script uses objects from a non-existent collection"

    I have a multiple page form with a barcode on each form.  I created a separate collection for each barcode.  The auto generated code looks fine and has the correct collection created, however I still get the error, Paper Forms Barcode error "Your script uses objects from a non-existent collection".
    I'm not sure what is wrong and I don't know how to fix it.  Anyone else run into this?

    You will need to create a shared folder in Dropbox, then populate that with what ever folders you need to organize the files. It appears the DropBox app,will not handle this, but you can do, it by logging in to you account via Safari. Once the folders are created, they will show up in the app. Likewise with designating the folders as shared. Anyone you wish to share with will need a Dropbox account. (using the public folder will not work since links out it are for files only, not folders. An odd restriction, but it is what it is).
    IF you have copies of the files on a PC, you will find that will be the easiest place to upload them from. If they are only in iBooks on the iPad, you will need to synch and use the file management function to copy them off. not sure if you can synch them back over to DropCopy within iTunes (never tried it).
    DEpending on your needs, a couple of apps to look into are iCab Mobile (a browser), and GoodReader (doc viewing and management app). Both integrate well with DropBox.

  • Unable to view settings tab in one GPO. "An error occurred while generating report: Object reference not set to an instance of an object."

    I am the owner of this GPO and I can view the settings tab in any other GPO. But, I get the following message when I try to view the settings tab in one particular GPO:
    An error occurred while generating report:
    Object reference not set to an instance of an object.
    Other posts I look at reference the same error, but with different circumstances, and thus, they specify that the hotfix is for to fix the error under
    those circumstances.
    I'm accessing GPMC on a Win 7 SP1 machine. DC is Server 2012 Standard.

    > Since I have to go through Edit to see the settings, and peruse the
    > entire massive folder of settings to try to identify the bad one, it has
    > been slow-going and I haven't found it yet.
    You can filter ADM templates to show configured ones only, and you can
    use the "show all settings" node. This will speed the work up - a little
    bit at least :)
    Martin
    Mal ein
    GUTES Buch über GPOs lesen?
    NO THEY ARE NOT EVIL, if you know what you are doing:
    Good or bad GPOs?
    And if IT bothers me - coke bottle design refreshment :))

  • Websheet objects non-existent or invalid -- how to correct?

    OS: RHEL 5.4
    DB: 11gR2
    APEX: 4.1
    After upgrade of APEX to 4.1, websheet objects non-existent or invalid -- hence, can not create Websheet app. Any clues on how to correct and/or what may be wrong? Sample database applications imported and working fine.
    Cheers!

    Got this figured out...
    Just had to install the sample Websheets from the Application.
    Cheers!

  • Synonyms pointing to non existing objects

    Hi,
    How to find out the public/private synonyms pointing to the non existing objects.
    Let us say, we have created synonyms for a few tables, 1 year back. A few days later, we have dropped the tables.
    How to get the list of synonyms which do not have the base tables.
    All replies are welcome
    Thanks
    DRK

    Probably, you will still be having the list of dropped tables. To identify all the synonyms for the dropped tables we can query:
    select * from user_synonyms where table_name in ('A', 'B', ....);
    Once I identified you can drop these synonyms.
    Alternatively, if you do not have the list of tables then (assuming you are on 10g), you could do something like this:
    1) Identify all the synonyms with INVALID state and try to query/execute them.
    2) Drop the one's which still remain INVALID (make sure they are referring the dropped tables)
    SQL>  create table t (a number);
    Table created.
    SQL> create synonym st for t;
    Synonym created.
    SQL> select object_name, status from user_objects where object_name = 'ST';
    OBJECT_NAME     STATUS
    ST              VALID
    SQL>
    SQL>
    SQL>
    SQL>
    SQL> drop table t purge;
    Table dropped.
    SQL> select object_name, status from user_objects where object_name = 'ST';
    OBJECT_NAME     STATUS
    ST              INVALID
    SQL>Synonyms could still remain in INVALID state if any changes are made to the underlying tables, so executing the synonym again will return it to VALID state provided table still exists.
    SQL>  create table t (a number);
    Table created.
    SQL> create synonym st for t;
    Synonym created.
    SQL> select object_name, status from user_objects where object_name = 'ST';
    OBJECT_NAME     STATUS
    ST              VALID
    SQL> alter table t add (b number);
    Table altered.
    SQL> select object_name, status from user_objects where object_name = 'ST';
    OBJECT_NAME     STATUS
    ST              INVALID
    SQL> select * from st;
    no rows selected
    SQL> select object_name, status from user_objects where object_name = 'ST';
    OBJECT_NAME     STATUS
    ST              VALID
    SQL>

Maybe you are looking for