How to invoke Debug from Oracle Menu running on WEB?

ENVIRONMENT:
Oracle Forms 10g resides on Linux server.
Forms are called from the Oracle Menu.
Runs on company-wide WEB intra-net using Internet Explorer version 6.
User workstations are PC running Windows XP version 5.1.
PROJECT:
Create Oracle Menu option named: DEBUG.
After clicking on DEBUG, control returns to the Menu.
Any Form subsequently selected from the Menu will run in debug mode.
So every trigger firing in the Form will cause a message displayed on screen.
This will continue to happen whenever a Form is selected.
This continues until DEBUG is selected again...to toggle off.
QUESTION:
Is this possible?
If yes, how to do?

Possible: maybe.
How to do: this bean lets you get the values of the forms applet parameters and also set them. Perhaps debug_messages is settable in this way.
I've never found the debug_messages option to be very useful - it's usually fairly easy to work out which triggers are running and if there's an error then forms tells you which trigger it ocurred in. If the above (or anything else) doesn't work then you could use something like the package I posted Re: Zdebug -- Download a Forms debugging message tool, but it would mean having to code your own debug messages into the forms. Adding a new procedure to turn debugging on or off, or even to use a message level like forms has, would be quite simple.
eg,
-- new package variable:
debug_on BOOLEAN := TRUE;
PROCEDURE toggle_debug IS
BEGIN
  debug_on := NOT debug_on;
END;
-- write_log becomes:
PROCEDURE write_log(
  p_text IN VARCHAR2,
  p_indent PLS_INTEGER DEFAULT 0) IS
BEGIN
  IF debug_on THEN
    write_log_internal(p_text, p_indent, 'N');
  END IF;
END write_log;
etc

