ABAP Certification Questions - 2

ABAP Certification Questions 


1. Which of the following statements about functional methods are correct? (T/F)  
     T - Functional methods cannot have any EXPORTING or CHANGING parameters. 
     T - Functional methods have exactly one RETURNING parameter.  
     F - You can functional methods directly in a WRITE statement.  
     T - You can use functional methods directly in an arithmetic expression.  
  
2. Which of the following statements apply to the SAP grid control? (T/F) 
     F - Can only be implemented in module pools. 
     T - Can only display single-line lists.  
     F - Cannot print data.  
     T - Provides standard functions such as sorting.  
     F - Can only display structures from the Dictionary. 

 3. Which access authorizations apply to friend relationships? (T/F)  
     T - A friend of a class access to the public attributes of the class allowing the 
           friendship.  
     F - A subclass of a friend class has automatic access to the private attributes of the class
          allowing the friendship. 
     T - A friend of a class has access to the private attributes of the class allowing the friendship. 
     T - The allowing of a friendship is not inherited. 

 4. Which statements in connection with methods are correct? (T/F)  
      F - You can call methods in ABAP objects in the same way as function modules.  
      F - You can call methods only within ABAP Objects classes.  
      T - Like form routines or function modules, methods are a means to modularize software. 
      T - Similar to the case with function modules, you have the option with methods
            of marking parameters as "optional". 


 5.  SE24 
      If you have a "Singleton Pattern", you must ensure that only one object can be 
      created from a cl_singleton class. What mechanisms must you avail of here? 
      T - The singleton class must have a class method implemented in which the 
            CREATE OBJECT call is programmed for this one object.  
      T - The singleton class must have the addition CREATE PRIVATE in the
           definition part. 
      T - In the singleton class, there must be an even defined that is triggered when the first
            and only object is created  and also prevents further objects of this class
            from being created.  
     T - The singleton class must have an instance method implemented in which the 
           CREATE OBJECT call is programmed for this one object.  
     T - The CREATE OBJECT call for this one object can take place in the class 
           constructor of the singleton class.  


 6. The reference ME is defined by the system and has the following function.
    (Single selection)  
    F - You use the reference ME within a class solely to reference the private methods 
          of the class itself.  
    T - You use the reference ME within a class to call attributes and methods of the 
          class itself.  
    F - You use the reference ME within a class solely to reference the private
          attributes of the class itself. 


 7.  In a OO transaction, a transaction code is assigned to a method of a global class 
     CL_A. Afterwards, this method can be called directly using the transaction code.
     What limitation exists with regard to the (instance) constructor of this class CL_A? 
    T - The constructor must not have any importing parameters.
    F  - There is no limitation.  
    F - The constructor must be defined in the protected section. 


8. Which of the following statements about inheritance are correct? (T/F)  
    T - Through inheritance, the public attributes of the super class are inherited to
          the subclass. 
    F - Through inheritance, the private attributes of the super class are inherited
          to the subclass and they can be addressed in the subclass directly
          using "ME->". 
   T - Through inheritance, the protected attributes of the super class are inherited
         to the subclass. 
   F - Through inheritance, the private attributes of the super class are inherited
         to the subclass and they can be addressed in the subclass directly using
         "THIS->". F 


 9. Typing is not always necessary in ABAP, for example, for interface parameters
     of a subroutine. Which of the following statements applies to ABAP objects?
     (Single selection)  
    T - Typing is imperative for interface parameters of a method belonging to an
         ABAP objects class. 
    F - To simplify writing the software and design it clearly, you can do without
          typing altogether within the ABAP object classes. 
    F - If you have numeric interface parameter in an ABAP Objects class. You
          can do without typing. 


10. What is a (instance) constructor? (Single selection) 
      F  - An instance attribute that is automatically given a unique identification
            by the system when an object is created. 
     T - An instance method for initializing the attributes of an object; it is automatically
           called by the system during CREATE OBJECT. 
     F - An instance method for controlling how much main memory is to be reserved
           for an object. 


