ABAP ABAPDictionaryFAQ 051213 0818 9486
ABAP ABAPDictionaryFAQ 051213 0818 9486
What types of objects can be created in the ABAP Dictionary? What types of tables can be created in the ABAP Dictionary? Which field differentiates a table from client-dependent and client-independent? What is the difference between pooled tables and cluster tables? What is the difference between Database tables and Views? What are the different types of Views? Can I use all the views in the ABAP program ? What is Table Maintenance Generator? What is One step, two step in Table Maintenance Generator? How do you activate the database table after making changes to it? In which table are the programs stored in? I have recently added a few fields to a custom table. But I don't get these fields in the table maintenance program? What is the difference between INSERT and MODIFY? What is the difference between Modify and Update? How do I create index on a database table? What is the difference between Check Table and Value Table? When Value table becomes check table? What is the difference between Domain and Data Elements? When I create new entries in the table the field values are always in Uppercase. How do I get the data with mixed case? What is the need of reference table and reference field in Currency/Quantity fields? Where to find the table of tables? How to add new fields in standard table ? How to create the Table Maintenance Generator? In which table can we find the Report Source Code? What is the difference between Transparent tables and Pooled tables? What is a Data Element? What is a Matchcode? What tables contain DDIC objects? What are Lock Objects? What is significance of table maintenance attribute? Where to find the relationships between different database tables ?
back to top
back to top
back to top
The view is derived from one or more tables which is created only with the required fields from the database table(s). It can also be created with table inner joins and specifying conditions for data retrieval. back to top
How do you activate the database table after making changes to it?
After making changes to the table, in order to reflect the changes go to transaction SE14 and Choose Edit and then choose Activate and Adjust Database. OR You can directly activate it from the SE11. Goto Utilities-> Database Object -> Database Utility -> Activate and Adjust Database. back to top
I have recently added a few fields to a custom table. But I don't get these fields in the table maintenance program?
You have to delete and recreate your own existing table maintenance program to see your new fields. I had faced similar problem, I re-generated the view maintenance and I could see newly added fields in the maintenance program. back to top
While establishing foreign key relation between check table and foreign key table if at the domain level value table is provided then the system will propose that value table as check table if you accept this proposal then value table will becomes check table. back to top
When I create new entries in the table the field values are always in Uppercase. How do I get the data with mixed case?
The reason for this is that the Domain for the field in the table might have Lowercase checkbox unchecked. Check the Lowercase checkbox to preserve the case of your data. back to top
What is the need of reference table and reference field in Currency/Quantity fields?
The reference table and reference field are the fields which specify the currency key or Unit of Measure. Suppose if the user specifies a currency amount say 1000$, the currency amount field would indicate the amount 1000 and the currency key indicates that the currency specified is in Dollars. back to top
back to top
Transparent tables : It has a one- to- one relationship with a table in the database. Transparent tables are used to hold application data. Application data is the master data or transaction data used by an application. Example of Master data : Material master (MARA) Example of transaction data : Purchase orders Transparent tables are probably the only type of table we will ever create. Pooled tables : It has many-to-one relationship with a table in the database. Used to hold system data, such as System configuration information, or historical and statistical data. It 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. Pooled tables are primarily used by SAP to hold customizing data. During initial implementation of the system the data in the customizing tables is set up by a functional analyst. 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. A pool has the following structure: Field Tabname Varkey Data type CHAR(10) CHAR ( n ) Meaning Name of pooled table Contains the entries from all key fields of the pooled table record as a string, max. length for n is 110 Length of the string in Vardata Contains the entries from all data fields of the pooled table record as a string, max. length n depends on the database system used
Dataln Vardata
INT2(5) RAW ( n )
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.
What is a Matchcode?
This is just another kind of search help provided by the ABAP Workbench via ABAP Dictionary. It is defined in ABAP Dictionary. This was replaced by search help from 4.0 above. Before 4.0 input helps were defined by creating matchcodes and help views, these objects are converted to search helps with the same name. An elementary search help can be created by using a matchcode ID. And collective search help is created by using a matchcode object. When Matchcodes are attached to input fields these attachments are converted to the collective search helps to the corresponding screen fields. back to top
1. TADIR - Directory of Repository Objects 2. DD01L - Domain 3. DD02L - Tables 4. DD03L - Table Fields 5. DD04L - Data Elements 6. DD06L - Pool/Cluster structures 7. DD07L - Fixed values for Domains 8. DD08L - Relationship definitions 9. DD09L - Technical Settings of tables 10. DD12L - Secondary Indexes 11. DD23L - Matchcode Objects 12. DD25L - Aggregate Header (Views, MC Objects, Lock Objects) 13. DD30L - Search Helps 14. DD40L - Table types (internal tables defined in DD) back to top