Tuesday, December 3, 2013

SAP ABAP Interview Questions and Answers - 4

51. Can we define our own Match Code ID's for SAP Matchcodes?
Yes, the number 0 to 9 are reserved for us to create our own Match Code Ids for a SAP defined
Matchcode object.
52. What is an Update type with reference to a Match code ID?
If the data in one of the base tables of a matchcode ID changes, the matchcode data has to be
updated. The update type stipulates when the matchcode is to be updated and how it is to be
done. The update type also specifies which method is to be used for Building matchcodes. You
must specify the update type when you define a matchcode ID.
53. Can matchcode object contain Ids with different update types?
Yes.
54. What are the update types possible?
The following update types are possible:
• Update type A: The matchcode data is updated asynchronously to database changes.
• Update type S: The matchcode data is updated synchronously to database changes.
• Update type P: The matchcode data is updated by the application program.
• Update type I: Access to the matchcode data is managed using a database view.
• Update type L: Access to the matchcode is achieved by calling a function module.
55. What are the two different ways of building a match code object?
A match code can be built in two different ways:
• Logical structure: The matchcode data is set up temporarily at the moment when the match
code is accessed. (Update type I, k).
• Physical Structure: The match code data is physically stored in a separate table in the database.
(Update type A, S, P).
56. What are the differences between a Database index and a match code?
• Match code can contain fields from several tables whereas an index can contain fields from
only one table.
• Match code objects can be built on transparent tables and pooled and cluster tables.
57. What is the function of a Domain?
• A domain describes the technical settings of a table field.
• A domain defines a value range, which sets the permissible data values for the fields, which
refers to this domain.
• A single domain can be used as basis for any number of fields that are identical in structure.
58. Can you delete a domain, which is being used by data elements?
No.
59. What are conversion routines?
• Non-standard conversions from display format to sap internal format and vice-versa are
implemented with so called conversion routines.
60. What is the function of a data element?
A data element describes the role played by a domain in a technical context. A data element
contains semantic information.
61. Can a domain, assigned to a data element be changed?
Yes. We can do so by just overwriting the entry in the field domain.
62. Can you delete data element, which is being used by table fields.
No.
63. Can you define a field without a data element?
Yes. If you want to specify no data element and therefore no domain for a field, you can enter
data type and field length and a short text directly in the table maintenance.
64. What are null values?
If the value of a field in a table is undefined or unknown, it is called a null value.
65. What is the difference between a structure and a table?
Structures are constructed the almost the same way as tables, the only difference using that no
database table is generated from them.
66. What is a view?
A view is a logical view on one or more tables. A view on one or more tables i.e., the data from a
view is not actually physically stored instead being derived from one or more tables.
67. How many types of Views are there?
• Database View
• Help View
• Projection View
• Maintenance View
68. What is Locking?
When two users simultaneously attempt to access the same data record, this is synchronized by a
lock mechanism.
69. What is database utility?
Database utility is the interface between the ABAP/4 Dictionary and the underlying the SAP
system.
70. What are the basic functions of Database utility?
The basic functions of database utility are:
• Create database objects.
• Delete database objects.
• Adjust database objects to changed ABAP/4 dictionary definition.
71. What is Repository Info. Systems?
It is a tool with which you can make data stored in the ABAP/4 Dictionary available.

No comments:

Post a Comment