1.
Which is not an automatic check carried out by the Screen Processor
Correct Answer
E. Parameter Id Validation
Explanation
The Screen Processor carries out automatic checks to ensure data integrity and accuracy. The format check verifies that the data entered follows the specified format. The obligatory field check ensures that all mandatory fields are filled in. Fixed values check validates that the entered values are within the predefined set of options. The foreign key check verifies that the entered data corresponds to a valid reference in another table. However, the parameter ID validation is not an automatic check carried out by the Screen Processor.
2.
Why is it a good idea to use a backup version of the OK_CODE, Ie. SAVE_OK_CODE = OK_CODE.
Correct Answer
C. To prevent accidental setting of the OK_CODE in a different screen
Explanation
Using a backup version of the OK_CODE, such as SAVE_OK_CODE = OK_CODE, is a good idea to prevent accidental setting of the OK_CODE in a different screen. This is because the OK_CODE gets reset at the beginning of each execution of PAI processing. By using a backup version, the original OK_CODE can be preserved and used specifically for its intended purpose, while the backup version can be used in other screens without any risk of accidentally changing the OK_CODE. This ensures that the OK_CODE is used correctly and prevents any potential errors or confusion in the system.
3.
What would be a reason for choosing to use asynchronous updates in your ABAP program
Correct Answer(s)
A. To improve user response time
B. Your updates need to run together as a logical unit
Explanation
Asynchronous updates in an ABAP program can be chosen to improve user response time by allowing the program to continue processing without waiting for the updates to be completed. This way, the user does not have to wait for the updates to finish before being able to interact with the program. Additionally, choosing asynchronous updates can ensure that the updates run together as a logical unit, maintaining data consistency and integrity.
4.
Which Number range function would you use to determine if an external number lies in a specified number range interval
Correct Answer
C. NUMBER_CHECK
Explanation
The correct answer is NUMBER_CHECK. This function is used to determine if an external number lies in a specified number range interval. It checks whether the given number is within the specified range and returns a boolean value indicating the result.
5.
How many AT EXIT-COMMAND modules are allowed in the PBO
Correct Answer
A. 0
Explanation
In the PBO (Process Before Output) of a program, the AT EXIT-COMMAND module is used to perform certain actions when the user exits the program. The given answer, 0, suggests that there are no AT EXIT-COMMAND modules allowed in the PBO. This means that no specific actions are triggered when the user exits the program.
6.
Identify the synchronous update techniques.
Correct Answer(s)
A. Update table...
C. COMMIT WORK AND WAIT
Explanation
The correct answer includes the techniques "Update table..." and "COMMIT WORK AND WAIT". These techniques are used for synchronous updates, meaning that the updates are immediately applied and the program waits for the update to complete before continuing. The "Update table..." statement is used to update the contents of a table, while "COMMIT WORK AND WAIT" is used to commit the changes made to the database and wait for the commit to complete. These techniques ensure that the updates are applied in a synchronized manner.
7.
What type of memory is typically used as default values for screen fields
Correct Answer
A. SAP Memory
Explanation
SAP Memory is typically used as default values for screen fields. SAP Memory is a type of memory in the SAP system that allows data to be stored and accessed during a user's session. It is used to store user-specific data, such as default values for screen fields, which can be accessed across different transactions and programs within the SAP system. Therefore, SAP Memory is the correct answer for this question.
8.
Which update request always run asynchronously
Correct Answer
A. V2
Explanation
The V2 update request always runs asynchronously.
9.
Which does not provide synchronous processing
Correct Answer
B. An update-task funciton module triggered with COMMIT WORK
Explanation
The correct answer is "an update-task function module triggered with COMMIT WORK". This option does not provide synchronous processing because the COMMIT WORK statement is used to commit the changes made in the current LUW (Logical Unit of Work) and does not wait for any further processing. Therefore, it does not ensure that the update-task function module is executed in a synchronous manner.
10.
What is true about POH/POV events
Correct Answer
A. After these events are processed the screen is redisplayed but the PBO is not processed.
Explanation
After the POH/POV events are processed, the screen is redisplayed without processing the PBO module. This means that any changes made to the screen during the processing of these events will be reflected in the redisplay, but the PBO module, which is responsible for initializing the screen, will not be executed.
11.
Using screen painter, how do you logically relate Radio Buttons
Correct Answer
B. Encompass them in a Radio Button Group
Explanation
To logically relate radio buttons using screen painter, you should encompass them in a radio button group. This allows you to group the radio buttons together and treat them as a single entity. By doing so, you can ensure that only one radio button can be selected at a time within the group. This helps in creating a logical relationship between the radio buttons and allows users to make a single selection from the options provided.
12.
Mark the invalid flow logic statement:
10 PROCESS BEFORE OUTPUT.20 MODULE SET_STATUS_0100.30 Set Titlebar 'ABC'.40 CALL SUBSCREEN SUB INCLUDING 'SAPMZABC' '110'.50 LOOP.60 MODULE CHECK_LOOP.70 ENDLOOP.
80 PROCESS AFTER INPUT.90 MODULE USER_COMMAND_0100.100 FIELD FLIGHT MODULE CHECK_FLIGHT ON-REQUIRED.
Correct Answer(s)
A. 30
B. 100
Explanation
The flow logic statement "30" is invalid because it is placed after the PROCESS BEFORE OUTPUT statement. According to the correct flow logic structure, the PROCESS BEFORE OUTPUT statement should be followed by the MODULE SET_STATUS_0100 statement, not the statement "30". Additionally, the statement "100" is also invalid because it is placed after the PROCESS AFTER INPUT statement. According to the correct flow logic structure, the PROCESS AFTER INPUT statement should be followed by the MODULE USER_COMMAND_0100 statement, not the statement "100". Therefore, both statements "30" and "100" are invalid flow logic statements.
13.
Which statements would conclude a SAP LUW
Correct Answer(s)
A. ROLLBACK WORK
D. COMMIT WORK
Explanation
The statements "ROLLBACK WORK" and "COMMIT WORK" would conclude a SAP LUW. "ROLLBACK WORK" is used to undo any changes made within the LUW and restore the data to its previous state. "COMMIT WORK" is used to save the changes made within the LUW and make them permanent. Therefore, these two statements are necessary to either rollback or commit the changes made within the LUW. The other statements, "CALL Transaction" and "MESSAGE S101", are not related to concluding a LUW.
14.
Where should the CANCEL (Red X) button on the stard toolbar take the user
Correct Answer
B. To the initial screen of the transaction
Explanation
The CANCEL button on the star toolbar should take the user to the initial screen of the transaction. This means that when the user clicks on the CANCEL button, they will be redirected back to the starting point of the transaction, allowing them to start over or exit the transaction completely. This is a common practice in user interface design to provide a clear and consistent way for users to cancel their current actions and return to the beginning.
15.
What message type does not implicitly trigger database commits for the table updates in your program
Correct Answer
B. A type MESSAGE statement
Explanation
A type MESSAGE statement does not implicitly trigger database commits for the table updates in your program. This means that when using this type of MESSAGE statement, any changes made to the database tables will not be automatically saved or committed. Instead, you would need to explicitly perform a commit statement in order to save the changes to the database.
16.
What statement allows you to generate a report from an online transaction
Correct Answer
B. LEAVE TO LIST-PROCESSING
Explanation
The statement "LEAVE TO LIST-PROCESSING" allows you to generate a report from an online transaction.
17.
What is true about V2 updates within the same SAP LUW
Correct Answer
B. Each V2 function module for a givin COMMIT WORK always runs in its own (separate) DB LUW
Explanation
Each V2 function module for a given COMMIT WORK always runs in its own (separate) DB LUW. This means that each V2 function module is executed independently and does not affect the execution of other V2 function modules within the same SAP LUW. Therefore, an error in one V2 function module will not cause all other V2 functions to be rolled back.
18.
What methods could be used to specify the next screen to be displayed
Correct Answer(s)
A. Set Screen
B. Use the Next Screen Option on the Screen Attributes
Explanation
The methods that could be used to specify the next screen to be displayed are "Set Screen" and "Use the Next Screen Option on the Screen Attributes." The "Set Screen" method allows the programmer to explicitly set the next screen to be displayed using a specific screen number. On the other hand, the "Next Screen Option on the Screen Attributes" allows the programmer to define the next screen to be displayed by configuring the screen attributes. Both methods provide ways to control the flow and navigation between screens in a program.
19.
What is true about Dialog programs
Correct Answer(s)
D. Transactions are a vehicle to execute dialog programs
E. Update and enqueue techniques are important.
Explanation
Dialog programs are executed within transactions, which provide a mechanism for maintaining data integrity and consistency. Transactions ensure that a set of related dialog programs are executed as a single unit of work, allowing for rollback in case of errors. Additionally, update and enqueue techniques are important in dialog programs to handle concurrent access to shared data and avoid conflicts. Screens may or may not be used in a dialog program depending on the requirements.
20.
The OK_CODE serves what purpose
Correct Answer
B. Contains function codes
Explanation
The OK_CODE serves the purpose of containing function codes. Function codes are used to determine the action that needs to be performed based on user input. By storing the function codes in the OK_CODE, the program can easily identify and execute the appropriate action based on the user's selection.
21.
What is true about subscreens.
Correct Answer(s)
A. Multiple screens are possible in a single screen
B. You can also specify the subscreens dynamically at runtime
Explanation
Subscreens refer to smaller screens that can be embedded within a main screen. The given answer correctly states that multiple subscreens can be included in a single screen, allowing for a more organized and modular user interface. Additionally, subscreens can be specified dynamically at runtime, meaning that their inclusion or exclusion can be determined based on certain conditions or user actions. This flexibility allows for a more adaptable and customizable user experience.
22.
What happens when number range interval buffering is active for internal numbers
Correct Answer(s)
B. Preceived imporoved performance can be achieved
C. A programmer can choose to ignore buffering on request
Explanation
When number range interval buffering is active for internal numbers, perceived improved performance can be achieved because buffering allows for the allocation of a range of numbers in memory, reducing the need for frequent access to the database. Additionally, a programmer can choose to ignore buffering on request, providing flexibility in managing the number range intervals. However, the information provided does not indicate whether duplicate numbers will never be encountered or if the numbering sequence is continuous.
23.
After a user action is performed, what event is triggered in a dialog program
Correct Answer
B. PAI
Explanation
After a user action is performed in a dialog program, the event triggered is the Process After Input (PAI) event. This event is responsible for processing the user's input and executing the corresponding logic in the program. In this specific case, the PAI event is triggered when the user action is performed and it leads to the execution of the module "User_command" in the program. The PBO event (Process Before Output) mentioned in the code is triggered before the initial display of the dialog program.
24.
What statement will start a new internal session on the same external session
Correct Answer(s)
B. Call Transaction
C. SUBMIT... AND RETURN
Explanation
The correct answer is "Call Transaction". This statement is used to start a new internal session on the same external session. It allows you to call another transaction within the current transaction and continue processing without ending the external session. This is useful when you need to perform additional tasks or operations in a separate transaction without losing the context of the original transaction. The other options, "Leave to transaction" and "SUBMIT... AND RETURN", do not start a new internal session on the same external session. "SUBMIT" is used to submit a program or report for processing in a separate session.
25.
The following statement 'Message S001(AT)' is issued in a PAI module of a dynpro. Where does the message appear?
Correct Answer
B. On the next screen
Explanation
When the statement 'Message S001(AT)' is issued in a PAI module of a dynpro, the message will appear on the next screen. This means that the message will be displayed on the screen that follows the current screen in the sequence of screens.
26.
Refer to the following code. Module CHECK_FIELD_CD raises an Error Message. Mark the field(s) that are Open For input.
process after input.
10 module exit at exit-command. module back.
20 field a module check_field_a.30 field b module check_field_b.
40 chain. field: a, b, c. module check_field_abc. endchain.
50 chain. field: c, d. module check_field_cd. <== ERROR endchain.
Correct Answer
C. C, d
Explanation
The fields that are open for input are "c" and "d". This can be determined by looking at the code and identifying the chains where the fields are included. In chain 50, the fields "c" and "d" are included and the module "check_field_cd" is called, which raises an error message. Therefore, these fields must be open for input.
27.
Which statement will ensure processing returns to the calling point after the user presses F3 to exit the list
Correct Answer
D. SUBMIT ZPGMA AND RETURN
Explanation
The statement "SUBMIT ZPGMA AND RETURN" will ensure processing returns to the calling point after the user presses F3 to exit the list. This statement submits a program called ZPGMA and then returns control back to the calling program.
28.
Where would you typically see the code "Call Selection-Screen"
Correct Answer
A. At Line-Selection
Explanation
The code "Call Selection-Screen" is typically seen at the Line-Selection event in SAP ABAP programming. This event occurs after the user selects a line on the selection screen and before the corresponding line is processed. This code is used to call another selection screen, allowing the user to make further selections or input additional data.
29.
Program A makes a call to Program B with "Submint Program B and Return". How many SAP LUW's are involved.
Correct Answer
B. 2
Explanation
When Program A makes a call to Program B with "Submit Program B and Return", it means that Program B will be executed as a separate unit of work within Program A. This creates a new SAP LUW (Logical Unit of Work) for Program B, making it the first LUW. However, since Program B is called using the "Submit and Return" statement, it will return control back to Program A after execution. This means that Program A is still within its own LUW, which is the second LUW involved. Therefore, the correct answer is 2.
30.
When would you use one of the F4_IF* functions
Correct Answer
B. In the PAI when Process on Value-Request dialog event is triggered
Explanation
You would use one of the F4_IF* functions in the PAI (Process After Input) when the Process on Value-Request dialog event is triggered. This event is triggered when the user requests a list of possible values for a field, typically by pressing F4 or clicking on a search icon. The F4_IF* functions allow you to define the behavior and values displayed in the value-help dialog.
31.
If you want to work with the standard number range functionality, you only need the function modules in the function group
Correct Answer
A. SNR3
Explanation
The correct answer is SNR3 because it is the function module that is required to work with the standard number range functionality. The other function modules (SNR1, SNR2, SNR4) are not necessary for this specific task.
32.
What is the difference between call screen and set screen
Correct Answer
C. Call Screen executes and returns to the point of call. Set Screen does not.
Explanation
The correct answer is that Call Screen executes and returns to the point of call while Set Screen does not. This means that when Call Screen is used, the program will pause at the point of call, execute the called screen, and then return to the point of call once the called screen is completed. On the other hand, Set Screen does not pause the program at the point of call and does not return to the point of call after executing the called screen.
33.
Indicate the functions that are capable of transporting data to screen fields
Correct Answer(s)
A. DYNP_VALUES_UPDATE
D. F4IF_FIELD_VALUE_REQUEST
Explanation
DYNP_VALUES_UPDATE is a function that can transport data to screen fields by updating the values of the screen fields dynamically. F4IF_FIELD_VALUE_REQUEST is another function that can transport data to screen fields by requesting the field values from the user.
34.
What functions are generated on the activation of Lock Object EZMARA
Correct Answer(s)
A. ENQUEUE_EZMARA
B. DEQUEUE_EZMARA
Explanation
The functions that are generated on the activation of Lock Object EZMARA are ENQUEUE_EZMARA and DEQUEUE_EZMARA.
35.
If you are building a tabstrip to be handled at the presentation level, what function type should be assigned to the tab title.
Correct Answer
A. P
Explanation
The correct answer is P because the question states that the tabstrip is being handled at the presentation level. In this context, the function type assigned to the tab title should be P, which typically stands for presentation. This suggests that the tab title is responsible for displaying the visual representation of the tab and handling any user interactions related to it.
36.
What is true about context menus
Correct Answer(s)
A. A subordinate output field in a table control inherits the context menu of the table control
B. They are a special GUI status
Explanation
A context menu is a menu that appears when a user right-clicks on an object or area in a graphical user interface. In this case, the correct answer states that a subordinate output field in a table control inherits the context menu of the table control. This means that when a user right-clicks on a subordinate output field within a table control, the context menu options that appear will be the same as the ones available for the table control. Additionally, the answer also states that context menus are a special GUI status, which implies that they have a specific purpose and behavior within the graphical user interface.
37.
What includes are generated in module pool SUPMZABC if only DYNPRO 100 exists? Refer to the following flow logic for Dynpro 100:
PROCESS BEFORE OUTPUT.* MODULE SET_STATUS_0100.
PROCESS AFTER INPUT. MODULE USER_COMMAND_0100.
Correct Answer(s)
A. MZABCTOP
D. MZABCI01
Explanation
The correct answer includes the modules "MZABCTOP" and "MZABCI01". This is because the flow logic for Dynpro 100 includes the modules "USER_COMMAND_0100" and "SET_STATUS_0100". Therefore, these two modules are generated in the module pool "SUPMZABC".
38.
What is required in the flow logic in order to process a table control?
Correct Answer
B. A loop...endloop statement for the table control in both the PBO and the PAI
Explanation
In order to process a table control, a loop...endloop statement is required in both the PBO (Process Before Output) and the PAI (Process After Input). This is because the PBO is responsible for initializing the table control and displaying it on the screen, while the PAI is responsible for processing the user's input and performing any necessary actions based on that input. By including the loop...endloop statement in both modules, the table control can be properly initialized, displayed, and processed.
39.
What statement in Dialog Programming make screen fields available for input
Correct Answer
A. Field
Explanation
The statement "Field" in Dialog Programming makes screen fields available for input. This means that by using the "Field" statement, the programmer can define and enable input fields on the screen, allowing users to enter data into those fields.
40.
If you do not SUPPRESS DIALOG in a dynpro before you LEAVE TO LIST-PROCESSING, the following will happen:
Correct Answer(s)
B. The report will be displayed on the screen only after the user presses the Enter key
D. The screen will be displayed and will be empty
Explanation
If you do not suppress dialog in a dynpro before you leave to list-processing, the report will be displayed on the screen only after the user presses the Enter key. Additionally, the screen will be displayed and will be empty.
41.
What is proper coding practise in the flow logic of a Dynpro when a subscreen is defined on the screen.
Correct Answer
A. Call Subscreen in the PAI and PBO
Explanation
In the flow logic of a Dynpro, it is considered proper coding practice to call the subscreen in both the Process After Input (PAI) and Process Before Output (PBO) modules. This ensures that the subscreen is displayed correctly and any user input on the subscreen is processed correctly. By calling the subscreen in both modules, the program can handle both the input and output aspects of the subscreen effectively.
42.
How would you define a lock object
Correct Answer
C. Create it as an object in the dictionary
Explanation
A lock object can be defined by creating it as an object in the dictionary. This means that the lock object is created as a separate entity within the dictionary, allowing it to be accessed and manipulated as needed. This method provides a structured and organized approach to managing locks, as they can be easily referenced and used throughout the program.
43.
What takes place after each dialog step
Correct Answer
B. System passes a Database commit to the database system
Explanation
After each dialog step, the system passes a Database commit to the database system. This means that any changes made during the dialog step are permanently saved in the database. This ensures data consistency and durability, as the changes are now part of the permanent database record. This step is important in transaction processing to ensure that all changes are properly committed and can be accessed or retrieved in subsequent steps or transactions.
44.
Refer to the following code. How would you program a generic lock on all rows of a table that have key values 'AA', '111' for the first 2 fields.
Call Function Enqueue_ESMYLOCKExportingField1 = …Field2 = …Field3 = …
Correct Answer
D. Field 1 = ’AA’, FIELD2 = ’111’, Field3 = Space
Explanation
The correct answer is Field 1 = ’AA’, FIELD2 = ’111’, Field3 = Space. This answer suggests that in order to program a generic lock on all rows of a table that have key values 'AA' and '111' for the first 2 fields, the code should set Field 1 to 'AA', Field2 to '111', and Field3 to Space. This combination of values would allow for a generic lock on the specified rows.
45.
"Call Function Starting New Task" is an example of what type of call
Correct Answer
B. Asynchronous
Explanation
"Call Function Starting New Task" is an example of an asynchronous call. Asynchronous calls allow multiple tasks to be executed concurrently, without waiting for each task to complete before moving on to the next one. In this case, the function call initiates a new task that can run independently in the background, while the program continues with its execution. This type of call is useful in scenarios where it is important to optimize performance and make the most efficient use of system resources.
46.
What attribute in a table control must be defined in order to activate row selection functionality
Correct Answer
B. W/selcolumn
Explanation
The attribute "w/selcolumn" must be defined in a table control in order to activate row selection functionality. This attribute allows the user to select a row in the table by clicking on a specific column.
47.
What would trigger a rollback.
Correct Answer
B. A program that issues a MESSAGE type 'A'
Explanation
A program that issues a MESSAGE type 'A' would trigger a rollback. This is because when a program issues a MESSAGE type 'A', it indicates an error or exception condition. In such cases, the system would automatically initiate a rollback to undo any changes made in the transaction and restore the previous state.
48.
What order is recommended when setting and releasing locks in your program
Correct Answer
C. Lock data, read data, update database, release locks
Explanation
The recommended order for setting and releasing locks in a program is to first lock the data to ensure exclusive access, then read the data to retrieve the required information, update the database with any changes, and finally release the locks to allow other processes to access the data. This sequence ensures that the data remains consistent and avoids any conflicts or inconsistencies that may arise if the order is not followed.
49.
Mark the Program Attribute that is used to define a Dialog Program
Correct Answer
D. M
Explanation
The program attribute "M" is used to define a Dialog Program.
50.
You have issued a Set Titlebar in the PBO of your screen. How long will the title remain active
Correct Answer
B. Until the next Set TitleBar statement
Explanation
The correct answer is "Until the next Set TitleBar statement." This means that the title set using the Set TitleBar statement will remain active until another Set TitleBar statement is executed. This suggests that the title bar can be changed dynamically throughout the program execution by issuing different Set TitleBar statements at different points.