- Step 1: Create & Maintain Table (SE11)
- Screen 101: ABAP Dictionary: Initial Screen
Screen 102: Maintain Table -> Delivery and Maintenance
Screen 103: Maintain Table -> Fields
- [] SE11: Enter Table Name -> Create
- Enter Table Description (Mandatory Field)
- Select Delivery Class
- Set maintenance level
- Enter Fields, Assign Data Elements
- Save Entries
- Check Inconsistencies
- Activate Table
- Go To Technical Settings (SCREEN 104)
Delivery Class: The delivery class controls the transport of table data wheninstalling or upgrading, in a client copy and when transporting between customersystems. The delivery class is also used in the extended tablemaintenance.
There are the following delivery classes:
A: Application table (master and transaction data).
C: Customer table, data is maintained by the customer only.
L: Table for storing temporary data.
G: Customer table. The customer namespace must be defined in table TRESC. (UseReport RDDKOR54 here).
E: System table with its own namespaces for customer entries.
S: System table, data changes have the same status as program changes.
W: System table (e.g. table of the development environment) whosedata is transported with its own transport objects (e.g. R3TR PROG, R3TR TABL,etc.).
Data Browser/Table View Maint.: This indicator specifies whether it is possible to display/maintain a table or view using the maintenance tools Data Browser (transaction SE16) and table view maintenance (transactionsSM30 and SM31).
MANDT field is mandatory for Client dependant tables
Technical Settings: The technical settings control, for example, table buffering.
Indexes: To speed up data selection, you can create secondary indexes for the table
Append Structure: Append structures are used for enhancements that are not included in the standard.
Screen 104: Maintain Technical Settings
- Select Data Class (Mandatory) [APPL0]
- Select Size Category (Table size - No. of records - Mandatory) [1 to 6]
- Specify Buffering [allowed / not allowed]
- Save
- Check Inconsistencies
- Activate & Go Back to “Maintain Table Screen”
Data Class: The data class defines the physical area of the database (for ORACLEthe TABLESPACE) in which your table is logically stored. If you choose a dataclass correctly, your table will automatically be assigned to the correct areawhen it is created on the database.
The most important data classes are (other than the system data):
APPL0 Master data
APPL1 Transaction data
APPL2 Organizational and customizing data
Size category: The size category determines the probable space requirement for a table in the database.
Buffering: The buffering status specifies whether or not a table may be buffered.Screen 105: Maintain Table
Screen 105: Maintain Table
Screen 106: Maintain Enhancement Category (ECC 6.0 onwards)
- -> Extras -> Enhancement Category
- Select Enhancement Category
Enhancement Category: Structures and tables that were defined by SAP in the ABAPDictionary can be enhanced subsequently by customers using Customizing includesor append structures. The enhancements do not only refer to structures/ tablesthemselves, but also to dependent structures that adopt the enhancement as aninclude or referenced structure. Append structures that only take effect at theend of the original structure can also cause shifts - in the case of dependentstructures - even within these structures.
Screen 107: Maintain Table -> Table Maintenance Generator
In this screen go to utilities menu and select Table Mai8ntenence generator
- -> Utilities -> Table Maintenance Generator OR [] SE54
- Specify Authorization Group [&NC&]
- Select Maintenance type [One Step/Two Step]
- Mention Screen Numbers [1/2]
- Save & Go Back
Single step: Only overview screen is created i.e. the Table Maintenance Program will have only one screen where you can add, delete or edit records.Two step: Two screens namely the overview screen and Single screen are created. The user can see the key fields in the first screen and can further go on to edit further details.
Step 2: Generate Table Maintenance (SE54)
Screen 201: Generate Table Maintenance Dialog: Initial Table/View Screen
- Enter Table/View name
- -> Edit View Cluster
- -> Create View
The Table Maintenance Generator: Used to a create table maintenance program to add, modify or delete records in the database table. This can be accessed using transaction SE54 or in SE11 using the menu Utilities->Table Maintenance Generator.
Screen 203: Change View “Header Entry”: Details
Screen 204: Change View “Object Structure”: Overview- -> Header Entry -> Enter Short text -> Activate View
- -> Object Structure -> Enter Table name & description
- -> Field-dependence -> Generate -> Header entry -> Activate View
Step 3: Create & Maintain Transaction (SE93)
Screen 301: Maintain Transaction
Screen 302: Create Transaction
- [] SE93 Enter Transaction name -> Create
- Enter Short text
- -> Transaction with parameters
Why Select “Transaction with parameters”? Parameter transactions allow youto pre-assign values to the fields on the initial screen.
If you supply all of the necessary entries for the initial screen in this way, you can suppressthe screen when the transaction is executed.
Screen 303: Create Parameter Transaction
- Enter Transaction text
- Enter default transaction [SM34]
- -> Skip Initial Screen
- Enter Names of Screen fields and values [VCLDIR-VCLNAME = SHOW = 'X']
And we are DONE! Maintain your Table/View
Screen 401: Change View “View description”: Overview
No comments:
Post a Comment