ABAP- 2015

40 Questions | Attempts: 1405
Share
Please wait...
Question 1 / 40
0 %
0/100
Score 0/100
1. Which of the following tool is not part of ABAP Workbench(more than 1 correct)  

Explanation

Function Builder, ABAP Editor,Class Builder, Screen Painter Menu Painter etc are all part of ABAP Workbench(for developers)

Submit
Please wait...
About This Quiz
ABAP- 2015 - Quiz

ABAP Mock Exam
This 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... see morethat 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 see less

Personalize your quiz and earn a certificate with your name on it!
2. 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)  

Explanation

Transparent tables have 1:1 relationship between ABAP dictionary and Physical tables

Submit
3. 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.

Explanation

The statements after Check would be executed only when its true, else it will skip to next iteration
hence 3,4,5

Submit
4. 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:
Submit
5. Which of the following is a valid ABAP program name(only 1 correct answer)

Explanation

ABAP program should start with Z or Y with any characters A-z , Number 0-9 or _ only
Screen Painter can be used for creating Dialog/Transaction screens
Toolbar Painter and PF status Painter doesn't exist
Function Builder is used for creating Function Modules

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

Explanation

sy-datum- stores the current date
sy-lsind - stores the current list level ( 0 is basic and max 20)
sy-ucomm - stores the function code associated with menu, toolbar fro gui status and is checked in event at user-command
sy-curow - stores the current row number in interactive report
sy-okcode - does not exist

Submit
7. Which of the following is a valid presentation client in 3 tier technology of SAP R/3 (only 1 correct answer)
Submit
8. Variable of type D in ABAP is stored which of the following format 

Explanation

Date type in ABAP is always stored as YYYYMMDD

Submit
9. In Web Dynpro for ABAP technologies, whats the advantage of using MVC paradigm
Submit
10. Which of the following statements are not true about Function Modules (only 1 correct answer)

Explanation

Function modules can send/receive internal table using Table or changing interface. While Import and export can send/receive only elementary or structure data only

Submit
11. 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)  
Submit
12. Web Dynpro components is    
Submit
13. Keyword that define a block of code to be executed when the systems detects a certain occurrence is called (only 1 correct answer)
Submit
14. Which statements are true about interactive reports(only 1 correct answer)

Explanation

One can create 1 basic list and max 20 secondary list (detail list)

Submit
15. Cardinality of context nodes in WebDynpro indicates (one correct answer)  
Submit
16. Select * from scarr into table it_scarr, in this statement what does '*' indicates(only 1 correct answer)

Explanation

Select * from scarr, * indicates all the column/field from table scarr

Submit
17. INSTANTIATION in ABAP OO is(only 1 correct answer)
Submit
18. Default event block in ABAP report is(only 1 correct answer)  

Explanation

if there is no event block specified, its always defaulted to START-OF-SELECTION

Submit
19. SAP BASIS is a(only 1 correct answer)

Explanation

Basis is so called the operating system of SAP, its the run time environment for all the applications in SAP.
While ABAP is the programming language of SAP

Submit
20. Technique of segregating data and method of a object is called as (only 1 correct answer)

Explanation

Technique of segregating data and method is encapsulation
Technique of one object having different forms at runtime is Polymorphism
Technique of extending a class by adding more methods/attributes or over riding the methods is Inheritance
Interfaces contains all unimplemented methods

Submit
21. Current index of row in internal table is stored in system variable(only 1 correct answer)  

Explanation

sy-index - current index in the loops
sy-tabix - current row number of the internal table( only has value if the internal table is looped through)

Submit
22. Which keyword is used to declare static attributes in ABAP class defintion(only 1 correct answer)
Submit
23. Evaluate the following code data : a type i value 10,          b type i value 20,         c type i value 5. perform calculate using a b changing c. write:/ a,b,c. form calculate using p_a value(p_b) changing value(p_c). p_a = p_a + 10. p_b = p_b + 10. p_c = p_a + p_b. endForm. (Only 1 correct answer)

Explanation

Before call value of a = 10, b = 20, c is 5
The Subroutine call
using p_a is call by reference, hence any change in p_a would be stored in a.
P_a = p_a + 10, in this case P_a is 20, hence a is also 20.

P_b is in using hence call by value, so a copy is maintained and any change p_b wont be reflected in b
p_b = p_b + 10.
p_b becomes 30, while b is still 20.

P_c is used in changing and call by value and return
so value of P_c would be stored locally and after the call would be stored back in c
P_c = P_a + p_b
value of P_c would be 50
after the subroutine call is over c would be 50
Hence the result 20 20 50

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

Explanation

include (optional)
write:/ icon_green_light as icon

Submit
25. 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    

Explanation

rec1 = 12345
so rec1-x1 length is 2 so the value would be 12
rec1-x2 length is 2 so remaining two characters is stored so value would be 34
the remaining would be stored in rec1-x3 that is 5
text1 length is 5
text1 = rec1-x3
so 5 would be stored in text1 but since its a character it would be left justified and after assigning value the remaining length would be filled with spaces
hence '5 '

Submit
26. 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)

Explanation

wa_scarr is a workarea which can only hold max 1 rows at any given point of time.
If its a internal table then the answer would have been max n rows and min 0 rows

Submit
27. ABAP programs are stored in (only 1 correct answer)

Explanation

ABAP Programs are finally stored in the DB server but executed in the Application Server

Submit
28. Which is not a task of Database Interface(DBI)?(only 1 correct answer)    

