Regarding table pool/cluster
Hi,
can you please discribe me the the process by which we can find
how many pool/cluster table is attached to perticuler table pool/cluster.
thanks.
hi jony ,
try this
DATA : BEGIN OF IT_TABLES OCCURS 0,
TABNAME LIKE DD02L-TABNAME,
END OF IT_TABLES.
SELECT TABNAME
FROM DD02L
INTO IT_TABLEs
WHERE SQLTAB EQ <CLUSTER/POOL NAME>.
Eg :
SELECT TABNAME
FROM DD02L
INTO IT_TABLEs
WHERE SQLTAB EQ 'AABLG'.
Similar Messages
-
Hi Experts,
I want to know that is it necessary that before creating "Pool Table", you have to create the "Table Pool".
If Yes then tell me,,how to create "Table Pool".
Kind Regards
YogeshYes Yogesh,
You have to create " Table Pool " Before creating "Pool Table".
These the steps :
1.Goto SE11 Transaction.
2.Give table Name.
3.click on change mode and enter into to table.
4.go to Extras -
> Change table Category .
Select the pooled-table and click on Copy then ur Transparent table is changes to pooled table.
Goto Delivery and Maintainace Tab there you can find the pool/cluster field in dat we need to give the "Table-Pool".
So for creating table-pool.
1.go to se11
2. Utilities -
> Other Dictionary Objects.
3.Inthat give the name for table-pool.
4.click on create.
5.save check and activate.
then again back to the Delevery and maintainance tab in yout table and give the name of table pool and activate.
this is the procedure .....
Reward if it useful...
Lakshmi. -
Inforation on Pool tables and cluster tables required.
I want to know about the pool tables and cluster tables like how to create them and how to look the tables associated with the given tables. Like for the table BSEG we have other tables linked BSID etc. I'm new to this concept please guide me.
<b>Pooled Table:</b>
A pooled table in R/3 has a many-to-one relationship with a table in the database (see Figures 3.1 and 3.2). For one table in the database, there are many tables in the R/3 Data Dictionary. The table in the database has a different name than the tables in the DDIC, it has a different number of fields, and the fields have different names as well. Pooled tables are an SAP proprietary construct.
When you look at a pooled table in R/3, you see a description of a table. However, in the database, it is stored along with other pooled tables in a single table called a table pool. A table pool is a database table with a special structure that enables the data of many R/3 tables to be stored within it. It can only hold pooled tables.
R/3 uses table pools to hold a large number (tens to thousands) of very small tables (about 10 to 100 rows each). Table pools reduce the amount of database resources needed when many small tables have to be open at the same time. SAP uses them for system data. You might create a table pool if you need to create hundreds of small tables that each hold only a few rows of data. To implement these small tables as pooled tables, you first create the definition of a table pool in R/3 to hold them all. When activated, an associated single table (the table pool) will be created in the database. You can then define pooled tables within R/3 and assign them all to your table pool.
Pooled tables are primarily used by SAP to hold customizing data.
<b>Cluster Table:</b>
A cluster table is similar to a pooled table. It has a many-to-one relationship with a table in the database. Many cluster tables are stored in a single table in the database called a table cluster.
A table cluster is similar to a table pool. It holds many tables within it. The tables it holds are all cluster tables.
Like pooled tables, cluster tables are another proprietary SAP construct. They are used to hold data from a few (approximately 2 to 10) very large tables. They would be used when these tables have a part of their primary keys in common, and if the data in these tables are all accessed simultaneously.
Table clusters contain fewer tables than table pools and, unlike table pools, the primary key of each table within the table cluster begins with the same field or fields. Rows from the cluster tables are combined into a single row in the table cluster. The rows are combined based on the part of the primary key they have in common. Thus, when a row is read from any one of the tables in the cluster, all related rows in all cluster tables are also retrieved, but only a single I/O is needed.
A cluster is advantageous in the case where data is accessed from multiple tables simultaneously and those tables have at least one of their primary key fields in common. Cluster tables reduce the number of database reads and thereby improve performance.
Restrictions on Pooled and Cluster Tables
1. Pooled and cluster tables are usually used only by SAP and not used by customers, probably because of the proprietary format of these tables within the database and because of technical restrictions placed upon their use within ABAP/4 programs. On a pooled or cluster table:
2. Secondary indexes cannot be created.
3. You cannot use the ABAP/4 constructs select distinct or group by.
4.You cannot use native SQL.
5.You cannot specify field names after the order by clause. order by primary key is the only permitted variation.
For creation of pooled /cluster table, have a look at below link.
http://help.sap.com/saphelp_erp2004/helpdata/en/81/415d363640933fe10000009b38f839/frameset.htm
For creation of table pool /cluster, have a look at below link.
http://help.sap.com/saphelp_erp2004/helpdata/en/81/415d363640933fe10000009b38f839/frameset.htm
Have a look at below link.
http://www.sap-img.com/abap/the-different-types-of-sap-tables.htm
Best Regards,
Vibha
*Please mark all the helpful answers -
Hi,
Can we create Pool/cluster? If yes who can I create?HI,
Procedure
In the initial screen of the ABAP Dictionary, choose Utilities Further Dictionary Objects.
A dialog box appears.
Select the object type Table pool/cluster and enter the object name. Choose .
A dialog box appears in which you must specify if it is a table pool or a table cluster.
Select the required object type and choose .
The maintenance screen for table pools/clusters appears.
The necessary entries will have been made automatically for the fields for table pools since a table pool has a fixed structure. You should not change these standard settings if you can avoid it.
The structure of a table cluster is also mostly fixed. Certain fields are therefore proposed when the table cluster is created. You can adjust this proposal to your requirements, for example by inserting further key fields. However, make sure you conform to the structure necessary for a table cluster.
Enter an explanatory text in the field Short text.
If necessary, select the activation type of the table pool/cluster with Utilities Activation type.
Create documentation about the table pool/cluster with Goto Documentation.
This documentation should describe what the table pool/cluster is used for. The documentation is also output when the table pool/cluster is printed.
Go to the maintenance screen for the technical settings by choosing Goto ® Technical settings.
In contrast to the table maintenance screen, you can only define the size category here. All other attributes of the technical settings are preset.
Activate the table pool/cluster with . -
How can I get data in flat file from Pool table and cluster table ?
Hi,
I am working in one Achiving project. My requirement is to get data into flat file from Cluster table and pool table.
Is there any tool avilable to download data into flat file from pool table and cluster table ?
if table name given in the selection screen then data will be downloaded into flat file.
waiting for quick response.
Best Regards,
BansidharData cannot be retrived directly form the cluster table
as the Cluster results are stored in Cluster Key say for example PCLkey
and form that Key we need to fetch the data
these clustes are not the part of PNP or PNPCE tables
for ur info kindly check -
Hi Experts,
Can you send me some example tables for pool and cluster tables..
And where exactly you use these tables in real time..
Kindly reply me as early as possible
Thanks in advance
SantoshHi santosh,
Go to se11
table DD02L-> Give TABCLASS as POOL or CLUSTER you will get a list of tables
Pooled and Cluster Tables
Table pools (pools) and table clusters (clusters) are special table types in the ABAP Dictionary. The data from several different tables can be stored together in a table pool or table cluster. Tables assigned to a table pool or table cluster are referred to as pooled tables or cluster tables.
A table pool or table cluster should be used exclusively for storing internal control information (screen sequences, program parameters, temporary data, continuous texts such as documentation). Data of commercial relevance is usually stored in transparent tables.
Table Pools
A table in the database in which all records from the pooled tables assigned to the table pool are stored corresponds to a table pool.
The definition of a pool consists essentially of two key fields (Tabname and Varkey) and a long argument field (Vardata). A pool has the following structure:
Field
Data type
Meaning
Tabname
CHAR(10)
Name of pooled table
Varkey
CHAR (n)
Contains the entries from all key fields of the pooled table record as a string, max. length for n is 110
Dataln
INT2(5)
Length of the string in Vardata
Vardata
RAW (n)
Contains the entries from all data fields of the pooled table record as a string, max. length n depends on the database system used
If a pooled table record is saved, it is stored in the table pool assigned. The name of the pooled table is written to the field Tabname. The contents of all key fields of the pooled table are written as a string to field Varkey and the contents of all data fields as a string to field Vardata. The length of the string stored in Vardata is entered in field Dataln by the database interface.
Due to the structure of a table pool, there are certain restrictions on the pooled tables assigned to it. The name of a pooled table may not exceed 10 characters. Since Varkey is a character field, all key fields of a pooled table must have character data types (for example, CHAR, NUMC, CLNT). The total length of all key fields or all data fields of a pooled table must not exceed the length of the Varkey or Vardata field of the assigned pool.
Table Clusters
Several logical data records from different cluster tables can be stored together in one physical record in a table cluster.
A cluster key consists of a series of freely definable key fields and a field (Pageno) for distinguishing continuation records. A cluster also contains a long field (Vardata) that contains the contents of the data fields of the cluster tables for this key. If the data does not fit into the long field, continuation records are created. Control information on the structure of the data string is still written at the beginning of the Vardata field. A table cluster has the following structure:
Field
Data type
Meaning
CLKEY1
First key field
CLKEY2
Second key field
CLKEYn
nth key field
Pageno
INT2(5)
Number of the continuation record
Timestamp
CHAR(14)
Time stamps
Pagelg
INT2(5)
Length of the string in Vardata
Vardata
RAW (n)
Contains the entries from the data fields of the assigned cluster tables as a string, max. length n depends on the database system used
The records of all cluster tables with the same key are stored under one key in the assigned table cluster. The values of the key fields are stored in the corresponding key fields of the table cluster. The values of all data fields of the assigned cluster tables are written as a string to the Vardata field of the table cluster. Besides the actual data values, the data string contains information on the structure of the data and which table it comes from. If the string exceeds the maximum length of the Vardata field, a continuation record is written with the same key values. The continuation records for a key are distinguished by their value in field Pageno. The actual length of the string in the Vardata field is stored in the Pagelg field by the database interface.
You need the structural information stored in the ABAP Dictionary to read the data from a pooled table or cluster table correctly. These tables can therefore only be processed using Open SQL with the cluster interface, and not with Native SQL directly in the database.
In Repository informatino SE84 goto ABAP Dictonary -> Other Objects -> Pooled and clustered tables -> And then execute. It will give the list of available pooled/clustered tables.
For further reference check the SAP help document...
http://help.sap.com/saphelp_erp2005/helpdata/en/cf/21ea0b446011d189700000e8322d00/frameset.htm
regards,
keerthi -
Diff. Between Pool & Cluster Table
Hi,
Could any just let me know regarding the Basic Diff. B/w
Pool & Clsuter Table.
Thanks & Regards
Irfan HussainHi Irfan,
Pooled Table :-
A pooled table in R/3 has a many-to-one
relationship.
When you look at a pooled table in R/3, you see a
description of a table.
R/3 uses table pools to hold a large number (tens to
thousands) of very small tables (about 10 to 100
rows each).
Table pools reduce the amount of database resources
needed when many small tables have to be open at the
same time.
SAP uses them for system data.
You might create a table pool if you need to create
hundreds of small tables that each hold only a few
rows of data.
Pooled tables are primarily used by SAP to hold
customizing data.
Cluster Table :-
A cluster table is similar to a pooled table.
It has a many-to-one relationship with a table in
the database.
Many cluster tables are stored in a single table in
the database called a table cluster.
It holds many tables within it.
The tables it holds are all cluster tables.
Like pooled tables, cluster tables are another
proprietary SAP construct.
They are used to hold data from a few (approximately
2 to 10) very large tables.
They would be used when these tables have a part of
their primary keys in common, and if the data in
these tables are all accessed simultaneously.
Table clusters contain fewer tables than table pools
and, unlike table pools, the primary key of each
table within the table cluster begins with the same
field or fields.
A cluster is advantageous in the case where data is
accessed from multiple tables simultaneously and
those tables have at least one of their primary key
fields in common.
Cluster tables reduce the number of database reads
and thereby improve performance.
Pooled and cluster tables are usually used only by
SAP and not used by customers, probably because of
the proprietary format of these tables within the
database and because of technical restrictions
placed upon their use within ABAP/4 programs.
Cluster table can only be read and display via your
ABAP program.
For furthur details visit this link...
<a href="http://www.sap-img.com/abap/the-different-types-of-sap-tables.htm">http://www.sap-img.com/abap/the-different-types-of-sap-tables.htm</a>
Best Regards,
Maheswaran.B -
Generic extractors on pool table and Cluster tables
Good Afternoon all,
Can we create generic extractors on Cluster or pool Table. If yes Let me know how?
I am trying to create a Generic Extractor on BSEC Table but it is not allowing me to do this. It throws error that"Extraction from pool tables and cluster tables is not permitted"
Kindly guide me on this
Thanks,
Vaishali.Hi
you cannot do generic extraction directly on pooled or cluster tables.
You can create a function module, then you can create a Generic Data source based on this..
Hope it helps,
Thanks,
Teja
Edited by: Teja badugu on Apr 15, 2008 12:24 PM -
Does Pool & Cluster tables has the same structure in both Dictionary and Db
------------ Exists with the same structure both in dictionary as well as in database exactly with the same data and fields
a. Pool Table
b. Cluster Table
c. Transparent Table
d. All the above
To my knowledge, I know transparent table has the same structure in both Dictionary and database.
Can anyone tel me the answer for the above question.. whether it is
c. Transparent table
or
d. All the aboveTransparent Table:
A physical table definition in the database for the table definition which is stored in the ABAP Dictionary for transparent tables when the
table is activated. The table definition is translated from the ABAP Dictionary to a definition of the particular database.
A transparent table in the dictionary has one to one relationship with a table in the database.
For each transparent table in the data dictionary there is one associated table in the database.The database table has the same name, the same number of fields and fields have same names as the transparent table definition. Transparent tables are used to hold application data. Application data is master data or transaction data used by an application.
e.g. master data - table of customers
Transaction data - order placed by the customers.
Pooled tables:
Pooled tables can be used to store control data (e.g. screen sequences,program parameters or temporary data). Several pooled tables can be
combined to form a table pool. The table pool corresponds to a physical table on the database in which all the records of the allocated pooledtables are stored.
Pooled table in R/3 has a many to one relationship with a table in the database. For one table in the database there are many tables in the R/3 data dictionary.R/3 uses pooled tables to hold large number of very small tables. You might create a table pool if yoou need to create hundreds of small tables that each hold only a few rows of data.
Cluster tables :
Cluster tables contain continuous text, for example, documentation.Several cluster tables can be combined to form a table cluster. Severallogical lines of different tables are combined to form a physical record in this table type. This permits object-by-object storage or
object-by-object access. In order to combine tables in clusters, atleast parts of the keys must agree. Several cluster tables are stored in
one corresponding table on the database.
A cluster table is similar to pool table . It has many to one relationship with the table in the database.
They are used to hold the data from a few(approximatelly 2 to 10) very large tables. They would be used when these tables have a part of their primary keys in common and if data in these tables are all accessed simultaneously.A cluster is advantageous in the case where data is accessed from multiple tables simultaneously and those tables have at least one of their primary key fields in common.Cluster table reduce number of database reads and thereby improves performance. -
How to find which transparent tables compose cluster tableuFF1AKONV
How to find which transparent tables compose cluster table:KONV
Hi,
Welcome to SDN.
Try doing this ....
1). Goto se12 and display the table BSEG
2). Click on the Delivery & Maintenanace tab
3). Double click on the Pool/Cluster field
4). On the next screen do a where used list
You will find all the related tables.
Regards,
Amit
Reward all helpful replies. -
Como crear un indice secundario a la tabla GLS1 (Tabla Pool)
Hola a Todos.
Necesito crear un indice adicional a la tabla GLS1, pero es una tabla Pool y no me deja. Que debo hacer ?Hola Francisco,
Sobre tablas pool y cluster no existe forma de crear índices, tienes que buscar otra técnica para mejorar el desempeño en la consulta, la mejora en desempeño se puede llevar a cabo usando cursores, o programación en paralelo, es decir, que la única manera que conozco de optimizar la consulta sobre tablas cluster o pool es desde el código fuente.
Saludos. -
Table pools , pooled tables , table clusters
HI
answer this q?
What is a table pool?
What are pooled tables?
What is a table cluster?
points will be assign for usefull information"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.
"Major difference betwen Standard tables,Pooled tables and Cluster Tables?
1.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.
2.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.
3.A clustered and a pooled table cannot be read from outside SAP because certain data are clustered and pooled in one field.
4.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.
5.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.
6.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.
7.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.
8.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.
9.A structure is a table without data. It is only filled by program logic at the moment it is needed starting from tables.
10.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.
'The table which store information about Structures and Tables are as follows:
DD02L - table properties
DD02T - table texts
DD03L - field properties
DD03T - field texts
Reward points if it is usefull...
Girish -
How to Pull Data From CRT table PCL2 Cluster
Hi,
I want to show a Report, below is the Fields in the Report
<b>Descripton</b>----
<b>Table Name</b>
Total Current Month Salary----
CRT table PCL2 cluster
monthly member contribution-----CRT table PCL2 cluster
Net difference in Pay----
CRT table PCL2 cluster
How to get the Data from the CRT table PCL2 cluster in BW
is there any procedure to get the payroll data in BW?
I think CRT table is a internal Table.
any good idea's will be appricated...
Thanks
PriyaHi,
check whether is it populating when u call
Function Module - PYX X_READ_PAYROLL_RESULT .
If not Use this Marcro.
RP-IMP-C2-IN.
Call this macro and check EPF[ ].This marco will populate both RT and EPF.
Check transaction - PC00_M40_ EPF
Cheers,
Manoj. -
Change log in HR (Table PCL4 Cluster LA)
Hi @ all,
when infotype logging is activated changes made in infotypes are logged into table PCL4 cluster LA.
We have the following problem:
HR masterdata is stored into our system from an external system via ALE. But the problem is that no change logs are written. But we absolutely need this information!!!
Now I have coded a RFC function module which reads the log data from the external system. This also works fine. But how do I have to store the data into <b>our</b> PCL4(LA)???nope - I didn't try this because I don't know about the data which is needed to store the change log correct.
Other question: I've found the function module "HR_INFOTYPE_LOG_CREATE" which seems to do what I want. But the problem is that there is no documentation available. The FM has four table parameters - does anyone how how to fill them? Has anyone used this FM? It is not used within standard programs - the "where used" function does not report any hits.
Thx in advance -
Statistical table, pool table, structure, and ordinary table
请教在ABAP引用表时,不同类型的表的区别:
statistical table
pool table
structure,
ordinary table
其它 table (请列出)
谢谢!>
leopard123456 wrote:
> 请教在ABAP引用表时,不同类型的表的区别:
> statistical table
> pool table
> structure,
> ordinary table
> 其它 table (请列出)
>
> 谢谢!
对上面提到的几个term不是很明白(尤其是statistical table和ordinary table),其中structure应该不是表的类型。
请举例。
Maybe you are looking for
-
How can you reset your security questions for the life of me I cannot recall my answers
how can i reset my security questions
-
A quick question about WebDynpro SLD and R/3 with concurrent users
Hello , I have a very quick question about Webdynpros and SLD connecting to an R/3 system, when you configure a webdynpro to connect to an R/3 system using SLD, you configure a user name and password from the R/3 for the SLD to use. What I would lik
-
External Table for Variable Length EBCDIC file with RDWs
I am loading an ebcdic file where the record length is stored in the first 4 bytes. I am able to read the 4 bytes using the db's native character set, ie; records variable 4 characterset WE8MSWIN1252 data is little endianBut I have to then convert ea
-
Characteristic as block characteristic
Hello, what is the indicator (in the planning modeler) that a characteristic is relevant for building blocks ? My problem is, that i have to run an own developed planning function over all records available for a year and version, and now our system
-
trouble. I can't preview anything, photos, powerpoint slide designs. nothing. the finder shows the files (just icons) but i can't see any images. if i want to, i have to double click and open preview to see the photo. or in powerpoint i have to selec