SAP ABAP Interview Questions & Answers Part 3

«« Previous
Next »»

31. What is the difference between a ‘Database index’ and a ‘Match code’?


Ans: ‘Database Index’ contains fields from one table while ‘Match Code’ contain fields from several tables. Match code objects can be built on cluster tables, transparent tables and pooled tables.

32.  Explain the benefits of modularization technique?


Ans: By using modularization techniques, you can avoid redundancy if the program contains the same or similar blocks of statements or it is required to process the same function several times.  By modularizing the ABAP/4 programs, we make them easy to read and improve their structure.  Modularized programs are also easier to maintain and update.


33. How can you create callable modules of program code within one ABAP/4 program?

Ans: 
  1. By defining Macros
  2. By creating include programs in the library.


34. What are different types of parameters? How can you distinguish between different kinds of parameters?

Ans: The different types of parameters are
  1. Formal Parameters:  It is defined during the definition of subroutine with the ‘FORM’ statement
  2. Actual Parameters:  It is specified during the call of a subroutine with the ‘PERFORM’ statement
You can distinguish different kind of parameters by their functionality.  Input parameters are used to pass data to subroutines, while output parameters are used to pass data from subroutines.

35. What are the different databases Integrities?

Ans: 
  1. Semantic Integrity
  2. Relational Integrity
  3. Primary Key Integrity
  4. Value Set Integrity
  5. Foreign Key Integrity
  6. Operational Integrity

36. What is an internal table and work area in SAP ABAP ?


Ans: Internal tables and work areas are temporary memory areas which are used to store data at run-time. Internal tables and work areas are instances of database tables.

37. How much memory will be allocated for internal table and work area ?


Ans: 8KB memory will be allocated for both internal tables and work areas and it will be increased dynamically.

38. What is types statement in SAP ABAP programing ?


Ans: Types is a statement which is used to define user-defined structure in SAP ABAP programming 

TYPES : BEGIN OF TY_TABLE,
MATNR TYPE MARA-MATNR,
MTART TYPE MARA-MTART,
MEINS TYPE MARA-MEINS,
END OF TY_TABLE.

39. How do you read data from database table in SAP ABAP ?


Ans: The only way to read data from database table in SAP ABAP is using select (open SQL) statements.

40. What is difference between append and insert statements in SAP ABAP ?


Ans: Append is statement which is used to add a record at bottom of a internal table from work area .
Insert is a statement which is used to insert a record at a specified position of an internal table from work area.

41. What is webdynpro for ABAP ?


Ans: Webdynpro for ABAP is SAP web interface model which is used to develop web applications in SAP.

42. what is the event that will be triggered first in an ABAP report?


Ans: Initialization event is triggered first if user executes an ABAP report. But if the program is of type 1, M, F, or S; then LOAD-OF-PROGRAM is triggered first and then INITIALIZATION event.

43. What are the differences between simple and interactive ABAP reports?


Ans: A simple ABAP report allows the user to interact with the whole business-result data. In case of interactive reports user can interact with specific result data at a time.

44. Types of ABAP reports in SAP?


Ans: ABAP report types are of 7 types. ABAP report types are available in reports attributes screen.
Executable program.
Function group (containing function modules) 
Include 
Interface pool 
Class pool 
Module pool 
Subroutine pool 

45. How many lists can be displayed through an interactive report?


Ans: Maximum 21 lists can be displayed (1 basic list 20 secondary lists).

«« Previous
Next »»

No comments:

Post a Comment