SQL TRACE for WEB deployed report

When I put
Alter Session Set sql_trace=TRUE
into the BEFORE Parameter Form trigger...
I get a trace file showing data on the one SQL in that trigger.
There is no TRACE output of the main query or any of the PL/SQL in the Program Units.
The report is invoked from company-wide intra-net.
I think it is Oracle Apps running in Linux server.
What am I doing wrong?
PS
I cannot execute this report from Report Builder.

Hello,
Just a remark : if you are using Reports 9.0.4 / 10.1.2, you don't have to modify the reports , you can activate the SQL trace with the parameter SQLTRACE=YES
http://www.oracle.com/webapps/online-help/reports/10.1.2/topics/htmlhelp_rwbuild_hs/rwrefex/cmdline/common/cla_sqltrace.htm
Regards

Similar Messages

  • Extracting the Logical sql query for the specified report  in OBIEE 11g

    Hi ,
    I want to extract the logical SQL Query for the Particular report in OBIEE 11.1.1.5.
    Any pointers related to this will be very helpful.
    Thanks,
    Sonali

    for a try please add Logical sql view to ur report it will dispaly the Logical sql for that Report..
    Hope it will helps you.

  • No insert Statements for EKKO EKPO in ST05 sql trace for transaction me21n

    No insert Statements for EKKO EKPO in ST05 sql trace for transaction me21n.
    IN ST05 I set a filter for ME21N and executed transaction to create a Purchase Order and then checked
    ST05 but there is  NO insert for EKKO or EKPO??
    How Do I find in which columns of EKKO and EKPO data is inserted in ST05?
    Edited by: DeepakNandikanti on Apr 28, 2010 8:27 AM

    Hi,
    I tried in my system and I can see INSERT statement on EKKO and EKPO tables. What exactly you are looking for? Some one else might have switched on the trace at the same time. Can you try again and see.
    ST05=>Switch on trace
    ME21N=>Create PO.
    ST05=>Switch off and display trace.
    In trace list search for EKKO and EKPO.
    Column names are not shown in the trace list. It is the SQL trace and column list is generated dynamically like :A0, :A1....
    @ Suhas,
    That might be because the tables are updated via BAPIs ... Do you think SAP uses direct update statements on the DB tables ??
    I didn't get above statement. Is there any other way of updation that happens when using BAPI? I believe that, even in case of BAPI there will be update task FMs called during database update. Please correct if i got it wrong.
    Thanks,
    Vinod.

  • SQL trace for Background jobs

    Hi
    Can anyone suggest how to find the SQL trace for background jobs.
    Thanks in advance.
    Regards
    D.Vadivukkarasi

    Hi
    Check the transaction ST05.
    Plz Reward Points if helpful

  • How to activate trace for web services

    Hi Experts,
    How to activate trace for web services in SOAMANAGER.
    We are not able to view the Payload trace of the error logs.
    Can anyone please let me know how to go about this???
    Regards,
    Ashwini

    Hi Ashwini,
    The thread below might be useful to you:
    [SOAMANAGER - Get the XML generated;
    Regards, Trevor

  • Enforcement states for a deployment report status is not refresh..

    Enforcement states for a deployment report status is not refresh.
    We have deployed patches by software update and monitoring status by checking report
    Enforcement states for a deployment. We have observed status difference in report and in actual PC. Status of One PC is
    Downloaded update in report  but actually that patch was
    installed on PC.
    why this difference and what is the solution to solve this.

    Hi Garth - I don't recreate the SU group. I recreate the deployment from
    the SU group.
    The SU Group contains all deployed updates and the deployment is a "catch-up" and targets a collection of all clients on the particular platform ie. Server 2008 R2. It's a mandatory deployment and I've set it to report "all messages" as opposed to the default
    "success and failure".
    There's no particular SU that are showing ESU. It's the client that shows ESU via the report "Enforcement States for a Deploymennt", and it's only ever the clients that were "Pending System Restart" previously that change to "Enforcement State
    Unknown". The software centre on these clients all know they're pending restart, and if the pending restart is performed on the client it will then change to "Compliant", but it never changes from ESU while its real state is "Pending Restart".
    Hopefully that clarifies the scenario.
    Like I said, I have a workaround, but I'd like to eliminate this behaviour on all my SCCM 2012 instances which are all affected.

  • Handling DST in SQL Query for UCCX Custom Report

    We wrote all custom reports for one of the call centers using our UCCX deployment.  One problem we see we will hit in the future is DST.  We suggested they use UTC but they wanted to see the call data based off of EST timezone.  Right now we are okay because we use -5 to get the correct data but come March we are wondering how to address the issue.  What options do we have?  How are other people handling DST with the SQL queries for custom reporting?  I see that the HR client will determine this based off of the local computer time then gives you the option to use UTC.  We have all of our queries in an Excel document that the customer just needs to open and select Refresh All to update their data.
    Thanks

    "case-when" statements are evaluated in order.
    so you must do something like this:
    SELECT
    CASE WHEN <is not number>THEN 'N'
    CASE WHEN <is greater than 0>THEN 'Y'
    Now "<is greater than 0>" will always have number for input, can't get "not number" error there.
    See this thread:
    Re: regular expression: integer is between N..M
    Edited by: CharlesRoos on May 27, 2010 5:03 AM

  • Scheduling Error For Web Intelligence Reports

    Dear Experts,
        I want schedule BO XI R3.1 SP 3  Web Intelligence reports.
        For this i want to give  Adaptive job server :destination details.
        Can you suggest what i need to enter for below details?
       1)Host    ?
       2)Port?
       3)Domain Name?
       For Host can i give BO CMC name or can i give BO Server IP Address or suggest me right one?
       For Port can i give CCM -->Adaptive job server PID value or CMS Port or SIA Port or Suggest me right one?
       For Domain name what i need to enter?
       The errors i am getting as shown below while scheduling with different ways as i mentioned above..
      Error Message:     server error. []: [CrystalEnterprise.Smtp]
      Remote Instance in Federated Cluster:     No
       Error Message:     server error. [Error initializing SMTP server. Return code: [TCP send failed.]. Reason:                               [Port address].]  [CrystalEnterprise.Smtp]
    Reply will be appreciated
    Regards,
    Venkat.

    Thanks a lot Konovolav,
    Can you tell how can i find SMPT server details to fill host, port and domain name for email scheduling?
    I can able to connect to Internet in my BO server.
    Can you tell me the path to find above details?

  • Is there a command line method for publishing/deploying reports?

    Is it possible to publish/deploy reports using the command line? 
    Also, it is possible to change the datasource for a report via some command line option?
    I am developing the reports locally (Win XP), and then checking them into source control.  They need to be deployed to a BO Server for Dev, Test and Prod.
    I would like to be able to create a script to deploy the reports into the different environments.
    In addition, the datasource needs to be changed before deploying to TEST (since it is on the same server as DEV, just a different port).  Having to manually open each report and change the datasource as the reports are migrated could get to be time consuming as the number of reports increases.
    Thanks for any suggestions.
    Paul

    Hi Paul,
    No, but you can do all of this using one of our SDK's. Look for samples above or from this WIKI:
    Root Page
    http://wiki.sdn.sap.com/wiki/display/BOBJ/BusinessObjectsHome
    Enterprise Samples (including managed and unmanaged ras)
    http://wiki.sdn.sap.com/wiki/display/BOBJ/BusinessObjectsSDKSampleApplications
    Non-Enterprise Samples
    http://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsSDKSampleApplications
    Exporting Samples (RAS)
    http://wiki.sdn.sap.com/wiki/display/BOBJ/NETRASSDK+Samples#NETRASSDKSamples-Exporting%2FPrinting
    Thank you
    Don

  • Automize SQL TRACE for a selected session

    Hi,
    Should I automize the process of SQL Tracing for a particular session of our choice?
    Let’s say when there are several sessions, and we want to select the particular session for SQL TRACING, then the SQL tracing for that session enable via running a routine.
    I used AFTER LOGON trigger for enabling SQL trace, but using this approach enable SQL TRACING all the sessions.
    My Logon Trigger for enabling SQL Tracing:
    create or replace trigger LOGON_SQL_TRACE
    after logon on database
    begin
    execute immediate
    'alter session set sql_trace=true';
    end;
    I want to use a perfect routine that first get the sid, serial# or username etc. from V$session, V$process or else, and then enable the SQL TRACING for the selected session.
    Like SYS.DBMS.SYSTEM.SET_SQL_TRACE_IN_SESSION package is available for doing that or may be some others as well.
    But how should we use these packages or other SQL tracing commands in a routine, which we can use for, enable SQL Tracing implicitly.
    Any ideas will be great.
    Bill

    SYS.DBMS.SYSTEM.SET_SQL_TRACE_IN_SESSION is just fine.
    You can get the SID and SERIAL# from v$session; you just have to know the username, osmachine, the OS process, ...
    Fred

  • SQL Trace for schema level

    Hi
    Database 10.1.0.4
    Sql trace file which I have used but didn't get the trace file. I have tried to get per session Id but not able to get the trace file, when ever user logged into application, virtually 6 user get lgged in and you never know about user. So I have desided to capture for schema
    I have used this for tracing
    SQL> ALTER SESSION SET sql_trace=TRUE;
    SQL> ALTER SESSION SET sql_trace=FALSE;
    Or
    SQL> EXEC DBMS_SESSION.set_sql_trace(sql_trace => TRUE);
    SQL> EXEC DBMS_SESSION.set_sql_trace(sql_trace => FALSE);
    or
    SQL> EXEC DBMS_SYSTEM.set_sql_trace_in_session(sid=>123, serial#=>1234, sql_trace=>TRUE);
    SQL> EXEC DBMS_SYSTEM.set_sql_trace_in_session(sid=>123, serial#=>1234, sql_trace=>FALSE);
    I want to get trace file for schema, can anyone suggest how do I get trace file at schema level.
    Thanks for help

    Hi,
    Using instance-level tracing by setting the init.ora/spfile... parameter SQL_TRACE=TRUE, all processes against the instance will create their own trace files. This particular method of tracing should be used with care since it creates a great deal of overhead against the system. In addition, the default value for this parameter is FALSE.
    Cheers
    Legatti

  • How to find abap program name for web ui reports

    Hi,
    I need to know the abap program name which is developed and configured for
    web ui.In our project web ui application crm version 7.0.there reports links are available
    with label of business names.
    I assume that there will be SPRO configuration for these reports.
    Can anyone provide assistant on this to me.
    Regards
    Viren

    Hi,
    Which reports you are referring to? Are you referring to BI reports? If so then i suppose they are triggerred in BI and transferred to CRM.
    Regards,
    BJ

  • SQL TRACE FOR THIRD PART TOOL

    Hi,
    Should we use the Logon trigger for SQL TRACING,for the third party tool?
    How should we manage SQL tracing and then read this trace file using
    TKPROF for that specific session that is using the third party tool?
    I wanted that whenever this third party tool connect to database with any user, the sql tracing will start for that specific seesion and then read the sqltrace for that session using TKPROF.
    Any ideas/exmp will be great.
    Regards
    CLEE

    Should we use the Logon trigger for SQL TRACING,for the third party tool?
    Yes you can use like
    CREATE OR REPLACE TRIGGER af_sess_Logon
    After logon on database
    Begin
    if ( user='SCOTT') then
    execute immediate 'alter session set sql_trace=true';
    End if;
    End;
    sql tracing will start for that specific seesion and then read the sqltrace for that session using TKPROF.
    for tkprof you can user command line
    or use host in sql
    kuljeet pal singh

  • SQL Trace for ODS Scripts

    Hi,
    How can I turn on SQL Tracing for ODS Transfer scripts?
    Best regards,
    Johan

    Hi Johan,
    If SAP Note 1289112 is not the case, please clarify what "ODS Transfer" means.
    Regards,
    Sergiy

  • SQL Views for applications, deployment types and deployments

    Has anyone seen any diagrams yet of the relationship between the views in the database for applications?  They are needless to say quite a bit more complex than the old Packages/Programs/Advertisements views.  I can probably figure out what I need,
    but it would save quite a time to be able to see the relationships called out.  A description of what some of the views actually do would be helpful too, I can figure out some, but others are a bit obtuse.
    Unfortunately there isn't an out of the box report that shows the information my customer wants, so I have to create one from scratch.
    If anyone is currious they want to see the status for all the computers that are targetted with an application deployment, this would include error codes, status, ect...
    Bob

    Yes, I know this is an old post, but I’m trying to clean them up. Did you solve this problem, if so what was the solution?
    The SQL view document has been release, it should help you out.
    https://technet.microsoft.com/en-us/library/dn581978.aspx
    Garth Jones | My blogs: Enhansoft and
    Old Blog site | Twitter:
    @GarthMJ

Maybe you are looking for

  • Invoice Output

    Hi, I created one sales order with two item line. In my invoice print output i am getting itemwise values of price,Discount & VAT but I dont want in that way I want Price - Addition of basic price of two material on that 10 % discount & on that 12.50

  • Flash player 10 error loading dll using IE 8.0.6001.18372 RC1 on Vista

    hi, How do I fix these errors below seen when trying to display pictures at some http://smilebox.com url in Internet Explorer 8.0.6001.18372 RC1 on my vista box? I've installed Adobe flashplayer and Adobe's activeX controller, they show up in the lis

  • Rückmeldeaktivität (Betriebsratanhörung)

    Hallo Zusammen, ich hätte eine Frage bezüglich der Rückmeldeaktivitäten im E-Recruiting. Ich habe im IMG unter E-Recruiting die Rückmeldeaktivität "Betriebsratanhörung" angelegt und das Customizing durchgeführt. Wenn ich als nächstes diese Aktivität

  • Sound problems w/iMovie HD

    OK... I've got a MacMini, Sony Digital 8 camera, iMovie HD 6.0.3. When playing my video through the computer (using the on-screen controls), I get no sound. If I uncheck "Filter audio from camera" in the import preferences, I get a little bit of soun

  • Ipod Classic click wheel problam

    So I have an Ipod class that is just over a year old, and today the click wheel stopped working. It still lets me scroll, but when I try to click menu, the middle button, play, etc, it won't do anything. It won't even let me restart because it doesn'