Final Flashcards

1
Q

You have implemented a class CL_CUSTOMER where you have defined a private instance variable , from where you can access the private instance attribute directly? (2 correct answer)

A. You have direct access to the attribute name from all methods of the class cl_customer itself

B. You have direct access to the attribute name from the main part of the program.

C. You have the direct access to the attribute name of all methods of all the subclasses of cl_customer

D. You have direct access to the attribute name from all the methods of a class cl_friend, where cl_customer grants friendship to the class cl_friend.

A

A. You have direct access to the attribute name from all methods of the class cl_customer itself

D. You have direct access to the attribute name from all the methods of a class cl_friend, where cl_customer grants friendship to the class cl_friend.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

You want to display the data in a view of WebDynpro component. However the data you want to display are stored in the context of component controller . What is the best way to display the data?

A. Move the context of the component controller to the context of the view controller and bind the control that displays the data to the context of view controller.

B. Copy the context of component controller to the context of view controller and bind the control data that displays the data to the context of view controller

C. Bind the control that display the data to the context of component controller.

D. Map the context of components controller to the context of the view controller and bind the control data that displays the data to the context of view controller.

A

B. Copy the context of component controller to the context of view controller and bind the control data that displays the data to the context of view controller

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Which of the following statements about field transport between ABAP and classical screen (dynpro) are correct? (3 correct answers)

A. Dictionary structures in SCREEN requires a TABLES statement in ABAP

B. Name equivalence is imperative for field transport between ABAP and SCREEN

C. Field transport from screen to ABAP is delayed if you have FIELD statement.

D. Field transport from ABAP to screen generally takes place before the first PBO module of screen.

A

A. Dictionary structures in SCREEN requires a TABLES statement in ABAP

B. Name equivalence is imperative for field transport between ABAP and SCREEN

C. Field transport from screen to ABAP is delayed if you have FIELD statement.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

You want to display data from transparent table BKPF and BPOS which contain header data and position data of accounting documents. The primary key of BKPF is MANDT and BELNR(document number) . The primary key of BPOS is MANDT , BELNR and POS(position). What are the options to select data from BKPF together with corresponding data of BPOS? (3 correct answers)

A. Use a view
B. Use a left outer join
C. Use two nested select loops
D. Use a inner join

A

A. Use a view
B. Use a left outer join
C. Use two nested select loops

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

You want to create a simple search help, last search help you created was long time ago. Therefore you try to recall what component are needed for simple search help (3 correct answer)

A. The dialog behavior, for instance selection screen appear or not

B. The interface, import and export parameter.

C. The selection method, from which table or view the data should come from

D. The attachment to a field, at which level search help should appear.

A

A. The dialog behavior, for instance selection screen appear or not

B. The interface, import and export parameter.

C. The selection method, from which table or view the data should come from

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

You create the classical screen (dynpro) to enter flight connection data. Each connection is identified by the contents of the fields MANDT, CARRID and CONNID in the database table spfli. The carriers are stored in the scarr table and identified by CARRID . What is the easiest way to ensure that only CARRID values from field SCARR-CARRID can be entered in the dynpro?

A. Maintain SCARR as the value table of the domain of SPFLI-CARRID.

B. Implement a search help that ensures that user can enter only correct values.

C. Implement a PAI module that check the user have entered correct values.

D. Define SCARR-CARRID as foreign key with check table SPFLI and foreign key as MANDT and CARRID

E. Define SPFLI-CARRID as foreign key with check table SCARR with foreign key as MANDT and CARRID

A

E. Define SPFLI-CARRID as foreign key with check table SCARR with foreign key as MANDT and CARRID

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

You should implement search help, where the data of search help should be selected via outer join . Which of the following types would you use?

A. The HELP view
B. The DATABASE view
C. The MAINTAINENCE view

A

A. The HELP view

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Which kind of enhancements can BADIs provide? (3 correct answers)

A.	Table Enhancement
B.	Menu Enhancement
C.	Functional Enhancement
D.	Data Element Enhancement
E.	Screen Enhancement
A

B. Menu Enhancement
C. Functional Enhancement
E. Screen Enhancement

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

You want to add two field to SAP standard table using append technique. What do you have to keep in mind of this technique? (Only 2 correct answers)

A. The name of Append structure should start with ZZ or YY.

B. An Append structure can be assigned to more than 1 table

C. The fields of the Append structure should start with ZZ or YY

D. Append structures must be compared with the SAP original in release upgrade

E. Append structures are not possible for tables containing long field

A

C. The fields of the Append structure should start with ZZ or YY

E. Append structures are not possible for tables containing long field

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Why do we need to bundle database updates in your dialog programs? (2 correct answer)

A. To increase the performance of your program.

B. Because there is no implicit database commit after each dialog step

C. To keep the database in a consistent state if the user wants to cancel the transactions

D. Because there is an implicit database commit after each dialog step.

A

C. To keep the database in a consistent state if the user wants to cancel the transactions

D. Because there is an implicit database commit after each dialog step.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

In your program you need a name of the field of a structure wa_material at run time. Therefore you can use RTTI classes. The root class is CL_ABAP_TYPEDESCR, provides a public static functional methods describe_by_data. This method returns a reference of type CL_ABAP_TYPEDESCR.You have defined a reference r_descr as follows

