Finding tables with their short descriptions or finding short descriptions
Is there any Tcode at whose screen I can find the short explanation / description of the tables (for example short description for VBAK: Sales Document - Header Data). Also is there any Tcode at whose screen I can make search with keywords for finding the tables that I need.
Is there any Tcode at whose screen I can find the short explanation / description of the tables (for example short description for VBAK: Sales Document - Header Data).
Check the tables in T.Code SE11:
DD02L : ALL SAP TABLE NAMES
DD02T : DESCRIPTION OF TABLE NAMES
DD03L : FIELDS IN A TABLE.
Also is there any Tcode at whose screen I can make search with keywords for finding the tables that I need.
Reward Points if useful.
Similar Messages
-
Find - tables with largest number of records?
Hi,
I need to find tables with largest number of records. Any transaction show this details?
aRsGo to transaction DB02, then click on the button that reads, "Space Statistics", the dialog box, click ok, leave the "*" for all tables, In the next screen put your cursor in the appropriate column labeled as Rows and click the sort button. Now you will see your biggest tables at the top of the list.
Regards,
Rich Heilman -
How to select all the colomns_names from a table, with their datatypes ..
hi :)
i would like to know, how to select in SQL all the columns names from a table with their datatypes so that i get something like this :
Table 1 : table_name
the column ID has the Datatype NUMBER
the column name has the Datatype Varchar2
Table 2 : table_name
the column check has the Datatype NUMBER
the column air has the Datatype Varchar2
and that has to be for all the tables that i own ! ..
P. S : i m trying to do this with java, so it s would be enough if you just tell me how to select all the tables_names with all their colums_names and with all their datatypes ! ..
thank you :)
i ve heard it can be done with USER_TABLES .. but i have no idea how :( ..
Edited by: user8865125 on 17.05.2011 12:22Hi,
The data dictionary view USER_TAB_COLUMNS has one row for every column in every table in your schema. The columns TABLE_NAME, COLUMN_NAME and DATA_TYPE have all the information you need.
Another data dictionary view, USER_TABLES, may be useful, too. It has one row pre table. -
How to find table with colum that not support by data pump network_link
Hi Experts,
We try to import a database to new DB by data pump network_link.
as oracle statement, Tables with columns that are object types are not supported in a network export. An ORA-22804 error will be generated and the export will move on to the next table. To work around this restriction, you can manually create the dependent object types within the database from which the export is being run.
My question, how to find these tables with colum that that are object types are not supported in a network export.
We have LOB object and oracle spital SDO_GEOMETRY object type. our database size is about 300G. nornally exp will takes 30 hours.
We try to use data pump with network_link to speed export process.
How do we fix oracle spital users type SDO_GEOMETRY issue during data pump?
our system is 32 bit window 2003 and 10GR2 database.
Thanks
Jim
Edited by: user589812 on Nov 3, 2009 12:59 PMHi,
I remember there being issues with sdo_geometry and DataPump. You may want to contact oracle support with this issue.
Dean -
SQL: Find table with max no. of rows
I have a table containing list of table names for each owner; as
## Table: db_tables
OWNER TABLE_NAME
a ta_1
a ta_2
a ta_3
b tb_1
b tb_2
c tc_1
Now, i want to know the table with max. no. of rows for each owner
Plz....can anyone gimme a solution for the above ......Assuming 10g and above:
SQL> SELECT owner,
MAX(table_name) KEEP (DENSE_RANK FIRST ORDER BY XMLQUERY (t RETURNING CONTENT).getnumberval() DESC) table_name,
MAX(XMLQUERY (t RETURNING CONTENT).getnumberval()) cnt
FROM (SELECT owner,table_name, 'count(ora:view("' || table_name || '"))' t
FROM all_tables
WHERE owner IN ('MICHAEL','SCOTT'))
GROUP BY owner
OWNER TABLE_NAME CNT
MICHAEL SERVICE_ZIP 1000000
SCOTT EMP 14
2 rows selected. -
Find table with wbs element list
Hi experts,
i have the wbs element id number (i found it from a function)
but i dont know how can i find the wbs element description table.
any help will be appreciated.
Michal.i found it,
thanks.
Michal. -
Find table with budjet records
At which table can i find budjet records that was created at t.code FR04 and FR50?
Hi,
Since, you mentioned former budgeting, the tables are BPJA, BPBK, BPDJ, etc. The tables mentioned by other user correspond to BCS.
As a general remakr: if you want to find a table for certain transaction do the following
a) open a separate session and run ST05 transaction
b) push 'activate trace' button
c) in another session run the transaction you want to examine
d) go to the session of ST05 and push 'deactivate trace' button
e) push 'display trace' button
You will see all the tables and SQLs involved in the business process.
Regards,
Eli -
How could I find table with match codes
I have to enlarge matchcode for table fields. How could I do that. Where to find it and how
I would highly appreciate an example
Thank you in advanceHi,
Matchcode objects replaced by the Search help
PARAMETERS p ... MATCHCODE OBJECT search_help.
so you will find this in the SE11, give the name of the object in the search help and press Display you will get that one, if you want to enlarge that one you need to write the search help exits...
All search help exits must have the same interface as the function module F4IF_SHLP_EXIT_EXAMPLE. However, you can define any number of additional optional parameters, especially exporting parameters. For further information about the interface, refer to the function module documentation.
Look at the below SAP help examples ..
http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee52446011d189700000e8322d00/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbaa5435c111d1829f0000e829fbfe/content.htm
Regards
Sudheer -
Query to find tables with excessive initial extent settings
After loading a database dump we found many tables occupying large space due to large initial extents storage parameter but with very few rows and am trying to determine if it would be worth the effort to reorganize the entire schema. In other words, we are looking for a query to compare the estimated actual space that would be occupied by the table rows vs. the current size to see the space savings if we were to reorganize.
I hacked out a script to calculate the estimated size using the table stats (or 64K if estimate is lower) and compared that vs. the extents allocated to each table but this seems a rather inexact way of doing it. Is there a more accurate approach?
Doing this on Oracle database 10.2.0.4 on Windows Server 2003 SE
SELECT a.table_name,
b.table_size_MB,
ROUND((a.num_rows * a.avg_row_len) / (1024 * 1024),2) calc_size_MB,
b.table_size_MB - GREATEST(ROUND((a.num_rows * a.avg_row_len) / (1024 * 1024),2), 0.0625) savings_MB
FROM dba_tables a,
(SELECT segment_name, sum(bytes)/(1024*1024) table_size_MB
FROM dba_extents
WHERE tablespace_name like 'PMDX' and segment_type = 'TABLE'
GROUP BY segment_name) b
WHERE a.owner = 'CAS' and a.table_name = b.segment_name
ORDER BY b.table_size_MB desc
TABLE_NAME TABLE_SIZE_MB CALC_SIZE_MB SAVINGS_MB
TPM06_POL_DATA_WRK_PREV 640 493.46 146.54
TPM06_POL_DATA_WRK_CURR 640 496.57 143.43
TPM06_POL_DATA_201006 640 496.8 143.2
TPM06_POL_DATA_201005 640 494.87 145.13
TPM06_POL_DATA_201004 640 490.45 149.55
TPM07_MOV_DTLS_WRK 256 198.66 57.34
...Hi,
Didn't you check the dba_extents view with respect to the tables which you estimated.
After loading a database dump we found many tables occupying large space due to large initial extents storage parameterYou might have modified the initial extent size before to your load by pre-created tables ,which might helped out with current situation prior to this as you might be well known with your current database. Does the segement using Autoallocate or Uniform. What is the block size of DB.
- Pavan Kumar N -
Summ up the amount of two tables with their +/- sign
Hi All
I am stuck up in logic,
Scenerio is .
I have to fetch amount(BSID-WRBTR) field from BSID as well as from BSAD(BSAD-WRBTR) on the input of ( company customer , year period & countyr) it can be with positive or negative value as functional says and it would be recognised on the basis of their debit and credit indicator(BSID-SHKZG), now
My question is If i have to sum the amount of both tables.
first i have to associate the plus or minus sign with them on the basis of their debit and credit indicator (BSID-SHKZG). now how to do it.
please let me know any sample program or logic to sum the amount on the basis of their +/- sign.
points will be Rewarded.Hi....
Here you hav to go for COLLECT statement in the loop....
loop at it_final1.
read table it_final with key bukrs = it_final1-bukrs
hkont = it_final1-racct.
if sy-subrc = 0.
it_final1-CrAmt = it_final-CrAmt - it_final1-CrAmt .
it_final1-DeAmt = it_final1-DeAmt + it_final-DeAmt .
append it_final1 to it_final2.
else .
append it_final1 to it_final2.
clear it_final1.
endif.
endloop.
loop at it_final .
read TABLE it_final1 with key bukrs = it_final-bukrs
racct = it_final-hkont.
if sy-subrc <> 0.
it_final2-bukrs = it_final-bukrs.
it_final2-racct = it_final-hkont.
it_final2-DeAmt = it_final-DeAmt.
it_final2-CrAmt = it_final-CrAmt.
append it_final2.
clear:it_final2.
endif.
endloop.
write:/ a, (9)it_final2-bukrs ,
a, (15)it_final2-racct,
a, (15)it_final2-deAmt,
a, (15)it_final2-CrAmt,
a.
endloop.
write:/(67) sy-uline.
ENDFORM. " display_output
*& Form sub_get_glt0
FORM sub_get_glt0 .
select bukrs ryear racct drcrk tslvt hslvt
from glt0 into table t_glt0
where bukrs = 'code'
and ryear = '2007'.
ENDFORM. " sub_get_glt0
*& Form it_final1
FORM it_final1 .
loop at t_glt0.
if t_glt0-drcrk = 'S'.
move t_glt0-tslvt to it_final1-DeAmt.
else.
move t_glt0-tslvt to it_final1-crAmt.
endif.
move t_glt0-bukrs to it_final1-bukrs.
move t_glt0-racct to it_final1-racct.
collect it_final1.
clear:it_final1.
clear:t_glt0.
ENDLOOP.
ENDFORM. " it_final1
Thanks,
Naveen.I
Edited by: Naveen Inuganti on Jun 18, 2008 10:49 AM -
Find rows from a table with no Activities
Hi,
I have a ‘Data’ table in relation with a ‘Note’ table with a date and I would like to find all the rows in the ‘Data’ table that do not have any ‘Note’ taken in the the last 3 months (including no ‘Note’ at all)?
THanks,Hi,
934281 wrote:
Thanks for the great and quick answers!
Could someone tell me what is the difference between the 2 methodes (Not Exist vs Not In)?They can usually be used to get the same results. Sometimes, it's easier to understand the logic of one rather than the other. Use whichever one you prefer. I can't guarantee that the optimizer won't do exactly the same thing, regardless of which one you use.
Also, I would I add in the Select the Date of the most recent Note and sort ASC so that I could have the Data that had not activity in the last 3 months and sorted by the one that had no activity the longest time ago first?In that case, I suggest a join, rather than either EXISTS or IN:
WITH got_r_num AS
SELECT d.*
, n.notedate
, ROW_NUMBER () OVER ( PARTITION BY d.id
ORDER BY n.notedate DESC NULLS LAST
) AS r_num
FROM data d
LEFT OUTER JOIN note n ON n.dataid = d.id
SELECT * -- Or list all couumns except r_num
FROM got_r_num
WHERE r_num = 1
AND NVL ( notedate
, SYSDATE - 99 -- or any date more than 3 months ago
) < ADD_MONTHS ( SYSDATE
, -3
ORDER BY notedate
;If you'd care to post some sample data (CREATE TABLE and INSERT statements), and the results you want from that data, then I could test this.
When you say you don't want dates within the last 3 months, I assume you're including dates in the future. (Future dates may be impossible in your table, anyway.)
3 months can be as short as 89 days or as long as 92 days. I used ADD_MONTHS (sysdate, -3) to get exactly 3 months; you can use SYSDATE - 90 if that suits your needs. -
Finding a table with a like %name% in a schema
What is the query I should use to find a table with a like %name% in a schema?
Thank you for any helpselect * from all_tables
where owner = 'YOUR_SCHEMA' and lower(table_name) like '%name%'
/Regards
Dmytro -
Find size of table with XMLTYPE column STORE AS BINARY XML
Hi,
I have a table with structure as:
CREATE TABLE XML_TABLE_1
ID NUMBER NOT NULL,
SOURCE VARCHAR2(255 CHAR) NOT NULL,
XML_TEXT SYS.XMLTYPE,
CREATION_DATE TIMESTAMP(6) NOT NULL
XMLTYPE XML_TEXT STORE AS BINARY XML (
TABLESPACE Tablespace1_LOB
DISABLE STORAGE IN ROW
CHUNK 16384
RETENTION
CACHE READS
NOLOGGING)
ALLOW NONSCHEMA
DISALLOW ANYSCHEMA
TABLESPACE Tablespace2_DATA
- So HOW do I find the total size occupied by this table. Does BINARY storage work as LOB storage. i.e. I need to consider USER_LOBS as well for this.
OR foll. will work
select segment_name as tablename, sum(bytes/ (1024 * 1024 * 1024 )) as tablesize_in_GB
From dba_segments
where segment_name = 'XML_TABLE_1'
and OWNER = 'SCHEMANAME'
group by segment_name ;
- Also if I am copying it to another table of same structure as:
Insert /*+ append */ into XML_TABLE_2 Select * from XML_TABLE_1.
Then how much space in ROllbackSegment do I need. Is it equal to the size of the table XML_TABLE_1?
Thanks..I think foll query calculates it right while including the LOB storage as:
SELECT SUM(bytes)/1024/1024/1024 gb
FROM dba_segments
WHERE (owner = 'SCHEMA_NAME' and
segment_name = 'TABLE_NAME')
OR (owner, segment_name) IN (
SELECT owner, segment_name
FROM dba_lobs
WHERE owner = 'SCHEMA_NAME'
AND table_name = 'TABLE_NAME')
It's 80 GB for our Table with XMLType Column.
But for the second point:
Do we need 80GB of UNDO/ROLLBACK Segment for performing:
Insert /*+ append */ into TableName1 Select * from TableName;
Thanks.. -
After the latest apple IOS upgrade my 3 apple products, an imac, a macbook air and a macbook, lost their contact with their external hard disks. They were LaCie make. And every time I turn my laptops, I find the positions of the keys on their keyboards changed. Why is Apple silent? There are so many people complaining about this issue and expecting Apple to correct this issue that they have created.
Probably because it's not an Apple issue. I have Lacie EHD's connected to my MBAir and iMac, all work perfectly on Mavericks. In addition I don't have any keyboard issues on any of my Apple products. BTW IOS is only for IOS devices such as iPads, iPods and iPhones, Macs use OS X. The two OS's are seperate products designed to run on seperate products.
-
hello ! i am praveen
i need to know the tables and their relationships
for these fields :
<b>1) ship to party
2) bill to party
3)invoice no
4)invoice date
5)ref doc no<b>four main categories for a customer are
SOLD TO PARTY
SHIP TO PARTY
BILL TO PARTY
PAYER
i sell a product(assume im a vendor) to customer A ,
and now i need to see who is taking the product it may be A or his office in another location say B
so the product where it is to be shipped will be ship to party .
now since he has received the product he has to pay me the bill .
once he receives the product it will be sent with a invoice quoting the product qty and a price .
so i need to produce a bill to him saying that ur product costs so much and u need to pay me this amount . this is billing .
now to settle the bill he can do it or a Payer can do it .
this is just like combinations of the customers .
for ur understanding lets say sold to ,ship to, bill to , payeer are same .
u can find all the entries in table VBPA (bill to party and ship to party )
sales order in VBAk and VBAP , VBPA ..
delivery details In LIKP LIPS
invoice details IN VBRK VBRP (invoice number and invoice date )
reference document no will be a number on which a sales order is created .
(VBAK-VGBEL)
hope this helps ,
regards,
vijay
Maybe you are looking for
-
Webcam recording on Mac but NOT thru iChat!
Is it actually possible to record from a hi-spec and expensive webcam using Leopard on my Mac, to record video onto your hard drive WITHOUT having to subscribe to iChat and sodding well pay through the nose again for something that is relatively simp
-
Restart GKrellm on screen resolution change in KDE
Hi all! Any trusty GKrellm wizards still out there? Or KDE mastahs? I much prefer GKrellm and dockapps for my system monitor needs and currently use the former as a panel in the top right corner on my KDE 4.5 desktop. It works great except for screen
-
My new update to FF version 33 is installed LOCKED in full screen and I can not get to my desktop
I use a HDMI TV as a monitor. When I upgraded to ver 33.02(?), it locked in FULL SCREEN and my TV/Monitor is not adjustable so the option at the top "EXIT FULL SCREEN" is not showing or available and must be rolled off the top. I can not find any way
-
ORA-19566: exceeded limit of 999 corrupt blocks for file
Hi All, I am new to Oracle RMAN & RAC Administration. Looking for your support to solve the below issue. We have 2 disk groups - +ETDATA & +ETFLASH in our 3 node RAC environments in which RMAN is configured in node-2 to take backup. We do not have RM
-
Error Exposing a function module as an Enterprise Service. Inside out approach.
¿I get the next error when sending a message from a 3rd party to my Enterprise Service anyone has experienced this? Error in SOA Runtime Log/Trace viewer get the error: A SOAP Runtime Core Exception occurred in method EXEC_PROCESSING_CS_P of class CL