Saving wrong queries given through an application in a table

Hi,
I want to save all the wrong queries given by an application (like RADIUS)in to a table.So far i was succesful to save all the wrong queries given by a user from sqlplus,through SERVERERROR trigger.Any help will be great.
Thanks.

One thing if you want to do a rollback or commit inside a trigger is using autonomous transaction inside a trigger..Please find the sample code for that which might be useful in your case
CREATE OR REPLACE TRIGGER t_autonomous_tx
BEFORE INSERT
ON person
DECLARE
PRAGMA AUTONOMOUS_TRANSACTION;
BEGIN
INSERT INTO audit_log
(chng_when, commentcol)
VALUES
(SYSDATE, 'Reporting an error');
COMMIT;
END t_autonomous_tx;

Similar Messages

  • Performance of queries fired through the application

    Hi
    I m using Oracle 10G Standard edition in windows server.
    As a part to check how much time is taking to insert 50000 records in the table and to check CPU used for the insert, Does Oracle has any tables or tools to do this. Can this be extracted from any views. Kindly advise me on this.
    Thanks
    Ram

    sb92075 wrote:
    Is there anyway to get the trace only for a particular user in multi threaded server?A simple LOGON trigger can be written that does
    ALTER SESSION SET SQL_TRACE=TRUE
    for the desired schema(s).Sb,
    I am afraid that its a wrong answer. In a shared server, the "session" (not the schema) can be served by all the available server processes. By this, the information for that session would be spread across in various files. Even when you would enable the tracing for the specified user in its schema, since its not being served by a dedicated server process, the resultant trace file woudln't contain the complete information about the user.
    Aman....

  • PDF file preview in windows 8.1 machine through my application

    I developed an application which preview PDf documents. app is working in windows XP, windows 7 machines. But when i run the same application i got "Error HRESULT E_FAIL has been return from a call to a COM component".
    Through my application i tried to create object of "Adobe PDF preview handler" CLASS ID = "DC6EFB56-9CFA-464D-44885D7DC193"
    Is this handler wont support in windows 8.1?
    Is source code available for this?
    PS: I can preview the file throught windows previewer.

    Hi,
    Welcome to MSDN.
    It seems that this is not the proper forum for this issue, since it is related to third-party.
    I found a similar thread in the forums of Adobe
    Adobe Community: Acrobat Reader 9.1 ActiveX control problems which shows that :
    As for "HRESULT E_FAIL" message, all that was wrong was the "Display PDF in browser" option in
    Adobe Reader preferences. It needs to be ticked. A bit weird but considering
    that it uses the same OCX in a web browser, it makes some sense."
    It seems that installing Reader 9.1 on my development machine and compiling a
    new version of the application fixes the problem (at least the second one).
    If still no helping, you could post this issue in the forum of that publisher to get dedicated support.
    Thanks for your understanding.
    Regards.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How do I open a pdf book cover file using Acrobat XI into Indesign CC?  Everytime I try, it says I am trying to open a file that has been saved wrong.

    How do I open a pdf book cover file using Acrobat XI into Indesign CC?  Everytime I try, it says I am trying to open a file that has been saved wrong.

    PDF files cannot be natively opened in InDesign. They can only be placed as graphics.

  • Number of records in given path of application server

    How
    to find number of records in given path of
    application server

    I think that this almost works.
    report zrich_0001.
    data: begin of itab occurs 0,
          rec(1000) type c,
          end of itab.
    data: wa(1000) type c.
    data: number_of_files type i.
    data: number_of_records type i.
    data: tot_size type i.
    data: tot_number_of_records  type i.
    data: p_file type localfile.
    data: ifiles type table of  salfldir with header line.
    data: file type string.
    parameters: p_path type salfile-longname
                        default '/usr/sap/TST/DVEBMGS01/data/'.
    call function 'RZL_READ_DIR_LOCAL'
         exporting
              name           = p_path
         tables
              file_tbl       = ifiles
         exceptions
              argument_error = 1
              not_found      = 2
              others         = 3.
    loop at ifiles.
      clear itab. refresh itab.
      concatenate p_path ifiles-name into file.
      catch system-exceptions dataset_read_error  = 1.
        open dataset file for input in text mode.
        if sy-subrc = 0.
          do.
            read dataset file into itab.
            if sy-subrc <> 0.
              exit.
            endif.
            append itab.
          enddo.
        endif.
        close dataset file.
      endcatch.
      if sy-subrc = 0.
        number_of_files = number_of_files + 1.
        describe table itab lines number_of_records .
        tot_number_of_records
            = tot_number_of_records  + number_of_records .
        tot_size = tot_size + ifiles-size.
        write:/ ifiles-name, ifiles-size,  number_of_records.
      endif.
    endloop.
    Regards,
    Rich Heilman

  • When i run report through OC4J Application i get a exception message

    When i run report through OC4J Application i get a exception message saying Server returning invalid xml and the exception number is JBO -29000. The Reports Server is installed on machine having IP 10.191.99.254.
    Below is the exception message:
    (oracle.jbo.JboException) JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: java.io.IOException, msg=Server returned HTTP response code: 500 for URL: http://10.191.99.254:8888/reports/rwservlet/showjobidnull
    Anybody Please help me out with this issue.....because I am really fed up with this problem....want some urgent help.....
    One possible workaround which I could make out is there needs change to be made in the .rdf files in Report Builder and then inside the User Parameters we change the Initial Value to * from % because the Reports Server encodes every value as %Initial_Value% and hence if the initial value for the parameter is % then it does not get a valid value and hence it returns as an invalid xml
    But unfortunately it seems this workaround does not work.Please help as soon as possible.

    Hi,
    you said that some changes were made in the .xml files but i had said that all the files present in Reports Developer or Reports Builder are .rdf files and I had made changes in the .rdf files for this articular report and then compiled it thereitself and then ran a paper layout of the report but the report did not comprise any data.
    There was sufficient data also to populate the report. So this may not be a database issue. Please help if you can ASAP.

  • Not able to open files through any Application in Mavericks

    HI, Since upgrading to Mavericks, I am not able to open the files/folders through any applications (Photoshop, Open office) or attach any files in Mail or web sites, as these files/folders appear greyed out. I could access those files either by locating them in the Finder and right click 'Open with' or drag and drop those files on to the Application icon on the dock. I could not even attach screen shots for this query. Thanks for your help.

    This occurred only to my login. Apple Support advised me to delete the Finder preference list (
    ~/Library/Preferences/com.apple.finder.plist)  and restart. Since then, it is working fine.

  • Debugging of ABAP Function Module through ISA Application CRM B2C 4.0

    Hi Experts
    There is way to Debug ABAP FM through ISA CRM b2c Application by Modifying some XML Files as per Extn Guide.
    I tried modifying the <APPLICATION_HOME>\WEB-INF\xcm\customer\modification\modification-config.xml After that I restarted the Application .
    But it is not Breaking for Both Statefull & Stateless FM after running my Application.
    With Some Help i found that if we try it on Remote System ( Means SAP GUI has to in Same System where CRM is Installed ???????????). but that is not Advisable Right !!!.
    So if i am able to Debug ABAP Function Module through ISA Application from any Other remote System.
    I think it will be very Useful.
    Thanks & Regards
    Ravi Sah

    Ravi
    It is other way around !!!
    You should have SAP GUI installed on the machine in which you start(access) your B2C Application. This enables for ABAP Debugging.
    We have tried this and works fine for us !!!
    Thanks
    Jack
    <b>Allot points if my post helps !!!</b>

  • I filled out my own form saved it and sent through email, when I opened it what I filled out was not there, why would this be

    I filled out my own form saved it and sent through email, when I opened it what I filled out was not there, why would this be?

    What software did you use to fill-in the form (Preview, perhaps) and what software did you use to open it after you emailed it?

  • How to set Password change through BSP Application

    Hello All
    Before dropping my question i will explain you what was the Real scenario, i am using WAD 3.50 Version and server is BW 3.0B.we are not using portal, and Enduser will view the reports in the browser through the WAD execute Http link.
    Question.
    whenever the enduser uses Http link of web template in the browser, he will connect through VPN and they can able view the reports. the question is That Some system Enduser won't have SAPGUI in their system so they wants to change the password because they won't know even if it is expire. is it possble to set password change system through BSP Application in the WEB Templates
    Please Help me how to set Change Password in the browser for the WAD Application.

    right now when the user calls the BW report url , he is prompted for authentication via pop up right?
    to enable password change option in the log on screen use system logon for BEX service in sicf.
    go to transaction SICF and navigate to sap/bw/bex
    double click on node Bex.
    in the resulting window, go to error pages tab and under that in log on errors tab choose "System log on radiobutton" save and now try calling a webtemplte.
    Regards
    Raja

  • Printing barcodes through oracle applications

    Dear Schavali and all others,
    We are analyzing to setup a barcode printing through Oracle applications. I have seen your thread in this forums but now i cant find it. But please i need a clarification from you.
    To print bar codes from Oracle applicaitons
    if we go for
    1). Printing using third party tool and print server, what all do we need to buy. (Like if i have 20 branches do i need to purchase 20 printers or do i add the normal printers to the print server)
    2). If i go for XML enabled printers to print Directly the barcodes, only one user can print on it at a time??.
    If multiple users should be able to print at the same time which one should i go for??
    Thanks
    Taher

    Hi,
    We are analyzing to setup a barcode printing through Oracle applications. I have seen your thread in this forums but now i cant find it. But please i need a clarification from you.Use the search to find such threads.
    Barcode
    http://forums.oracle.com/forums/search.jspa?threadID=&q=barcode&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    To print bar codes from Oracle applicaitons
    if we go for
    1). Printing using third party tool and print server, what all do we need to buy. (Like if i have 20 branches do i need to purchase 20 printers or do i add the normal printers to the print server)Normal printers should be OK (provided that those printers support barcode fonts) -- How to setup, map, and print custom reports with a barcode / MICR font [ID 551630.1]
    2). If i go for XML enabled printers to print Directly the barcodes, only one user can print on it at a time??.
    If multiple users should be able to print at the same time which one should i go for??Multiple users can print to the same printer.
    Thanks,
    Hussein

  • Strange solution to "Something went wrong trying to install this application."

    Basically the solution was to install
    AIR
    Beta 3 then install the AIR 1.0, copy "Adobe AIR Application
    Installer.exe", "Adobe AIR Application Installer.swf", and "Adobe
    AIR.dll" from the C:\Program Files\Common Files\Adobe
    AIR\Versions\1.0 directory into the AIR beta 3 directory which I
    think was "C:\Program Files\Common Files\Adobe AIR\Versions\1.0.6".
    Then, I associated the .air file with the "airappinstaller.exe"
    executable located in the AIR beta 3 directory. Amazingly, doing
    this allowed me to install the AIR application without any
    problems.
    The problem this addresses is getting the message "Something
    went wrong trying to install this application." every time I tried
    to install an AIR application. The exact error message is below. I
    assumed that I was having problems because I had installed an AIR
    beta in the past. I'm not for sure on that though. The AIR
    installer log seemed normal. At least there were not any error
    messages that I could see. The AIR application installer log did
    not output any data for me. I followed the instructions from
    this
    blog on setting up the installer logs.
    Here is the error message:
    Adobe AIR
    Something went wrong trying to install this application.
    Please install the latest version of Adobe AIR from
    http://www.adobe.com/go/getair
    and then try again.
    OK
    ---------------------------

    Basically the solution was to install
    AIR
    Beta 3 then install the AIR 1.0, copy "Adobe AIR Application
    Installer.exe", "Adobe AIR Application Installer.swf", and "Adobe
    AIR.dll" from the C:\Program Files\Common Files\Adobe
    AIR\Versions\1.0 directory into the AIR beta 3 directory which I
    think was "C:\Program Files\Common Files\Adobe AIR\Versions\1.0.6".
    Then, I associated the .air file with the "airappinstaller.exe"
    executable located in the AIR beta 3 directory. Amazingly, doing
    this allowed me to install the AIR application without any
    problems.
    The problem this addresses is getting the message "Something
    went wrong trying to install this application." every time I tried
    to install an AIR application. The exact error message is below. I
    assumed that I was having problems because I had installed an AIR
    beta in the past. I'm not for sure on that though. The AIR
    installer log seemed normal. At least there were not any error
    messages that I could see. The AIR application installer log did
    not output any data for me. I followed the instructions from
    this
    blog on setting up the installer logs.
    Here is the error message:
    Adobe AIR
    Something went wrong trying to install this application.
    Please install the latest version of Adobe AIR from
    http://www.adobe.com/go/getair
    and then try again.
    OK
    ---------------------------

  • Adobe Air on Mac: "Something Went Wrong Trying to Install This Application" Error

    I have been reading several posts on this, but nowhere can I find a solution.  Within the past few weeks, I receive this error any time I try to install a new AIR application:
    "Something Went Wrong Trying to Install This Application.  Please install the latest version of AIR from.."
    Then it gives me the download link.  I've tried reinstalling, but that doesn't fixt the issue.  I'm using OS X 10.6.3- is there ANY way to solve this?

    Hi Jason.  Can you post your install log here so we can take a look at what the problem may be?  To see the install log, Open "Console" to view logging.  Then copy and paste the log here.
    In the meantime, try to uninstall AIR before reinstalling AIR to see if that fixes the problem.
    Thank you!
    -Lisa Chao
    AIR QE

  • Assigning roles dynamically through an application

    We have an application being written in PowerBuilder 7.0.3 which accesses an Oracle 8.0.5 database running on OpenVMS. Is there a way to dynamically assign roles through the application to ensure that no modifications are made outside of the application?
    Thanks

    The use of dynamic roles for security is a very bad idea! Even if you set a password on the role, determining the name and the password for the role is trivial. Just open the binary using notepad, and search for "set role" and the password is right there.
    The only way to securely design your application is to place the controls in the database where they can not be manipulated. Use stored procedures, functions, and views!
    HTH,
    Aaron C. Newman
    AppProtect, Inc.

  • Login Redirection through SYSTEM application

    Hi,
    I'm using the standard SYSTEM application to perform the Login redirection. The redirection works fine in normal cases. However I face problems when I pass some parameters in my original URL.               
    Consider my app URL is: http://testsystem/sap/bc/bsp/sap/test/default.htm?bookid=1000                                               During login this gets redirected to url /sap/public/bsp/sap/system/login.htm?sap-url=<%=PATHTRANS%>            
    The login happens here, but after that, the parameter "bookid" got removed from the original URL.                                         
    Why does this happen?
    Is this the standard system behaviour? Or am I missing something?                  
    How else can I pass parameters to the URL while still retaining the login redirection through SYSTEM application?
    Regards,
    Pradeep

    Hi,
    I'm successful passing parameters with the code mentioned in /people/eddy.declercq/blog/2005/11/15/enemy-of-the-state
    Eddy

