Oracle Reports : Run time error when there is a call to DBMS_LOB package

I am facing a strange issue, please do share if you have some inputs. When I try running the compiled RDF report(Generating XML to be specific), Oracle Reports Builder crashes when I make use of the following formula function. Strangely, this works fine in the backend. Moreover I tried debugging and by trial and error method found out that, when there is a call to the DMBS_LOB package it errors (works fine when this is commented). Please do let me know whats the root cause of this issue. Thanks in advance
function CF_ClientSignatureFormula return VARCHAR2 is
file_name BFILE;
dir_name VARCHAR2(100);
dest_file_name VARCHAR2(100);
dest_path VARCHAR2(400);
begin
     SELECT client_signature
          INTO file_name
          FROM xxfpr.fpr_rcp_bank_details frb,
          Xxfpr. fpr_rcp_gtn_rpt_map frm
          WHERE frb.record_id = frm.bank_record_id
          AND frm.gtn_request_id = :p_gtn_request_id;
SYS.DBMS_LOB.filegetname(file_name,dir_name,dest_file_name);
SELECT directory_path INTO dest_path FROM all_directories where directory_name = dir_name;
dest_path := dest_path || '/' || dest_file_name;
return dest_path;
EXCEPTION
     WHEN OTHERS THEN
          RETURN NULL;
end;
Thanks,
NirmalGeo

And what version of Reports are you using?
BFILES are accessible from the database, not the client (Reports). So, put your code in the database.