Similar Messages

  • How to Invoke Reports from Oracle Menus

    Hi,
    Pls. check the code for calling report from menu item.
    For my report below I am not passing any parameter just calling a report in the menu item.
    When I am calling the report option from the menu it is
    Giving error message in the report engine which is
    Starting report hdg04103 [Sun Mar 24 14:22:11 2002] ...
    REP-0002: Unable to retrieve a string from the Report Builder message file.
    REP-1439:
    End report hdg04103 [Sun Mar 24 14:22:15 2002].
    Pls. Look into the problem and mail me at your earliest.
    Declare
    t_sttm number(4);
    t_edtm number(4);
    t_worktime varchar2(4);
    pl_id paramlist;
    pl_name varchar2(20) := 'tempdata';
    Begin
    Select sttm,edtm into t_sttm,t_edtm
    from rtaad231 where usrid = :global.usrid and cses = 'HDG04103';
         Select to_char(sysdate,'hh24mi') into t_worktime
         from dual;
    if to_number(t_worktime) >= t_sttm and to_number(t_worktime) <= (t_edtm - 0015) then
    pl_id := get_parameter_list('tempdata');
    if not id_null(pl_id) then
    destroy_parameter_list(pl_id);
    end if;
    pl_id := get_parameter_list('tempdata');
    if id_null(pl_id) then
    pl_id := create_parameter_list('tempdata');
    end if;
    Run_Product(REPORTS, '\\rcadon\oradata\applive\hedging\reports\hdg04103.rep', SYNCHRONOUS, RUNTIME, FILESYSTEM, pl_id);
    else
    Message('You are not authorised to use this option at this time');
    Message('You are not authorised to use this option at this time');
    end if;
    Exception
    When NO_DATA_FOUND then
         Message('You are not authorised to use this option');
         Raise Form_Trigger_Failure;           
    End;
    Regards
    Saleemuddin.

    If you are not passing any parameters, you don't need to pass the parameter string. Replace the pl_id with "null" or use the 2 double quotes to represent the null eg. "" and see if you still get the same error

  • How do I get from Oracle Database 8.1.7.0.0 to 8.1.7.2?

    How do I get from Oracle Database 8.1.7.0.0 to 8.1.7.2? There is a patchset that fixes a bug in 8.1.7 for memory leaks that I need installed. I am currently running on a WindowsNT Server with a Oracle Database version of 8.1.7.0.0. Is going to 8.1.7.2 a complete release upgrade, or is there a smaller upgrade to get there, and how do I get the files required>
    Thanks,

    Hi,
    Sorry for my english
    For Windows NT, the last big patchset is 8.1.7.4.x. I advice you to use the last patchset. A patchet is not a upgrade or a migrate. the installation is in two phase. Phase One:Patch the files in the oracle home with Oracle Universal Installer (Oui) and Phase Two: execute sql files on the dictionnary of each database. There is a readme with the patch.
    you can get files on metalink if you have a account (metalink.oracle.com).
    List bug for Memory Corruption
    8174 1748759 Client memory corruption / dump (eg: in ttcfopr) using pre-fetch
    8174 1859905 Intermittent dump / client memory corruption
    8174 1964934 Memory corruption possible using INSERT /*+ APPEND */ over DBLINK
    8174 2126096 Session heap corruption from LIKE :bind ESCAPE '/' if :bind ends in the escape character
    8174 2152752 Memory corruption / OERI:17182 possible fetching CHAR from DB2 over HS
    8174 2217159 13 byte PGA corruption possible using SQL over DBLINKS from PLSQL with MTS to V7 database
    8174 2248904 Memory corrupt possible during optimization of distributed query
    8173 1836101+ Memory Corruption from distributed query / query with binds (OERI:17114/17xxx/dump in kkecdn/kgh*/kke*)
    8173 1542218 Heap corruption (OERI:17182/dump in kghfrf) using very large collections
    8173 1661786 OERI:12261 / single byte memory corruption possible for CALL type triggers
    8173 1711803 DBW & users may CRASH under heavy load on multi-CPU system with FAST_START_IO_TARGET set > 0
    8173 1744786 Cursor work heap corruption from CONNECT BY PRIOR
    8173 1752554 OERI:17182 selecting DB2 DATA TYPE of CHAR over HS
    8173 1791258 CONNECT BY on IOT can cause SGA memory corruption
    8173 1810829 Lightwieght sessions (via proxy connect) may dump / corrupt shadow memory if users have >1 ROLE
    8173 1847583 Client memory corruption/dump using large value_sz for OCIDefineByPos with OCI_DYNAMIC_FETCH
    8173 1968635 OERI:KCOAPL_BLKCHK / buffer cache corruption from CR rollback
    8173 1987654 Compiling a PLSQL block with an INDICATOR clause can corrupt memory
    8173 1995026 OERI:17112 / heap corruption from Oracle Trace with MTS & Large Pool
    8173 2002799 Wrong results / heap corruption from PQ with aggregates in inline view
    8173 2048336 OERI:150 / Memory corruption from interrupted STAR TRANSFORMATION
    8173 2065386 Mem. Corruption / OERI:KGHFRE2 / OERI:17172 possible using bitmap indexes
    8172 1365873 OERI:17182 / CGA corruption with CURSOR_SHARING=FORCE
    8172 1373920 Memory corruption from PLSQL ORA-6502 errors
    8172 1447610 DBMS_SQL.BIND_ARRAY may dump / report private memory corruption type errors
    8172 1679690 Buffer cache in memory corruption (OERI:2032) can lead to permanent data/index mismatch (OERI:12700)
    8172 1732885 oeri:[KDIBR2R2R BITMAP] / memory corruption possible from BITMAP AND
    8172 1763408 RPC between 9i <-> 8i with CHAR data can corrupt memory
    8171 1227384 SGA heap corruption using DBMS_SQL under heavy load (Rare)
    8171 1364542 Buffer Cache corruption possible (rare)
    8171 1394565 PROBE: Callheap corruption printing a RAW in PLSQL debugger
    Bye !!!
    Cordialement
    XsTiaN

  • How to invoke Matlab from Java

    Hi, I want to pass some data generated from Java class to Matlab, then invoke Matlab from Java to run the computation program (file written in Matlab, myfile.m). I know Matlab can use classes generated from Java, how to drive Matlab from Java?
    I appreciate your help!
    yaya

    According to their documentation, you can't. Having said that, again according to their documentation, there are plans to support this in future releases.
    m

  • ProcessRemoteException when invoke  webservice from Oracle E-Business Suite

    Hi,when i invoke webservice from Oracle E-Business Suite R12.1 – Integrated SOA Gateway’s
    I get following exception.
    fuego.soaptype.SoapExecutionException
    at fuego.soaptype.SoapCall.processRemoteException(SoapCall.java\:750)
    at fuego.soaptype.SoapCall.invoke(SoapCall.java:238)
    at fuego.soaptype.SoapObject.invoke(SoapObject.java:309)
    at fuego.lang.Invokeable.invokeImpl(Invokeable.java:234)
    at fuego.lang.Invokeable.invokeDynamic(Invokeable.java:188)
    at xobject.Fuego__AutoGen__Screenflows__.__SubmitReport.initializeReport(__SubmitReport.xcdl:30)
    at.......
    this webserivce has been deployed and granted. and I can test it with soapUI.
    my code:
    configuration as Configuration = Configuration("FND_PROGRAM_Service");
    endpoint as HttpEndpoint=HttpEndpoint("http://ep066020.bscdev.net:8002/webservices/SOAProvider/plsql/fnd_program/");
    endpoint.setUsername("sysadmin");
    endpoint.setPassword("sysadmin");
    configuration.endpoint = endpoint;
    usernameTokenPlain as UsernameTokenProfileSecurityPolicy=UsernameTokenProfileSecurityPolicy("sysadmin","sysadmin");
    usernameTokenPlain.usernameTokenPasswordType = UsernameTokenPasswordType.PASSWORD_TEXT;
    policies as SecurityPolicy[];
    policies[]=usernameTokenPlain;
    configuration.securityPolicies = policies;
    service as FND_PROGRAM_Service= FND_PROGRAM_Service(configuration)
    sh as SoaHeader = SoaHeader();
    sh.namespace="";
    sh.responsibilityApplName="SYSADMIN"
    sh.responsibilityName="System Administrator"
    sh.securityGroupName="STANDARD"
    sh.nlsLanguage="AMERICAN"
    pam as InputParameters9 = InputParameters9()
    result as OutputParameters
    pam.application="SQLGL";
    pam.executableshortname="ENABLED"
    do
    logMessage "333333333333333";
    executableexists service
    using header = sh,
    body = pam
    returning result = bodyOutput (throw exception)
    logMessage "2222222222222";
    reportSF.description=String.valueOf(result.fndprogram24executableexists)
    reportSF.comments="11111111111";
    on ex as Any
         logMessage "aaaaaaaaaaaa"+ex
    end

    I've encounter something similar to you're problem and it was resolved by manually creating the object using the web service constructor and inputting user credentials. If you manually instantiate your web service wrapper object and set a a security profile token, it may solve your problem. You can also pass in the web service endPoint URL, if you want.
    Fuego.WebServices.UsernameTokenProfileSecurityPolicy
    I'm not sure how to use UsernameTokenProfileSecurityPolicy, but try something like this:
    Fuego.WebServices.UsernameTokenProfileSecurityPolicy policy = UsernameTokenProfileSecurityPolicy();
    policy.username ="mark";
    policy.password = "password";
    tws = YourWebService();
    response = tws.callWebServiceMethod();
    I realize the security profile isn't tied anywhere to the web service, but try it anyway.
    There is also some fields on the webservice, tws.setRequestHeader() that may allow you to set the username and password on the request, but this doesn't make sense to me. It shouldn't be that hard.
    Edited by: Mark Peterson on Mar 19, 2010 9:14 AM
    Edited by: Mark Peterson on Mar 19, 2010 9:20 AM

  • How to launch a local program from a Form running on Web

    How to launch a program in local hard disk, say notepad, from a Form running on web?
    I tried the HOST() function but it will launch notepad on the application server other than the client.
    Thanks,

    You can use the following code from a Pluggable Java Component (PJC) to invoke notepad
    String cmd = "notepad.exe";
    Process p1 = null;
    Runtime rt = Runtime.getRuntime();
    int exitValue;
    try
    p1 = rt.exec(cmd);
    exitValue = p1.exitValue();
    System.out.println("Command returned status : " + exitValue);
    catch (Exception e)
    System.out.println("Error : " + e);
    Of course in reality the command to execute would be sent from the Forms Program as a Set_Custom_Property on the PJC
    Note that the PJC to do this would have to be signed to allow access to run such commands

  • How to extract data from oracle database directly in to bi7.0 (net weaver)

    how to extract data from oracle database directly in to bi7.0 (net weaver)? is it something do with EDI? can anybody explain me in detail?
    Thanks
    York

    You can use UDConnect to get from Oracle database in to BW
    <b>Data Transfer with UD Connect -</b>
    http://help.sap.com/saphelp_nw04/helpdata/en/78/ef1441a509064abee6ffd6f38278fd/content.htm
    <b>Prerequisites</b>
    You have installed the SAP WAS J2EE Engine with BI Java components.  You can find more information on this in the SAP BW installation guide on the SAP Service Marketplace at service.sap.com/instguides.
    Hope it Helps
    Chetan
    @CP..

  • How to get resultset from oracle procedure use ejb3

    how to get resultset from oracle procedure use ejb3
    i know oracle procedure should like this
    Create or replace PROCEDURE resultset_test(
    aaa IN NUMBER,
    bbb OUT sys_refcursor) ....
    but what s the ejb3 scripts looks like? please give me an example or link~
    ths

    - there are no EJB3 scripts, only compiled application code
    - the part of the EJB spec that deals with databases is called the Java Persistence API, but likely you are just looking for the JDBC API.
    Now you should know what to Google to get your "example script": "java jdbc oracle procedure"

  • What exactly is a Livecache and how different is it from Oracle RAC?

    What exactly is Livecache and how different is it from Oracle RAC since livecache is used for high availability? and should Livecahe be used only with MAXDB?

    As per my knowledge this both are completly different concepts and have different use.
    SAP Livecache is used in SAP SCM/APO to increase speed of processing by using main memeory
    Whereas Oracle RAC is used for HA and scalability.

  • How to delete client from oracle 10g ASM

    Hi,
    I would like to know how to delete client from oracle 10g ASM, while configuring Dataguard in same windows os i have by mistake created the standby in ASM.
    However later i have corrected the datafile destination. My Primary database is in ASM and the standby in disk.
    Could anyone please tell me how do i delete the client from ASM. On view from asmcmd it shows db_unknown and from v$asm_client
    GROUP_NUMBER INSTANCE_NAME
    DB_NAME STATUS
    SOFTWARE_VERSION
    COMPATIBLE_VERSION
    1 stby
    stby CONNECTED
    10.2.0.1.0
    10.2.0.1.0
    Thanks and regards,
    shaan

    Hi Deepak,
    Pls see the result from the view, i wanted to delete stby
    SQL> select * from v$asm_client;
    GROUP_NUMBER INSTANCE_NAME
    DB_NAME STATUS
    SOFTWARE_VERSION
    COMPATIBLE_VERSION
    1 prim
    prim CONNECTED
    10.2.0.1.0
    10.2.0.1.0
    2 prim
    prim CONNECTED
    10.2.0.1.0
    10.2.0.1.0
    1 stby
    stby CONNECTED
    10.2.0.1.0
    10.2.0.1.0
    regards,
    shaan

  • How to pull data from oracle GL to planning

    Hi all
    Can one suggest me how to pull data from oracle GL in to hyperion planning(we are using hyperion planning 9.3 with limited licence for analytic services). i guess we can use HAL ..any thing else
    any help is appreciable
    regards
    M.V

    Hi
    I appreciate for your response. Yep you are exactly right it is data only, but I do have a problem these people have their licence of limited version of Essbase.
    Let me give you the information of their licence agreement.
    The licence for the hyperion planning- sytem9 programs includes a limited use license for both the hyperion Essbase- system 9 and hyperion Financial reporting - system 9 programs. Such limited use license means that the hyperion Essbase- system 9 and Hyperion financial reporting -system 9 programs may only be used to access data from the Hyperion planning -system 9 program.
    Specifically, the hyperion essbase- system 9 program cannot be used to create Essbase cubes that do not contain data used by the Hyperion planning- system 9 program and the Aggregate storage option component of the Hyperion Essbase - system 9 program may not be used.
    1) what it(licence agreement) really means - can you install Essbase, if not how can you create dimensions dynamically using planning.
    2) Is it possible without Essbase as far as I know its not possible
    3) are we going to face any issues with this licence.
    4) Is it possibe to pull data with planning
    I appreciate if any one resolve this issue
    regards
    M.V

  • How do I tune an Oracle database running RequestCenter?

    How do I tune an Oracle database running RequestCenter?
    The details in the following discussion apply to RequestCenter/AlignmentCenter versions 2006 and prior.
    For most efficient operation of ServiceManger, several of the RequestCenter tables must have statistics collected which include histograms.  You can use the SQL commands below to collect the required statistics:
    ANALYZE TABLE TxActivity COMPUTE STATISTICS
        FOR COLUMNS StateID SIZE 45;
    ANALYZE TABLE TxActivity COMPUTE STATISTICS
        FOR COLUMNS PerformerShared, IsBusy, TicketObjectID SIZE 2;
    ANALYZE TABLE TxActivity COMPUTE STATISTICS
        FOR COLUMNS Waiting, FlagID, EscalationLevel SIZE 3;
    ANALYZE TABLE TxActivity COMPUTE STATISTICS
        FOR COLUMNS PerformerOfficeID SIZE 75;
    ANALYZE TABLE TxActivity COMPUTE STATISTICS
        FOR COLUMNS PerformerID SIZE 185;
    ANALYZE TABLE TxActivity COMPUTE STATISTICS
        FOR COLUMNS CustomerID SIZE 200;
    ANALYZE TABLE TxActivity COMPUTE STATISTICS
        FOR COLUMNS ActivityFormID, ActivityTypeID SIZE 3;
    ANALYZE TABLE TxActivity COMPUTE STATISTICS
        FOR COLUMNS ClientOUID SIZE 45;
    ANALYZE TABLE TxActivity COMPUTE STATISTICS
        FOR COLUMNS NextActionID SIZE 6;
    ANALYZE TABLE TxProcess COMPUTE STATISTICS
        FOR COLUMNS TicketObjectID, EscalationLevel SIZE 3;
    ANALYZE TABLE TxRequisition COMPUTE STATISTICS
        FOR COLUMNS BeingProcessed SIZE 2;
    ANALYZE TABLE TxRequisition COMPUTE STATISTICS
        FOR COLUMNS OrganizationalUnitID SIZE 16;
    ANALYZE TABLE TxRequisition COMPUTE STATISTICS
        FOR COLUMNS StatusID SIZE 6;
    ANALYZE TABLE TxRequisitionEntry COMPUTE STATISTICS
        FOR COLUMNS ServiceID SIZE 32;
    ANALYZE TABLE TxRequisitionEntry COMPUTE STATISTICS
        FOR COLUMNS StatusID SIZE 6;
    ANALYZE TABLE DirPerson COMPUTE STATISTICS
        FOR COLUMNS isOffice SIZE 2;
    ANALYZE TABLE DirPerson COMPUTE STATISTICS
        FOR COLUMNS IsInactive SIZE 2;
    ANALYZE TABLE DirPerson COMPUTE STATISTICS
        FOR COLUMNS TimeZoneID SIZE 6;
    ANALYZE TABLE DirPerson COMPUTE STATISTICS
        FOR COLUMNS SupervisorID SIZE 3;
    ANALYZE TABLE DirPermission[LW1]  COMPUTE STATISTICS
        FOR COLUMNS TargetObjectID SIZE 12;
    ANALYZE TABLE DirPermission COMPUTE STATISTICS
        FOR COLUMNS OwnerObjectID SIZE 4;
    ANALYZE TABLE DirOrganizationalUnit COMPUTE STATISTICS
        FOR COLUMNS OrganizationalUnitTypeID SIZE 4;
    ANALYZE TABLE DefJavascript COMPUTE STATISTICS
        FOR COLUMNS IsGlobalOnLoad, IsGlobalOnSubmit, IsGlobalOnUnload
        SIZE 2;
    ANALYZE TABLE UIEntry COMPUTE STATISTICS
        FOR COLUMNS ObjectID SIZE 7;
    ANALYZE TABLE UIEntry COMPUTE STATISTICS
        FOR COLUMNS UserInterfaceID SIZE 16;

    I thought there will be a magic switch to turn it off and on!That is how Oracle has been since I can remember. You get what you ask for. Does that sound bad?
    Would you want:
    IF ('ABC' = 'Abc')to evaluate to TRUE or FALSE?
    The behaviour seems to be correct. In cases where you want the comparision to be case insensitive, you have several ways to do it. You do it exactly where you need it, not everywhere and all the places.
    The default behaviour would potentially give you one row where as making it case insensitive could potentially give you several rows. now you need to pick one, which one?
    http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:1560806455855#6467925371258

  • How to Extract data from Oracle DB to BW via DBConncet interface.

    HI All,
    Do you know how to extract data from ORACLE data base to BW, using DBConnect.
    Here we are not using R/3 Business content structures.
    How to do it in both source system  and BW side?
    How to define structures on both sides.
    Please provide any documents on that.
    Thanks in Advance.
    Sri.

    Hi Srilaxmi
    Have a look at these links
    http://help.sap.com/saphelp_nw04/helpdata/en/58/54f9c1562d104c9465dabd816f3f24/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/a1/89786c3df35c4ea930a994e884bb4c/content.htm
    http://help.sap.com/saphelp_bw30b/helpdata/en/80/1a618ae07211d2acb80000e829fbfe/content.htm
    and  this thread
    Extract from Oracle View with DB connect
    regards
    KR

  • How to Send SMS from Oracle Database to Mobile

    Hi All,
    I need urgent help in how to send sms from oracle database to mobile
    thanks and best regards

    you can use smslib..... . i have made a program with this. its working fine with oracle database.
    see the links here ...
    http://halimdba.blogspot.com/2011/08/send-sms-from-oracle-database-with.html
    by the way, how you can say "urgent help" ?
    regards
    Halim

  • How to send sms from oracle application to cell phone

    Hi all
    please send me in how to send sms from oracle application to cell phone. Is there any way to solve this task. if so please suggest me.

    Please see old threads for similar discussion -- http://forums.oracle.com/forums/search.jspa?threadID=&q=SMS&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

