Vous êtes sur la page 1sur 16

My heart was beating at a speed of 110 beats per min. As my exam was about to begin.

Thousand of thoughts
were whirling in my mind (and why not, I was appearing for the certification with only one month of preparation).
So at that time the next 3 hours were going to decide whether I am impotent in abap or not.
So here comes the first question , It was the most simplest question one could ever encounter.
1. You have newly joined a development team and your team member is developing a report. He wants
to put the validation for the vendor No. In which event he should put the error message so that in case
when wrong vendor is entered error message should appear and focus the cursor on that field.
A. Start-of-selection
B. End-of-selection
C. At selection screen on field
D. Initialization
It boosted my confidence and the answer is : C . At selection screen on field.
2 . Business want to change the F1 help for the field for all Reports At what level you will change So
that it reflect for all place.
A. Domain
B. Data element
C. Change all table field
D. Code at selection screen on help-request in all the reports
As data element store the schematic information. It can be used and the idea of changing the code of all reports
with D option is useless .So the answer is : B Data element
3. which statement can be used to read a single record from the internal table.
A. Move it_tab to wa_taab with <i>.
B. Read table it_tab into wa_tab index <i>.
C. Move-corrosponding it_tab to it_taab1.
D. None of the above.
The answer is : B
4. Which one of these event will be triggered first when you execute the program ?
A. INITIALIZATION
B. LOAD-OF-PROGRAM
C. START-OF-SELECTION
D. END-OF-SELECTION
This one also does not take much time as loading of the program is the first thing which is done and after that it
will start looking into the code. So the answer is : LOAD-OF-PROGRAM
5. What is the valid combination among these for SAP R/3.
A. 2 Application server and 1-data base server
B. 2-database server and 1- Application server
C. 2-Application server and 2-Database server
D. 3-Application Server and 2-Database server
The question is not that clear but As far as SAP is concern it believes in Central instance, So answer is A.
6. There is one function group name AG which contains three function module FM1 ,FM2 and FMR .It
also has one global variable Gl_val .FM1 and FM2 has a simple code of adding 1 into that variable And
FMR has the code of returning that global variable.
So what will be the output of falling code.
Report test_fungrp.
Data : gl_val type i.
Data : ret_val type i.
Call Function FM1.
Clear gl_val.
Call Function FM2.
Call function FMR importing VAL = Ret_val.
Write : / Ret_val.
A. 1
B. 2
C. 3
D. 4
HHhmmmneed to use little mind in this As function Group will have only one instance through out the program
run so only one copy of that global variable: Answer is : b.2
7. Which layer will be used to convert the OPEN SQL into the database specific query.
A. WORK Process
B. DATA BASE interface
C. ABAP interprter
D. None of the above
Answer is : B. Data base interface (that will be used to make SAP database independent)
8. You have 10 records into the internal table .you want to make use of loop statement to loop through
all the records which system variable can be used to find out the loop iteration?
A. SY-INDEX
B. SY-DATUM (What a option !!!!!!!! )
C. SY-TABIX
D. None of thee above
SO Easy Right ??? Answer is C.: SY-TABIX
9. Can database view used to fetch the data from the database using SELECT Query?
A. True
B. False
Anser is : A. True
10. In Case of Webdynpro for ABAP how will you map context Attribute of view container and
component container?
A. Double click on that
B. Drag it to the another containers context
C. Wirte the mapping path into contexts attribute
D. You cannot mape.
I know you want to kill me !!!!! but this question was thereAny way answer is clear it is B.
11. Which one of the following will contain user interface.
A. Model.
B. Component container
C. Window
D. View
Answer is : D.
12. Which are of those are GUI types in SAP.
A. HTML GUI
B. JAVA based GUI
C. Windows GUI
D. Web GUI
Hmm.Theory wins :: Answer Are : A,b,c.
13. Parameter id is assigned at what level?
A. Domain
B. Data element
C. Field level
D. None of the above
Answer is : B.
14. Which of these are correct statements for SELECT-OPTIONS and RANGES.
( There are 3 correct answers)
A. SELECT-OPTIONS will generate ranges internal table implicitly.
B. RANGES statement will generate ranges internal table explicitly.
C. The structure of the internal table generated by SELECT-OPTIONS and RANGES are the same (contain
SIGN,OPTIONS,LOW and HIGH)
D. The structure of the internal table generated by SELECT-OPTIONS and RANGES are different.
Answer are : A,B,C
15. What is the format of the system date variable sy-datum?
A. YYYYMMDD
B. MMDDYY
C. YYMMDD
D. DDMMYYYY
I know it is pure theory question but what can be done: Answer is A.
16. What will be the output of the following code for the user has a date format as DD-MM-
YYYY?(Assume todays date is 14
th
Feb 2010 !!!!!!! )
Report test_date.
Write : / sy-datum.
A. 2010-02-14
B. 20100214
C. 14-02-2010
D. 02-14-2010
Answer is : C.
Suddenly i went back to time when i was preparing for the examwhat will be the answer of this question if I
change the code as below::
Report test_date.
Data : lv_date like sy-datum.
Lv_date = sy-datum.
Write : / lv_date. (Try it out .. )
And what about if i use lv_date as char 8.(In this case answer is : 20100214)
17. You are working on a program which is updating the database now you want that if something goes
wrong you want that your code should be capable of reverting the changes done in database, which
statements can be used to achieve this?
(There are two correct options)
A. Commit Work.
B. Roll Back Work.
C. Message Changes aborted Type A.
D. Message Changes aborted type I.
Answers are : B,C.
18. you want to declare a variable which can be used out side class globally but no one should be
allowed to change that variable except the method of that class.how you can achieve this ?
A. class class_name Definition.
Public section.
Data : gl_var type i.
Endclass.
B. class class_name Definition.
Proteced section.
Data : gl_var type i.
Endclass.
C. class class_name Definition.
Public section.
Data : gl_var type i hidden.
Endclass.
D. class class_name Definition.
Public section.
Data : gl_var type i read-only.
Endclass.
Answer Is : D.
19. There is a screen 500 with next screen set as 501 in its screen attribute. Business want that in
some of the condition instead of going to screen 501 it should go to screen 502 after screen 500 finish
its execution .how will you achieve this?
A. Use statement LEAVE TO SCREEN 502. in PBO of screen 501.
B. Use statement SET SCREEN 0. In PAI of screen 500.
C. Use statement SET SCREEN 502. IN PAI of screen 500.
D. It is not possible to over right the next screen attribute set into screen 500.
Appropriate answer is C.
As it will override the next screen attribute set into the screen 500.
20. you want to hide a P_MATNR field from the screen how will you achieve it?
A. LOOP AT SCREEN WHERE NAME = P_MATNR.
SCREEN-ACTIVE = 0.
MODIFY SCREEN.
ENDLOOP.
B. LOOP AT SCREEN.
If SCREEN-NAME EQ P_MATNR.
SCREEN-ACTIVE = 0.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
C. LOOP AT SCREEN WHERE NAME = P_MATNR.
SCREEN-ACTIVE = 0.
ENDLOOP.
D. READ TABLE SCREEN WITH KEY NAME = P_MATNR.
SCREEN-ACTIVE = 0.
MODIFY SCREEN.
So seams tricky??? But for SCREEN it is only possible to use LOOP AT SCREEN. where condition in LOOP and
read table statement with screen is not at all possible So
Answer is B.
21. A database table without MANDT field is called?(Select most appropriate anser)
A. Client dependent
B. Client in-dependent
C. Structure (What an option!!!!!!!!!!)
D. Database View.
Answer is : B.
22. To define the internal table using statement: Data : it_tab type XYZ
Where XYZ should be of type.
A. Data base table
B. Structure
C. Table type
D. View
Answer is : C. (As Rest will define work area not the internal table.)
23. Internal table ITAB has the following data
Name Salary
John 80000
Bob 20000
Amar 10000
David 50000
What will be the sy-subrc in following case.
Read table ITAB into WTAB with key Name = David using binary search.
A. 0
B. 4
C. 8
D. 12
As the mandatory condition to use binary search in internal table is that it should be sorted.
Without sorteing it will lead to incorrect result.
So answer is : B
(Note: what will be answer if you read ITAB without binary search? )
24. Business want to put validation on plant No. For all the screen. The requirement is to give Error
message whenever user give plant 567.what can be most appropriate way to achieve this?
A. Screen EXIT
B. Function module EXIT
C. Field EXIT
D. USER EXIT
Answer is: C.
25. Which all statements are true for BADI.?
(There are 3 correct answers)
A. You can use filter to choose the implementation you want to call.
B. BADI cannot have multiple implementations.
C. BADI can be reusable.
D. BADI can be filter dependent.
Answers are: A, C, D.
26. Choose the correct statements for BAPI.
A. BAPIs are the methods of Business Objects.
B. BAPIs can be called from Java Application.
C. BAPI is interface which contain methods and data declaration.
D. You can redefine the BADI as per your choice.
Answers are: A, B.
Ok..Now i dont remember any more questions ,Any way its not my fault, once a person gets 90% its become
very difficult to spend time on remembering and writing the questions of exam than partying!!!!!!!



