Sap ABAP 7.4 Question and Answers

ABAP 7.4

1. You are writing a program that uses an ABAP class. Which components of the class can you access directly from the program?

  • Only Protected components
  • Only private components
  • Only public components
  • All components

2. You need to create a piece of code that can be used by multiple programs.

Which of the following techniques for modularization does SAP recommend?

Note: There are 2 correct answers to this question.

  • A method in a global class
  • A function module in a function group
  • A method in a local class.
  • A subroutine in a program.

3. What type of ABAP Dictionary view is implemented as an INNER JOIN?

  • Maintenance View
  • Help View
  • Database View
  • Projection View

4. Which of the following Pre-defined data types are character types?

  • T
  • D
  • N
  • P
  • X

5. Your program uses the class CL_GUI_ALV_GRID to generate a classic ALV Grid Control.

What do you need in your program to react to a user double-clicking a row in the ALV Grid?

Note: There are 3 correct answers to this question.

  • A method call to refresh the display.
  • A set handler statement to register the handler to the event
  • A method call to create the event handler.
  • A handler class
  • A handler method for the double_clickevent.

6. You want the develop a process’s character type data. When you implement the program, you can either use the classical string statements or the newer string expressions and functions.

What are the main benefits of using string expressions and string functions?

Note: There are 2 correct answers to this question.

  • You can write that is very easy to read and understand.
  • You can improve the performance significantly.
  • You can reduce the number of intermediate variables.
  • You can write compact syntax instead of long sequence of statements.

7. You run an executable program which contains the following code :

DATA:gv_var1TYPEnLENGTH3,
Gv_var2TYPEnLENGTH3VALUE‘456’.
START-OF-SELECTION
CLEARgv_var2.
gv_var2=gv_var1.
gv_var1=’123’.

At what point does the system reserve memory for the data object gv_var1?

  • At the beginning of the START-OF-SELECTION event block.
  • As soon as the program is loaded into the internal session.
  • When the assignment to gv_var2 is executed.
  • When the value ‘123’ is assigned to the data object.

8. Which rules do you have to consider when working with pooled tables?

Note: There are 2 correct answers to this question.

  • All fields can be used in indexes.
  • Only key fields should be used in WHERE conditions.
  • Only key fields should be used in ORDER BY clauses.
  • An append structure can be created.

9. Which components of the class can be accessed in the implementation of a static method in that class?

Note: There are 2 correct answers to this question.

  • Types
  • Instant attributes
  • All events
  • Constants

10. What are the perquisites when creating an append structure for a standard sap table?

Note: There are 2 correct answers to this question.

  • The enhancement category of the table is NOT set to ‘Not Enhancable’.
  • The fields in the append structure should start with YY or ZZ.
  • The table cannot have any fields of type FLTP.
  • The table must be copied before the append structure can be created.

Leave a Comment