‎2008 Nov 24 8:50 AM
Hi,
What is a Cluster ID/Relation ID? How can we use it for accessing database tables?
Thank you.
Edited by: Renjith Michael on Nov 24, 2008 2:20 PM
‎2008 Nov 24 10:37 AM
Cluster ID - Data field for Export/Import Database tables.
Relation ID- Area identification on Export/Import Database
We can write a data cluster to the global ABAP memory with EXPORT or read it from there with
IMPORT .
EXPORT obj1 ... objn TO DATABASE dbtab(ar) ID key.
ar-Relation ID.
We can export collections of data objects (known as data clusters) under a freely definable key (field key) to an area of this database.
IMPORT obj1 ... objn FROM DATABASE dbtab(ar) ID key.
We can import data objects obj1 ... objn (fields, structures, complex structures, or tables) from the data cluster with ID key in area ar of the database table dbtab
‎2008 Nov 24 10:44 AM
Hi,
Thank you. The answer is very useful.
Have you ever come across any scenario where these Cluster/Relation IDs are used?
Which are the modules mainly using it? Like HR , BI etc...
Thank you.
‎2008 Nov 24 11:05 AM
Mostly this Cluster table is used in HR module .
Data cluster is a group of several data objects.
Clusters are formed by combining data from several tables with identical keys into one Physical
record on Database.Data will be in compressed form.