Help!How can I find the name of a calling procedure from within a procedure/function?

Is there anyway to find out the name of calling procedure(database) from within a database stored procedure/function? This is required for creating an auditing module.
Thanks,
Abraham
===========
email:[email protected]

You can use this query to get the procedure names that are calling your procedure.
SELECT name FROM all_Dependencies
WHERE upper(referenced_name) = 'YOUR_PROC_NAME'
In your procedure, you can get these values into a cursor and then use them one by one.
Hope this would help.
Faheem

Similar Messages

  • How can I find the program which is calling my SAPscript??

    How can I find the program(std/Custom) which is calling my SAPscript form??
    Regards,
    Shashank.

    Hi
    check in NACE transaction or TNAPR table
    reward points to all helpful answers
    kiran.M

  • How can I find the name of a file I downloaded four months ago?

    I downloaded a file on either February 15th or 16th. Embarrassingly, I've lost the file, simply by forgetting its name. I need to be able to search my download history, by date. Does anyone know of a way to do this? I know that the history is kept that long, and that I haven't erased the history. Finding the date that I visited the website was easy using history and an approximate date, but download history is less intuitive.
    And, no, revisiting the website doesn't help; the only way to find the name of the file there (it's an ebook) is to buy it again, which is NOT what I wish to do.
    This was in Windows 7 Home Premium Edition, with FireFox v. 28.0 (yes, I know it's outdated; I haven't been using that computer much lately). I don't know what version of FireFox was installed at the time of the download -- whatever was most current at the time, as I usually make a practice of installing updates.

    The downloads folder in the history manager? I'm not sure what you mean.
    When I click on History, I see what I've put in the screenshot. Then it starts telling me where I've been today. Nothing about downloads, per se. I've been getting at those through Tools/Downloads.
    I have FireFox set up to ask me where downloads should go, rather than automatically sending them to my Downloads folder in Windows, and even if it had automatically saved to Downloads, it wouldn't still be there now.
    In a pinch, I suppose I could skip the first few in the downloads list, and then start right-clicking on individual downloads and selecting Go To Download Page, but I was hoping there might be some way to narrow it down, by getting at the date on downloads. That's fairly easy in History, but I don't see any way to do it in Tools/Downloads.

  • How can I find the name and path of the host html page

    Hi all,
    I want to make a banner using flash. This banner will be
    included in several pages in several domains.
    So, I want to count the clicks and store statistical data,
    calling an asp, and I want to get the host HTML page name which
    includes my banner.
    How can I do this?
    Thanks in advance

    or you can use the localConnection class inside of flash....
    it will return the domain name for you.
    var lc:LocalConnection = new LocalConnection();
    trace(lc.domain());

  • How can I change the name of my wi fi from the original name?

    How can I change my original WIFI network name to a new name?

    On your Mac....
    Open Macintosh HD > Applications > Utilities > AirPort Utility
    Click on the Time Capsule icon
    Click Edit in the box that appears
    Click the Wireless tab at the top of the window
    Edit the Wireless Network Name as you wish
    Click Update to save the settings
    The Time Capsule will take about 30 seconds to restart with your new settings

  • How can I find the local maximum in each interval from a graph?

    I have very less experience in labview and need some helps. I am currently using Labview 2013.
    I am analysing a very big data file. I want to find the  values of the local maximum (the peak) in every 1000 data points. Is there anyway to do it?
    I also want to have a control on when to start finding the local maximum point (after 10000 data points) and when to end it ( at 30000 data points)
    The attachment is a very similar graph of what I am analysing.
    Thank you very much.
    Attachments:
    A06-1-11_1.xlsx ‏642 KB

    Hi John,
    save that Excel spreadsheet as CSV file (form Excel).
    The use ReadFromSpreadsheetFile to load the data into LabVIEW. Now you get an array of data and you can do anything with it.
    - You might use a loop to pick an ArraySubset of each 1000 datapoints and analyze it.
    - You might use numeric controls to provide an input for the user...
    Where's your problem? It seems you already know where the goal is...
    And try to THINK DATAFLOW! You don't want to analyze data from a graph, you want to analyze spreadsheet data. A graph is just a data sink (in LabVIEW)...
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • With a given pernr, how can I find the name of the person

    Hi all,
    Please answer me.
    Thanks.

    hi you get more fields for a given pernr with this given prog,
    report ztest.
    tables:pa0002.
    data: begin of itab occurs 0,
          pernr like pa0002-pernr,
          vorna like pa0002-vorna,
          nachn like pa0002-nachn,
          end of itab.
    data: begin of itab1 occurs 0,
          pernr like pa0008-pernr,
          begda like pa0008-begda,
          stvor like pa0008-stvor,
          ansal like pa0008-ansal,
          end of itab1.
    data :begin of itab2 occurs 0,
          pernr like pa0021-pernr,
          favor like pa0021-favor,
          fanam like pa0021-fanam,
          end of itab2.
    data:begin of itab3 occurs 0,
         pernr like pa0041-pernr,
         dar01 like pa0041-dar01,
         dat01 like pa0041-dat01,
         end of itab3.
    data:begin of final occurs 0,
          pernr like pa0002-pernr,
          vorna like pa0002-vorna,
          nachn like pa0002-nachn,
          begda like pa0008-begda,
          stvor like pa0008-stvor,
          ansal like pa0008-ansal,
           favor like pa0021-favor,
          fanam like pa0021-fanam,
         dar01 like pa0041-dar01,
         dat01 like pa0041-dat01,
         end of final.
    select-options:s_pernr for pa0002-pernr.
    select pernr
           vorna
           nachn
           from pa0002
           into table itab
           where pernr in s_pernr.
    select pernr
           begda
           stvor
           ansal
           from pa0008
           into table itab1
           for all entries in itab
           where pernr = itab-pernr.
    select pernr
           favor
           fanam
           from pa0021
           into table itab2
           for all entries in itab1
           where pernr = itab1-pernr.
    select pernr
           dar01
           dat01
           from pa0041
           into table itab3
           for all entries in itab2
           where pernr = itab2-pernr.
    loop at itab.
    final-pernr = itab-pernr.
    final-vorna = itab-vorna.
    final-nachn = itab-nachn.
    read table itab1 with key pernr = itab-pernr.
    final-begda = itab1-begda.
    final-stvor = itab1-stvor.
    final-ansal = itab1-ansal.
    read table itab2 with key pernr = itab1-pernr.
    final-favor = itab2-favor.
    final-fanam = itab2-fanam.
    read table itab3 with key pernr = itab2-pernr.
    final-dar01 = itab3-dar01 .
    final-dat01 = itab3-dat01.
    append final.
    clear final.
    endloop.
       loop at final.
       write:final-pernr ,
    final-vorna ,
    final-nachn ,
    final-begda ,
    final-stvor ,
    final-ansal ,
    final-favor ,
    final-fanam ,
    final-dar01 ,
    final-dat01 .
       endloop.
    <REMOVED BY MODERATOR>
    venkat.
    Edited by: Alvaro Tejada Galindo on Mar 5, 2008 10:20 AM

  • How can i find the music itunes scanned and deleted from my ipod classic

    So I recently scanned my ipod classic for any problems and it decided to delete a whole bunch of my music.
    It also said something about putting the corrupted files in a "Found" Folder which i cannot find.
    Is there a way to get the music back somehow?

    Syncing to a "New" Computer or replacing a "crashed" Hard Drive: Apple Support Communities
    or
    Recovering your iTunes library from your iPod or iOS device: Apple Support Communities

  • How can I restore the "Recent bookmarks" folder that disappeared from within the bookmarks dropdown menu when I deleted a block of entries: firefox 27.0.1 & XP?

    Restarting Firefox and rebooting the computer did not help.

    1. Open the Library (Ctrl+Shift+B).
    <br>2. On the left, expand the All Bookmarks section.
    <br>3. Left-click the Bookmarks Menu folder to select it.
    <br>4. On the top toolbar, click the Organize button and choose New Bookmark.
    <br>5. Name the bookmark "Recently Bookmarked", and enter the following in the Location field. Change the value of ''maxResults'' if you want more or fewer than 10 items (which is the default).
    <pre><nowiki>place:sort=12&maxResults=10&queryType=1</nowiki></pre>
    6. Either restart Firefox or just open a new window (Ctrl+N) and close the old one.

  • How can I return the nextval of a particular sequence from a stored procedure?

    I have a stored procedure that basically generates and records
    nextval into a table each time the procedure is called. I want
    to return this value in an out parameter. Is this possible? If
    so, how do I implement it?

    sq> create sequence s1 start with 1 increment by 1;
    procedure to get the nextval from a sequence:
    sql>create or replace procedure p1
    (seq_no_p OUT Number)
    is
    Begin
    select s1.nextval into seq_no_p from dual;
    End p1;
    to call the above procedure to get the out parameter(nextval):
    declare
    p number;
    begin
    p1(p);
    end;
    If this is what u want.
    Thiru

  • I found my college roomates band's cd . how can i find track names since its not in database. they were semifamous so it should come up

    How can i use itunes to find track names on cds from an old roomate"s band. Its a professional cd that was sold in stores but it shows up as track 1 track two. the database could not find them.   
    I had another friend who made a cd and inputed all of the data but itunes still puts them as track 1 track two.  How can i find the names without manually putting them in?

    How can i find the names without manually putting them in?
    They will only show up in iTunes if someone (your friend, their producer, or a fan) has submitted them to Gracenote.
    If that did not happen, you can try identifying the tracks with an auto-tagging program such as Picard. 

  • How can I find the specific channel name and modify channel name in automatically in VBS?

    How can I find the specific channel name and modify channel name in automatically in VBS? (DIAdem 9.1)
    I would like to change channel name = "speed01" ... "speed10"  to  channel name = "velocity01"..."velocity10.
    martino

    Hello Martino,
    this script will help:
    Option Explicit
    Dim i
    Dim n
    For i=1 To 10
    If i < 10 then
    n = CNo("speed0" & i)
    Else
    n = CNo("speed" & i)
    End If
    If n > 0 Then
    If i < 10 then
    ChnName(n) = "velocitiy0" & i
    Else
    ChnName(n) = "velocitiy" & i
    End If
    End If
    Next
    Matthias
    Matthias Alleweldt
    Project Engineer / Projektingenieur
    Twigeater?  

  • How can i find the available JDBC driver name?

    hi,
    can anyone tell me how can i find the JDBC driver name in XI

    Hi
    The available JDBC drivers can be viewed in the file found in the following path in ur XI  server
    :\usr\sap\XR3\DVEBMGS00\j2ee\cluster\server0\bin\ext\
    regards
    krishna

  • How can i find the meta chain name?

    My process chains are running based on meta chain option,So how can i find the meta chain name???

    Hello
    Goto SE16
    Table RSPCCHAIN
    ut u r local chain name as varient and exe
    similerly goback if the chain you get is also a local chain....Until you get only one chain...
    Where Used List --
    RSPCPROCESSLOG table
    You can see the Process Logs at SM37 too based on the Technical name of the Chain you can trace the Meta chian
    Thanks
    Geeta

  • How can I change the "name" on my iphone, in the find my phone app

    How can I change the "name" given to my phone (i.e. Sally Jone's phone) on the Find my Iphone app?

    I'm not sure but try via itunes
    Right click on the name of your phone when it appears in the left column

Maybe you are looking for