Ads

SAP Cluster Tables in ABAP

SAP Cluster Tables in ABAP

What is Cluster Table
Cluster Tables in SAP contains the Logical Data Records and one Key field and one Data Field.All Key values are stored in the corresponding Key Filed and All data stored in Data Field.We are creating Cluster Tables in Data Dictionary(SE11).

What is the Use of Cluster Table

This Tables are used to store internal control information like screen sequences, program parameters, temporary data, continuous texts such as documentation.

Table Clusters in SAP

Different cluster Tables records can be stored together in One Physical Record in a Table Cluster.Table cluster consists the Following Structure(Fields)

Key fields: Clkey1.......Clkeyn :1 to Nth key fields
Pageno:   Number of the continuation record

Timestamp: Time stamps

Pagelg: Length of the string in Vardata

Vardata: Contains the entries from the data fields of the assigned cluster tables as a string. 

All cluster tables Records 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. 

If the string exceeds the maximum length of the Vardata field, the system writes a continuation record with the same key values.

Steps to Create Cluster Table in ABAP Dictionary

Go to menu bar -> Utilities -> Other Dictionary Objects

SAP Cluster Tables in ABAP


Step 2:A popup will be displayed as below

 
SAP Cluster Tables in ABAP

Step 3:Select the Radio button “Table pool/cluster” and enter the name as “ZCLUSTER”


SAP Cluster Tables in ABAP


Choose continue

Step 5:The next screen will be displayed as below.
SAP Cluster Tables in ABAP

Enter the description
Step 6:If you want to add your own fields click on Insert   button
SAP Cluster Tables in ABAP


Step 7:A new row will be created. Here I added VBELN field and marked it as key by checking the checkbox
SAP Cluster Tables in ABAP

 Save and Activate it.

Now ,we have Learnt ,what is cluster Table in SAP and Table Cluster and use of Cluster Table and steps to create Cluster Table in SAP ABAP.



Comments

Popular posts from this blog

BADI Interview Questions in SAP ABAP

Sample SAP ABAP Programming Examples for Practice

Module Pool Programming Interview Questions and Answers in SAP ABAP

Step by Step tutorial on BDC Session Method Program in SAP ABAP

SAP ABAP Interview Questions and Answers for 10 Years Experienced