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.

11. What can you do using the Code Inspector?

  • Create your own inspections, object sets, or check variants.
  • Choose from only the Performance, Security, and User Interface check categories.
  • Create only local inspections, and object sets, and check variants.
  • Create an object set to represent the programs and objects to be inspected.

12. You enhance an SAP standard global class by defining a post-method for an SAP method. The original SAP method has an EXPORT parameter named PARM1. What parameters does the post-method have?

  • An EXPORT parameter named PARM1.
  • A CHANGING parameter named PARM1.
  • An IMPORT parameter named PARM1.
  • A RETURNING parameter named PARM1.

13. Which of the following are table buffering types? Note: There are 3 correct answers to this question.

  • Primary-Key
  • Single-record
  • Column-Store
  • Generic
  • Full
  1. Which of the following components belong to the SAP application layer?
    Note: There are 2 correct answers to this question.
  • SAP GUI
  • ABAP Dispatcher
  • Database Interface
  • Database server
  1. Which objects are automatically created when you create a new function group?
  • A function pool and two include programs.
  • A function pool and two function modules.
  • A function pool and two module pools.
  • A function pool and two subroutine pools.
  1. What kind of breakpoints can be set? Note: There are 2 correct answers to this question.
  • Breakpoint at value change.
  • Breakpoint at the statement.
  • Breakpoint at the transaction.
  • External breakpoint.
  1. Which data element property do you set that the system logs changes to the content of fields with this data element?
  • Change document.
  • Documentation.
  • Parameter ID.
  • Input history.
  1. You have created the following repository objects :
  • A class with and an event definition.
  • A handler class with the method ON_EVT handles this event.
  • A report that instiates the handler class.

The report does not react to the event. How do you analyze this issue?

Note: There are 3 correct answers to this question.

  • Check if the handler method is registered.
  • Check if the handler method ON_EVT is defined in a subroutine
  • Check if the implementation of the handler method ON_EVT contains the correct logic.
  • Check if the event is triggered by setting a breakpoint at the RAISE EVENT statement.
  • Check if the event is triggered by setting a breakpoint at the MESSAGE…..RAISING statement.
  1. You write a program that updates a data record in the database using the following statement:
    UPDATE scar FROM Is_sca r.
    Which of the following tasks does the Database Interface perform? Note: There are 2 correct answers to this question.
  • It applies a logical lock to the updated data record.
  • It restricts access to the log-on client.
  • It translates the statement to native SQL.
  • It checks the authorization of the current user.
  1. How can you search for suitable classic Business Add-Ins (BADI’s)? Note: There are 2 correct answers to this question.

Search in the repository Information System and Choose

  • Enhancements -> Customer Exits.
  • Search for suitable entries in the relevant component in the Implementation Guide (IMG).
  • Use the SAP menu Tools -> ABAP Workbench -> Development ->
  • Business Object Builder.
  • Search in an application program for the method GET_INSTANCE of class CL_EXITHANDLER.

Leave a Comment