DATA: r_desc type ref to CL_ABAP_STRUCTDESCR.

The class CL_ABAP_STRUCTDESCR is a subclass of CL_ABAP_TYPEDESCR. Which of the following statements are syntantically correct?

A. R_desc = cl_abap_typedescr=>describe_by_data( wa_material ).
B. R_desc ?= cl_abap_typedescr=>describe_by_data( wa_material ).
C. R_desc != cl_abap_typedescr=>describe_by_data( wa_material ).

A

B. R_desc ?= cl_abap_typedescr=>describe_by_data( wa_material ).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Which of the following are true about subscreens (2 correct answer)

A. You call subscreen using SCREEN command CALL SUBSCREEN.
B. Subscreens have their own ok code fields
C. Subscreens may have their own PBO and PAI logic
D. You call subscreen using ABAP command CALL SUBSCREEN

A

A. You call subscreen using SCREEN command CALL SUBSCREEN.

C. Subscreens may have their own PBO and PAI logic

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

One of your colleague has left the company and now you are in charge of al lhis programs.One program deals with handling the list, you go through the coding, and in the main part of the program you find the following lines

DATA: current_list TYPE I. current_list = cl_list=>number_of_lists(). What type of component is the number_of_list?

A.	Number_of_list is public static functional method of the class cl_list.
B.	Number_of_list is public static attribute of class cl_list
C.	Number_of_list is public instance functional method of class cl_list
D.	Number_of_list is public instance attribute of class cl_list
A

A. Number_of_list is public static functional method of the class cl_list.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

For a database table zdepartment you have defined a text table zdepartmentt in the ABAP dictionary , where the names of the department are stored. How would you design the text table zdepartmenttso that it is a text table of zzdepartment. (3 correct answers)

A. The text table zdepartmentt is linked with table zdepartment by a foreign key of type key fields of text table.

B. The text table zdepartmentt as atleast one text field which is not a key field.

C. The text table zdepartmentt is a cluster tables

D. The text table zdepartmentt has same key fields as zdepartment plus one additional key field of data type LANG.

A

A. The text table zdepartmentt is linked with table zdepartment by a foreign key of type key fields of text table.

B. The text table zdepartmentt as atleast one text field which is not a key field.

D. The text table zdepartmentt has same key fields as zdepartment plus one additional key field of data type LANG.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

When you refer to the field of database table typically you refer to a dataelement,which in turn refers to domain. But it is also possible to set to dataelement without refering to domain. Which feature do you get in , if you refer the dataelement to a domain?

A. Only then you can add this field to the database view.

B. Only then you can link the search help to this field

C. Only then it is possible to define a check table for this field.

A

C. Only then it is possible to define a check table for this field.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

In classical screen programming , where can you set the status and title for modal dialog box(popup)?

A. At the event TOP-OF-PAGE.
B. In the PBO module of corresponding screen
C. In the PAI module of corresponding screen
D. In the attribute of corresponding screen

A

B. In the PBO module of corresponding screen

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

You as a ABAP consultant have been asked by customer to lists out the benefits of moving from non-unicode to unicode system? (2 correct answers)

A. Unicode system requires less database space
B. Transfer of character sets between two unicode systems from different cultures is easier than between NON-unicode systems.
C. A unicode system can support users of different cultures
D. A unicode system automatically translates between different cultures.

A

B. Transfer of character sets between two unicode systems from different cultures is easier than between NON-unicode systems.
C. A unicode system can support users of different cultures

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

You like to create a list with the global class CL_GUI_ALV_GRID. In the class the event DOUBLE_CLICK is defined. This event is triggered whenever a user double clicks a line in the ALV,. In your case every time the user makes the double click on the list a popup should appear which shows the number of the line on which has been double clicked. What do you have to do therefore? (2 correct answer)

A. Define a local class in which event DOUBLE_CLICK is redefined and raised.

B. Write a handler method for the event DOUBLE_CLICK of the class CL_GUI_ALV_GRID, which calls the dialog box.

C. Register for the event DOUBLE_CLICK by using SET_HANDLER statement.

D. Catch the Event DOUBLE_CLICK with the CATCH statement under which the dialog box call is implemented

A

B. Write a handler method for the event DOUBLE_CLICK of the class CL_GUI_ALV_GRID, which calls the dialog box.

C. Register for the event DOUBLE_CLICK by using SET_HANDLER statement.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

You have written a classical dynpro with number 100 in module pool containing push button p_save. You have assigned function code ‘SAV’ against this button. In the PAI module USER_COMMAND_100 you want to check if the user has clicked on this button, how can yo achieve this?

A. Check if the field with the ok code attribute in the screen 100 contains the value ‘SAV’
B. Check if p_save-okcode equals to ‘SAV’.
C. Check if field SY-OKCODE contains the value ‘SAV’.
D. Check if p_save-ACTIVE = 1.

A

A. Check if the field with the ok code attribute in the screen 100 contains the value ‘SAV’

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

Which of the following statements are true about data type? (3 correct answer)

