SAP ABAP Quiz - 1

Description: SAP ABAP Quiz - 1
Number of Questions: 10
Created by:
Tags: sap abap
Attempted 0/10 Correct 0 Score 0

Which event is used to navigate from basic list to secondary list?

  1. At user-command

  2. At Pfn

  3. At line-selection

  4. Initialization


Correct Option: C

AI Explanation

To answer this question, you need to understand the events used in navigation within a list.

Option A) At user-command - This option is incorrect because the "At user-command" event is not specific to navigating from a basic list to a secondary list. It is a generic event that can be used for various user commands.

Option B) At Pfn - This option is incorrect because the "At Pfn" event is not related to navigating from a basic list to a secondary list. "Pfn" stands for "Process Function" and it is an event triggered when a specific process function is called.

Option C) At line-selection - This option is correct because the "At line-selection" event is used to navigate from a basic list to a secondary list. This event is triggered when a user selects a line in a basic list, allowing them to navigate to a more detailed view or a secondary list.

Option D) Initialization - This option is incorrect because the "Initialization" event is not specifically used for navigating from a basic list to a secondary list. The "Initialization" event is triggered when a program or application is initialized or started.

The correct answer is C) At line-selection. This option is correct because the "At line-selection" event is specifically used to navigate from a basic list to a secondary list.

Which is not an event keyword in reports?

  1. Load of Program

  2. At line-selection

  3. Exit

  4. End-of-page


Correct Option: C

AI Explanation

To answer this question, we need to understand the different event keywords used in reports.

Option A) Load of Program - This option is incorrect. "Load of Program" is an event keyword that is triggered when the program is loaded.

Option B) At line-selection - This option is incorrect. "At line-selection" is an event keyword that is triggered when a line is selected.

Option C) Exit - This option is correct. "Exit" is not an event keyword in reports.

Option D) End-of-page - This option is incorrect. "End-of-page" is an event keyword that is triggered when the end of a page is reached.

The correct answer is C) Exit. This option is correct because "Exit" is not an event keyword in reports.

Does client independent tables have MANDT field?

  1. Yes

  2. No

  3. Both

  4. None of the above


Correct Option: B
Explanation:

To answer the question, let's first understand the concept of client-independent tables. In SAP systems, client-independent tables are those that store data that is shared across all clients in the system, rather than being specific to a single client. These tables typically contain configuration data or other system-wide information.

Now, let's go through each option:

A. Yes: This option is incorrect. Client-independent tables do not have a MANDT field because they store data that is shared across all clients, so there is no need for a field to distinguish the client.

B. No: This option is correct. Client-independent tables do not have a MANDT field because they are not associated with a specific client.

C. Both: This option is incorrect. Client-independent tables do not have a MANDT field, so they cannot have both a MANDT field and be client-independent.

D. None of the above: This option is incorrect. Option B, "No," is the correct answer because client-independent tables do not have a MANDT field.

So, the correct answer is: B. No.

Which is the default event in ABAP?

  1. Initialization

  2. Start-of-selection

  3. At Selection-screen

  4. Top-of-page


Correct Option: B
Explanation:

To answer this question, the user needs to have basic knowledge of ABAP programming language and its event-driven programming model.

The correct answer is B. Start-of-selection is the default event in ABAP. This event is triggered when the program is executed and is responsible for fetching data from the database tables and displaying it on the screen.

Now, let's go through each option to explain why it is right or wrong:

A. Initialization: This is not the default event in ABAP. The initialization event is used for initializing variables and internal tables before the start-of-selection event is triggered.

B. Start-of-selection: This is the correct answer. This event is triggered by default when the program is executed.

C. At Selection-screen: This event is triggered when the user interacts with the selection screen of the ABAP program. It is not the default event.

D. Top-of-page: This event is responsible for displaying headers and footers on each page of the ABAP program. It is not the default event.

Therefore, the correct answer is:

The Answer is: B. Start-of-selection

Which is not a type of Standard Internal table?

  1. Index Table

  2. Hashed table

  3. Sorted Table

  4. Standard Table


Correct Option: A

AI Explanation

To answer this question, you need to understand the different types of standard internal tables in computer programming.

Let's go through each option to understand why it is correct or incorrect:

Option A) Index Table - This option is incorrect because an index table is a type of standard internal table. It allows for fast access to table entries using a unique key.

Option B) Hashed table - This option is incorrect because a hashed table is a type of standard internal table. It uses a hash function to store and retrieve table entries, providing fast access.

Option C) Sorted Table - This option is incorrect because a sorted table is a type of standard internal table. It maintains its entries in a sorted order based on a key field, allowing for efficient searching and retrieval.

Option D) Standard Table - This option is correct because it is a type of standard internal table. It stores table entries in an arbitrary order and does not provide any special features like indexing or sorting.

The correct answer is D) Standard Table. This option is correct because it is not a type of standard internal table.

Therefore, the correct answer is D.

  1. Call transaction

  2. Session method

  3. Direct input method

  4. All of the Above


Correct Option: D
  1. BDC_OPEN_GROUP

  2. BDC_CLOSED_GROUP

  3. BDC_DELETE_GROUP

  4. BDC_INSERT


Correct Option: A,B,D

Which all are dictionary objects?

  1. Table

  2. Function Module

  3. Domain

  4. Structure


Correct Option: A,C,D
  1. Transaparent table

  2. Pooled table

  3. Cluster table

  4. Internal table


Correct Option: C
- Hide questions