1.
What is the system field for the current Page Number?
Correct Answer
C. SY-PAGNO
Explanation
The system field for the current Page Number is SY-PAGNO.
2.
The message types are one of the following:
Correct Answer
D. All the above
Explanation
The correct answer is "All the above" because the question states that the message types are one of the following: A, S, W. Therefore, the correct answer includes all of these options.
3.
Selection screen entries referring to data dictionary objects have certain checks in-built in them. Additional checks can be written using event
Correct Answer
C. AT SELECTION-SCREEN
Explanation
The "AT SELECTION-SCREEN" event is used to add additional checks to the selection screen entries referring to data dictionary objects. This event allows the programmer to write custom logic to validate the user input or perform any other necessary checks before processing the data. By using this event, the programmer can ensure that the input provided by the user meets the required criteria and avoid any potential errors or inconsistencies in the data.
4.
Colors can be associated with the report fields using one of the following commands
Correct Answer
C. Format color on
Explanation
The given correct answer is "Format color on". This command is used to associate colors with the report fields. It enables the formatting of colors in the report, allowing for a visually appealing and organized presentation of data.
5.
How can you suppress the default title of a list?
Correct Answer
C. By using the NO STANDARD PAGE HEADING addition in the REPORT statement
Explanation
By using the NO STANDARD PAGE HEADING addition in the REPORT statement, you can suppress the default title of a list. This addition tells the program not to include the standard page heading in the output, allowing you to create your own title or omit it entirely.
6.
Page headers for a secondary list should be coded in which event?
Correct Answer
C. TOP-OF-PAGE DURING LINE-SELECTION
Explanation
The page headers for a secondary list should be coded in the TOP-OF-PAGE DURING LINE-SELECTION event. This event is triggered when a line is selected on the list and allows the programmer to include specific headers for that particular line. The other events mentioned, such as TOP-OF-PAGE and START-OF-SELECTION, do not provide the same level of control over the headers for a secondary list.
7.
Which of the following is not a Message type?
Correct Answer
B. C - Continue
Explanation
The message type "Continue" is not a valid message type. In communication protocols, "Continue" is not typically used as a message type. Instead, common message types include Abbend, Error, and Information. Therefore, "Continue" does not fit into the category of message types listed in the options.
8.
An internal table icode contains the following entries:
Field1 Field2
--------------
John 12345
Alice 23478
Sam 54321
john 50000
DATA: BEGIN OF ICODE OCCURS 0,
FIELD1(5),
FIELD2(5),
END OF ICODE.
READ TABLE ICODE WITH KEY FIELD1 = 'John' BINARY SEARCH.
Why does executing the above code return a sy-subrc of 4?
Correct Answer
D. The internal table must be sorted first.
Explanation
The code is using a binary search to find a record in the internal table with the key value 'John' in the FIELD1 field. However, in order to use a binary search, the internal table must be sorted in ascending order by the key field. Since the internal table is not sorted, the binary search cannot be performed and the sy-subrc value is 4, indicating that the record was not found.
9.
What is the default mode for passing actual parameters in a Perform?
Correct Answer
B. By Reference
Explanation
The default mode for passing actual parameters in a Perform statement is "By Reference". This means that the actual parameters are passed to the called program or paragraph by their memory addresses. Any changes made to the formal parameters within the called program or paragraph will affect the original values of the actual parameters in the calling program or paragraph.
10.
T-Code for Message Class Creation ?
Correct Answer
B. SE91
Explanation
SE91 is the correct answer because it is the T-Code used to create a message class in SAP. T-Codes are transaction codes that allow users to access specific functions in the SAP system. SE91 specifically refers to the transaction code for creating a message class, which is used to define and manage messages in SAP applications.
11.
T100 Table has the following Structure?
Correct Answer
D. All the above
Explanation
The T100 Table has the following structure: Message Text, Language Key, and Message number. Therefore, the correct answer is "All the above" as all of these elements are present in the T100 Table structure.
12.
Assuming a pushbutton with function code 'FUNC' is available in the toolbar of a list report, what event is processed when the button is clicked?
Correct Answer
A. AT USER-COMMAND.
Explanation
When the pushbutton with function code 'FUNC' is clicked, the event that is processed is AT USER-COMMAND. This event is triggered whenever a user interacts with the user interface, such as clicking a button or pressing a key. In this case, when the pushbutton is clicked, the AT USER-COMMAND event is triggered, allowing the program to perform the necessary actions or execute the corresponding code.
13.
When you create Function Group By default which includes will Create?
Correct Answer
A. INCLUDE LTOP.
Explanation
When you create a Function Group by default, it includes the INCLUDE LTOP. This means that the Function Group will include the LTOP (Local Top Include) file. The LTOP file contains common data and function modules that can be used by all function modules in the Function Group. This allows for reusability and avoids duplication of code. The other options mentioned (INCLUDE TOP and INCLUDE LF) are not included by default when creating a Function Group.
14.
Which of the Following Fields are NOT for BDCDATA Structure?
Correct Answer
B. FINAME
Explanation
The field "FINAME" is not for the BDCDATA Structure. This means that the BDCDATA Structure does not have a field named "FINAME".
15.
Which Function Modules is Used In Hierarchical ALV Report Display?
Correct Answer
C. REUSE_ALV_HIERSEQ_LIST_DISPLAY
Explanation
The function module "REUSE_ALV_HIERSEQ_LIST_DISPLAY" is used in hierarchical ALV report display.
16.
T-Code for uploading the ALV LOGO?
Correct Answer
C. OAER
Explanation
The correct answer is OAER. This is because OAER is the correct T-Code for uploading the ALV LOGO.
17.
How to Declare the Static Variables in OOABAP?
Correct Answer
D. CLASS-DATA
Explanation
The correct answer is "CLASS-DATA". In OOABAP, static variables are declared using the keyword "CLASS-DATA".
18.
Which of the following functional Modules are optional For SAPScript?
Correct Answer
B. START_FORM
Explanation
The START_FORM module is an optional functional module for SAPScript. This module is used to define the start of a form and is not required for the execution of the script. The OPEN_FORM module is used to open the form, CLOSE_FORM module is used to close the form, and WRITE_FORM module is used to write data to the form. However, the START_FORM module is not necessary for the proper functioning of the script and can be omitted if not needed.
19.
What is the default mode for passing actual parameters in a Perform?
Correct Answer
B. By Reference
Explanation
The default mode for passing actual parameters in a Perform is "By Reference". This means that the Perform statement will pass the memory address of the actual parameter to the called program or routine. Any changes made to the formal parameter within the called program will also affect the value of the actual parameter in the calling program.
20.
Assuming a pushbutton with function code 'FUNC' is available in the toolbar of a list report, what event is processed when the button is clicked?
Correct Answer
A. AT USER-COMMAND.
Explanation
When the pushbutton with function code 'FUNC' is clicked, the event that is processed is AT USER-COMMAND.
21.
Which is the mandatory to input field for Dialogue Programming / Module Pool design?
Correct Answer
B. ALpHA
Explanation
In Dialogue Programming / Module Pool design, the mandatory input field is ALPHA. This means that the user must enter alphanumeric characters in this field. The other options (LABEL, FCTCODE, KEYFIELD) are not mandatory input fields for this type of design.
22.
What is the Purpose of REUSE_ALV_COMMENTARY_WRITE Function Module?
Correct Answer
C. Logo and Header
Explanation
The purpose of the REUSE_ALV_COMMENTARY_WRITE function module is to display both the logo and header in the ALV (ABAP List Viewer) output. This function module allows users to add a logo and header to the ALV output, providing a more customized and visually appealing display.
23.
Which type pool is used for ALV Type-pools?
Correct Answer
D. SLIS
Explanation
The correct answer is SLIS. SLIS is the type pool used for ALV (ABAP List Viewer) Type-pools.
24.
What table is used to store the control records for IDOC?
Correct Answer
B. EDIDC
Explanation
The table used to store the control records for IDOC is EDIDC.
25.
What table is used to store all the Message Class Texts?
Correct Answer
B. T100
Explanation
The table used to store all the Message Class Texts is T100.
26.
Select the correct Debugger in SAP.
Correct Answer
A. New ABAP Debugger
Explanation
The correct answer is "New ABAP Debugger". This suggests that there is a specific type of debugging called the "New ABAP Debugger" in SAP. This implies that there are other types of debugging available in SAP, such as the "Adv ABAP Debugger" and the "Old ABAP Debugger", but they are not the correct answer. Therefore, the correct answer is the "New ABAP Debugger".
27.
During the conversion process of databases, the data is copied from the temporary table to the database table using the statement.
Correct Answer
B. MOVE-CORRESPONDING
Explanation
During the conversion process of databases, the data is copied from the temporary table to the database table using the MOVE-CORRESPONDING statement. This statement allows for the efficient transfer of data between tables by automatically matching the fields in the temporary table with those in the database table and copying the corresponding values. It ensures that the data is accurately transferred and avoids any manual mapping or manipulation of fields.
28.
What is the right order in which the events are triggered?
START-OF SELECTION, INITIALIZATION , AT SELECTION-SCREEN
Correct Answer
A. INITIALIZATION , AT SELECTION-SCREEN , START-OF SELECTION
Explanation
The correct order in which the events are triggered is INITIALIZATION, AT SELECTION-SCREEN, START-OF SELECTION. The INITIALIZATION event is triggered first to initialize variables and perform any necessary setup. Then, the AT SELECTION-SCREEN event is triggered to handle any user input on the selection screen. Finally, the START-OF SELECTION event is triggered to execute the main logic of the program.
29.
What is the use of interactive reporting?
Correct Answer
B. The report output can be queried for further details.
Explanation
Interactive reporting allows users to query the report output for further details. This means that users can interact with the report, selecting specific data points or sections to get more information or drill down into specific details. This feature enhances the usability and functionality of the report, allowing users to analyze and explore the data in more depth.
30.
In SAP ABAP, which of the following statements is correct regarding the use of field symbols?
Correct Answer
C. Field symbols allow dynamic access to variables and can reference different data objects at runtime.
Explanation
Field symbols in SAP ABAP provide dynamic access to data objects, enabling flexible reference to various data types at runtime. They do not require explicit memory allocation and can be used with internal tables, among other objects, including within LOOP statements.
31.
What is the T-Code for releasing the Transport request Number?
Correct Answer
A. SE09
Explanation
SE09 is the correct T-Code for releasing the Transport request Number. This transaction code is used in SAP systems to release transport requests, which allows the changes made in the development system to be transported to other systems such as quality or production systems. By using SE09, users can select the specific transport request and release it, making the changes available for transport to other systems.
32.
How many lists can exist in parallel in an interactive reporting?
Correct Answer
A. An Interactive report can have 1 basic list and up to 20 Secondary lists.
Explanation
An interactive report can have one basic list and up to 20 secondary lists. This means that there can be a main list that displays the primary information and up to 20 additional lists that provide supplementary information or drill-down capabilities. Having multiple lists in parallel allows for a more comprehensive and interactive reporting experience.
33.
What are the 2 boxes in your system for coding for Abap and their logins?
Correct Answer
B. IDES/Sandbox
Explanation
The correct answer is IDES/Sandbox. IDES stands for Internet Demonstration and Evaluation System, which is a sample system provided by SAP for training and testing purposes. Sandbox is a separate system used for development and testing activities without affecting the production environment. Therefore, the two boxes in the system for coding in ABAP are IDES and Sandbox, where developers can write and test their ABAP code.
34.
What is the T-Code for unlocking the objects?
Correct Answer
D. SM12
Explanation
SM12 is the correct answer because it is the T-Code used for unlocking objects in SAP. T-Codes are transaction codes that are used to access different functions in the SAP system. SM12 specifically deals with the administration of locks and unlocks in the system. By using SM12, users can view and release locks on objects that have been locked by other users, ensuring smooth functioning and preventing conflicts in the system.
35.
What is the system field for the current date for scripts?
Correct Answer
B. &DATE&
Explanation
The correct answer is "&DATE&". In SAP scripting, the "&DATE&" system field is used to retrieve the current date. This field can be used in scripts to perform date-related calculations or to display the current date in reports or forms.
36.
What is the syntax for BDCDATA Structure to declare in the Program?
Correct Answer
D. DATA LIKE BDCDATA occurs 0 With HEADERLINE
Explanation
The correct answer is "DATA LIKE BDCDATA occurs 0 With HEADERLINE." This is the correct syntax for declaring a BDCDATA structure in a program. The "LIKE BDCDATA" indicates that the structure should have the same structure as the BDCDATA structure, "occurs 0" specifies that it is a single instance of the structure, and "With HEADERLINE" indicates that the first line of the internal table should be treated as a header line.
37.
The screen flow logic must contain at least the two statements in the correct order.
Correct Answer
A. PROCESS BEFORE OUTPUT.
Explanation
In the context of screen flow logic, typically found in ABAP programs (used in SAP environments), the statement "PROCESS BEFORE OUTPUT" is crucial. This statement defines the processing that occurs before the screen is displayed. Other statements like "PROCESS ON HELP-REQUEST" and "PROCESS ON VALUE-REQUEST" are also important, but "PROCESS BEFORE OUTPUT" is essential for ensuring that the logic to prepare the screen's data is executed first.
38.
Which one of the following statements creates a GUI status in a dialog program?
Correct Answer
A. Set pf-status 'ABC'.
Explanation
The correct answer is "Set pf-status 'ABC'." This statement is used to create a GUI status in a dialog program. A GUI status is a set of function keys and menus that are displayed in the application toolbar. It defines the options available to the user in the current screen. By setting the pf-status to 'ABC', the program will display the GUI status named 'ABC' in the application toolbar.
39.
To insert the data for ONE transaction (BDC_INSERT) into a session. To transfer the data, you require an internal table (BDC table). You must specify the following parameters:
Correct Answer
D. All the above
Explanation
The correct answer is "All the above" because in order to insert data for one transaction (BDC_INSERT) into a session, all of the mentioned parameters are required. The TCODE parameter specifies the transaction code, the DYNPROTAB parameter specifies the BDC table, and the DYNPRO NAME parameter specifies the name of the dynpro (screen) where the data needs to be transferred. Therefore, all of the mentioned parameters are necessary for transferring the data.
40.
What is the T-Code for BDC’s Session process?
Correct Answer
C. SM35
Explanation
The T-Code for BDC's Session process is SM35.
41.
Maximum of how many key fields per table is allowed?
Correct Answer
B. 16 Key Fields
Explanation
The maximum number of key fields allowed per table is 16. Key fields are used to uniquely identify records in a database table. Having a higher number of key fields can provide more specificity and accuracy in identifying records. However, it is important to consider the trade-off between having more key fields and the performance impact it may have on the database.
42.
Activating a lock object automatically creates function modules for setting the lock and releasing the lock?
Correct Answer
A. ENQUEUE_
Explanation
Activating a lock object automatically creates function modules for setting the lock and releasing the lock. The ENQUEUE_ option is the correct answer because it refers to the function module used for setting the lock. The other options, ENQUEUE-, and DEQUEUE_, do not pertain to the creation of function modules for lock management.