11. Which statements apply to dialog program? (Single selection)  
      F - If you are using asynchronous update, the database changes are executed
            directly from the program 
      T - If you are using asynchronous update, the statement COMMIT WORK is
            not required because it is executed implicitly after each screen change.  
      F - In the PAI of each screen, you must use the statement COMMIT WORK. 
      F - If an inline change has resulted in an error, the statement ROLLBACK WORK
            must be listed in the last screen in order to rollback the entire SAP LUW. 
      F - All inline change must be done in the PAI of the last screen in order to ensure
            the rollback ability of the SAP LUW. 


12.   What can you do to undo database changes executed beforehand in a dialog? (T/F) 
        T - Output a termination message.(ABORT, X)  
        F - Analyze the log record.  
        F - Output an error message.  
        T - Perform a ROLLBACK WORK.  
        F - Raise an exception. 


 13. Which of the following steps should be carried out in a transaction that implements
        an updating technique? (T/F) 
        T - Call the ABAP command COMMIT WORK.  
        F - Unlock the data record that is to be updated  
        F - Lock the data record that to be update.  
        F - Read the data record that is to be update. 
        F  - Pass the changes entered by the user to the update process. 


 14. You call an update function using CALL FUNCTION ... IN UPDATE TASK.
       At what time are the values of the function parameters determined? (Single selection) 
       F - At the end of the dialog step.  
       F - at the start of the V1 update. 
       F - At the time of the call 
       F - At the start of function execution.  
       T - At COMMIT WORK. 
  
 15. You are writing a transaction to update a database table. Which of the following
       elements must the program contain? (T/F) 
       F - A logical database. 
       F - A table buffer refresh on the application server.  
       T - A call for ENQUEUE/DEQUEUE function modules. 
       T - An AUTHORITY-CHECK statement.  
       T - A call for an update function module in the case of time-consuming changes. 


16. What are the main reasons for using update techniques? (T/F)  
       F - To log the database changes.  
       F - To achieve delayed implementation of database changes. 
       T - To collect database change requests from several dialog step in order to
             process them or delete them together.  
       T - To create reusable modules for database changes.  
       T - To relieve the load on the dialog work processes. 


 17. What happens if you have a CALL TRANSACTION statement? (T/F)  
     T - The update process triggered by the called transaction can be executed
            asynchronously or synchronously, as required.  
     T - The called transaction is processed in a separated database LUW.  
     T - Processing of the calling program will be continued at the end of the
           transaction.  
     T - Another internal session is opened for the transaction. 


18  Which sub objects can an SAP enhancement contain? (T/F)  
      T - Menu exits.  
      T - Screen exits.  
      T - Append Structures. 
      T - Function module exits.  
      F - User exits. 


19. You want to supply your users with a transaction variant. Using
      transaction variants you can … (T/F)  
     F - ... have transaction run in the background.  
     F - ... change the flow logic of a screen.  
     T - ... reduce the complexity of transactions.   
     T - ... suppress individual fields.  
     T - ... suppress entire(a) screens. 


20. Which of the following statements apply to table appends? (T/F)   
      T - There can be several append structures for one table.  
      T - If you copy a table to which an append structure has been added, the fields
            in the append structure become standard fields in the table.  
      T - When you active the table, all the active append structure of the table are
           established and appended to the table in the database. 
      F - An append structure can be assigned to several tables.  


 21. You wish to use a Business Transaction Event (BTE) to enhance an SAP
        application. Which statement applies? (T/F)  
       F - BTEs are called on a cross-client basis.  
       F - BTEs allow you to call additional components in other systems.  
       T - BTEs allow you to link up addtional components to the SAP standard system. 
       T - BTEs interface can be used repeatedly.

 22. You wish to modify an SAP program. What do you need to watch out for? (T/F) 
       T - If a user has modified an SAP object and SAP delivers a new version
            of the object in a release upgrade of Support Package, the modified object
             must be adjusted during the upgrade. 
       T  - You can perform the modification immediately if you set the global setting
              for system modifiability to "Modifiable". RZ11(CONFIGURATION)  
       F - There R/3 System oes not allow modifications by user DDIC or SAP*.  
       F - You can change application programs delivered by SAP without registration
              using the Modification Assistant.  
       T - Before you can change the program, you must request a key for the object
             in the SAP New Web front-end. 


 23. You wish to adapt the SAP standard software to the needs of the customer.
        which of the following methods should you preferably use? (T/F)  
       T - Customizing.  
       F - Modification of SAP objects. 
       T - Enhancement concept.  
       F - Customer's own developments. 