Maybe you are looking for

  • PAPI Client program is not working

    Hi, i'm running a sample bpm project in albpm studio 5.7 and tried to get the instance details thru PAPI client, but im getting following exception. pls help me. Code:* package papi.example; import java.io.Serializable; import java.util.Properties; i

  • HT2471 Wifi trouble- keeps switching off automatically.. Help

    Hi Currently using an imac late 2009 with updated OX lion 10.7.4- Having trouble with the wifi, it switches off automatically every 5 to 10 mins but doesn't prompt me for a password when I switch back on. Appreciate any help out there. thank you!

  • Ipod touch 2nd gen, with os 2.1.1.

    I just opened an brand new iPod touch 2nd gen, with os 2.1.1. It had been siiting in a box for a couple of years without being used. The iTune tried to updated it to os 4.2, but failed. I guess I need to upgrade to some odler os first like 2.2, then

  • C++ Exception and restart upon importing .mp4 videos

    I've exported an .mp4 video from After Effects into Edge Animate. But upon import I get a C++ exception error and a request to restart. The .mp4 video does not import. What's the issue? At this point, I cannot import videos into edge Animate -J

  • IPad mini crashes after rearranging apps

    I just bought my iPad mini today and after I rearrange app icons it seems that my iPad mini crashes becasue the Apple logo appears and the screen dims and whatever changes I made to the arrangement reverts back to before I started.  This is very frus