How to take tkprof for a query

Hi,
How to take tkprof for a query?
Nirmal

Take a look at the following documentation link. It details the steps to turn on sql trace and use TKPROF to generate the report.
http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14211/sqltrace.htm

Similar Messages

  • How to take print for Excise invoice in case of STO

    Dear All,
    In the Stock transfer scenario within company code from one plant to another plant ,how to take printout of Excise Invoice created aganinst the 351 material document in the transaction J1IS and and by chosing the ref doc type : MATD
    What transaction is to be used for printout and which output type is to be chosen.
    Thanks & Regards
    Nitin

    Hi,
    Use transaction J1IV -To Post & Print standard Excise invoices. If you want to print excise invoice according to client requirement then develop according to requirement.
    Thanks & Regards
    M P D Kamath

  • Aggregates...How to find out for a query..Any TC??

    Hi friends,
    How to find out whether the query is using aggregates or not, which are built on its base cube. Is there any TCode for it to know?. Without going to Infocube maintenance tab, can we know whether queries use aggegates???
    Thanks
    Murthy

    Go to RSRT transcation in bw
    there u select the query on  cube where u created an aggergates click Execute+debug(you vl be presented with select"show aggregates used"also check Nochache now click the tickmark.
    It  vl show you how many aggegates are there for the cubes and how many aggegates are used for the particular query used .Go to table RSDDSTAT this  shows every navigational step for a query and vch aggregates it used.
    thanks
    Prasanth Reddy

  • How to take report for Employee past pay results!!!

    Hi Experts,
    I would like to know how to generate report for employee's past pay roll, which gives information pertaining to employee's pay hike if any and other details.
    Please advice...subbu14blueatgmail.com
    Thank you in advance for your help.
    Regards,
    Subbu

    Hi,
    Pc00_M40_calc though you can do the live run then
    go PC00_m99_CWTR here you can select the payroll period button
    There you can give the payroll area and selection periods.
    Then you can give the  company code, and what ever you can personnel area wise and all.
    Below that screen you need to select the Lay out variant.
    Then you can execute that report.
    Then you will get the wage types and the amount.
    Any query's let me know.
    Thanks and Regards,
    Revathi.

  • How to Take Migo for 542

    Dear Experts
    How to take migo with 542 with respect to  Purchase order.
    What would be the Parameter for  MIGO 542 with respect to PO.
    Rgds
    Pankaj Agarwal

    Hi ,
    If you want to reverse the 541 movement done then just go to MIGO & do cancellation .It will reverse the 541 & update the 542 movement.
    For Reversing the material through 542 Mvt then go to T.Code MB1B & Put the details such as Vendor,Receipient ,Purchase Order & issuing plant.
    AMIT

  • How to find name for a query

    i want to know one thing how the name for the report is made.
    Transaction code      ZPNL_TESTDEMO
    Package               ZDEV
    Transaction text      FGI3 P&L REPORT
    Transaction        START_REPORT
    D_SREPOVARI-REPORTTYPE = RE
    D_SREPOVARI-REPORT
    D_SREPOVARI-EXTDREPORT
    D_SREPOVARI-VARIANT
    D_SREPOVARI-NOSELSCRN
    D_BACKGROUND_EXEC
    D_SREPOVARI-EXTDREPORT =
    FBRG01FAGLFLEXS                     ZTESTDEMO.
    the question is how to determine the name of the the report to call i.e (FBRG01FAGLFLEXS                     ZTESTDEMO)
    this is made in parameter transaction in se93.

    sorry to say about the query.....actually the report is made in report painter.
    and i am able to see it in fgi3.....
    but the issue is how can i make the transaction that can run that report directly.
    regards
    saurabh

  • How to change infoset for a query in SQ01?

    hi,
    I have created a Infoset which I have assigned to the user group.  Now  for creating the query using this infoset, how can i
    proceed?? Its not giving me the option to change  the infoset
    and whenever I clicks on 'Create' it shows me the field group
    of some other infoset. how can i change it to my infoset which I have created.

    Hi,
    In SQ01 first you press shift+F7 then find your user group. then from infoset query tab ,select ur infoset.
    and do the further processing.
    i hope this information will help you.
    regards
    saurabh

  • How we create system for Bex query

    Hi
    I want to access Bex query in VC , I think we can do this by creating system in poratl. pls tell me how we  create system in prtal for this.
    Regards
    Amit

    Hi Naresh,
    Pls send the Document for me also.
    This is my mail id: [email protected]
    Thanks & Regards
    Prakash T

  • How to find GENUNIID  for a query/report

    Hello All,
    I have a report/query and i need to find GENUNIID. Please provide me the table name. There is one table RSRREPDIR but i am not able to find out the report name/query name out of this. Please help me.
    Thanks,
    Rathy.

    Chek this FM RRI5_GENUNIID_FROM_COMPUID_GET.
    For compuid , check RSZELTDIR , give query name in MAPNAME fileld , corresponding ELTUID is the compuid to be given in above FM
    Edited by: Neetika Sharma on Jun 3, 2010 8:30 AM

  • How to take screenshots for 4.7" and 5.5" ios devices?

    Hi all,
    I usually create screenshots of my AIR apps using a combination of actual screenshots on devices I own, and screenshots of the standalone player by testing the AIR app on my development machine.
    However, I don't own any of the new 4.7" or 5.5" iOS devices, and the resolutions for those are larger than my screen, so I can't take a screenshot that way.  The screens are 750x1334 and 1242 x 2208 respectively.
    My app is portrait only.
    The standalone flash player automatically resizes down to fit within the screen when it launches. If it didn't, I'd be able to move it around, take screenshots, and stitch the images together.
    Does anyone have any tips? Maybe a way to ensure the flash player window doesn't resize to fit within the bounds of my screen?
    Cheers,
    Peter

    I figured it out
    When running the app locally, need to set <fullScreen>false</fullScreen> to stop the flash player sizing down.
    Then I stacked my monitors vertically instaed of side-by-side (not physically, just in display settings) to take screenshots.
    Hope it helps someone else!

  • How to take printout for Purchase Order..

    I have created one purchase order in ME22N.Now I would like to take printout,In whch transaction I have to take printout.guide me on this.

    Hi Jaya Kumar
    For print out, necessary customization like attaching Output type to the document type and pre-requisites are to be done.
    Once done, you will find the output type generated via ME22N: Menupath: Goto->Messages.
    Regards
    Eswar

  • How to take refunds for iTunes AppStore purchases?

    I was searchiing on how to get rdturn unwanted apps bought from iTunes appstore? I talked to developer also but he was also not having any idea. Appreciate if somebody can let me know how can I get refunds from itunes appstore?
    Thanks
    Adi

    http://www.apple.com/support/itunes/store/buy_troubleshooting/
    scroll down to:
    How can I prevent accidental purchases?
    Use the Shopping Cart to review your purchases before you buy. The items in your cart are not downloaded or charged to your credit card until you click the Buy Now button. Read this article to learn how to turn on the Shopping Cart in iTunes.
    If you accidentally purchased a song or video that you meant only to preview, please follow the steps below to report the problem directly through your Purchase History.
    To report an accidental purchase:
    Locate the item in your Purchase History
    Click the "Report a Problem" link
    Select "I inadvertently purchased this item" from the drop down menu
    Enter notes explaining the situation in the Comments section
    Our support agents will review your request and get back to you as quickly as possible.

  • How to write SQL for this query

    Hi, All
    I have table which sample data are shown below
    CLM_NO. CLM_RUN PARTY PAY_CD
    2006213103246      2006085483      PA010193 3CO11
    2006213103246      2006085483 PA010193 3CO17
    2006213103246      0000000000 PA084113 2CO11
    2006213103246      0000000000 PA000001 2RK11
    2006213103246      0000000000 PA082822 3CO11
    2006213103270      0000000000 PA000001 2RK11
    2006213103270      0000000000 PA032456 3CO11
    for each clm_no , if data only have zero the report must show pay_cd minimum value(2RK11) but when clm_run have both zero and nonzero data the report will show minimum pay_cd of record that have clm_run nonzero data(3CO11)
    Thank you
    Mcka

    Hi Mcka
    Based on the example you have provided, we should have only the following two rows in the final result:
    CLM_NO. CLM_RUN PARTY PAY_CD
    2006213103246 2006085483 PA010193 3CO11
    2006213103270 0000000000 PA000001 2RK11
    The first line is displayed because even though there are 6 rows for CLM_NO 2006213103246, with a combination of zero and non-zero CLM_RUNS, we need to display the non-zero row containing the minimum PAY_CD.
    The second line is displayed because both rows have a zero CLM_RUN and we need to display the row which has the lowest PAY_CD.
    If this understanding sounds right to you then you need to create the following condition:
    RANK() OVER(PARTITION BY CLM_NO ORDER BY CLM_RUN DESC, PAY_CD ASC) = 1
    Can you follow what this is doing?
    Basically, for each CLM_NO, identified by the clause PARTITION BY CLM_NO, we are ranking the combination of CLM_RUN and PAY_CD where the CLM_RUN is sorted in high to low order and the PAY_CD is sorted in low to high order. This will cause Discoverer to allocate an ascending range of numbers starting with 1, where 1 corresponds to the row you are looking for. If we create a condition such that this whole expression equals 1 then we must display only the rows that you want, with one row being displayed per CLM_NO.
    Note: This works so long as the same CLM_NO cannot have two or more different CLM_RUN numbers where one of the higher CLM_RUNs has a lower PAY_CD than the other non-zero CLM_RUNs.
    It also makes the assumption that for a given non-zero CLM_RUN there will not be two or more identical PAY_CDs. If this condition can exist then you could exclude duplicate values from the report. If you have never done this there is a checkbox called Hide Duplicate Rows on the Layout tab of the Edit Worksheet Dialog box.
    Best wishes
    Michael

  • How to take report for authorization in sap hr

    I am new to this feild . I was inquisitive about taking out reports.Can i take out report based on role.The reports contains which authorization object ,PA/PSA,EG/ESG,which planned version.
    I meant to say every thing which ever appears in the authorization objects..
    Please help

    You can get this info from table AGR_1251
    If you need to report on org levels too then you will need to use agr_1252 as well

  • How to use case for this query.

    I have this table name Employee.
    columns..
    EmpId,
    EmpType,
    Joining date,
    Resigning date
    Now in EmpType either it can be 'P' OR 'C'
    so i want to check if the EmpTYpe is 'P' then joiningdate should not be null
    and if the EmpType is 'C' then Resigning date should not be null.
    Then only want those records from employee.
    Please help.

    978172 wrote:
    I have this table name Employee.
    columns..
    EmpId,
    EmpType,
    Joining date,
    Resigning date
    Now in EmpType either it can be 'P' OR 'C'
    so i want to check if the EmpTYpe is 'P' then joiningdate should not be null
    and if the EmpType is 'C' then Resigning date should not be null.
    Then only want those records from employee.
    Please help.
    -- EmpId, EmpType, Joining date, Resigning date
    select * from Employee
    where (EmpType = 'P' and JoiningDate IS NULL) OR (EmpType = 'C' and ResigningDate IS NULL);

Maybe you are looking for