‎2008 Jan 21 12:38 PM
hi all,
i learnt that cluster table does not exist physically in our sap database. It is collection of various tables.
can somebody tell me how can i know whether my cluster table is combination of how many tables??
for ex : BSEG.
Thanks,
Gaurav
‎2008 Jan 21 12:49 PM
hi gaurav,
The Different Types of SAP Tables
What is transparent, cluster and pool table? Where and when we use these tables?
Transparent Table : Exists with the same structure both in dictionary as well as in database exactly with the same data and fields.
Pooled Table : Pooled tables are logical tables that must be assigned to a table pool when they are defined. Pooled tables are used to store control data. Several pooled tables can be cominied in a table pool. The data of these pooled tables are then sorted in a common table in the database.
Cluster Table : Cluster tables are logical tables that must be assigned to a table cluster when they are defined. Cluster tables can be used to strore control data. They can also be used to store temporary data or texts, such as documentation.
Could anyone tell me what is the major difference between Standard tables, Pooled tables and Clusterd Tables?
A transparent table is a table that stores data directly. You can read these tables directly on the database from outside SAP with for instance an SQL statement.
Transparent table is a one to one relation table i.e. when you create one transparent table then exactly same table will create in data base and if is basically used to store transaction data.
A clustered and a pooled table cannot be read from outside SAP because certain data are clustered and pooled in one field.
One of the possible reasons is for instance that their content can be variable in length and build up. Database manipulations in Abap are limited as well.
But pool and cluster table is a many to one relationship table. This means many pool table store in a database table which is know as table pool.
All the pool table stored table in table pool does not need to have any foreign key relationship but in the case of cluster table it is must. And pool and cluster table is basically use to store application data.
Table pool can contain 10 to 1000 small pool table which has 10 to 100 records. But cluster table can contain very big but few (1 to 10) cluster table.
For pool and cluster table you can create secondary index and you can use select distinct, group for pool and cluster table. You can use native SQL statement for pool and cluster table.
A structure is a table without data. It is only filled by program logic at the moment it is needed starting from tables.
A view is a way of looking at the contents of tables. It only contains the combination of the tables at the basis and the way the data needs to be represented. You actually call directly upon the underlying tables.
with regards,
asif.
‎2008 Jan 21 12:52 PM
hi,
i know this stuff,my query is bit different.
pls help.
Gaurav
‎2008 Jan 22 11:59 AM
Hi Gaurav,
Go thru this stuff....
r3check in a SAP System
This tool is able to check the contents of Cluster Tables in SAP Systems as described in note 89384.
Examples for Cluster Tables are:
CDCLS, CDHDR, RFBLG, DOKCLU, DOKTL
This tool is a "small R3TRANS". This tool has a different interface then R3TRANS but calls internally R3TRANS. It generates the file TRANS.LOG in the current directory as well.
A sample call to R3CHECK could be as follows:
(edit the following e.g. in the file /tmp/control)
EXPORT
FILE='/tmp/export'
CLIENT=<nnn>
(dumping=yes) (This would be necessary for "logical cluster tables"
like DOKTL, which resites in DOKCLU (physical cluster))
SELECT * FROM <log. Cluster Table> (e.g. DOKTL)
You can start r3check as follows:
r3check /tmp/control
The output will be generated as follows:
/tmp/export: All exported rows of the table (in a compressed format)
trans.log: Information Output
console: Errors in the records
This tool is available from SAP market place... downloadable....
Zankruti
‎2008 Jan 21 3:43 PM
I think it's a matter of semantics. A cluster table such as BSEG is just one table, but the cluster it belongs to (RFBLG) holds data for a number of cluster tables - BSEG, BSEC and some others.
Please see:
[Pooled and Cluster Tables.|http://help.sap.com/saphelp_47x200/helpdata/EN/cf/21f083446011d189700000e8322d00/frameset.htm]
Rob
‎2008 Jan 22 4:52 PM
Hi Gaurav,
A Cluster pool can hold multiple cluster tables.
i.e. BSEG table is part of cluster pool RFBLG. To get cluster pool details , go to attributes of table BSEG in SE11.
If you want to know how many cluster tables contain in a Cluster pool. Use where-used list option in SE11 for Cluster pool. You can use transaction SE11 to see structure of Cluster Pool.
Hope it will clear your doubts.
Regards,
Naren