Find out on which page a function is used?

Hi
is there any chance to find the page, where a certain function is used?
Slavi

Hi,
Why don't you amend the function to write the application page id to a table. A simple example
create table tst (page_id VARCHAR2(10));
CREATE OR REPLACE FUNCTION my_function RETURN NUMBER IS
tmpVar NUMBER;
pragma Autonomous_Transaction;
BEGIN
tmpVar := 0;
insert into tst values(V('APP_PAGE_ID'));
commit;
RETURN tmpVar;
END my_function;
At least then you can see which page is calling the function.
Regards
Paul

Similar Messages

  • How can I find out on which page of a document an Xref can be found using ExtendScript?

    Hi,
    I want to find out on which page of a document an external XRef can be found. Is there a simple way to manage that using ExtendScript? The equivalent in FrameScript is XRef.Page.PageNumString.
    Thank you in advance.

    Here is a general purpose function to get you started. You pass it an object and it returns the parent page object. At this point, it does not handle XRefs directly, but you can pass in the paragraph that contains the XRef.
    var page = getPage(xref.TextRange.beg.obj);
    should work.
    Rick
    function getPage (obj) {
        var frame = 0, cell = 0;
        var objType = "";
        while (obj) {
            frame = obj;
            objType = obj.constructor.name;
            switch (objType) {
                case "SubCol" :
                    obj = obj.ParentTextFrame;
                    break;
                case "Tbl" :
                    obj = obj.FirstRowInTbl.FirstCellInRow;
                    break;
                case "Row" :
                    obj = obj.FirstCellInRow;
                    break;
                case "Cell" :
                case "Pgf" :
                case "AFrame" :
                    obj = obj.InTextFrame;
                    break;
                case "TextLine" :
                case "TextFrame" :
                case "UnanchoredFrame" :
                case "Arc" :
                case "Ellipse" :
                case "Group" :
                case "Inset" :
                case "Line" :
                case "Math" :
                case "Polygon" :
                case "Polyline" :
                case "Rectangle" :
                case "RoundRect" :
                    if (obj.FrameParent.ObjectValid()) {
                        obj = obj.FrameParent;
                    } else {
                        obj = 0;
                    break;
                default:
                    // Prevent endless loop if unknown object type is found.
                    obj = 0;
                    break;
        if (frame) {
            return frame.PageFramePage;
        } else {
            return 0;

  • Find out how many pages a subforms spans with XPAAJ?

    Hi
    Is it posible to find out how many pages a subform spans across with XPAAJ?
    Thanks in advance.

    Hi senthil,
    1. which form are u talking about ?
    2. There is no such direct facility,
       which keeps track of all forms,
       which are printed /preview !
    regards,
    amit m.

  • How to find out in which role an authority object is included

    Hi,
    I need to call web services by an external application. Therefore the authorization object S_SERVICE is needed to call services.
    Now I want to add this object to a specific sap user, but how can I find out in which role this object is included? I don't want to create a new role for just only this standard SAP authority object.
    Thank you!

    >
    Torben Larsen wrote:
    > Hey!
    >
    > Thank you for your answer. I have now found roles, which include this object. But I still have the authorization problems and can see that the object S_SERVICE is the problem, when tracing with ST01.
    >
    > I'm not that much into authorization stuff. So do I need also a profile? I only could call the web services by using profile SAP_ALL.
    >
    > thank you!
    Now that you have required role with you .. simple assign that role to user id from transaction SU01 (Roles tabs).
    Sap standard roles will already have profile in it. You might have to generate the profile. Goto transaction PFCG enter role name hit display button , goto Authorisation tab, hit Display Authorisation button and on next screen press generate button (Shift+f5).
    By the way you can use SUIM to find role and profile for given authority object

  • How to find out who had deleted the function moldule? S O S

    how to find out who had deleted the function moldule Thank you very much.

    if this fm was assigned to device class (package) you'll find it in
    tables tadir, e070, e071
    try with name of function module or function group
    hope that helps
    Andreas

  • How to find out in which albums a library photo is represented

    Basically my problem is stated in the question, I'm trying to find out in which albums certain library/event photo's are represented. Since I'm moving from albums to events this would be a great help in naming the events.
    Thanks,
    Peter

    There is currently now way in iPhoto to do this.
    iPhoto Menu -> Povide iPhoto Feedback.
    Regards
    TD

  • Finding out in which albums I put my photo

    Library getting bigger and bigger.
    To me it would be very useful sometimes to find out in which album a certain foto has been included, already. I tend to forget.
    Since there is a database concept behind iphoto this should be easy. But how? Any clue?
    Click a foto in the Library, press a key and there is a list of all Albums where the photo is included. Can even select an Album and press delete if I dont want the photo to be there anymore. Am I dreaming?
    Loris

    If you named your photos instead of just the default number from the camera you would be able to search for it.

  • Would like to find out how a Pages document might be opened by a recipient that only has a PC with Windows and Microsoft Office.  Is there a conversion program?

    Hi!
    Would like to find out how a Pages document might be opened by a recipient that only has a PC with Windows and Microsoft Office.  Is there a conversion program?

    Making changes to PDF file: Apple Support Communities
    Have just noticed this in a thread today.   The link from Klaus1's post may allow you to use PDF and work on it.   I haven't tried it but it may give you some extra ammunition.

  • How to find out in which query same restriction on keyfigure is used

    Dear all,
    is there a way to find out in which queries the same restriction for keyfigure structure is used?
    -> e.g. show me all queries that contains restriction on 0TCTIFPROV = cube AAA??
    Unfortunately the keyfigures in the queries don't have technical names, as basic keyfigures are used and only restricted to a cube!
    Thanks for feedback

    Hi;
    I think you cannot have this information but your can have in metadata repository (Transaction RSA1)
    all the queries linked to your infoobject OTCTIFPROV.
    It could be an other solution for you.
    Regards.

  • Short Dumps - How to find out in which process it occured.

    Hi,
    I see quiet a bunch of short dumps in ST22. Like "Message Type X". I wanted to find out in which job/process short dumps have occured?
    Please help me out...
    Thanks in Advance....:)
    Regards,
    Habeeb

    Hi ,
    The simplest way is to double click on a particluar dump in st22 and go in details like -What happened? ,What can you do?,How to correct the error  etc .
    there  were plenty of  options available according ot that u can dig out the error and find out the cause
    (tip-usually job were failed due to some Z programs ,so better way is to search for Z* ,it will give the related object or program in most of the cases.)
    hope it helps....
    Regards,
    Chetan R

  • How to find out on which e-mail apple sand me my iForgot mail

    How can I find out on which e-mail apple sand me my iForgot mail?
    And in addition I would like to transfer my bought songs and apps to a new icloud account...
    A few months ago I created my self a new Appleaccount with an new email wich has a more professional name than my curren one.
    The problem is, that I forgot the new E-Mail and the safety E-Mail (if there is one(I hope so)). I actually found out the E-Mailaddress I used as userE-Mail.

    SimonsOldAccountHeWantsToReplace wrote:
    How can I find out on which e-mail apple sand me my iForgot mail?
    A few months ago I created my self a new Appleaccount with an new email ...
    The problem is, that I forgot the new E-Mail and the safety E-Mail ...
    See Here > Apple ID: Contacting Apple for help with Apple ID account security
              Ask to speak with the Account Security Team...
    SimonsOldAccountHeWantsToReplace wrote:
    And in addition I would like to transfer my bought songs and apps to a new icloud account...
    Anything Downloaded with a Particular Apple ID is tied to that Apple ID and Cannot be Merged or Transferred to a Different Apple ID
    See Item 5 here  >  http://support.apple.com/kb/HT5622

  • Find out from which table a ES gets his data

    Hello,
    I'm now asking myself (for a couple of hours) how I can find out from which table(s) a Enterprise Service gets his data. I don't find any hint about this on ES Workplace, sproxy or soamanager. Has anyone a usefull hint for me?

    Hi Marco,
    This actually is an excellent question, as it allows to clearly realize, that ES Repository is only a modeling device and it does not contain any implementation details.
    If you are interested in implementation details, then Services Registry and the respective backend system are your friends, as Enterprise Services are implemented in these backend systems and then published in the central phone book - the Services Registry.
    If you haven't applied yet for the free access to the ES Workplace systems, do so as this will give you access to the SAP ERP discovery system that implements all the ECC related Enterprise Services.
    Now, if you want to see the implementation details for a given service - start from the ES Workplace. Go to the Services Registry and find an ECC service of interest. Then, on the General tab of the service you will find the Namespace and Internal Name. Having these two values, log on to the ES Workplace ECC system, start transaction SE80 and select Enterprise Services Browser. If this option is not available, go to Menu -> Utilities -> Settings and select Enterprise Service Browser. Find the namespace and the service (by its internal name) then navigate to the implementing code - which typically is an ABAP Object interface and an implementing class.
    The only reason I am referring to the ES Workplace Service Registry and its discovery system is, because it is a platform we all have access to. Each client builds their own SOA landscape, where only certain Enterprise Services are published in the Services Registry. And, of course, the system landscape can be more complex - containing not only ECC but other SAP Business Suite products. 
    I hope this helps a bit.
    Regards,
    Andrzej

  • Is it possible to find out since which date do I h...

    Is it possible to find out since which date do I have an account on skype ? And how?

    please contact Skype customer service
    TIME ZONE - US EASTERN. LOCATION - PHILADELPHIA, PA, USA.
    I recommend that you always run the latest Skype version: Windows & Mac
    If my advice helped to fix your issue please mark it as a solution to help others.
    Please note that I generally don't respond to unsolicited Private Messages. Thank you.

  • How can I find out what kind of battery my computer uses in order to buy a replacement?

    I purchased a new Macbook Pro 13" in January 2012. Unfortunately, I did not purchase Apple Care. My trackpad seems to have taken on a life of it's own. I'm guessing this is due to a swollen battery. How can I find out what kind of battery my computer uses in order to buy a replacement?

    Take a look at this link, http://store.apple.com/us/search/macbook-pro-battery-replacement?mco=Nzc1MjMwNg
    This is the MacBook Pro repair answers, http://support.apple.com/kb/index?page=servicefaq&geo=United_States&product=Macn otebooks

  • How can I find out what port number my DB is using

    How would one find out what port number a database is using? Is there a SQL command that will allow us to do this?
    Thanks,
    oracle_newbie

    newbie
    Oracle databse assigns a dynamic port number for each established session. Usually, the common port is 1521 which is defined in you tnsnames.ora, however, this is used for requesting a dynamic port. Dynamic ports are within a ragne of 1000+. That's why it is hard to tell which port you are using at a certain time. You should have a network monitoring tool to check this accurately.
    Regards
    null

Maybe you are looking for

  • Flash player does not work on Non Admin accounts

    I have 2 citrix servers running Windows Server 2k3. Flash installs and plays fine as the administrator, but once logged in as a regular user. Flash does not work. I have set the security permissions for the C:\Windows\System32\Macromed\Flash folder s

  • How to open a closed posting period?

    frnds Transaction MIRO i am trying to post invoice in one of the closed period, so it not allowing me to post and gives a message that postingperiod is not opened, can you please tell me how can i open closed posting period? Thanks

  • A script to help find the cause of recent upgrade breakage

    This script accepts package names as arguments and will output both a full dependency tree for each package, including installation dates of each dependency, and a list of all dependencies arranged by installation date in descending order along with

  • EAI viewer Display Problem

    Hello Guys, We are using SAP ECC 6.00 version.I use SAP IN BUILT integrated viewer to view the auto CAd files.i have customized relevent info in DC30 for the workstation network. My problem is ,when i open any Original of autocad from DIR ,it opens t

  • Issues with substitution

    Hi Gurus, Our substitution does not work even though all necessary pre-steps were done, such as importing the substitutions, bounce. But the original VO is still being used. Are there any issues with the substitution mechanism. Thanks for your advise