ABAP Dictionary

1 of 51 What is true about the result set of an left outer join at the database level


(More than one answer is correct)


contains only entries that match in the on clause


fields from unmatched rows in the right table are null filled


fields from unmatched rows in the left table are null filled


contains all entries from the right table


contains all entries from the left table

2 of 51 What DOES NOT determine the behaviour of the search help



dialog behaviour


user master record parameters


the selection method that determines the values to be displayed


the interface of the search help

3 of 51

Tables with indeces, result in reduced performance in what kind of OPEN SQL
operation



Data Base Modify


All database access


Data Base Updates


Data Base Retrieval

4 of 51 The cardinality of the relationship between the check table and the foreign key
table is defined as 1:N What does this imply ?




Many records of the check table are assigned to one record of the
foreign key table



One record of the check table is assigned to many records of the
foreign key table



One record of the foreign key table is assigned to one record in
the check table

5 of 51 From the list below, which is not a data class in the Dictionary



Master Data


System data


Project Data


Organizational Data

6 of 51 Why is a subquery usually more efficient



data is filtered in the sapgui


data is filtered at the application server


data is filtered in the database


data is filtered on the network

7 of 51 Which of the following does not physically exist in the underlying database.


(More than one answer is correct)


View


Internal table


Transparent Table


Structure