24. Assuming a customer has modified SAP objects in the customer system,
      which activities are required at release upgrade or when applying a
      Support Package? (T/F)  
      F - No manual operations are necessary. Everything is performed automatically. 
      T  - ABAP Dictionary objects are not handled separately. 
      T - The modified objects must be adjusted to match the standard version
           whenever SAP delivers new versions of the objects. 
      T- After each upgrade, the new SAP objects is available as an active version. 
      F - Only ABAP Dictionary tables, data elements, and domain are adjusted during
            the upgrade. 


25. You wish to use a Business Add-In (BAdI) in order to enhance an SAP
       application. Which of the following statements are correct?  
      T - A BAdi always has exactly one interface in which the methods of the
           enhancement are defined.  
     F - More than one implementation can exist event for BAdis that are not used
          on multiple basis. 
     T- BAdis can contaion menu enhancements.  
     F - If a defualt implementation exists for a BAdi. this will always be run.  
     F - If you have filter-dependent BAdis, there can always be only one active
           implementation for a filter value. 


26. How do you output icons on an ABAP list? (Single selection)  
      T - You must enter the include <icon> in the program and also specify the addition
            AS ICON in the WRITE statement.  
      F - You must enter include <system> in the program.  
      F - You must specify the addition FORMAT AS ICON is the WRITE statement. 


27.  How do you ensure there will be the correct number of decimal places for
       currency amounts on an ABAP list output? (Single selection) 
      T - By maintaining the corresponding customizing table and by using the addition
            CURRENCY in the WRITE statement.  
      F - This take place automatically, provided the checkbox 'CURRENCY output'
             is ticked in the program attributes.  
      F - By saving the currency amounts with decimal place in the database. 


 28.  You want to output the string "Name:" in line 20, column 10 on the first page
        of a list, and the string "Address" immediately below it, the page should otherwise
        remain blank (no header). Which of the following reports can you use to achieve
        this? (T/F) 
      F - REPORT TEST NO STANDARD PAGE HEADING. 
            skip to line 20. 
            position 10. 
            write:/ ‘Name:’, /’Address’. 
  
      F - REPORT TEST NO STANDARD PAGE HEADING. 
            skip to line 20. 
            position 10. 
            write:/ ‘Name:’, /’Address:’ under "Name’. 
      F - REPORT TEST NO STANDARD PAGE HEADING. 
           skip to line 20. 
            position 10. 
            write: / 'Name:'. write /'Address:'.’. 
     T -  REPORT TEST NO STANDARD PAGE HEADING. 
            skip to line 20. 
            position 10. 
            write:/ "Name:", /10 "Address:". 
     F - REPORT TEST. 
           skip to line 20. 
           position 10. 
           write:/ "Name:", "Address" under "Name". 
     T - REPORT TEST. 
           skip to line 20. 
           position 10. 
           write:/ 'Name:', 'Address' under 'Name'. 


29. A logical database has four nodes altogether. First you have the root node  node_00.
      Underneath the root node you have node_01 and then node_02 arranged in such 
      a way so that they belong to the same hierarchy level. In addition, node_02 has a
      hierarchically dependent node, node_21. You have the following statements in programs:
      NODES. (Single selection) 
      F - NODE_00, Node_02 Node_21.  
      T - NODE_00, Node_02, Node_21. 
      T - NODE_00, Node_02.  
      F - NODE_00, NODE_01, Node_02. 


 30. A logical database has four nodes altogether. First you have the root node node_00.
       Underneath the root node you have node_01 and then node_02 arranged in such
       a way so that they belong to the same hierarchy level.  In addition, node_02 has a
       hierarchically dependent node, node_21. You have the following statements in programs:
       NODES. (Single selection) 
       F - The event is executed each time all the dependent data records for a node_00
             data record have been delivered into the program. 
       F - The event is executed each time after the event GET node_02. 
       T - The event is not executed.  
       F - The event is executed only if no data record is found for node_00. 

No comments:

Post a Comment