ABAP- 2015

40 Questions

Settings
Please wait...
ABAP Quizzes & Trivia

ABAP Mock ExamThis is a mock test just to give u a feeler and gauge your current knowledge. Actual exam would be almost the same pattern. In you actual exam all multiple choice questions would have only one correct answer. Disclaimer: Passing this exam shouldn't give u a impression that you will pass the actual exam, probably it may help you. But you still need to study more till the exam. Best of Luck :)-SN


Questions and Answers
  • 1. 
    SAP BASIS is a(only 1 correct answer)
    • A. 

      Functional Module in SAP

    • B. 

      Run time Environment in SAP

    • C. 

      Its Programming Language of SAP

    • D. 

      Its a Interface of SAP to Third party

  • 2. 
    Evaluate the following code and choose the correct output Data: str1(5) type c,          str2(3) type c. str1 = 'SAPAG'. str2 = str1+1. write:/ str2. (only 1 correct answer)
    • A. 

      Compile time error as the length is not same

    • B. 

      Run time error as "+" operator can be only used with numericals

    • C. 

      APA

    • D. 

      APAG

    • E. 

      SAPAG

  • 3. 
    Which of the following tool is not part of ABAP Workbench(more than 1 correct)  
    • A. 

      Function Builder

    • B. 

      ABAP editor

    • C. 

      Sales Order

    • D. 

      Class Builder

    • E. 

      Purchase Requisition

  • 4. 
    Evaluate the following code and choose the correct answer parameters: pa_car type scarr-carrid. data: wa_scarr type scarr. data: it_scarr type scarr occurs 0. select * from scarr into wa_scarr where carrid = pa_car. ......... endselect. (only 1 correct answer)
    • A. 

      Wa_scarr at any time will contain atleast 1 row

    • B. 

      Wa_scarr at any time will contain min 0 rows and max 1 rows

    • C. 

      Wa_scarr at any time will contain min 1 row and max n rows

    • D. 

      Error as wa_scarr is a structure and not an internal table

  • 5. 
    Which of the following is a valid presentation client in 3 tier technology of SAP R/3 (only 1 correct answer)
    • A. 

      Database Server

    • B. 

      SAP GUI Client

    • C. 

      Application Server

    • D. 

      Web Server

    • E. 

      LDAP server

  • 6. 
    • A. 

      Repository objects are cross client

    • B. 

      Repository objects are client dependent

    • C. 

      All ABAP objects are Repository Objects

    • D. 

      Only ABAP programs are Repository Objects

    • E. 

      Repository objects are stored in Database alongwith Customizing and Application tables

  • 7. 
    Evaluate the following code and choose the correct output(only 1 correct answer) do 5 times. check sy-index between 3 and 5.  write:/ sy-index. enddo.
    • A. 

      1,2

    • B. 

      3,4,5

    • C. 

      1,2,3

    • D. 

      1,2,3,4,5

  • 8. 
    • A. 

      Technical information like type, size etc

    • B. 

      Semantic Information like labels, search help etc

    • C. 

      Data Elements are the elementary objects

    • D. 

      Dataelements are like database tables

    • E. 

      Data Elements are stored as work area in ABAP

  • 9. 
    • A. 

      20 20 50

    • B. 

      20 20 5

    • C. 

      10 20 30

    • D. 

      10 20 30

    • E. 

      Error at run time

  • 10. 
    • A. 

      Is a ABAP program usually delivered by SAP

    • B. 

      Is used for data retrieval

    • C. 

      Can be used in any kind of ABAP program

    • D. 

      Supplies selection screen automatically to the calling program

    • E. 

      1 ABAP program can attach max 2 logical database

  • 11. 
    To display a icon in report program which of the following step should be done (more than 1 correct answer)
    • A. 

      Use include icon statement in ABAP program

    • B. 

      Use include symbol statement in ABAP program

    • C. 

      Write the following statement write:/ iconname

    • D. 

      Write the following statement write:/ iconname as icon

  • 12. 
    Which of the following statements are not true about Function Modules (only 1 correct answer)
    • A. 

      Function Modules are part of Function Group

    • B. 

      Function Modules can have exception

    • C. 

      Function Modules have EXPORTING and IMPORTING parameters

    • D. 

      Function Modules cannot send or receive internal table data

  • 13. 
    • A. 

      In interactive report you have have 1 basic list and max 19 secondary list

    • B. 

      In interactive report you can have as many basic list and as many secondary list

    • C. 

      In interactive report you can have max 20 basic list and 20 secondary list

    • D. 

      In interactive report limit is dependent upon the operating system

    • E. 

      In interactive report you can have 1 basic list and max 20 secondary list

  • 14. 
    Default event block in ABAP report is(only 1 correct answer)  
    • A. 

      INITIALIZATION

    • B. 

      START-OF-SELECTION

    • C. 

      AT LINE-SELECTION

    • D. 

      TOP-OF-PAGE

    • E. 

      AT USER-COMMAND

  • 15. 
    Function Code associated with Menu Bar, Toolbar etc when triggered are stored in which system variable(only 1 correct answer)
    • A. 

      Sy-datum

    • B. 

      Sy-lsind

    • C. 

      Sy-ucomm

    • D. 

      Sy-curow

    • E. 

      Sy-okcode

  • 16. 
    Statement CLEAR itab_data does (more than 1 correct answer)
    • A. 

      Clear the internal table, assuming itab_data is internal table without header line

    • B. 

      Clears the internal table and the header line, assuming itab_data is defined as internal table with header line

    • C. 

      Clears the internal table body only, assuming itab_data is defined as internal table with header line.

    • D. 

      Clears the header line of internal table, assuming itab_data is defined as internal table with header line

    • E. 

      Clears the work area, assuming itab_data is defined as internal table without header line

  • 17. 
    Current index of row in internal table is stored in system variable(only 1 correct answer)  
    • A. 

      Sy-ucomm

    • B. 

      Sy-lsind

    • C. 

      Sy-subrc

    • D. 

      Sy-index

    • E. 

      Sy-tabix

  • 18. 
    Which statement allows you to store the field contents for a particular list line in special memory area, used typically in interactive report(only 1 correct answer)  
    • A. 

      CLEAR

    • B. 

      REPORT

    • C. 

      HIDE

    • D. 

      INTERACTIVE

    • E. 

      SHOW

  • 19. 
    • A. 

      If you dont enter any value in selection screen it will show all the data

    • B. 

      If you enter any conditions in selection screen , it will still show no data

    • C. 

      If you don't enter any value in selection screen it will still show no data

    • D. 

      If you enter a value in selection screen it will show data based on the conditions in select options

  • 20. 
     Which of the following are true about select-options(more than 1 correct answer)    
    • A. 

      SELECT-OPTIONS can only be defined from ABAP DICTIONARY e.g SELECT-OPTIONS for scarr-carrid

    • B. 

      SELECT-OPTIONS can only be defined from local data object e.g data: v_carr type scarr-carrid SELECT-OPTIONS for v_carr.

    • C. 

      SELECT-OPTIONS can be defined for both ABAP dictionary and Local Data Objects

    • D. 

      SELECT-OPTIONS are maintained internally as a internal table

    • E. 

      SELECT-OPTIONS are maintained internally specifically as a internal table with header line.

  • 21. 
    • A. 

      Data: wa_scarr type scarr.select * from scarr into wa_scarr.

    • B. 

      Data: it_scarr type table of scarr.select * from scarr into it_scarr.....endselect

    • C. 

      Data: wa_scarr type scarr.select single * from scarr into wa_scarr......endselect.

    • D. 

      Data: it_scarr type table of scarr.select * from scarr into table it_scarr

    • E. 

      Data: wa_scarr type scarr.select * from scarr into wa_scarr......endselect.

  • 22. 
    Which is not a task of Database Interface(DBI)?(only 1 correct answer)    
    • A. 

      Usage of SAP buffer

    • B. 

      Conversion of SQL statements into native SQL statements

    • C. 

      Syntax check of native SQL

    • D. 

      Database independence of application programs

  • 23. 
    Which of the following table types has one is to one relationship between the ABAP dictionary and physical table in database (only 1 correct answer)  
    • A. 

      Transparent Table

    • B. 

      Pooled Table

    • C. 

      Structures

    • D. 

      Standard Table

    • E. 

      Cluster Table

  • 24. 
    Keyword that define a block of code to be executed when the systems detects a certain occurrence is called (only 1 correct answer)
    • A. 

      Exit

    • B. 

      Halt

    • C. 

      Event

    • D. 

      Control Break

  • 25. 
    Select * from scarr into table it_scarr, in this statement what does '*' indicates(only 1 correct answer)
    • A. 

      All rows of the table scarr

    • B. 

      Column/field called '*' from scarr

    • C. 

      All columns/fields from scarr

    • D. 

      Cannot do this

  • 26. 
    Supply Function in WebDynpro is (one correct answer)
    • A. 

      Is never called prior to the initial read access to the associated context node.

    • B. 

      Is always called after the initial read access to the associated context node.

    • C. 

      Is always called before the initial read access to the associated context node.

    • D. 

      None of the above.

  • 27. 
    Consider the following data definitions in an ABAP program:(only 1 correct answer) data: text1(5). data: begin of rec1, x1(2) type c, x2(2) type n, x3, end of rec1. What is the value of text1 after the following code is executed? rec1 = ‘12345’. move rec1-x3 to text1. Note: 's' represents blank or a space    
    • A. 

      5ssss

    • B. 

      Ssss5

    • C. 

      1ssss

    • D. 

      54321

  • 28. 
    Technique of segregating data and method of a object is called as (only 1 correct answer)
    • A. 

      Polymorphism

    • B. 

      Inheritance

    • C. 

      Object orientation

    • D. 

      Interfaces

    • E. 

      Data encapsulation

  • 29. 
    Cardinality of context nodes in WebDynpro indicates (one correct answer)  
    • A. 

      Number of window created at run time

    • B. 

      Number of plugs created for navigation

    • C. 

      Number of component controller created

    • D. 

      Number of context nodes created at run time to store data

  • 30. 
    INSTANTIATION in ABAP OO is(only 1 correct answer)
    • A. 

      The process of passing parameter values to a class method.

    • B. 

      The process of assigning default values to class attributes

    • C. 

      The process of creating a discreet object from a class definition.

    • D. 

      The process of passing on the attributes of one class to another.

  • 31. 
    ABAP programs are stored in (only 1 correct answer)
    • A. 

      Application Server

    • B. 

      Database Server

    • C. 

      On the presentation PC

    • D. 

      On separate Hard disk connected to SAP server

  • 32. 
    Consider the following ABAP code used to define an internal table.(only 1 correct answer) data: itab_scarr type scarr occurs 0, wa_scarr like line of itab_scarr. wa_scarr is defined as a:
    • A. 

      Buffer

    • B. 

      Work Area

    • C. 

      Header

    • D. 

      Header Line

    • E. 

      Internal table

  • 33. 
    Which keyword is used to declare static attributes in ABAP class defintion(only 1 correct answer)
    • A. 

      Data

    • B. 

      Static-data

    • C. 

      Class-data

    • D. 

      Class_data

    • E. 

      Static_data

  • 34. 
    Assume a Class called LCL_A is defined having one instance method call showData(), in order to call the show data methods which of the following steps should be performed (not necessarily in the same order ) More than 1 correct answer  
    • A. 

      Need to declare object of class lcl_a

    • B. 

      Need to instantiate the object

    • C. 

      Use format obj->showData() to execute the method

    • D. 

      Use format obj=>showData() to execute the method

    • E. 

      No need to instantiate the object as showData is an instance method

  • 35. 
    In Web Dynpro for ABAP technologies, whats the advantage of using MVC paradigm
    • A. 

      MVC paradigm is meant more for developers for better technical understanding

    • B. 

      MVC paradigm is a proprietary pattern meant only for SAP technologies

    • C. 

      MVC paradigm gives better understanding of the design and development process and to lower project cost and maintainance cost

  • 36. 
    Web Dynpro components is    
    • A. 

      Modular unit representing a set of tasks

    • B. 

      Is the core of a WebDynpro application

    • C. 

      Consist of windows

    • D. 

      Consist of views

    • E. 

      All of the above

  • 37. 
    To enable navigation between two views which of the following is not a valid step(only 1 correct answer)
    • A. 

      You need to create a inbound and outbound plug in the respective views

    • B. 

      You need to create naviagtion link between the outbound plug and inbound plug in the window

    • C. 

      You need to create context object in the controller

    • D. 

      You need to create a UI object in view and in the action call the outbound plug

  • 38. 
    • A. 

      10,20

    • B. 

      10,30

    • C. 

      20,20

    • D. 

      20,30

    • E. 

      10,10

  • 39. 
    Which of the following is a valid ABAP program name(only 1 correct answer)
    • A. 

      Z”MyFirst PROGRAM.

    • B. 

      Y==FIRSTPROGRAM

    • C. 

      FIRSTPROGRAM

    • D. 

      ZFIRSTPROGRAM

    • E. 

      Function Builder

  • 40. 
    Variable of type D in ABAP is stored which of the following format 
    • A. 

      YYYYMMDD

    • B. 

      DD.MM.YYYY

    • C. 

      YYYYDDMM

    • D. 

      MMDDYYYY