8 of 51

Table T1 wants to ensure that the key field t1-fielda entered is valid against a
field t2-fielda in table T2. Which is the foreign key table



T2


T1


T3 from the dictionary

9 of 51 When does a table get physically created in the underlying database



When you activate a transparent table in the ABAP Workbench


When you create a transparent table


When you activate a transparent table in the Dictionary


When Basis creates the tablespace at the OS layer

10 of 51 Which parameter is used to refine the values returned by a search help



Export


administration data


restrict value range


Import

11 of 51 Identify the valid attributes of a domain.


(More than one answer is correct)


Length


Label


Type


Fixed Values


Header

12 of 51

You have made changes to an existing table that contains data. What takes
place when the Database Conversion utility is executed ?


(More than one answer is correct)


Data in the table is automatically deleted and must be reloaded


The revised table in the ABAP/4 Dictionary is activated


The table in the database is recreated


The table in the database is renamed and eventually deleted



The indexes for the table needs to manually be reconstructed in
the ABAP Dictionary

13 of 51 What can be assigned directly to a data element


(More than one answer is correct)


built-in type


table type


table field


domain


check table

14 of 51 What conditions apply for a LEFT Outer Join in OPEN SQL



Only 'Or' can be used as a logical operator in the ON condition



At least one field frorm the table on the right is required for
comparison in the ON condition


A join statement is found to the right of the join operator


A Left Outer Join is not permitted in OPEN SQL

15 of 51 What must be assigned to search help parameters



values


domain


nothing


data element

16 of 51

What is the recommended method to modify a standard search help to include
customer defined search paths



Perform a modification to the standard search help


Add an elementary search help to the standard search help


Add a collective search help to the standard search help


Enhance the standard search help with an append search help

17 of 51 What happens when a 1 to many relationship is encountered with an inner join



redundant data from the 'right-hand table' is included


redundant data from the 'left hand table' is included


run time error



redundant data from either table is not returned to the resultant
set

18 of 51 What is true about views


(More than one answer is correct)


Views can be buffered


A view contains data


A view is aurtomatically created on the database upon activation


Maintenance Views are not updateable

19 of 51 Where does information come from when you press F1 on a screen field



Domain Help values


Search help


Domain short text


Data element documentation

20 of 51 What is true about the primary index of a table


(More than one answer is correct)


The key fields of the table make up the primary index


The primary index ID is designated by the Database Adminstrator



The developer designates the fields to be used as the primary
index



The primary index is automatically created when the table is
activated

21 of 51 How are buffers used by inner and outer joins



the choice can be made to use or bypass buffers


buffers are always bypassed


buffers are always used

22 of 51 How can records from the left table be omitted in an outer join



specify conditions in the FROM clause


There is no way to omit records from the left table


specify conditions in the ON clause


specify conditions in the WHERE clause

23 of 51 Which of the following Dictionary Objects gets stored as a Runtime Object.



Table Types


Data Elements


All of the answers are correct


Tables


Structures

24 of 51

What is a structured type in the ABAP dictionary that has no physical table
defintion in the underlying database referred to as.



structured type


table


structure


table type

25 of 51 What is true about a check table?




Foreign key fields can accept any values regardless of the check
table



Check table fields can accept only values which exist in the check
table



Foreign key fields can accept only values which exist in the check
table

26 of 51 What requirement exists if a field is defined in the dictionary of type CURR



The field must be linked to another field of type CUKY


