Taw12 - Week 2

Approved & Edited by ProProfs Editorial Team
The editorial team at ProProfs Quizzes consists of a select group of subject experts, trivia writers, and quiz masters who have authored over 10,000 quizzes taken by more than 100 million users. This team includes our in-house seasoned quiz moderators and subject matter experts. Our editorial experts, spread across the world, are rigorously trained using our comprehensive guidelines to ensure that you receive the highest quality quizzes.
Learn about Our Editorial Process
| By Newtonskn
N
Newtonskn
Community Contributor
Quizzes Created: 7 | Total Attempts: 14,720
Questions: 125 | Attempts: 805

SettingsSettingsSettings
SAP Quizzes & Trivia

For preparation for SAP ABAP certification. This was taken from another website (http://rs223. Rapidshare. Com/files/152577135/taw12_qa. Zip ) where the answers were already provided.


Questions and Answers
  • 1. 

    Which is not an automatic check carried out by the Screen Processor

    • A.

      Format Check

    • B.

      Obligatory Field Check

    • C.

      Fixed Values

    • D.

      Foreign Key Check

    • E.

      Parameter Id Validation

    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.

    Rate this question:

  • 2. 

    Why is it a good idea to use a backup version of the OK_CODE, Ie. SAVE_OK_CODE = OK_CODE.

    • A.

      OK_CODE is a system reserved variable and cannot be assessed direction.

    • B.

      Because the OK_CODE gets reset at the beginning of each exection of PAI processing

    • C.

      To prevent accidental setting of the OK_CODE in a different screen

    • D.

      So that the OK_CDE is freed up for subscreen

    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.

    Rate this question:

  • 3. 

    What would be a reason for choosing to use asynchronous updates in your ABAP program

    • A.

      To improve user response time

    • B.

      Your updates need to run together as a logical unit

    • C.

      Immediate updates to the Database are required

    • D.

      Your program need the updates completed in order to continue processing

    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.

    Rate this question:

  • 4. 

    Which Number range function would you use to determine if an external number lies in a specified number range interval

    • A.

      NUMBER_GET_INFO

    • B.

      NUMBER_RANGE_INTERVAL_LIST

    • C.

      NUMBER_CHECK

    • D.

      NUMBER_RANGE_EXTERNAL_CHECK

    • E.

      NUMBER_GET_NEXT

    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.

    Rate this question:

  • 5. 

    How many AT EXIT-COMMAND modules are allowed in the PBO

    • A.

      0

    • B.

      2

    • C.

      Unlimited

    • D.

      1

    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.

    Rate this question:

  • 6. 

    Identify the synchronous update techniques.

    • A.

      Update table...

    • B.

      PERFORM... ON COMMIT and WAIT

    • C.

      COMMIT WORK AND WAIT

    • D.

      CALL FUNCTION in Update Task

    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.

    Rate this question:

  • 7. 

    What type of memory is typically used as default values for screen fields

    • A.

      SAP Memory

    • B.

      ABAP/4 Memory

    • C.

      Shared Memory

    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.

    Rate this question:

  • 8. 

    Which update request always run asynchronously

    • A.

      V2

    • B.

      Local

    • C.

      V1

    • D.

      Transactional

    Correct Answer
    A. V2
    Explanation
    The V2 update request always runs asynchronously.

    Rate this question:

  • 9. 

    Which does not provide synchronous processing

    • A.

      An update-task function module triggered with COMMIT WORK AND WAIT

    • B.

      An update-task funciton module triggered with COMMIT WORK

    • C.

      Batch Input Programs

    • D.

      PERFORM... ON COMMIT

    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.

    Rate this question:

  • 10. 

    What is true about POH/POV events

    • A.

      After these events are processed the screen is redisplayed but the PBO is not processed.

    • B.

      After these events are processed, the PAI is processed then the PBO and then the screen is displayed

    • C.

      After these events are processed, the PBO module is processed and the screen is redisplayed

    • D.

      None of the answeres are correct

    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.

    Rate this question:

  • 11. 

    Using screen painter, how do you logically relate Radio Buttons

    • A.

      Ensure the prefix name of the radio buttons is the same

    • B.

      Encompass them in a Radio Button Group

    • C.

      Define a Group box

    • D.

      Make sure each one has the same Screen Group name

    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.

    Rate this question:

  • 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.

    • A.

      30

    • B.

      100

    • C.

      20

    • D.

      40

    • E.

      50

    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.

    Rate this question:

  • 13. 

    Which statements would conclude a SAP LUW

    • A.

      ROLLBACK WORK

    • B.

      CALL Transaction

    • C.

      MESSAGE S101

    • D.

      COMMIT WORK

    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.

    Rate this question:

  • 14. 

    Where should the CANCEL (Red X) button on the stard toolbar take the user

    • A.

      To where the transaction was called

    • B.

      To the initial screen of the transaction

    • C.

      To the previous screen

    • D.

      To the Cancel area

    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.

    Rate this question:

  • 15. 

    What message type does not implicitly trigger database commits for the table updates in your program

    • A.

      I type MESSAGE statement

    • B.

      A type MESSAGE statement

    • C.

      E type MESSAGE statement

    • D.

      Wtype MESSAGE statement

    • E.

      S type MESSAGE statement

    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.

    Rate this question:

  • 16. 

    What statement allows you to generate a report from an online transaction

    • A.

      LEAVE TO BASIC LIST

    • B.

      LEAVE TO LIST-PROCESSING

    • C.

      CALL REPORT report_name

    • D.

      GENERATE list

    Correct Answer
    B. LEAVE TO LIST-PROCESSING
    Explanation
    The statement "LEAVE TO LIST-PROCESSING" allows you to generate a report from an online transaction.

    Rate this question:

  • 17. 

    What is true about V2 updates within the same SAP LUW

    • A.

      An error in one V2 function module cause all other V2 functions to be rolled back

    • B.

      Each V2 function module for a givin COMMIT WORK always runs in its own (separate) DB LUW

    • C.

      V2 errors cause V1 updates to be rolled back

    • D.

      They are usually time critical updates

    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.

    Rate this question:

  • 18. 

    What methods could be used to specify the next screen to be displayed

    • A.

      Set Screen

    • B.

      Use the Next Screen Option on the Screen Attributes

    • C.

      Loop at Screen

    • D.

      Submit Screen

    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.

    Rate this question:

  • 19. 

    What is true about Dialog programs

    • A.

      The flow logic is contained in Modules

    • B.

      Dialog Programs do not require a transaction to execute the module pool

    • C.

      Screens are optional in a dialog program.

    • D.

      Transactions are a vehicle to execute dialog programs

    • E.

      Update and enqueue techniques are important.

    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.

    Rate this question:

  • 20. 

    The OK_CODE serves what purpose

    • A.

      Contains screen field values

    • B.

      Contains function codes

    • C.

      Determines successful user action

    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.

    Rate this question:

  • 21. 

    What is true about subscreens.

    • A.

      Multiple screens are possible in a single screen

    • B.

      You can also specify the subscreens dynamically at runtime

    • C.

      Can set their own titlebar

    • D.

      Can set their own GUI status

    • E.

      Have their own OK_CODE

    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.

    Rate this question:

  • 22. 

    What happens when number range interval buffering is active for internal numbers

    • A.

      Duplicate numbers will never be encountered in the system

    • B.

      Preceived imporoved performance can be achieved

    • C.

      A programmer can choose to ignore buffering on request

    • D.

      The numbering sequence is continuous

    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.

    Rate this question:

  • 23. 

    After a user action is performed, what event is triggered in  a dialog program

    • A.

      Case OK_CODE

    • B.

      PAI

    • C.

      Module User_command

    • D.

      PBO

    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.

    Rate this question:

  • 24. 

    What statement will start a new internal session on the same external session

    • A.

      Leave to transaction

    • B.

      Call Transaction

    • C.

      SUBMIT... AND RETURN

    • D.

      SUBMIT

    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.

    Rate this question:

  • 25. 

    The following statement 'Message S001(AT)' is issued in a PAI module of a dynpro.  Where does the message appear?

    • A.

      On the same screen

    • B.

      On the next screen

    • C.

      After the AT-EXIT module

    • D.

      In the System Log

    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.

    Rate this question:

  • 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.  

    • A.

      C

    • B.

      A, b, c

    • C.

      C, d

    • D.

      B, d

    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.

    Rate this question:

  • 27. 

    Which statement will ensure processing returns to the calling point after the user presses F3 to exit the list

    • A.

      CALL report AND RETURN

    • B.

      SUBMIT report

    • C.

      LEAVE to LIST-PROCESSING

    • D.

      SUBMIT ZPGMA AND RETURN

    • E.

      SUBMIT ZPGMA WITH SELECTION-SET...

    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.

    Rate this question:

  • 28. 

    Where would you typically see the code "Call Selection-Screen"

    • A.

      At Line-Selection

    • B.

      Start-of-Selection

    • C.

      Top-of-Page

    • D.

      At 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.

    Rate this question:

  • 29. 

    Program A makes a call to Program B with "Submint Program B and Return".  How many SAP LUW's are involved.

    • A.

      3

    • B.

      2

    • C.

      0

    • D.

      1

    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.

    Rate this question:

  • 30. 

    When would you use one of the F4_IF* functions

    • A.

      In the module that perform OK_CODE processing

    • B.

      In the PAI when Process on Value-Request dialog event is triggered

    • C.

      In the PBO when Process on Value-Request dialog event is triggered

    • D.

      In the PAI when Process on Help-Request dialog event is triggered

    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.

    Rate this question:

  • 31. 

    If you want to work with the standard number range functionality, you only need the function modules in the function group

    • A.

      SNR3

    • B.

      SNR1

    • C.

      SNR2

    • D.

      SNR4

    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.

    Rate this question:

  • 32. 

    What is the difference between call screen and set screen

    • A.

      There is no difference

    • B.

      Call Screen is used only for external screens. Set Screen is only for screens in the same module pool

    • C.

      Call Screen executes and returns to the point of call. Set Screen does not.

    • D.

      Set Screen executes and returns to the point of call. Call Screen does not.

    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.

    Rate this question:

  • 33. 

    Indicate the functions that are capable of transporting data to screen fields

    • A.

      DYNP_VALUES_UPDATE

    • B.

      DYNP_VALUES_READ

    • C.

      DYNPREAD

    • D.

      F4IF_FIELD_VALUE_REQUEST

    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.

    Rate this question:

  • 34. 

    What functions are generated on the activation of Lock Object EZMARA

    • A.

      ENQUEUE_EZMARA

    • B.

      DEQUEUE_EZMARA

    • C.

      ENQUEUE_EZ_MARA

    • D.

      DEQUEUE_EZ_MARA

    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.

    Rate this question:

  • 35. 

    If you are building a tabstrip to be handled at the presentation level, what function type should be assigned to the tab title.

    • A.

      P

    • B.

      T

    • C.

      Blank

    • D.

      F

    • E.

      E

    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.

    Rate this question:

  • 36. 

    What is true about context menus

    • A.

      A subordinate output field in a table control inherits the context menu of the table control

    • B.

      They are a special GUI status

    • C.

      A subordinate input field in a subscreen causes the subscreen to inherit the context menu of the subordinate field

    • D.

      Context Menus are assigned to input fields

    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.

    Rate this question:

  • 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.

    • A.

      MZABCTOP

    • B.

      USER_COMMAND_0100

    • C.

      MZABCO01

    • D.

      MZABCI01

    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".

    Rate this question:

  • 38. 

    What is required in the flow logic in order to process a table control?

    • A.

      A loop...endloop statement for the table control only in the PAI

    • B.

      A loop...endloop statement for the table control in both the PBO and the PAI

    • C.

      A loop...endloop statement for the table control only in the USER_COMMAND module

    • D.

      A loop...endloop statement for the table control only in the PBO

    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.

    Rate this question:

  • 39. 

    What statement in Dialog Programming make screen fields available for input

    • A.

      Field

    • B.

      Module

    • C.

      Check

    • D.

      Case

    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.

    Rate this question:

  • 40. 

    If you do not SUPPRESS DIALOG in a dynpro before you LEAVE TO LIST-PROCESSING, the following will happen:

    • A.

      The screen will be displayed withe the report that was built, but the gui-status will be the one from the previous screen

    • B.

      The report will be displayed on the screen only after the user presses the Enter key

    • C.

      The previous screen (calling screen) will be redisplayed

    • D.

      The screen will be displayed and will be empty

    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.

    Rate this question:

  • 41. 

    What is proper coding practise in the flow logic of a Dynpro when a subscreen is defined on the screen.

    • A.

      Call Subscreen in the PAI and PBO

    • B.

      The Call Subscreen statement is not required

    • C.

      Call Subscreen in the PAI only

    • D.

      Call Subscreen in the PBO only

    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.

    Rate this question:

  • 42. 

    How would you define a lock object

    • A.

      Use the Data Browser

    • B.

      Through a Function Call

    • C.

      Create it as an object in the dictionary

    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.

    Rate this question:

  • 43. 

    What takes place after each dialog step

    • A.

      A Commit Work is executed

    • B.

      System passes a Database commit to the database system

    • C.

      The application gathers data for update processing

    • D.

      The SAP LUW is concluded

    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.

    Rate this question:

  • 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 = …

    • A.

      It is not possible in this case

    • B.

      Field1 = Generic, Field2 = Generic, Field3 = Space

    • C.

      Field 1 = ’AA’, FIELD2 = ’111’, Field3 = Initial

    • D.

      Field 1 = ’AA’, FIELD2 = ’111’, Field3 = Space

    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.

    Rate this question:

  • 45. 

    "Call Function Starting New Task" is an example of what type of call

    • A.

      Batch

    • B.

      Asynchronous

    • C.

      Synchronous

    • D.

      Direct

    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.

    Rate this question:

  • 46. 

    What attribute in a table control must be defined in order to activate row selection functionality

    • A.

      TOP_LINE

    • B.

      W/selcolumn

    • C.

      LINE_SEL_MODE

    • D.

      Function code

    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.

    Rate this question:

  • 47. 

    What would trigger a rollback.

    • A.

      An RFC Function Call that terminates normally

    • B.

      A program that issues a MESSAGE type 'A'

    • C.

      A user cancels the transaction

    • D.

      A program that issues a Commit Work statement

    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.

    Rate this question:

  • 48. 

    What order is recommended when setting and releasing locks in your program

    • A.

      Read data, lock data, update database, release locks

    • B.

      Lock data, read data, release locks, update database

    • C.

      Lock data, read data, update database, release locks

    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.

    Rate this question:

  • 49. 

    Mark the Program Attribute that is used to define a Dialog Program

    • A.

      R

    • B.

      D

    • C.

      1

    • D.

      M

    Correct Answer
    D. M
    Explanation
    The program attribute "M" is used to define a Dialog Program.

    Rate this question:

  • 50. 

    You have issued a Set Titlebar in the PBO of your screen.  How long will the title remain active

    • A.

      Until the Next screen change

    • B.

      Until the next Set TitleBar statement

    • C.

      Until the next DB LUW

    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.

    Rate this question:

Quiz Review Timeline +

Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.

  • Current Version
  • Mar 20, 2023
    Quiz Edited by
    ProProfs Editorial Team
  • Aug 09, 2009
    Quiz Created by
    Newtonskn
Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.