Creating a Transparent Table in SAP ABAP


Tables can be defined independently of the database in the ABAP Dictionary. The fields of the table are defined with their (database-independent) data types and lengths.

How to Create a Transparent Table in SAP ABAP


When the table is activated, the system creates a physical table definition in the database for the table definition stored in the ABAP Dictionary. The system translates the table definition from the ABAP Dictionary to a definition of the particular database. You can see these relations between the ABAP Dictionary and the database in the following figure.

A table definition in the ABAP Dictionary contains the following components:

Table Fields:
Table fields define the field names and data types of the fields contained in the table
Foreign keys:
Foreign keys define the relationships between the table and other tables.
Technical settings:
Technical settings control the creation of the table in the database.
Indexes:
To speed up data selection, secondary indexes can be created for the table.
The customer can modify SAP tables with append structures and customizing includes. This kind of modification ensures that the customer enhancements are automatically merged with the new versions of the SAP tables when there is a release upgrade.


Steps to Creating a Table

1.Create a custom table with description.
2.Maintain Delivery and Maintenance.
3.Create Fields and Data elements with related domains.
4.Define Technical settings for a Table.
5.Check and activate the all components of the Table.
6.Create and display entries.

Enter  SE11 transaction in the SAP EASY ACCESS Screen.
Creating a Transparent Table in SAP ABAP


Enter the table name and press Create
Creating a Transparent Table in SAP ABAP

Enter the description, Delivery class and check on table maintenance allowed. Then click on the tab Fields.
Creating a Transparent Table in SAP ABAP


Enter the Zname in fields tab and Zname_DE in field type tab.

Creating a Transparent Table in SAP ABAP

Double click on Zname_DE. Then it will ask for Save. Press ‘YES”.

Creating a Transparent Table in SAP ABAP

Save it as a local object on pressing Local object button and Give the Data Element Description and Domain name 
Creating a Transparent Table in SAP ABAP

SAVE it in Local Object
Creating a Transparent Table in SAP ABAP

It will ask for creating new domain ,Press Yes.
Creating a Transparent Table in SAP ABAP

Then press Definition tab and enter the domain data type and Length.

Creating a Transparent Table in SAP ABAP
Save and activate the Domain.
Repeat the above steps for any number of fields in your table.
Creating a Transparent Table in SAP ABAP


Now go to the technical seetings and maintain the data class and size category.
Creating a Transparent Table in SAP ABAP

Save and active it ,Next go to utilities and select table contents and create entries
Creating a Transparent Table in SAP ABAP
Enter the records or entries and save and reset it and again create new entry like this you can enter number of entries into table
Creating a Transparent Table in SAP ABAP


SAVE the all entries.
Creating a Transparent Table in SAP ABAP

Now go to utilities and select table contents and then slelect display option to view the create entries of your table.
Creating a Transparent Table in SAP ABAP

Then the following screen appears. Press on display
Creating a Transparent Table in SAP ABAP

 You will get the following screen. Press execute button

Creating a Transparent Table in SAP ABAP

You can see the table values in the output.

Creating a Transparent Table in SAP ABAP

Popular posts from this blog

How to create Interactive Report in SAP ABAP

How to create ALV Interactive Report in SAP ABAP

BDC Call Transaction Method Program