Decimals must be defined in the domain


The field must be numeric


No other requirement exists

27 of 51 A data element is an example of



Technical Domain


Business Object


Physical Definition


Semantic Domain

28 of 51 What controls the dialog behaviour of a search help


(More than one answer is correct)


DPOS


Value Range


SPOS


LPOS


Admin data

29 of 51 What are the main functions of the Data Dictionary.


(More than one answer is correct)


To provide data security at the application level


To insulate the ABAP/4 developer from the database


To support the creation and management of metadata


To connect to the operating system

30 of 51
How can you perform a direct database read from a buffered table




Buffering can be turned off on the application server by the
programmer using the ABAP Workbench


Add the BYPASSING BUFFER clause on the select statement


Do not have buffering in the technical attributes

31 of 51 Identify the method that provides possible values.



Help Query


Database View


Transparent Table


SearchHelp

32 of 51 Identify the different type categories in the ABAP dictionary


(More than one answer is correct)


Data definitions


Structures


Data Elements


Data Models


Table Types

33 of 51 Which command flushes the database buffers



$TAB


$FREE


$INIT


$RESET

34 of 51

Structure MY_STRUCTURE is created in the dictionary. When does the structure
get created in the underlying database



When the table is activated


At the beginning of the table creation


At the end of the table creation after it is saved.



It does not correspond to an object in the underlying database
and does not get created


When the database administrator physically creates the table

35 of 51

Table ZMYTABLE is created in the dictionary. When does the table get created
in the underlying database



When the database administrator physically creates the table


When the table is activated


At the end of the table creation after it is saved


At the beginning of the table creation



It does not correspond to an object in the underlying database
and does not get created

36 of 51

Identify the items that are not considered Data Dictionary technical settings
when creating a dictionary table.


(More than one answer is correct)


Buffering


Field Name


Size Category


Data Class


Status

37 of 51 What is true about the result set of an inner join at the database level



contains all entries from the right table


contains only entries that match


contains all entries from both tables


contains all entries from the left table

38 of 51 When are Dictionary changes made available to ABAP programs



Next time program is re-generated


After Database is re-organized


Next time user signs on


Immediately, providing the object is activated

39 of 51 What makes a text table




The type of foreign key field defined must be "No Key
/Candidates"


Cardinality must be defined as 1:1



The key of the text table consists of the key of the check table
plus an additional language key

40 of 51 What is true about a structure.



The TABLES statement is used to define a structure in a program



The STRUCTURES statement is used to define a structure in a
program


Structures contain data beyond the runtime of a program.


A physical database table is created for a structure

41 of 51

What is needed to ensure a check field is verified against the referenced key
field of the check table




all key fields MUST have domain equality between check table and
foreign key table



same data type only is required for check field and referenced
field


same data element is required for check field and referenced field


same domain is required for check field and referenced field

42 of 51 Identify the object that cannot have a search help attached to it



table


check table


type


table field


data element

43 of 51 Full buffering would be appropriate for what type of tables.



Transaction Tables


Tables with generic Keys


Internal Tables


Small Static tables

44 of 51 Where do the fixed values of a domain get checked



In Screens only


When a SQL Update is performed


When a SQL Insert is performed


When user presses F1 - Technical info

45 of 51 Identify the case where table buffering should be set off



For Global Master Data


When the most current data is not required


When the most current data is required


For Small Static non volatile tables

46 of 51 Select an example of Organizational Data



Cost Centres


Vendors


Country Keys


Sales Order

47 of 51

Which object would you interrogate to determine the length of a field on a
screen.



Data Element


Dictionary


Repository


Value Table


Domain

48 of 51 What determines if a table is Client Specific versus client independent.




The first field is mandt with a external data type CLNT and
specified as a key field


Depends how Basis has configured the client


The option 'Client Specified' is added to the Select statement



The first field is mandt with a domain CLNT but not specified as a
key field

49 of 51


You have added an append structure to a standard SAP table. What happens to
the standard table when a new version of the table is imported during an
upgrade




The append fields are automatically appended to the table upon
activation but you must still convert the table



The standard table is returned to standard.Therefore, the append
structure must be manually re-applied



All append structures are deleted. A new append structure must
be created and then appended to the standard table



When the standard tables are activated, the append structure is
automatically appended to the standard table

50 of 51 Identify the basic objects of the data Dictionary.


(More than one answer is correct)


Tables


Data Elements


Domains


Data Models


Documentation

51 of 51 When is it better to buffer the table



When a table is linked to check tables


When a table is read infrequently


When a table is read frequently and the data seldom changes


When a table is read frequently and the data is always changing

Vous aimerez peut-être aussi