DBMS_APPLICATION_INFO MODULE and ACTION

Hi,
I'd like to use DBMS_APPLICATION_INFO MODULE and ACTION to store some additional logging information (see http://tylermuth.wordpress.com/2010/02/19/logger-1-2-2-released/ and read 2nd and 3rd comments for more info). Would their be any issues of doing this when using an APEX application? I noticed that (from Tyler's logging package) that APEX is storing the Application ID and the Page ID in Module and Action respectively.
Thank you,
Martin
[http://apex-smb.blogspot.com/]

Martin,
As much as I love your train of thought, I wouldn't use module and action with an apex app. APEX is going to set them for you, so as your page draws the values of module and action could change based on the order of who sets them. It makes them a bit unpredictable. You can blame me for this one, as I added it to APEX back when I was on the team. However, I stand behind the decision as it adds a lot of value for most use-cases. Feel free to try it, but I think it will be unpredictable.
The reason I suggested module and action in my response to your comment was that you said "batch" and I don't usually equate batch with an APEX application. Does the p_scope parameter of logger not work for you? Another option is dbms_application_info.set_session_longops (http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_appinf.htm#i996999).
Tyler Muth
http://tylermuth.wordpress.com
"Applied Oracle Security: Developing Secure Database and Middleware Environments": http://sn.im/aos.book

Similar Messages

  • Who worked with ICS' Model 4896 GPIB? I can not count the data from the module. Can prompt as it to make. It is desirable with examples (data read-out from the module and data transmission between channels. It is in advance grateful.

    I can not count the data from the module. Can prompt as it to make. It is desirable with examples (data read-out from the module and data transmission between channels. It is in advance grateful.

    Hello. Most of the engineers in developer exchange are more familiar
    with NI products. Contacting ICS for technical support is a better
    course of action.

  • I have LR 5.  When I'm in the book module and select the option to "Send Book to Blurb" i get an error message saying "The file does not have a program associated with it...."  How do I fix this?

    I have LR 5.  When I'm in the book module and select the option to "Send Book to Blurb" i get an error message saying "The file does not have a program associated with it for performing this action.  Please install a program, or if one is already installed, create an association in the Default Programs control panel."
    How do I fix this?

    Try the following user tip:
    "There is a problem with this Windows Installer package ..." error messages when installing iTunes for Windows

  • Workflows and Actions....

    Hi all,
             Can anyone please tell me the difference between workflows and actions .
    The requirement is that a mail must be sent on the click of a button.
    I want to know whether to go for Workfloes or Actions.
    Kindly reply immediately as this is bit urgent.
    Regards,
    Vijay

    Hi,
    I am not sure about Actions but you can send the ifrmation through mails by maitaing  the mail ids in the distribution lists.
    Create a Distribution list using SO23 and add Users whom to recieve messages.
    Modify your Inbound function module to handle if idoc failed to post by calling the function module: SO_NEW_DOCUMENT_SEND_API1
    Reward points if it is helpful
    Regards,
    Ashok

  • OMB plus Creating Locations Modules And Importing the Metadata?

    Hi All,
    First of all I would like to thank you all of you in advance for all your time and concern. I have serious of questions and I will ask them in 3 different portions as they are slightly different.
    How can I implement the steps below using OMB plus? If you could provided sample script and notation it will be highly appreciated.
    -- Creating an Oracle Location for a Schema and Registering it
    -- Creating an Module and relating it to the location that was created.
    -- Importing the metadata for all the objects in this Schema in to this module.
    For example,
    You have a schema called ORACLE_SRC. I need to create the location and module for this schema and tie them each other. Then I need to import all the metadata for all the objects in this ORACLE_SRC schema. During this import all the preserve statements should be unchecked. And I need to accomplish all these using OMB plus and TCL scripting.
    -- Creating an Non Oracle (SQL server 2005) Location for a database and Registering it
    -- Creating an Module and relating it to the location that was created.
    -- Importing the metadata for all the objects in this Schema in to this module.
    For example,
    You have a schema called SQLSERVER_SRC. I need to create the location and module for this schema and tie them each other. Then I need to import all the metadata for all the objects in this SQLSERVER_SRC schema. During this import all the preserve statements should be unchecked. And I need to accomplish all these using OMB plus and TCL scripting.
    -- Creating an Flat File Location for a folder structure and Registering it
    -- Creating an Module and relating it to the location that was created.
    For example,
    You have a schema called FLATFILE_SRC. I need to create the location and module for this schema and tie them each other.
    Thanks again for all your help and concern!
    Kind Regards,
    Mike

    In addition to the performance issue above I have faced an extremely more important problem. When I have used the same logic for importing Materialized views I am getting an error at the last step of the script. It is exactly the same case also for EXTERNAL_TABLE objects. TABLE and VIEW objects are fine. OMBIMPORT command throw the error message below.
    PUB04201: Encountered an internal fatal error during processing of oracle module XXX_DMY_DWPROD_TST: unsupported obj type.
    I would like to mention that MATERIALIZED_VIEW is the object name I took from OWB scripting Reference guide. I have tried couple other naming conventions too but it didn't work.
    Strange thing is If I were to change MATERIALIZED_VIEW to TABLE it works but the materialized view gets imported into 'Tables' folder under the module.
    Please help?
         #IMPORT FOR MATERIALIZED VIEWS STARTS
    #pull the names of the object inthe schema
         set MVIEWLIST {}
         set sqlStr "select distinct Mview_Name from all_mviews where owner = upper('$DbNm') order by Mview_Name"
         #execute the query
         set oraRs [oracleQuery $oraConn $sqlStr]
         #Loop through the list of objects
         while {[$oraRs next]} {
              set mvwName [$oraRs getString Mview_Name]
              lappend MVIEWLIST $mvwName
         #and close the query
         $oraRs close
         set listCntr 0
         set listTotal [llength $MVIEWLIST]
         set mviewName [lindex $MVIEWLIST $listCntr]
         #First object
         OMBALTER IMPORT_ACTION_PLAN 'IMPORT_ALL' ADD ACTION 'MAT_VIEWS' SET REF SOURCE MATERIALIZED_VIEW '$mviewName' SET REF TARGET ORACLE_MODULE '$ModNm'
         OMBCOMMIT
         puts "$mviewName is being imported"
         incr listCntr
         while {$listCntr<$listTotal} {     
              #Rest of the objects
              set mviewName [lindex $MVIEWLIST $listCntr]
              incr listCntr
              OMBALTER IMPORT_ACTION_PLAN 'IMPORT_ALL' MODIFY ACTION 'MAT_VIEWS' SET REF SOURCE MATERIALIZED_VIEW '$mviewName' SET REF TARGET ORACLE_MODULE '$ModNm'
              OMBCOMMIT
              puts "$mviewName is being imported"
         set listCntr 0
         set listTotal 0     
         #IMPORT FOR MATERIALIZED VIEWS ENDS
              OMBIMPORT FROM METADATA_LOCATION FOR IMPORT_ACTION_PLAN 'IMPORT_ALL'
              OMBDROP IMPORT_ACTION_PLAN 'IMPORT_ALL'

  • Unbound and Action Items

    I have many forms modules defined in the repository with unbound items and action items. How can i implement this functionality in jdeveloper with jheadstart.

    Jorge,
    Alternatively, you can base the "transient" attribute on a SQL expression or SQL function.
    High level steps to implement an action item that calls a stored produce include:
    - Add the button to the generated page
    - Add a forward to the group router that picvks up the name of the button and forwards to a custom action
    - Write a custom Struts action that calls a custom method on your handler
    - This custom method can use the BC4J app module to obtain a DBTransaction, and then create and execute a CallableStatement that calls your stored procedure.
    Steven Davelaar,
    JHeadstart Team

  • Memory modules and hard drive not recognized

    I removed and reinserted the factory installed Satellite L505D-LS5007 laptop hard drive and memory modules just as practice for installing a hard drive upgrade and an 8GB memory upgrade. The problem is obviously with the memory and not with the hard drive.
    After the first practice try, one memory module was recognized. Also for a few seconds after the first practice try, I ran the PC with the battery installed, but no memory installed. I did not look in the User's Guide first to see that I should have removed the battery before removing the memory.
    Now the System Indicator Lights for the HDD Activity and Memory Card Reader do not light up. The PC turns on and the display is solid black with no messages.
    Before buying new memory modules, what possible ways might there be to get the PC to recognize the factory installed memory modules and hard drive again?
    Solved!
    Go to Solution.

    When troubleshooting, I always change one variable at a time. I would hate to miss a solution by being in a hurry. In this case, you may have damaged either the RAM or the RAM slot. I would stick with the Toshiba specifications for the RAM, making sure it is the correct size, speed and type recommended. I also recommend that when you replace the RAM that both modules be from the same manufacturer, size, and specification. Try one RAM module in one slot and then the other. And then try both RAM modules in both slots. After the testing you should be able to figure if this is a RAM problem or a RAM slot problem.
    In the case of hard drives, the real test is whether or not the Bios sees the hard drive. If the Bios doesn't see the hard drive, it's not going to work. The Bios should see the hard drive whether or not the hard drive is partitioned, formatted or has data on it. My experience has been that many Toshiba laptops will work fine with larger capacity hard drives provided they are the same speed in RPMs, have the same interfacing connection and physically the same size.
    Again, prior to doing any work on your computer, make sure that both the AC power has been disconnected and the battery has been removed. Be careful out there. A blown repair job by a non-Toshiba tech is NOT covered under warranty.

  • Problem accessing /config_general/null/Default.action   Reason:There is no Action mapped for namespace/ config_general and action name default

    in use:
    vRO 5.1
    eclipse 3.7.2
    vRo plug-sdk 5.1
    steps:
    1.create a plug-in project from samples(choose solar system)
    2.find the dar package and upload it by vRo configuration
    3.vRo configuration said upload successfully,but the solar system configuration is not properly configued..
    problem:
    Problem accessing /config_general/null/Default.action   Reason:There is no Action mapped for namespace/ config_general and action name default
    How to solve it??
    Thanks so much!!

    There was problem from crm side...its working now..

  • Problem with modules and ModuleLoader

    Hi everybody,
    i'm facing a real funny problem with modules and
    moduleLoader, i hope
    it's not (only) my fault anyway...
    If i create a normal flex project with fBuilder, i'm able to
    use
    modules in a lot of different ways (as mxml, as as in a
    function etc..)...
    but if i try to use them in my fds application (created with
    fds
    eclipse plugin or as a dataServices project) i can't use
    modules. The compile-time error message is
    always the same:
    Could not resolve <mx:ModuleLoader> to a component
    implementation
    I tried a lot of solutions, paying attention to import all
    the classes, to declaration, naming, positioning
    etc...but nothing changes, this thing is drivining me
    crazy!!!.
    I will appreciate anykind of help.
    TIA
    Fabio

    Any idea?

  • Required help on Function Modules and Bapis

    Web portal publishing of ERS invoice letters. This involves modification in the BAPI screens to show the invoice PDF instead of printing??
    can anyone help me in fixing this issue.

    hi Anjaneyulu,
    open the t-code --> and go to menu system->status-->select the program and open the program-->
    selct the tree structure----in the left side the includes screen and function module everthing will show..
    or
    open the t-code --> and go to menu system->status-->select the program and open the program-->
    go to attributes and select the Package..
    next----
    go to se80--> enter the package --> and dispalay it shows the list of Program , include transaction function modules and bapi's under the pakage
    Regards,
    Prabhudas

  • Examples for using function modules and BApis.

    My Dear FRNDS,
    I am very new to ABAP. And I have read the documentation for  function modules but i am not that clear to practice them.So I would be very happy if u people share a little bit of ur experience with me.
    Please provide me some examples of all the use cases in function modules and specially exception handling.
    Frnds, i am going to work with bapis so i feel practicing function module will give me a edge.
    and please tell me after calling a BAPI FM why we have to perform   'BAPI_TRANSACTION_COMMIT' and 'BAPI_TRANSACTION_ROLLBACK'.
    .Ur efforts  will be greatly rewarded.
    thx,
    reshali

    Hi,
    Please check this sample codes.
    DATA: BAPI_Z05DOGI_DELIVERY LIKE BAPIOBDLVHDRCON-DELIV_NUMB ,
    BAPI_Z05DOGI_HEADER_DATA LIKE BAPIOBDLVHDRCON OCCURS 0 WITH HEADER LINE ,
    BAPI_Z05DOGI_HEADER_CONTROL LIKE BAPIOBDLVHDRCTRLCON OCCURS 0 WITH HEADER LINE,
    BAPI_Z05DOGI_ITEM_DATA LIKE BAPIOBDLVITEMCON OCCURS 0 WITH HEADER LINE,
    BAPI_Z05DOGI_ITEM_CONTROL LIKE BAPIOBDLVITEMCTRLCON OCCURS 0 WITH HEADER LINE ,
    BAPI_Z05DOGI_RETURN LIKE BAPIRET2 OCCURS 0 WITH HEADER LINE .
    CLEAR: BAPI_Z05DOGI_DELIVERY , BAPI_Z05DOGI_HEADER_DATA , BAPI_Z05DOGI_HEADER_CONTROL , BAPI_Z05DOGI_ITEM_DATA ,BAPI_Z05DOGI_ITEM_CONTROL , BAPI_Z05DOGI_RETURN .
    REFRESH: BAPI_Z05DOGI_HEADER_DATA , BAPI_Z05DOGI_HEADER_CONTROL , BAPI_Z05DOGI_ITEM_DATA , BAPI_Z05DOGI_ITEM_CONTROL , BAPI_Z05DOGI_RETURN .
    BAPI_Z05DOGI_DELIVERY = ZMM_WB1-ISSUE .
    BAPI_Z05DOGI_HEADER_DATA-DELIV_NUMB = ZMM_WB1-ISSUE.
    APPEND BAPI_Z05DOGI_HEADER_DATA.
    BAPI_Z05DOGI_HEADER_CONTROL-DELIV_NUMB = ZMM_WB1-ISSUE.
    BAPI_Z05DOGI_HEADER_CONTROL-POST_GI_FLG = 'X'.
    APPEND BAPI_Z05DOGI_HEADER_CONTROL.
    BAPI_Z05DOGI_ITEM_DATA-DELIV_NUMB = ZMM_WB1-ISSUE.
    BAPI_Z05DOGI_ITEM_DATA-DELIV_ITEM = 10.
    BAPI_Z05DOGI_ITEM_DATA-DLV_QTY = LFIMGGIA.
    BAPI_Z05DOGI_ITEM_DATA-SALES_UNIT = XTAB-MEINS.
    BAPI_Z05DOGI_ITEM_DATA-DLV_QTY_IMUNIT = LFIMGGIA.
    BAPI_Z05DOGI_ITEM_DATA-FACT_UNIT_NOM = UMVKZLIPS.
    BAPI_Z05DOGI_ITEM_DATA-FACT_UNIT_DENOM = UMVKNLIPS.
    APPEND BAPI_Z05DOGI_ITEM_DATA.
    BAPI_Z05DOGI_ITEM_CONTROL-DELIV_NUMB = ZMM_WB1-ISSUE.
    BAPI_Z05DOGI_ITEM_CONTROL-DELIV_ITEM = 10.
    BAPI_Z05DOGI_ITEM_CONTROL-CHG_DELQTY = 'X'.
    APPEND BAPI_Z05DOGI_ITEM_CONTROL.
    CALL FUNCTION 'BAPI_OUTB_DELIVERY_CONFIRM_DEC'
    EXPORTING
    DELIVERY = BAPI_Z05DOGI_DELIVERY
    HEADER_DATA = BAPI_Z05DOGI_HEADER_DATA
    HEADER_CONTROL = BAPI_Z05DOGI_HEADER_CONTROL
    TABLES
    ITEM_DATA = BAPI_Z05DOGI_ITEM_DATA
    ITEM_CONTROL = BAPI_Z05DOGI_ITEM_CONTROL
    RETURN = BAPI_Z05DOGI_RETURN.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
    WAIT = 'X'
    IMPORTING
    RETURN = BAPI_Z05DOGI_RETURN.
    Go thru this link
    http://www.planetsap.com/LIST_ALL_BAPIs.htm
    BAPI_TRANSACTION_COMMIT
    Execute external Commit when using BAPIs
    This method executes a COMMIT WORK command. It is required for
    transactions developed externally to the R/3 System that change data in
    the R/3 System via BAPI calls.
    When you call BAPIs in your program that change data in the R/3 System,
    afterwards you must call this method to write the changes to the
    database.
    COMMIT WORK
    The statement COMMIT WORK completes the current SAP LUW and opens a new one, storing all change requests for the currenta SAP LUW in the process
    there are some FM that we use for creating trasaction . for example FM : that use for creating production order . if you execut the FM , the system will not create any data in the system so you need to excute the FM : BAPI_TRANSACTION_COMMIT to commit that creating the production order .
    in case of commit work, that is a syntax in abap program . if you use this syntax after you insert ,update or delete table in the sap ,system will do it immediately otherwise the system will do it after execution is complete.
    ROLLBACK WORK.
    for confirming or undoing database updates. COMMIT WORK always concludes a database LUW and starts a new one. ROLLBACK WORK always undoes all changes back to the start of the database LUW.
    Regards,
    Raj.

  • Function modules and BAPIs for a transactio code

    Hi friends,
    How i can find  the List of function modules and BAPIs being used for a particular transaction code?
    for example: I would like to find List function modules and BAPIs being used for the Transaction code
    "FBRA"(Reset cleared items)?
    Any sort of help on this will be helpful.
    Thanks,
    Punjaala

    hi Anjaneyulu,
    open the t-code --> and go to menu system->status-->select the program and open the program-->
    selct the tree structure----in the left side the includes screen and function module everthing will show..
    or
    open the t-code --> and go to menu system->status-->select the program and open the program-->
    go to attributes and select the Package..
    next----
    go to se80--> enter the package --> and dispalay it shows the list of Program , include transaction function modules and bapi's under the pakage
    Regards,
    Prabhudas

  • SAP R/3 Modules and transactions belonging to them.

    Hello there,
    I have two questions which I would like some help with:
    Q1  Is there a link to documentation that lists all the SAP R/3 functional modules and provides an overview/description of each module?
    Q2  I would like to list all the transactions belonging to a fuctional module/area such as SD, MM, PM, FI/CO etc. I know that tables TSTC & TSTCT will provide a list of all the transaction codes, but is there a table that will show all transaction codes belonging to a specific fuctional module?.. if not then is there another way of getting this information?...Please bear in mind that I need to be able to download this information to an excel spreadsheet.
    Your help here would be much appreciated.
    Many thanks
    Sharon

    Hi williams,
    >> For your query regarding SAP R/3 modules refer: http://en.wikipedia.org/wiki/SAP_R/3
    >> For your query regarding Transaction codes refer:
    http://www.easymarketplace.de/transactions.php
    www.erpgenie.com/sapgenie/docs/useful-tcodes.pdf
    Reward points if its useful...

  • Photos in Library module and after export look different than in Development module

    Hello,
    I experience a problem.
    After I update photos in the Development module, the updates seem not to be shown in the Library module. And when I subsequently export to Flickr, Flickr is also showing the original photo, not the adapted one.
    I noticed this the first time after making Blacks a bit deeper, causing a sunflower to become a deeper yellow. I thought that my adaptations were not applied in the Library module. After I checked with cranking down the Saturation all the way back (to almost black-and-white), that adaptation WAS applied in the Library view. So it had to be something else, causing the same color difference between the Library and Development modules.
    When I switch from the Library module to the Development module, I see a slight delay in applying my changes, but they are applied. Before they are applied, I can see that the original photo is shown and that looks the same as in the Library module and on Flickr.
    The photostrip on the bottom of the Lightroom screen also shows the original photos only, unless I go to the development module and select a photo (adaptations are applied in the photostrip after I select the photo, not before).
    After I played a bit more in the Development module, I found something strange in the Camera Calibration menu of the Development module. The Adobe Profile (my default) caused an obvious color difference between the Library (less saturated) and the Development (more saturated) modules. The Camera Standard profile also showed a (very) slight difference, but I was unable to notice the differences using the other profiles.
    So I was thinking (but it's only a guess), that the profiles are not applied in the Library view and on export, but they are in the Development module?
    I use Lightroom 5.6, Camera RAW 8.6.
    Please help me, as this is very annoying. I currently cannot export my photos to Flickr or anywhere else, unless I overcompensate before exporting. And I really don't want to do that. My Lightroom photo is my perfect photo, and I want to keep it that way...
    Many thanks in advance for any help,
    Peter

    Hi ssprengel,
    Thanks for your reply. Let me react to each possibility you mention and provide some extra information.
    - "Check your Export / File Settings / Image Format and make sure they are set to JPG not Original". Done that, it's not on Original, but on jpg. This would not explain why I see the difference in the Library and Development modules, by the way. But better to know for sure.
    - "...the most likely thing that is wrong is your color-management on your computer is not working properly". It is a PC with Windows 7. I have been using Lightroom for maybe 6 years and I never had this problem before. The last time I changed my setup is more than a year ago and this problem only started to happen a short while ago (after the update to Lightroom 5.6? I'm not sure, but that's the only thing that has changed lately). I use a Spider to create a custom profile that is correct for my setup and do a regular update on the profile.
    - "what brand and model of monitor do you have?" I have an EIZO FlexScan S2411W and use that for a long time as well. I chose this brand of monitors for its good color reproduction and I have been happy with it for years now.
    What I am not getting is why would all this show a difference between the Library and Development module? The only difference is the Lightroom software that is switching from one module to another, and that should deliver the same photo. I'm also stating in my first post that the differences are very noticeable using the Adobe Standard Camera Profile in the Development module. I have a feeling that the profile is part of the problem.

  • HELP! Downloaded LR5 and when open it shows an error message saying error while trying to change from modules and I can not even import photos. Am I doing something wrong?

    HELP! Downloaded LR5 and when open it shows an error message saying error while trying to change from modules and I can not even import photos. Am I doing something wrong?

    I have the same problem, and the solutions in   Error changing modules | Lightroom do not work.  Even uninstalling and reinstalling a new copy did not solve the problem.  As anyone got an idea what other lingering files might be causing the problem?

Maybe you are looking for

  • Google Chrome and Firefox won't open any sites. Internet explore can.

    Internet Explorer will run any sites. After installing google chrome and firefox its opens the browser but then when i enter a site, any site, it just wont go... It's not giving me an error message... i push the "enter" key and the busy locator, the

  • Drag to resize spacing?

    Say I have a number of objects selected, how can I drag to resize the spacing between them, but without resizing the objects? By default resizing a number of selected objects does resize the spacing but also the objects themselves. Thanks

  • [share] sap sdn's  documents

    SAP PI 資料のリンク 1.SAP NetWeaver Exchange Infrastructure Mapping Troubleshooting - Webinar Powerpoint      https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e01e9400-9e81-2910-20a5-a862945a5e98 2.Product Roadmap SAP Exchange Infrastruc

  • Prog analysis

    Hai Need solution for the following scenarios:- 1) by seeing the Project Planning board - Bar chart /gantt chart can see that project is in progress or getting delayed . This is again based on confirming the actual with respect to planned only. In th

  • Just an upgrade

    I have creative cloud. How do I upgrade from cs6 to cc premiere without downloading the whole program again?