A. Data types can be defined only in ABAP dictionary
B. Data type can be used to define a variable of constants.
C. Data types can be defined in the program.
D. Data types can be defined in ABAP dictionary

A

B. Data type can be used to define a variable of constants.
C. Data types can be defined in the program.
D. Data types can be defined in ABAP dictionary

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

You design an executable program that displays flight bookings, the selection screen of the program contains the parameters pa_car of type SCARR-CARRID for the carrier, you want to make sure that users will be forced to re enter the carrier , if they type in a carrier for which they don’t have authorization. Hence you perform a authority check with authorization object S_CARRID. Where do you do this?

A. In th event block GET SCARR.
B. In the PBO module of the selection screen
C. In the event block AT USER-COMMAND
D. In the event block AT SELECTION-SCREEN.

A

D. In the event block AT SELECTION-SCREEN.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q
  1. You are writing BSP applications where you use global class CL_BSP_CONTROLLER2. This class has implemented the global interface IF_BSP_CONTROLLER in which the method HANDLE_EVENT is defined. There is no other method in the class CL_BSP_CONTROLLER2 with the name HANDLE_EVENT. In your program we find following lines: DATA: r_class TYPE REF to CL_BSP_CONTROLLER2, r_int TYPE REF to IF_BSP_CONTROLLER. CREATE OBJECT r_class. CREATE OBJECT r_int TYPE CL_BSP_CONTROLLER2. Which of the following methods calls are syntantically correct (in relation to above coding)? (2 correct answer)

A. R_int->handle_event( ).
B. R_int->if_bsp_controller~handle_event( ).
C. R_class->handle_event( ).
D. R_class->if_bsp_controller~handle_event( )

A

A. R_int->handle_event( ).

D. R_class->if_bsp_controller~handle_event( )

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

You want to write a ABAP program that make use of SAP GUI . Which of the following UI types can you see? (2 correct answer)

A. Business Server Pages(BSPs)
B. Classical Screens(dynpros) with controls(like ALV control)
C. ABAP WebDynpro
D. Selection Screen

A

B. Classical Screens(dynpros) with controls(like ALV control)

D. Selection Screen

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

You want to display the data of accounting documents with BELNR = 10000 from table BKPF and BPOS . These transparent tables contains HEADER data and POSITION data .The primary key of BKPF is MANDT and BELNR(document number) . The primary key of BPOS is MANDT , BELNR and POS(position).which would be the correct statement to achieve this ?

A. Select * from bkpf INNER JOIN bpos on bkpf.belnr = bpos.belnr into wa WHERE bkpf.belnr = ‘1000’.
B. Select * from bkpf RIGHT OUTER JOIN bpos on bkpf~belnr = bpos~belnr into wa WHERE bkpf~belnr = ‘1000’
C. Select * from bkpf INNER JOIN bpos on bkpf~belnr = bpos~belnr into wa WHERE bkpf~belnr = ‘1000’.

A

C. Select * from bkpf INNER JOIN bpos on bkpf~belnr = bpos~belnr into wa WHERE bkpf~belnr = ‘1000’.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
Q

Some transactions contain SELECT statements in their applications that causes a very long runtimes. You should now improve the performance without changing the program. What techniques can be suitable for increasing the performance during database table access? (2 correct answers)

A. To unit the appropriate database in pool table
B. To define indexes for the appropriate database tables
C. To use table buffering for appropriate database tables
D. To put the appropriate database table in a special fast access tablespace of the database

A

B. To define indexes for the appropriate database tables

C. To use table buffering for appropriate database tables

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
26
Q

You review a ABAP program that needs to be migrated to a Unicode system. Within the program, two data objects city and member are declared in following way

DATA: city(20) TYPE c, Begin of Member, firstname(20) TYPE c, lastname(20) TYPE c, age TYPE i, city(20) TYPE c,
End of Member.

START-OF-SELCTION.
city = member+44(20).

Why the above line doesnot work as expected?

A. Because you cannot read beyond the non character data within the structure using offset notations
B. Because the result of offset calculations depends on the Unicode codepage used.
C. Because the integer has 8 bytes
D. Because of the Unicode systems, offsets are allowed for unstructured data objects only.

A

A. Because you cannot read beyond the non character data within the structure using offset notations

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
27
Q

Which of the following places uses TYPES? (3 correct answer)

A. Definition of method parameters.
B. Definition of subroutine parameters
C. Definition of parameters for PBO modules
D. Definition of selection screen parameters.

A

A. Definition of method parameters.
B. Definition of subroutine parameters
D. Definition of selection screen parameters.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
28
Q

Which of the following command are allowed not if you are working with internal table of type sorted? (1 correct answers)

A. MODIFY
B. INSERT
C. DELETE
D. SORT

A

D. SORT

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
29
Q

In your team of ABAP developer there is lot of confusion concerning relationships between Enhancement point, Enhancement spots and Enhancement sections. Which statements about these concepts are true? (2 correct answers)

A. An Enhancement point manages either new BADIs or explicit enhance point and enhancement section
B. Classical BADI’s are not part of Enhancement spots
C. Enhancement point organizes the explicit enhancement spots, enhancement sections and new BADI’s
D. Enhancement spots organize explicit enhancement point, enhancement sections and new BADI’s

A

B. Classical BADI’s are not part of Enhancement spots

D. Enhancement spots organize explicit enhancement point, enhancement sections and new BADI’s

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
30
Q

You have have written an ABAP executable program that displays the flight connections between cities for your customer. You hand over your program to your customer maintainence and need to explain to the customer’s programmer the properties of event blocks (2 correct answers)

A. Event Blocks starts with event key word and end with the start of any other modularization block. For example , another event block or subroutine.
B. Event Blocks are executed in sequence they occur in the program.
C. The ABAP runtime decides in which sequence to execute the event blocks
D. Event blocks can be nested , for example , you can have event blocks inside another event blocks

A

A. Event Blocks starts with event key word and end with the start of any other modularization block. For example , another event block or subroutine.

C. The ABAP runtime decides in which sequence to execute the event blocks

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
31
Q

What you can control using the field catalog of SAP ALV GRID Control (3 correct answer)

A. Hide Individual Columns
B. Specify color of the list rows
C. Set the output characteristics of a column position or width
D. Influence the format properties of column contents, such as number of decimal places or the alignment of the content cell.

A

A. Hide Individual Columns

C. Set the output characteristics of a column position or width

D. Influence the format properties of column contents, such as number of decimal places or the alignment of the content cell.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
32
Q

You have to define two database tables where in both the tables you need fields change_date and change_time (which are not key fields) How do you proceed?

A. Define a append structure with these two fields and assign the append structure to both the tables.

B. Define two fields separately in both the tables.

C. Define structure with these two fields and include the structure in both the database tables.

A

C. Define structure with these two fields and include the structure in both the database tables.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
33
Q
  1. Which of the following are tools of ABAP Workbench? (3 correct answer)
A.	Human Capital Management System
B.	Class Builder
C.	Easy Access Menu
D.	Screen Painter
E.	Function Builder
A

B. Class Builder

D. Screen Painter

E. Function Builder

34
Q

You have defined classical screen with mandatory input field, you want “CANCEL” fuction to work even if not all the mandatory fields have been filled. How can you achieve this?

A.	The CANCEL fumction must have function code BACK
B.	No special action required
C.	There is no way to do this, you need to always fill in the required fields
D.	You must temporarily switch of the required entry fields for the concerned input field within LOOP AT SCREEN... ENDLOOP.
E.	The CANCEL function should be of type 'E' and must be handled in the module AT EXIT-COMMAND.
A

E. The CANCEL function should be of type ‘E’ and must be handled in the module AT EXIT-COMMAND.

35
Q

What kind of controllers exists within a Web Dynpro component ? (Only 3 correct answers)

A. View Controllers
B. Exactly one Component Controller
C. User Controller
D. Window Controller

A

A. View Controllers

B. Exactly one Component Controller

D. Window Controller

36
Q

Your colleague need advise on several ABAP types, Which of the following statement are correct? (There are 3 correct answers)

A. Data object of ABAP type STRING initially takes up no spaces, If any data is put into it at runtime , it takes up exactly the space that is needed . If its cleared the value changes to spaces, but the previous length remains.
B. A data Object of type X has fixed length while data object of type XSTRING the length changes dynamically depending upon the length of the content
C. Type X is useful for working with bit information
D. You can compute date with the following DATA: old_date type d, new_date type d, old_date = sy-datum. new_date = old_date + 14.

A

B. A data Object of type X has fixed length while data object of type XSTRING the length changes dynamically depending upon the length of the content
C. Type X is useful for working with bit information
D. You can compute date with the following DATA: old_date type d, new_date type d, old_date = sy-datum. new_date = old_date + 14.

37
Q

You want to write subroutine names check_booking that receives a parameters of type sbook. You want to change fields of the actual parameter within your subroutine but only if your subroutine executes without any error. How do you declare the subroutine (1 correct answer)

A. FORM check_booking USING VALUE(p_book = TYPE sbook ).
B. FORM check_booking CHANGING VALUE(p_book) TYPE sbook
C. ORM check_booking CHANGING p_book type sbook ON RETURN
D. FORM check_booking USING p_book TYPE sbook.

A

B. FORM check_booking CHANGING VALUE(p_book) TYPE sbook

38
Q

You want to implement a BADI that provides a functional enhancement. What do you need ?

A. Define an interface for BADI
B. Implement a class which implements BADI
C. Create an enhancement project with CMOD
D. Call a BADI

A

B. Implement a class which implements BADI

39
Q
  1. Which of the following ABAP statements referring to type t1 is syntantically correct?

TYPES:BEGIN of t1,
comp1 type scarr-carrid,
comp2 type scarr-carrname,
END of t1. (2 correct answers)

A. Data: str1 like t1.
B. TYPES str1 type t1.
C. Data: str1 type t1.
D. TYPES: t2 like t1.

A

B. TYPES str1 type t1.

C. Data: str1 type t1.

40
Q

Which statement about the internal table concerning program performance are correct? (There are 2 correct answers)

A. The cost for reading a data record from the hashed table do not depends upon number of entries.
B. If the field symbol is assigned with READ … ASSIGNING statement, the entry in the internal table can be changed directly using field symbols
C. If you have a standard table , searching an entry using a fully qualified key is faster than searching by index
D. The cost for reading a data record are higher for a large number of entries in a sorted table than for a large number of entries in a standard table

A

A. The cost for reading a data record from the hashed table do not depends upon number of entries.

B. If the field symbol is assigned with READ … ASSIGNING statement, the entry in the internal table can be changed directly using field symbols

41
Q

You need to create the ABAP program that list a invoice from a supplier. What types of programs can you create to achieve this goal? (2 correct answer)

A. ABAP WebDynpro applications
B. ABAP Executable Program.
C. ABAP subroutine
D. ABAP Include program.

A

A. ABAP WebDynpro applications

B. ABAP Executable Program.

42
Q

Your colleague need some advise on implicit conversion issues. Which of the following statements are true?

A. As a matter of principle , it is forbidden to assign a data object of type string to the content of type I.
B. Implicit conversion works for ABAP types only, not for dictionary types.
C. As a matter of principle , it is forbidden to assign a data object of type I to the contents of type STRING
D. A data object of type N may be used for calculations (although Type N is not the best type to do so)

A

B. Implicit conversion works for ABAP types only, not for dictionary types.

43
Q

You need to create an integer data object and you wonder about the features of ABAP type I. Which of the following statements are correct.

A. A data object of type I always have length of 8 bytes
B. A data object of type I always have length of 4 bytes
C. A data object of type I have length of 1,2 and 4 bytes depending upon the content

A

B. A data object of type I always have length of 4 bytes

44
Q

You want to write the dialog program that changes data on the screen . You want to bundle all updates by using UPDATE FUNCTION MODULE. What do function modules have to do if they encounter problems?

A. ABORT the message with message axxx(nnn).
B. Write an error message with message exxx(nnn)
C. Write a warning message with message wxxx(nnn)
D. Inform the user with message ixxx(nnn)

A

A. ABORT the message with message axxx(nnn).

45
Q

After creating a Search Help in ABAP dictionary you have to attach this search help to a field (There are 3 correct answers)

A. A Search Help can be attached directly to a field of structure or table
B. A Search help can be attached to a check table of the ABAP dictionary field
C. A Search Help can be attached to the data element.
D. A Search Help can be attached to the domain.

A

A. A Search Help can be attached directly to a field of structure or table
B. A Search help can be attached to a check table of the ABAP dictionary field
C. A Search Help can be attached to the data element.

46
Q

When analyzing older program as associate consultant will often find the definition and use of an internal table with a header line, for example DATA: it TYPE TABLE of spfli WITH HEADER LINE. Which statements about the internal table with header lines are correct? (2 correct answer)

A. To address a component of the header line you can use the following : it[]-component = ‘ABC’.
B. Internal tables with header lines are faster than internal tables without header lines
C. Instead of LOOP at IT ….. ENDLOOP one might as well use LOOP at it into it. …. ENDLOOP.
D. Two data objects with the same name exists , the internal table’s body and header line, which is a structure of the row type of the table

A

C. Instead of LOOP at IT ….. ENDLOOP one might as well use LOOP at it into it. …. ENDLOOP.
D. Two data objects with the same name exists , the internal table’s body and header line, which is a structure of the row type of the table

47
Q

You want to create WebDynpro Application in the object navigator. What do you need to specify in the WebDynpro application?

A. A Webdynopro component and window within this component.
B. A Webdynopro component and context within this component
C. A Webdynopro component and interface view within this component
D. A Webdynopro component and controller within this component

A

C. A Webdynopro component and interface view within this component

48
Q

On a classical screen (Dynpro) there is an input field for an airline code coming from the field carrid of the database table zcarr. This field carrid refers to the data element z_carr_id which itself refers to the domains z_char_3. You task is to change the F1 help of the field carrid on the dynpro. The documentation of which object do you have change in order the F1 help on the dynpro?

A. Documentation of the domain z_char_3.
B. Documentation of the data element z_carr_id
C. Documentation of the field carrid of the table zcarr.

A

B. Documentation of the data element z_carr_id

49
Q

Which statements concerning ABAP workbench are true? (3 correct answers)

A. Workbench favorites can be maintained in the navigation area
B. Navigation area and tool area are always coupled . For example you maintain a program in the tool area , the same program will automatically will appear in the object list of navigation area
C. Navigation area can be hidden so that tool area appears in full screen mode.
D. Within the object navigator you can maintain each type of ABAP workbench object ( programs, screen, includes etc..).

A

B. Navigation area and tool area are always coupled . For example you maintain a program in the tool area , the same program will automatically will appear in the object list of navigation area
C. Navigation area can be hidden so that tool area appears in full screen mode.
D. Within the object navigator you can maintain each type of ABAP workbench object ( programs, screen, includes etc..).

50
Q

Which view allows a read only access? (Only 1 correct answer)

A. Database view with more than 1 table
B. Maintainence View
C. Projection view with 1 table

A

A. Database view with more than 1 table

51
Q

You want to run a dialog program that update all the changes to the database. You want to bundle al the changes by using update function module. You want to inform the user of the update function module fails. Which is the easiest way to do it?

A. Perform the update synchronously, retrieve the status and write the message to the inbox of the user
B. After the commit work , wait for couple of seconds , check the result of the update , write to the inbox of user
C. Run a job periodically checks the result of the update and writes the message to the inbox of the user
D. The system notifies the user automatically with the express message.

A

D. The system notifies the user automatically with the express message.

52
Q

In classical screen programming, which conditions must be fulfilled in programming check so that screen field is ready for input (2 correct answer)

A.	Module must output an E Type or W Type message
B.	An I type message must be outputted
C.	The check module must be called using FIELD field_name MODULE check_module.
D.	The check module must be called using FIELD field_name MODULE check_module MESSAGE Enn.
A

A. Module must output an E Type or W Type message

C. The check module must be called using FIELD field_name MODULE check_module.

53
Q

The SAP NetWeaver Application server offers the possibility to install an ABAP or JAVA stack. Which of the statements are true about possible combinations of ABAP and JAVA stack in one SAP NetWeaver Application Serve

A. In one SAP NetWeaver Application Server there can be installed either an ABAP stack or JAVA stack , but never both the stacks.
B. In one SAP NetWeaver Application Server there can be installed either a stand alone ABAP stack or a stand alone JAVA stack or combination of ABAP and JAVA stack
C. In one SAP NetWeaver Application Server there can be installed either a stand alone ABAP stack or combination of ABAP and JAVA stack but never a stand alone JAVA stack.

A

B. In one SAP NetWeaver Application Server there can be installed either a stand alone ABAP stack or a stand alone JAVA stack or combination of ABAP and JAVA stack

54
Q
  1. During the debugging of the program you find that only in certain constellations an error appears. Watch points could help you to reach the erroneous constellations faster. Which statements about watch points are true? (2 correct answers)

A. Watch point is always related to the data object of the debugged program . No matter how you define the watch point, the system will always stop the execution if the contents of related data objects is changed and issues a message “Watchpoint reached”
B. Several watchpoints can be combined using AND or OR
C. Watchpoint can be created using ABAP menu Goto->create watch point.
D. You can define the watchpoint only from within the debugger.

A

B. Several watchpoints can be combined using AND or OR

D. You can define the watchpoint only from within the debugger.

55
Q
  1. If you want the system to output the list in the program using SAP ALV Grid control, in which order you need to carry out the steps in order to acheive this

A. A
B. D
C. C
D. B

A

D. B

56
Q

You can realize the polymorphism between objects from different classes if these classes are connected via inheritance. For objects of classes that are not connected via inheritance, another technique exists to achieve polymorphism. With which of the following concepts you can also acheive polymorphism?

A. The Friend concept
B. The Interface concept
C. The Event concept

A

B. The Interface concept

57
Q

In a class cl_vehicle, you need get_fuel method , which estimates the fuel consumption of a vehicle. This method is implemented as functional method . How you define a functional method? (2 correct answers)

A. Functional method can have any number of importing and exporting parameters
B. You can use functional methods directly in arithmetic expressions
C. A functional methods needs atleast one return statement.
D. A functional method has exactly one returning parameter.

A

B. You can use functional methods directly in arithmetic expressions

D. A functional method has exactly one returning parameter.

58
Q

Which of the following statements are true about active and non active development objects?

A. The inactive version can be seen only by the developer who has created it, that is there is no shared view of inactive versions
B. If the inactive version is activated , it becomes the new active version of the object at the very moment the old active active version becomes inactive version.
C. Inactive versions can be transported as long as they were originally created in development system.
D. If a program P1 calls program P2 from outside of the development environment and even if there is a inactive version of program P2 , still the active version of P2 will be called.

A

A. The inactive version can be seen only by the developer who has created it, that is there is no shared view of inactive versions

59
Q
You defined two classes cl_airplane and cl_passenger_plane, where cl_passenger_plane is subclass of cl_airplane. In the class cl_airplane , the public instance method display_attributes is defined, which has no parameters. In the sub class of cl_passenger_plane, the public instance method display_number_of_seats is defined which has no parameters.In your program, you have implemented the following lines: 
DATA: r_plane type ref to cl_airplane,            r_passenger type ref to cl_passenger_plane.            create object r_passenger.            r_plane = r_passenger. 
Which of the methods are syntantically correct? (3 correct answers)        

A. R_airplane->display_attributes( ).
B. R_passenger->display_number_of_seats( ).
C. R_airplane->display_number_of_seats( ).
D. R_passenger->display_attributes( ).

A

A. R_airplane->display_attributes( ).
B. R_passenger->display_number_of_seats( ).
D. R_passenger->display_attributes( ).

60
Q

You create function group ZATP that contains couple of function modules to manage material master data. What is the name of the correspondnig main program?

A.	SAPLZATP
B.	SAPTZATP
C.	SAPFZATP
D.	SAPMZATP
E.	ZATP
A

A. SAPLZATP

61
Q

You want to create Web Dynpro component with two view. The selection view contains two input fields for departure and arrival city and a button to trigger the search flight connections between two cities. The resulting view contains a table that displays the found flight connections and a button to navigate back to selection. In each view you have defined an outbound plug that will be fired by pressing the button in that view. Furthermore you have defined the inbound plug in each view. Which is the easiest way to define the navigation structure between two views?

A. Create a combi view that contains two viewcontainerui element controls. Embed the combi view in a window and the other two views in the viewcontainerui element . Then connect the outbound plug of selection view to the inbound plug of result view and the outbound plug of result view to inbound plug of selection view.
B. Embed each view in its own window . Then connect the outbound plug of the selection view to the inbound plug of result view and the outbound plug of result view to inbound plug of selection view.
C. Embed both the views in same window, within the window connect the outbound plug of selection view to the inbound plug of result view and the outbound plug of result view to inbound plug of selection view.
D. Create a combi window that contains two Viewcontainerui element , Embed these two view in two viewcontainerui element. The connect outbound plug of selection view to the inbound plug of result view and the outbound plug of result view to inbound plug of selection view.

A

C. Embed both the views in same window, within the window connect the outbound plug of selection view to the inbound plug of result view and the outbound plug of result view to inbound plug of selection view.

62
Q

Why doesnt SAP recommends to modify the SAP standard programs. (2 correct answer)

A. To simplify the upgrade to new versions
B. To avoid performance problems
C. To ensure smooth support from SAP
D. To protect SAP’s intellectual property.

A

A. To simplify the upgrade to new versions

C. To ensure smooth support from SAP

63
Q

You want to have user entries on the selection screen checked( for example authorization check) . If there is any error , the user must correct the entries, which step you need to program?

A. You need to program the check at the event AT SELECTION-SCREEN, if there is any error an E type MESSAGE must be output.
B. You need to program the check at the event END-OF-SELECTION, if there is any error an E type MESSAGE must be output.
C. You need to program the check at the event AT SELECTION-SCREEN, if there is any error , processing must be interrupted with a STOP statement and an message type I must be output.

A

A. You need to program the check at the event AT SELECTION-SCREEN, if there is any error an E type MESSAGE must be output.

64
Q

You want to select the fields MATNR, ENAM and EDAT from table MARA to display them in report. Whats the best way to do this? (1 correct answer)

A. Declare the work area containing fields MATNR, ENAM and EDAT and use select matnr ename edat from MARA into wa. ENDSELECT.
B. Declare the work area of type MARA and use select* from MARA into wa.ENDSELECT.
C. Declare the work area of type MARA use select matnr ename edat from MARA into wa.ENDSELECT.
D. Declare the work area containing fields MATNR, ENAM and EDAT and use select* from MARA into correspodnig fields of wa.ENDSELECT.

A

A. Declare the work area containing fields MATNR, ENAM and EDAT and use select matnr ename edat from MARA into wa. ENDSELECT.

65
Q

You design a classical screen with number 100 for an ABAP program,screen 100 contains input field that refers to ABAP dictionary structure SDYN_CONN. What do you have to do so that your ABAP program can access the data entered in the PAI processing?

A.	Use the statement TABLES: SDYN_CONN to declare the structure named SDYN_CONN in the top include of your program.
B.	Use the statement GET FIELD SDYN_CONN in the PAI module user_command_100.
C.	Use DATA statement to declare a structure SDYN_CONN in the top include of your program.
D.	Use the statement GET FIELD in the PAI logic of the Dynpro.
A

A. Use the statement TABLES: SDYN_CONN to declare the structure named SDYN_CONN in the top include of your program.

66
Q

SAP programer has written a standard program in way that it can call customer coding, you want to implement this coding . What is this technique called?

A.	Enhancements
B.	Modifications
C.	Corrections
D.	Personalization
E.	Repair
A

A. Enhancements

67
Q

What do you do if you want to extend SAP table sbook although in your company its strictly forbidden to modify SAP obejcts?

A. You have to define a structure where you put in the field travel_agency in and include this structure in the SAP table sbook.
B. You have to create an append structure where you can define an appropriate field with name zztravel_agency
C. You have to extend the SAP table sbook by adding the field travel_agency directly into the definition of the table sbook.

A

B. You have to create an append structure where you can define an appropriate field with name zztravel_agency

68
Q

Which of the following two statements about the organization of developments are correct? (2 correct answers)

A. One important attribute of object directory entry of development object in the original system. It is convenient to use the production system as original system
B. You can assign transport layer to each type of development object
C. One important attribute of package is the transport layer which determines the following system for a regular transport of package’s objects.
D. A development object must be either assigned to package or declared as local objects.

A

C. One important attribute of package is the transport layer which determines the following system for a regular transport of package’s objects.

D. A development object must be either assigned to package or declared as local objects.

69
Q

You execute the ABAP program with several dialogs steps(screen) which statements is correct?

A. The ABAP dispatcher takes over the entire execution of the ABAP program and gets the user context of the program from roll area
B. The program components for the individual dialog steps are usually executed in various dialog work processes that are released once the program components has been processed (while screen display on the front end).
C. The entire program is processed in exactly one dialog process. This dialog process is reserved for that program while the screen is displayed on the front end.

A

B. The program components for the individual dialog steps are usually executed in various dialog work processes that are released once the program components has been processed (while screen display on the front end).