Explanation

DBI is interface between ABAP and database, he is resposible for using SAP Buffer, Converting Open SQL statements into native SQL statements and give database independence to all ABAP layer. But its not responsible for syntax check of native SQL, thats the job of database vendor

Submit
29. 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  
Submit
30. Supply Function in WebDynpro is (one correct answer)
Submit
31. To enable navigation between two views which of the following is not a valid step(only 1 correct answer)

Explanation

For Navigation between views you don't need context object in controllers

Submit
32. Evaluate the below code data: v1 type i value 10,          v2 type i value 20. start-of-selection. perform doCalculations using v1 changing v2. write:/v1,v2 form doCalculations using p_v1 changing value(p_v2). p_v1 = p_v1 + 10. p_v2 = p_v2 + 10. endForm what is the output of the write statement above
Submit
33. Assuming you have defined the following  ABAP code data: wa_scarr type scarr. select-options: so_car for wa_scarr-carrid. start-of-selection. select * from scarr into wa_scarr where carrid = so_carr. endselect. if there is no compile error in the above code, which of the following is the valid answer(more than 1 correct)

Explanation

For select-options to fetch data based on the conditions in select statement we should 'IN' operator not '=' operator

Submit
34. 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)

Explanation

str2 = str1+1, this statement will extract all characters from 2 position onwards (its always zero based) ,so in this case it will extract APAG. As it is assigned to str2, str2 length is only 3 characters so rest will be truncated hence APA

Submit
35. Which of the following statements are true about Dataelements in ABAP Dictionary (more than 1 correct )            

Explanation

Data Elements are Elementary objects
Data Elements have Semantic Information (such as Labels, search Help etc)
While Technical Information are stored in Domains

Submit
36. Repository objects are (more than 1 correct)

Explanation

Repository Objects are always cross client(hence Client independent)
Any ABAP objects created (such as programs, tables, Function modules etc) are all Repository Objects
In Database we have Repository Objects, Customizing and Application Tables

Submit
37.  Which of the following are true about select-options(more than 1 correct answer)    

Explanation

SELECT-OPTIONS can be defined ONLY with a local data object
SELECT-OPTIONS are defined internally as an internal table with HEADER LINE

Submit
38. Statement CLEAR itab_data does (more than 1 correct answer)

Explanation

If its a internal table with header line
clear itab ( will clear header line)
clear itab[] ( will clear internal table)
refresh itab ( will clear internal table)

if its internal table without header line
clear itab ( will clear the internal table )

Submit
39. Which of the following ABAP statements are correct (more than one answer correct)  

Explanation

If its a workarea following are valid statements
1. select single * from tab into workarea
2. select * from tab into workarea ....... endselect

If its a internal table
1. Select * from tab into table it_tab.

Submit
40. Logical Database is.... (more than 1 correct )  

Explanation

LDB is usually supplied by SAP, its used for data retrieval, hence LDB can be used for ABAP report programs only. One ABAP report can attach max 1 LDB only. Once LDB is attached, it automatically supplies selection screen to calling program

Submit
View My Results

Quiz Review Timeline (Updated): Feb 14, 2015 +

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

  • Current Version
  • Feb 14, 2015
    Quiz Edited by
    ProProfs Editorial Team
  • Feb 13, 2010
    Quiz Created by
    Satbond
Cancel
  • All
    All (40)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
Which of the following tool is not part of ABAP Workbench(more than 1...
Which of the following table types has one is to one relationship...
Evaluate the following code and choose the correct output(only 1...
Consider the following ABAP code used to define an internal...
Which of the following is a valid ABAP program name(only 1 correct...
Function Code associated with Menu Bar, Toolbar etc when triggered are...
Which of the following is a valid presentation client in 3 tier...
Variable of type D in ABAP is stored which of the following...
In Web Dynpro for ABAP technologies, whats the advantage of using MVC...
Which of the following statements are not true about Function Modules...
Which statement allows you to store the field contents for a...
Web Dynpro components is    
Keyword that define a block of code to be executed when the systems...
Which statements are true about interactive reports(only 1 correct...
Cardinality of context nodes in WebDynpro indicates (one correct...
Select * from scarr into table it_scarr, in this statement what does...
INSTANTIATION in ABAP OO is(only 1 correct answer)
Default event block in ABAP report is(only 1 correct answer)  
SAP BASIS is a(only 1 correct answer)
Technique of segregating data and method of a object is called as...
Current index of row in internal table is stored in system...
Which keyword is used to declare static attributes in ABAP class...
Evaluate the following code...
To display a icon in report program which of the following step should...
Consider the following data definitions in an ABAP program:(only 1...
Evaluate the following code and choose the correct answer...
ABAP programs are stored in (only 1 correct answer)
Which is not a task of Database Interface(DBI)?(only 1 correct answer)...
Assume a Class called LCL_A is defined having one instance method call...
Supply Function in WebDynpro is (one correct answer)
To enable navigation between two views which of the following is not a...
Evaluate the below code...
Assuming you have defined the following  ABAP code...
Evaluate the following code and choose the correct output...
Which of the following statements are true about Dataelements in ABAP...
Repository objects are (more than 1 correct)
 Which of the following are true about select-options(more than 1...
Statement CLEAR itab_data does (more than 1 correct answer)
Which of the following ABAP statements are correct (more than one...
Logical Database is.... (more than 1 correct )  
Alert!

Advertisement