Maybe you are looking for

  • My apple remote app on my iPhone 4S has stopped working after the 7.0.6 security update.

    My apple remote app on my iPhone 4S has stopped working after the 7.0.6 security update. It's not my home sharing or router setting, I have an ipad that I haven't yet updated that works completely fine and my network is run on the newest AirPort Extr

  • [SOLVED] Arch Linux on Macbook - Can't fix Screen Resolution

    I just installed Arch Linux as a dual-boot on my Macbook.  I really like it so far.  However, I came across a problem that is really bothering me.  It may seem simple, but no matter what I try, I only get "1024x768" and "800x600" resolution options. 

  • Error occurred while publishing the content item to the Knowledge Directory

    We are receiving the following error upon publishing non-binary content items to the knowledge directory: Error occurred while publishing the content item to the Knowledge Directory. Contact your portal administrator. Ironically, in the KD, we call s

  • Quotes conditional build tag

    I am using Office Word 2003 and Robohelp 7 for Word and I need to apply conditional build tag to document contents. I'm compiling the help for Microsoft HTML help but opening the chm file I can still see the following text (in a small font) at the pl

  • How can I get my CAN message data seperated?

    Ok, I am using the example filter given by NI to filter my CAN messages down to a certain arbitration ID.  There are several messages displayed still on this same ID.  I really need to get one message out of all of them.  I have seperated the data in