Similar Messages

  • Portal Run time error when created a seperate role for Transport package.

    Hi Experts,
    I have created a seperate role for Transport Package(import/export iviews).
    Normally we have transport package functionality in system admin.
    Below steps i followed for creating the new role(trans admin)
    1.Copied SAP provided system admin role to a seperate folder.
    2.Deleted reamining portal objects(like UWL, portal display etc ..) except transport packege workset.
    3.Renamed the role to trans admin.
    I have assigned that role to my self, it is working fine to me when i clcik on export and import.I have super admin role.
    when i assign this role to some portal users, Export is not working.
    when user clicks on Export role they are getting below error.
    Portal Runtime Error
    An exception occurred while processing a request for :
    iView : N/A
    Component Name : N/A
    Access denied (Object(s): com.sap.portal.system/security/sap.com/NetWeaver.Portal/medium_safety/com.sap.portal.appdesigner.contentcatalog/components/Framework).
    Exception id: 12:10_31/08/09_0031_21763550
    See the details for the exception ID in the log file
    By looking into exception iD also, same error access denied it is showing.
    Please Advice.
    Thanks
    Sony.

    Hi Raghu,
    Thanks for the reply.
    I have given full permissions to all users to this trans admin role before itself.
    Thanks in advance.
    Sony.
    Edited by: ambica sony on Aug 31, 2009 1:53 PM

  • XLRepoter - Run Time Error When running xlreporter report in MS2003 Execel

    Hi,
    I got this error when trying to XLReporter report in MS2003 Execel  : Microsoft Visual C++ Runtime Library. Runtime Error! Program: C:\Program Files\SAP\SAP Business One\SAP Business One.exe. Abnormal program termination. Then the process was terminate.
    Regards,
    Vivian

    Please check this thread to have a reference:
    XLR run-time error when upgrading from 2007A PL 39 to PL 42
    Thanks,
    Gordon

  • XLR run-time error when upgrading from 2007A PL 39 to PL 42

    My client recently upgraded from 2007A PL 39 to Pl 42, In PL 39, everything, including XLR, was running smoothly. Mow when client tried to open SBO, he gets this message:
    XL Reporter
    Run-time error u2018430u2019:
    Class does not support Automation or does not support expected interface
    The client has uninstalled and re-installed mythe client software, but gets the same error.
    Any suggestions?

    Hi Katie,
    this error can occur with a DIAPI version mis-match. Again note 1247315 should help you in this regard, as there are steps there to follow.
    If the note doesn't help, you could also set the logging level to 6 which would provide more information:
    a. Locate the following key in the registry:                            
       My computer\HKey_Current_User\software\SAP\SAPManage\SAP Business   One\AddOn                                                                               
    b. Double click on logging level and enter value 6                                                                               
    c. Start XLR                                                            
    Please send the log in SAP Business One Log folder from                 
    Start->Run->%type%, you'll find log called SAPAddOn_01.log       
    Kind Regards,
    Lilian Lynch
    SAP Business One Forums Team

  • Run time error when we click  "Leave overview " in ESS - pl help

    Hi Gurus ,
    We are getting run time error when we
    click the 'Leave Overview' in
    ESS.
    when emloyee applies for leave he may
    need to wait for aproval during
    that time he cannot access the 'leave
    overview' screen he will be
    facing run time error .
    because of this run time error system
    performance become very slow .
    please help me .i will give points for valid answers .
    :-Suneetha reddy

    Hi ,
    I am soory for late reply ,
    I changed the runtime parameter to 1200 and monitaring the system .
    Now there is no Run time error but still Leave overview is taking time .
    Please help
    Thanks,
    Sunitha

  • ABAP Run time error when display the Customs Export declarations

    Hi,
    I'm receiving ABAP Run time error when display the Customs Exp. Declarations Under SAP Customs Processing -> Customs Processing - Import / Export -> Monitoring.
    Error messaging point to Function Module - /SAPSLL/CUHD_LOAD_SELECTION.
    While debugging we found that Primary Key of the below structures are not the same
    lt_corpar                              type      /sapsll/corpar_t
    lt_corpar_ht       type      /sapsll/corpar_k02_ht
    Does anyone has the SAP Notes or solution to this issue other than changing the structures manually. I'm not sure about the impact if i change manually
    Error message short details
    Termination occurred in the ABAP program "/SAPSLL/SAPLCUHD_SELECTION" - in
         "/SAPSLL/CUHD_LOAD_SELECTION".
        The main program was "/SAPSLL/CULO_DISPLAY_CUS_EXP ".
        In the source code you have the termination point in line 144
        of the (Include) program "/SAPSLL/LCUHD_SELECTIONU01".
    We are on GTS Release 8.0 and Support Package SAPK-80014INSAPSLL (Support pack level 14).
    Regards,
    Pradeep Maddi

    Hi,
    I have implemented SAP Note 1531799, but it hasn't resolved the current issue.
    For Our GTS instance, there are 2 Feeder Systems (ECC) attached, but document transfer in one of the system has not been activated. Both having the same partner functions ( We copied the sandbox into 2 different instances for different business Testings and now these 2 instances attached to GTS for testing). These feeder systems have different Logical system names and Logical system groups.
    Recently i have implemented SAP Corrections manually for one the issue, Please see below thread for the detail information
    Proforma Invoice not transferred to GTS
    After implementing the corrections, i have created Pro-forma invoice in ECC system. When i tried to display, i'm facing the ABAP Dump issues.
    Error details
    Runtime Errors         ITAB_DUPLICATE_KEY
    ABAP Program           /SAPSLL/SAPLCUHD_SELECTION
    Application Component  SLL-LEG
    You tried to insert an entry into table  "\FUNCTION=/SAPSLL/CUHD_LOAD_SELECTION\DATA=LT_CORPAR_HT". However, updating the unique table key "PRIMARY_KEY" resulted in a duplicate entry. The key concerned may be either the primary key or a secondary key.
    Regards,
    Pradeep

  • Algebra CD keeps displaying "Script run-time error" when I try to open it

    I have a CD that came with my Algebra book (I bought it used) for Technical School and it keeps displaying Scrip run-time error when I try to open it.  I have updated Quick-time player, just in case that was the problem.

    b noir wrote:
    Is CoreGraphics.dll cited in the iTunes events?
    Also check for error events happening a few seconds prior to the iTunes events. Open those events. Do they all cite the same .ttf file? If so, what's the precise spelling of the .ttf (font) file?
    YES! There is a CoreGraphics.dll cited in the iTunes event. This is what exactly the window said
    "Faulting application iTunes.exe, version 9.0.3.15, faulting module CoreGraphics.dll, version 1.0.60.0, fault address 0x00266560."
    For the .ttf file, this is what it showed.
    "Windows cannot access the file C:\WINDOWS\Fonts\ARIALUNI.TTF for one of the following reasons: there is a problem with the network connection, the disk that the file is stored on, or the storage drivers installed on this computer; or the disk is missing. Windows closed the program ARIALUNI.TTF because of this error.
    Program: ARIALUNI.TTF
    File: C:\WINDOWS\Fonts\ARIALUNI.TTF"
    I hope this will help. I still cant open iTunes.

  • XL Reporter Run-time Error '429' ActiveX component can't create object

    Hi Everyone,
    When trying to install XL Reporter on a Windows 2003 Server SP2 machine getting the following Error:
    XL Reporter
    Run-time error '429':
    ActiveX component can't create object.
    Did anyone get this error? Please advise of any steps we can try to resolve.
    Kind Regards,
    Kafil

    Dear Friend,
                 I had described the problem to our technical support team, and they replied as follows u2013
    They solved the Script related error by several stages.
    They checked the machine for any mal-ware existence by the tool provided by Microsoft (MS Mal-ware remover).
    Then they tried by installing the following patches from Microsoft u2013
    http://support.microsoft.com/kb/949140
    Windows Script 5.7 for Windows XP
    http://www.microsoft.com/downloads/details.aspx?familyid=887fce82-e3f5-4289-a5e3-6cbb818623aa&displaylang=en
    Windows Script 5.6 for Windows Server 2003
    http://www.microsoft.com/downloads/details.aspx?FamilyId=C717D943-7E4B-4622-86EB-95A22B832CAA&displaylang=en
    Windows Script 5.6 for Windows XP and Windows 2000
    The internal matter to this problem was about the following DLL and its version u2013
    C:\WINDOWS\system32
    vbscript.dll
    5.5.0.8820
    Desired
    5.6.0.8820
    Check, if the information helps you.

  • Run time error when set filter on the request id in the output query.

    Hi all,
    I am getting a run time error when I select the request id and set filter on that and  when i am selecting all the request id it contains around 2lacs values in that If i cliked ok on that .
    It popped up a msg like this
    " Run time error 61706
    Insufficient memory to perform operation "

    User was educated not to select the entire data in the filter

  • Run Time Error When opening PDF File on Computer

    I am getting a run time error when I try to open up PDF's on my computer.  The error message reads, "The application has requested the runtime to terminate in an unusual way.  When I click ok the error box I get a message that says adobe reader has stopped working and the program has been closed.  FYI I am using the latest version of adobe reader

    Operating system is Windows Vista Home Premium..
    Version of Adobe Reader is 10.1.13.
    Any thoughts on what the issue is?

  • Run time error when loding the WEB clint

    Dear
    All
    I am in sap ides 4.0 I am trying to login the web Clint thru the BSP application in the se80 t code I got in to that code select the BSP application after that cic_ic and F8.
    New internet explore opened and asked for user id password after that. The page is loding after that no action but I refresh the page it is saying that ending the section.
    I find that i am getting two types of run time errors when page loding i find this thru st22 list of run time errors.
    that are 20.10.2008     
    1.09:26:15     gopinath     SAPUSER     800     C     SYNTAX_ERROR               CRM_MKTTG_PROC_TG_FEXP_BATCH     1
    2.18.10.2008     14:05:55     gopinath          000     C     DBIF_RSQL_INVALID_REQUEST               SAPMSYST     1
    and i check in event viewer also in that it is showing that.
    SAP-Basis System: Transaction Canceled 00                  671 ( SYNTAX_ERROR 20081020092615gopinath                        SAPUSER     8001        )
    with Regards,
    Prakesh.

    Hi
    I would suggest you to create a OSS request using service.sap.com and ask SAP to help on this
    Regards
    Madhan

  • Have Elements 11 and I get a Run Time Error when going into editor?

    I have Elements 11 and I am getting a run time error when I select editor.  It worked 2 weeks ago and now I get the message. I use Windows 7 and it nothing has changed in the past two weeks that I know of. The error is Microsoft Visual C ++ runtime Library

    Windows was installed in 2013, so it is whatever that dumb version was with
    no 'off'...
    I have Photoshop Elements 10.0
    I have no idea what an optimized computer means.
    When I say 'either editor' I mean I can't use the Full or Quick editor,
    they both produce the same message stream.
    As follows:
       Box pops up that is Microsoft Visual C ++ Runtime Library  with the
    message:
        Runtime Error
        Program : C:\Program files
        THis application has requested the Runtime to terminate it is an
    unusual way....
       PLease contact the application support team for more information
    If I click the OK button then I get an Adobe Photoshop Elements 10 box that
    pops up which says
    "Elements 10 has stopped working"
    I have no problem downloading images into the program or renaming files or
    pulling images back out I just can't edit.
    Hope that helps.
    Leslie
    On Tue, Mar 31, 2015 at 11:27 AM, A.T. Romano <[email protected]>

  • Run time error when loading external dimensions in Dev Studio

    Hi,
    I'm getting a run-time error when I try to load externally managed dimensions in Dev Studio using "Discover" button. The dimensions appear in the state folder so they got loaded fine but not sure why they are not being loaded into dev studio.

    Your question relates to the Endeca Commerce product(s), and would be better asked in this forum: Technical Questions .

  • Run time error when using search

    I get a run time error when using the search in iTunes store. Running current iTunes version.

    Duplicate post -- Client ADI display A runtime error in Office 2010

  • I get aq run time error when trying to load the latest version of iTunes. Help.

    I get a run time error when attempting to install the latest version of iTunes & now cannot access iTunes. Can anyone help me?

    Hi jalbany,
    Thanks for using Apple Support Communities.  This article has steps you can take for the error you're seeing:
    iTunes 11.1.4 for Windows: Unable to install or open
    http://support.apple.com/kb/TS5376
    Cheers,
    - Ari

Maybe you are looking for

  • Hide Button in Applications WD ABAP Travel Standard

    Dear Experts. Please Someone can help me with suggestions for the following issue that I have in this moment: I need hide the button "Entrada Nueva" "New Entry" for the component[ fitv_vc_advances|http://img842.imageshack.us/img842/2719/fitvvcadvance

  • Câmera does not open anymore

    Câmera Open for just a few seconds

  • To Buy or Not To Buy!? Geforce 6800GT

    Dear MSI Users,.. Specially the ones that bought 6xxx series I am considering to upgrade my pc with a graphics card but there is some questions on my mind, and I prefer to get the answers from MSI users than to get them from MSI it self,..... For Sur

  • Why can't i open photoshop on a second computer?

    Why can't i open photoshop on a second computer? the main computer is off and no program is active, but I can't open photoshop on my other computer!

  • Webcam Not Detected??! MSI GT780DX

    So i just bought this laptop today, & the webcam isnt in devices & skype won't pick it up, anyone helpp?!