1 | What is a domain? |
| Domain describes the technical attributes for a field. |
2 | What are in-build data type? |
|
|
3 | What is a conversion routine in domains? |
| While writing a values or reading a values form the data base the abap interpreter uses conversion routines so as to retrieve / write values from the data base E.g. MATNR has conversion routine MATN1 associated with it and its length is 18 char but if value entered is only 10 char then rest is padded by zeros and stored and completed 18 char this is done by conversion routine and while reading the same its read as 18 char but displayed as 10 char only. Following FMs can be used for conversion while programming.
Conversion exit ALPHA, external->internal
Conversion exit ALPHA, internal->external |
4 | What is value range? |
| When user press F4 help on a field a list of values appears in a pop up this is nothing but the value help that is provided at the domain level, this can be single value, range or another database table. |
5 | What is a data element? |
| Data element is those which can use domains and inherit the data type or can directly be associated with a data type and are used in table for assignment to a table field. |
6 | What is a parameter id in data element? |
| When a data element is being used, a memory space is allocated for that element which is recognized by parameter id. |
7 | Can documentation be provided in data element? |
| Yes, using the Documentation button and is displayed when user press F1 on that field. |
8 | What is the use of field labels in data element? |
| Displayed when these data elements are used in screens. |
9 | What are views? |
| A view is a logical view on one or more tables, that is, a view is not actually physically stored, instead being derived from one or more other tables. |
10 | What are the types of views? |
| a) Projection b) Database c) Maintenance d) Help |
11 | What is the difference between database and projection view? |
| Projection view: Is formed on a single table. Database view: Is formed on one or more tables. |
12 | What is the prerequisite for forming a database maintenance or help view? |
| If more than one table if used then there should exist a primary foreign key relationship between them. |
13 | Can we give a condition while forming a view? |
| Yes in the selection criteria tab. |
14 | What is a search helps? |
| A search help is an object of the ABAP Dictionary with which input helps (F4 helps) can be defined. |
15 | What are types of search helps? |
| a) Elementary search helps implement a search path for determining the possible entries. b) Collective search helps contain several elementary search helps. A collective search help therefore provides several alternative search paths for possible entries. c) Append search helps can be used to enhance collective search helps delivered by SAP with customer-specific search paths without requiring a modification. |
16 | What is a Lock Object? |
| A lock object is a virtual link of several SAP tables which is used to synchronize simultaneous access by two users to the same set of data. |
17 | What are modes of locks? |
| a) Read lock (sharedlock) b) Write lock (exclusive lock) c) Enhanced write lock (exclusive lock without cumulation) |
18 | What is a table? |
| a) One that stores data at run time, b) Should be client dependent, c) Should have primary key associated with it. |
19 | What are types of tables? |
| a) Transparent Tables that we create normally are transparent tables. b) Pooled tables can be used to store control data (e.g. screen sequences, program parameters or temporary data). c) Clustered tables contain continuous text, for example, documentation. |
20 | What does client dependent mean? |
| When client field MANDT is associated with any object in sap then that object becomes client dependent. |
21 | What is a primary key? |
| Field on which a record can be uniquely identified in a data base table is called a primary key. |
22 | Can a table contain more than one field as primary key? |
| Yes, In that case the group of key field form a composite primary key. |
23 | What does technical setting contain? |
| The technical settings of a table define how the table will be handled when it is created in the database, that is whether the table will be buffered and whether changes to data records of the table will be logged. a) Data class: The data class defines the physical area of the database (table space) in which the table should be created. b) Size category: The size category defines the size of the extents created for the table. |
24 | What are secondary indexes and how are they created? |
| When a records is searched based on other primary key then the performance is hit badly so secondary key is formed which has group of field on which we can create a index for searching. There is a button called indexes which is used to create secondary key. |
25 | What is a append structure and Include? |
| a) Append Structure: An append structure is a structure that is assigned to exactly one table or structure. There can be more than one append structure for a table or structure. These should always start with YY or ZZ. b) Include Structure: They are simple structure like append structures except that they are global and can be included in any tables. And can be included more than once in the same table. |
26 | What is a structure? |
| Is very similarly to a table except that it does not hold any data we can say its just a definition that carried fields and their declaration. |
27 | What is the difference between a structure and table? |
| a) Table Hold data at runtime structure do not. b) Tables have keys associated with it structure do not. |
28 | What is a table type? |
| A table type describes the structure and functional attributes of an internal table in an ABAP program |
29 | What is type group? |
| IT contains all the definition for variable, tables, work areas which can be used in programs. |
30 | What are the different TCODES for accessing a data dictionary? |
| SE11: Change, Display and create SE12:Display only SE16:Table Display SE17:General Table Display |
31 | What is the CURR and CUKY significance? |
| Sap provides the provision for making currency as country independent value so instead of specifying the values sap also make it mandatory to give a currency type reference to the field so that conversion can be handled easily. Same applies for QUANT and UNIT type field also. |
32 | What are different approaches for creating a table? |
| Top Down and Bottom Up approach. |
33 | Can we modify standard tables? |
| Yes, But it is not recommended. We need the access key for this. |
34 | What is foreign key relationship? |
| A foreign key links two tables T1 and T2 by assigning fields of table T1 to the primary key fields of table T2. Table T1 is called the foreign key table (dependent table) and table T2 the check table (referenced table). |
Abap Faq,Reports,Scripts,Lsmw,Bdc, Smart Forms,Ale Idocs,Badi,User Exits,Bapis,Performance Tunning,Debugger,Sample Programs.
Wednesday, August 1, 2007
Data Dictionary
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment