How to find all the sql executed in the database
Hi
We want to be able to collect all the sql statements executed in the database and be able to dump them in a file or a table. Can anyone tell me how we can get that done?
Regards,
if you are using oracle 10g, you can use one of the
option of datapump tool to do thisthat's new to me, can you show us how ?
For OP, you can check v$sqlarea view to find out all the sql statement still in shared_pool, however, there's no guarantee you will have all sql executed since database started.
Like other poster mentioned, enable auditing if you want to collect that information.
Similar Messages
-
How to find all the tables associated for a particular transaction
Hi-
May I know how to find all the tables, related(foreign key) tables for a transaction within SAP GUI?
Up to my technical knowledge, this can be achieved by looking database diagrams from DB level. But that would be for entire database as a whole. What I'm expecting is to see transaction level relative tables that too from SAP GUI. Please share the possibilities if any.
Regards
SekharDear Micky Oestreich
May be we possess expertise or high level experience, it should not show up in our way of communication. Every professional starts with the basic stuff to learn. When the question is raised in such minimum polite way, the same level of courtesy is expected in return. If you felt my question was basic, you might have refused it gently. If you are in good mood or bad mood it doesn't matters.
Hi Vengal Rao
Thanks for your response. It helped me.
Regards
Sekhar -
How to find all the shopping carts for a Supplier
Hello if i have the supplier , how can i find ALL the shopping carts associated to him?thx
Hi,
Try the below & let me know:
1) Go to table "BUT000", enter the Partner No & get the PARTNER GUID.
2) Go to table "BBP_PDVIEW_INDEX", copy the partner GUID in the field "IPARTNER_NO". Enter BUS2121 as the OBJECT_TYPE & execute. You could even restrict the display list by the Partner function value (39 or 19).
Cheers,
Akash -
How to find all the changes management details (thr DB tables or FMs)
Hi Experts,
Could anyone please tell me how to get all the Change management details.
I mean are there any database tables or FM through which I can get all the Changes Management(CHARM) details.
like status,priority,texts,descriptions etc...
I need them for an interface....
Thanks
Yogesh GuptaHi,
Yet another request to use my crystal ball.
We had one pc which is having oracle 9i enterprise manager configured(windows 2000) only to connect the db.
This remembers me of the Gospel of St. Luke, chapter 2, where it is stated,
'and they found the child in the manger'.
This resulted a Jewish theologian to remark: 'The manger? Well, so that must have been their own manger'
So what does 'the' db mean? The Linux one? Or a separate on Win2000?
It is quite possible to manage a Linux database using OEM on Win2000, with OMS on Win2000.
'But our server is not having enterprise manager'. Yet another riddle. Which server? There seem to be at least two.
1 Now if I drop these tables, will I be able to connect to our database using the windows2k pc through Enterprise Manager?
Yes, but only in standalone mode, and you can't use OEM alerts, and jobs anymore. You would be better off using Sqldeveloper, as OEM Sql worksheet is a nightmare.
2 That is your decision.
3
oemctl ping oms
will check whether you have an Oracle Management Server running.
You already seem to have the Enterprise Manager Repository, so you must have OMS running somewhere. (Why install the repository, if you don't use it)
Sybrand Bakker
Senior Oracle DBA -
How to find all the user exits includes ,
Hi All ,
I need to find all the includes which are created for purpose of implementing user exits , I know they all start with ZX* but where to get the list .
THank you all
Vinay KollaHi Vinay....
Just excute following program in your ABAP Edter....
( Input parameters: T'CODE and User exit type.)
>TABLES: MODSAP, MODACT, TSTC.
>
>PARAMETERS: INPUT1 LIKE TSTC-TCODE DEFAULT ' ',
> INPUT2 LIKE MODSAP-TYP DEFAULT ' '.
>
>DATA: SEARCH1(6),
> SEARCH2(3),
> SEARCH3 LIKE MODSAP-MEMBER.
>DATA : FIRST_ROW VALUE 'Y'.
>
>CONCATENATE: '%' INPUT1 '%' INTO SEARCH1,
> '%' INPUT2 INTO SEARCH2.
>
>SELECT * FROM TSTC WHERE TCODE LIKE SEARCH1.
> FIRST_ROW = 'Y'.
> CHECK TSTC-PGMNA NE SPACE.
> CONCATENATE '%' TSTC-PGMNA '%' INTO SEARCH3.
> SELECT * FROM MODSAP WHERE TYP LIKE SEARCH2
> AND MEMBER LIKE SEARCH3.
> SELECT SINGLE * FROM MODACT WHERE MEMBER = MODSAP-NAME.
> IF FIRST_ROW EQ 'Y'.
> WRITE: /0 TSTC-TCODE, 6 TSTC-PGMNA, 16 MODSAP-NAME, 32 MODSAP-TYP,
> 45 MODSAP-MEMBER, 70 MODACT-NAME.
> FIRST_ROW = 'N'.
> ELSE.
>WRITE: /16 MODSAP-NAME, 32 MODSAP-TYP, 45 MODSAP-MEMBER, 70 MODACT-NAME.
> ENDIF.
> CLEAR : MODSAP, MODACT.
> ENDSELECT.
> IF SY-SUBRC NE 0.
> WRITE : /0 TSTC-TCODE, 6 TSTC-PGMNA, 30 'No exits found'.
> ENDIF.
> CLEAR TSTC.
>ENDSELECT.
>
>END-OF-SELECTION.
> CLEAR: SEARCH1, SEARCH2, SEARCH3.
Thanks,
Naveen Inuganti. -
How to find all the parts used from stock for 1 machine
Dear Sap community,
I'm trying to find all the spare components that are used for 1 specific machine.
If I look in the work orders under components it only gives the components that are orderd.
But I would like to find the components that come out of stock. I asked the stockkeeper and he said he writes it all in the work orders but we can't find it back.
It would be nice to just find it on the work order but it would be easier if I could just choose a machine and then find all the spare parts used from stock.
So my question is can I find all the spare parts used for 1 machine or just find the spare parts in the work order?
Thank you for any help you can provide in this situation,
Michael ClaesHi,
In addition to puneet's information:
Training and Event Mgmt infotypes:
Prices (Infotype 1021)
Availability Indicators (Infotype 1023)
Capacity (Infotype 1024)
Depreciation Meter/Validity (Infotype 1025)
Business Event Info (Infotype 1026)
Site-Dependent Additional Info (Infotype 1027)
Address (Infotype 1028)
Business Event Type Info (Infotype 1029)
Procedure (Infotype 1030)
Mail Address (Infotype 1032)
Name Format (Infotype 1034)
Schedule (Infotype 1035)
Costs (Infotype 1036)
Billing/Allocation Info (Infotype 1037)
Business Event Blocks (Infotype 1041)
Schedule Model (Infotype 1042)
Demand (Infotype 1060)
Web Link (Infotype 1061)
Knowledge Link (Infotype 1062)
Business Event Group Info (Infotype 1063)
Thanks,
Anil.G -
How to find all the DDIC tables and fields of Tcode?
Hi All,
For several transactions we have caprtured all the filed names along with the technical names.
Ex : in VA03 - in the initial screen ,postal code field is there.When i see F1 help for that field i could see POST_CODE2 as its technical name.
But i want to see the actuall DDIC table field which corresponds to this field that is LFA1-PSTLZ.
Like wise there are so many T-codes for which i need do the same thing.But for some transactions i am unable to find out the database tables and the corresponding fields.Please suggest any other easier way to do this.
Is there any way to find out all the DDIC tables and fields that gets updated for a Tcode?
Please help me out in this.
Thanks,
Jyothi D.
Edited by: jyothi dosapati on Mar 27, 2008 2:48 PMHI,
DDIC tcode is SE11
GIVE THE TABLE NAME THERE AND CLICK DISPLAY
FOR EXAMPLE
TYPE LFA1 THERE AND CLICK DISPLAY....
Regards,
V .Balaji
Reward if usefull -
How to find all the photos whose date has been modified?
I have recently exported my entire collection of photos and I realized that (perhaps) some of the photos whose dates I have modified in iPhoto, have not been exported with the updated date but maybe the original dates.
Is there a way for me to find all the photos whose dates I modified in iPhoto?no
LN -
How to find all the methods in oops
Hi all,
is there any way to find all the methods of all class in a single screen j(ust like using t.code se37 we can find all the fm created)
sathishHi,
1.Go to the class builder(SE24).
2.Type the class name[eg..cl_gui_alv_grid]
3.You will see a tab called methods.Click that.In that,you can view all the methods.Place the cursor in a method and click parameter tab.You can find the parameters for the method.
Kindly reward points by clicking the star on the left of reply,if it helps. -
How to find all the objects by Module.
Hey all,
Can any one please help me in finding all the objects by Module.
I need to have all the objects(like app engines, records, fields, file layouts, etc,.) in AP, AM, GL, BI, AR.
thank you,
Bye.You can use the OwnerID field as a starting point. The reason why i say that is because there are some objects that cross-over between more than one module.
http://www.CompShack.com -
How to find all the instances for specific recurring report
How can I use UQery Builder to find out all the instance related to specific Recurring job. I have tried using following query to get the result with poor performance.
select SI_ID, IS_SCHEDUILE_STATUS from ci_infoobjects where SI_NEW_JOB_ID = 2604480
Since I find that SI_ID stores the current instance id and SI_NEW_JOB_ID stores the recurrign job's ID.
Please Help.
Edited by: Gabriel Luk on Feb 14, 2011 5:21 PMI can not find 'SI_KEYWORD' is a indexed properties in following SAP Notes.
1364250 - Which BusinessObjects Enterprise InfoObject properties are indexed
1499196 - Which of the InfoObject properties are indexed
Edited by: Gabriel Luk on Feb 15, 2011 5:09 AM -
How to find all the table used in a report
Hi Expert ,
Is there is any program to find out all the tables which are used in a perticular report .
Thanks in advance
TarakWell, so far Viquar Iqbal has given the only really correct answer - use SQL trace. The reason the others are incomplete, is because they don't consider that a report might call a function module or a class method that accesses a table. In fact, for many applications this is exactly what happens - db accesses are abstracted away from the main program.
The other alternative to SQL trace is to use Run Time Analysis. The advantage of SQL trace is that it shows the tables hit in order.
matt -
How to find all the tables by feild value in oracle
Hi ...
I have a requirement to find the tables in a particular schema(suppose DEMO) by Field value..
Ex:
suppose in a schema called DEMO i have the tables.......T1,T2,T3,T4,T5..
all the above tables have the name column..
now i wan to know the tables whose column(name) have value as rajani.......
pls help.........
thank you
.+Solutions from previous requests for the same...
michaels> var val varchar2(5)
michaels> exec :val := 'as'
PL/SQL procedure successfully completed.
michaels> select distinct substr (:val, 1, 11) "Searchword",
substr (table_name, 1, 14) "Table",
substr (t.column_value.getstringval (), 1, 50) "Column/Value"
from cols,
table
(xmlsequence
(dbms_xmlgen.getxmltype ('select ' || column_name
|| ' from ' || table_name
|| ' where upper('
|| column_name
|| ') like upper(''%' || :val
|| '%'')'
).extract ('ROWSET/ROW/*')
) t
-- where table_name in ('EMPLOYEES', 'JOB_HISTORY', 'DEPARTMENTS')
order by "Table"or
11g upwards
SQL> select table_name,
column_name,
:search_string search_string,
result
from (select column_name,
table_name,
'ora:view("' || table_name || '")/ROW/' || column_name || '[ora:contains(text(),"%' || :search_string || '%") > 0]' str
from cols
where table_name in ('EMP', 'DEPT')),
xmltable (str columns result varchar2(10) path '.')
TABLE_NAME COLUMN_NAME SEARCH_STRING RESULT
DEPT DNAME es RESEARCH
EMP ENAME es JAMES
EMP JOB es SALESMAN
EMP JOB es SALESMAN
4 rows selected. -
How to find all the jre's installed on desktop
I have installed JRE131, 142, 150 on my destop. How do I find out all these JRE versions using a Java Program or JavaScript?
Thanks in advanceLet me explain my question again.
We have "java applications" written to run with JRE 1.3.1, 1.4.2 and 1.5 (default JRE - higher version) etc, we are trying to access these applications using java web start. As we know that Java web start has an in-built capability to find required JRE installed on the remote PC(Using Native library). If the required JRE is not installed on remote PC, then the JNLP will make call to java.sun.com/autodl to download 1.2 version of JRE which we don't want that to happen(bcos of internal policy), rather we would like to determine whether or not this JRE is already exist on the remote client from the browser where the below JNLP is called to invoke the application. I do know that we dont have direct ability to check the JRE existence except default JRE(ie higher version among installed JREs, In here JRE 1.5 as mentioned above) using java/javascript. Take a look at the below applet code which would return only current jre version as if 1.3.1 and 1.4.2 are not installed although they exist. What I'm trying to do now is to populate a message on the IE browser itself to remote user saying that this 1.2 JRE is not installed, so please install it before calling below JNLP. So, How do I find out all the JREs installed on PC not just default JRE? I hope the question now is clear
Thanks thanks....
<?xml version="1.0" encoding="UTF-8"?>
<!-- file Hello.jnlp -->
<jnlp codebase="http://staff.develop.com/halloway/TechTips/May2001"
href="http://staff.develop.com/halloway/TechTips/May2001/Hello.jnlp">
<information>
<title>Hello</title>
<vendor>Tech Tips Sample May 2001</vendor>
<icon href="HelloJNLP.jpg"/>
</information>
<resources>
<j2se version="1.3"/>
<jar href="HelloJNLP.jar"/> --- This is the Java Application and will run on remote client using java web start
</resources>
<application-desc main-class="HelloJNLP"/>
</jnlp>
import java.applet.Applet;
import java.awt.Label;
public class Detect extends Applet
public Detect()
public void init()
add(new Label("Detection of the Java Plugin"));
public String getJavaVersion()
return System.getProperty("java.version");
//return System.getProperty("java.specification.version");
} -
How to find all the cubes update rules transfer rules ,programms ,ds,ect
HI SDN
Is there any tables for finding update rules,cubes,multiproviders in the system.
can any body tells me the tables for the objects all the objects
thxHi Rubane,
These the tables which gives relevant info,
Here are few of those -
Thought it may be of some use if we make a list of useful BW tables
for instance
v_rszglobv = variables
/bic/f (cubename) is the fact table of a content cube
/bic/D (cubename) P is the package dimension of a content cube
/bic/D(cubename) U is the unit dimension of a content cube
/bic/D(cubename) T is the time dimension of a content cube
/bic/D(cubename) I is the userdefined dimension of a content cube
/bic/m (object name) master data of object
/bic/t (object name) text data of object
/bic/H (object name) hierarchy data of object
you can replace the BIC with BI0 for business content object and cubes
RSDIOBJ - index of all InfoObjects
RSSELDONE - Monitor: Selections for executed request
RSREQDONE - Monitor: Saving of the QM entries, state of the uploads, all info about the upload via request number, field: RNR
ODS Table names
1.New data: /BIC/A (ODS NAME)40
2.Active data: /BIC/A (ODS NAME)00
3.Change log: /BIC/B ( NUMBERS)
RSRREPDIR which is the table containing all your reports.
RSTSODS - table that contain relation between "ODS Name" and PSA Table.
TBDLS - Logical system customization, when you run TA: BDLS
EDP21 - Partner Profile, when you run TA: WE20
RSBASIDOC - Assignment of source systems to BIW systems incl. IDoc type
In V_COMPDIR_COMPIC you can also see all your reports. The advantage is that you can see the name/text of the query, not only the technical id.
RSDCUBEIOBJ Objects per InfoCube (where-used list)
RSDODSOATRNAV InfoObject in ODS (navigational attributes)
RSDODSOIOBJ InfoObject in ODS
RSDIOBJT InfoObject texts
RSDIOBJ Directory of all InfoObjects
RSDKYF Key figures
RSDBCHATR Master data attributes
RSBBSQUERYDIR BW: Directory of the Query Sender
RSBBSQUERY BW: Query Receiver
RSBBSQUERYT BW: Texts for Query Receiver
TQOP Compare Operators for View Maintenance Query
TQOPT Compare operators for view maintenance query (texts)
TQLOT Logical operators for view maintenance query (texts)
ROMSDIOBJ BIW: Assignment of master data attributes to InfoObjects
RODCHA BIW: InfoObjects / characteristics
RODIOBJCMP BIW: InfoObjects / compounding
RODKYF BIW: Key figures
ROAPPLT BIW: Name of the application components
RSUICDONE BIW: Selection table for user-selection update ICs
RODTIM BIW: Time characteristics
RODUNI BIW: Units
RSIST InfoSource texts
RSIS InfoSource (transaction data)
RSISOSMAP Mapping Between InfoSources and OLTP Sources
RSOSFIELDMAP Mapping Between OLTP Source Fields and InfoObjects
RSUPDDAT Update rules key figures
RSUPDKEY Update rule: Key per key figure
RSUPDROUT Update rules - ABAP routine - check table
RSRWBINDEXT Titles of binary objects (Excel workbooks) in InfoCatalog
RSRWORKBOOK 'Where-used list' for reports in workbooks
RSDDIME Dimensions directory
RSDDIMEIOBJ InfoObjects per dimension (where-used list)
RSDDIMET Dimension Texts
RSZCOMPDIR Directory of reporting components
RSZELTATTR Attribute selection per dimension element
RSZELTDIR Directory of the reporting component elements
RSZELTTXT Texts of reporting component elements
RSZELTXREF Directory of query element references
RSZGLOBV Global Variables in Reporting
RSDCUBET Texts for the InfoCubes
SMEN_BUFFC-Table for Storing Favorites.
tables which hold the list of BEx Queries, Web Reports, and Workbooks,
RSRREPDIR
RSZCALC
RSZCEL
RSZCHANGES
RSZCOMPDIR
RSZCOMPIC
RSRWORKBOOK
RSZCOMPDIR - Directory of reporting components
RSZELTDIR - Reporting Component Details
RSBCT_NAVKEY_T
RSBCT_NAVKEYDET
check it in the following table
RSDDAGGL
RSDDAGGLF
RSDDAGGRDIR
RSDDAGGRDIR_M
RSAABAP - Routines
Thanks,
Sudhakar.
Maybe you are looking for
-
i downloaded an adobe flash update and my computer after next logon got a blue screen. I could only start in safe mode and until uninstalling the flash player could i start in safe mode with networking. i cannot open any microsoft products now. I g
-
Hi, I need a report to see total sales by sales employee wise. We are using HR module and I am able to select sales employee in my sales order from the HR master. However when I run the report MCTI, I am not able to select the sales employee (no drop
-
Break link to Cell and Table Style and keep the style setting
For cell Selection is work (but can't keep the style setting after break the link), but I also want to break the table style, but error For both Break link to cell/table style, I want to keep the style setting after break the link BreakLinkToTableSty
-
Reg : Two Drop Down's on Adobe Form
Hi , I have a form on which I placed two Dropdown fields and I bounded them to the same internal table. The internal table has 10 records with a blank record as the first record. When I execute the form u2026 first dropdown shows blank record as the
-
Sun coding conventions for documentation are horribly outdated!
Seriously I have seen 10 different formats on searching that look way better and the fact the conventions on display from sun date to 1999 is very confusing. Can I ask which is preferred (I am doing the SCJD and here is an example of format vs format