70
Q

You are writing application to stores data in internal table temporarily. Since application is runtime critical, you wonder which type of internal table to use. Which statements about internal table are correct? (2 correct answers)

A. There are four types of internal table, standard, sorted, hashed and indexed tables.
B. If you want to add entry to sorted table, sort sequence must remain same.
C. You can use index to access hashed tables.
D. You can use the INSERT TABLE statements to add data records to all types of internal tables.

A

B. If you want to add entry to sorted table, sort sequence must remain same.

D. You can use the INSERT TABLE statements to add data records to all types of internal tables.

71
Q

When you implement a class you can use most of the procedural ABAP statements within the class. But some statements are forbidden within the class definitions? (3 correct answers)

A. The TABLES statements
B. Definition of nested structures
C. Typing with LIKE to ABAP dictionary types
D. Definition of internal table with header line.

A

A. The TABLES statements

C. Typing with LIKE to ABAP dictionary types

D. Definition of internal table with header line.

72
Q

What is the reasonable sequence for following ABAP statement

A. A
B. B
C. C
D. D

A

A. A

73
Q

which of the following statement concerning with structures and internal tables in ABAP debugger?

A. With the ABAP debugger, you can edit internal tables(for example append lines, delete lines, change contents
B. With ABAP debugger you can change the definition of the structure at run time
C. With the ABAP debugger you can create new data objects even if they are structures or internal tables.

A

A. With the ABAP debugger, you can edit internal tables(for example append lines, delete lines, change contents

74
Q

You want to display a dialog box window . Which statement can you use to do this?

A. WINDOW 200 starting at 5 5.

B. CALL SCREEN 200 STARTING AT 5 5.

C. CALL SCREEN 200.

D. SET SCREEN 200

A

B. CALL SCREEN 200 STARTING AT 5 5.

75
Q

For a new colleague you have to explain the necessary steps for defining a database view in the ABAP Dictionary. What are the necessary steps for definition of database view in the ABAP Dictionary? (There are 3 correct answers )

A. You have to define selection criteria for the view
B. You have to define the Join condition for this view
C. You have to name the database table where the view gets data
D. You have to choose the fields from the tables that should be part of the view

A

B. You have to define the Join condition for this view
C. You have to name the database table where the view gets data
D. You have to choose the fields from the tables that should be part of the view

76
Q

You detected an error in SAP standard program , you need to correct this error in the development system and then transport it to the production system . What is this action called?

A. Support Package
B. Repair
C. HotFix
D. Modification

A

B. Repair

77
Q

The database interface is responsible for which tasks? (3 correct answers)

A. Database independence of applications programs
B. Syntax check of native SQL statements
C. Conversion of Open SQL statements from ABAP statements into the corresponding database statements
D. Data consistency check with respect to foreign Keys relationships
E. Usage of SAP buffers

A

A. Database independence of applications programs

C. Conversion of Open SQL statements from ABAP statements into the corresponding database statements

E. Usage of SAP buffers

78
Q

You write a ABAP executable program that displays the flight connections between two cities. You have provided selection parameters for departure city and destination city . In your program you have written event blocks for events AT SELECTION-SCREEN, INITIALIZATION, LOAD-OF-PROGRAM, START-OF-SELECTION. In which sequence will ABAP runtime call these event blocks

A. INITIALIZATION, LOAD-OF-PROGRAM,START-OF-SELECTION, AT SELECTION-SCREEN.
B. INITIALIZATION, AT SELECTION-SCREEN, LOAD-OF-PROGRAM, START-OF-SELECTION
C. INITIALIZATION, LOAD-OF-PROGRAM, AT SELECTION-SCREEN, START-OF-SELECTION
D. LOAD-OF-PROGRAM, INITIALIZATION, AT SELECTION-SCREEN, START-OF-SELECTION.

A

D. LOAD-OF-PROGRAM, INITIALIZATION, AT SELECTION-SCREEN, START-OF-SELECTION.

79
Q

Which of the following statements are true about SAP NetWeaver? (3 correct answer)

A. The main purpose of SAP NetWeaver is to integrate people, information and process to provide platform for applications.
B. SAP ERP is part of SAP NetWeaver
C. The Industrial Solution Utilities(ISU) is part of SAP NetWeaver
D. SAP NetWeaver can be used to integrate non-SAP application systems.
E. The Bank Analyzer is part of SAP NetWeaver
F. SAP NetWeaver provides tools to integrate a hetrogeneous software landscape.

A

A. The main purpose of SAP NetWeaver is to integrate people, information and process to provide platform for applications.

D. SAP NetWeaver can be used to integrate non-SAP application systems.

F. SAP NetWeaver provides tools to integrate a hetrogeneous software landscape.

80
Q

Which of the following Hook methods exists in View Controllers? (3 correct answers)

A.	WdDOBeforeNavigation
B.	WdDOModifyView
C.	WdDOInit
D.	WdDOPostProcessing
E.	WdDoBeforeAction
F.	WdDOApplicationStateChanged
A

B. WdDOModifyView
C. WdDOInit
E. WdDoBeforeAction (validar esta opcion)