ABAP自测试题一

这是我整理的ABAP认证的自测试题,如果大家有相关资料,欢迎交流...........

 

 

1. When does a BADI default implementation execute

----------------------------------------------------------

 Only if the developer specifies the default implementation should be executed

 The default implementation always executes unless specified otherwise

 When only active implementation exists

 When no active implementation exists

 

2. A workflow model is made up of steps, that are assigned to  

----------------------------------------------------------

 People

 Events

 Roles

 Triggers

 Departments

 

3. What is the maximum number of allowed Detail lists

----------------------------------------------------------

 Unlimited

 10

 20

 As much as the roll area allows

 

4. Which layer in an R/3 client server architecture processes ABAP programs

--------------------------------------------------------------------------------

 Application

 Database

 Presentation

 Internet

 

5. Your screen has a table control defined to it. In the PAI, what does the SY-LOOPC system variable contain.

--------------------------------------------------------------------------------

 Number of filled lines

 Loop Counter

 Number of table control lines

 

6. Identify the characteristics of the self reference ME

--------------------------------------------------------------------------------

 The self-reference ME can be used to access individual components

 None of the answers are correct

 Self references allow an object to give other objects a reference to it.

 All answers are correct

 The reference ME can be used to determine the dynamic type of the reference variable in the debugger

 

7. Mark the accepted formats of ALE data transfer

--------------------------------------------------------------------------------

 (More than one answer is correct)

HTTP

 BAPI

 JAVA

 XML

 IDOC

 

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

--------------------------------------------------------------------------------

 At the end of the table creation after it is saved

 When the database administrator physically creates the table

 At the beginning of the table creation

 When the table is activated

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

 

9. Identify the valid statement

--------------------------------------------------------------------------------

Constants: C1(4) type D.

 Constants: C1(4) type C value 'ABCD'.

 Constants: C1(4) type C like mytab-booking.

 Constants: C1(4) type C.

 

10. What is SAP Software Change Registration (SSCR) used for

--------------------------------------------------------------------------------

To register SAP modifications made by a developer

 To register Customizing made by a developer

 To register custom developed modifications made by a developer

 To register enhancements made by a developer

 

11. Screen 200 follows screen 100. Screen 100 is displayed with GUI Status 'BASE'. Screen 200 is then displayed without issuing the SET PF-STATUS what will take place

--------------------------------------------------------------------------------

Screen 200 is displayed without a status.

 Status 'BASE' is displayed

 Run Time Error

 Standard List Status

 

12. Suppose LFA1 is the root node, LFBK and LFB1 are branches of LFA1, and LFC1 is a branch of LFB1. IF the report contains only one single GET statement for LFB1, the processing passes through which tables

--------------------------------------------------------------------------------

LFA1,LFBK,LFB1.LFC1

 LFA1, LFBK, LFB1

 LFA1 and LFB1

 

13. Mark the valid usage of the Read Statement.

--------------------------------------------------------------------------------

 (More than one answer is correct)

Read Line 3 of Current Page

 DO. Read Line SY-INDEX. ENDDO.

 Read Line 3 of Next Page

 Read Current Line of Table ITAB

 

14. In what case would you typically use a NUMC field

--------------------------------------------------------------------------------

 Where there is a need for numbers, characters, and arithmetic operations

 Where only numbers are allowed and there is no need for arithmetic operations

 Where only numbers are allowed and there is a need for arithmetic operations

 

15. How many At Exit-Command Modules are allowed in the PBO

--------------------------------------------------------------------------------

 2

 Unlimited

 1

 0

 

16. Where does information come from when you press F1 on a screen field

--------------------------------------------------------------------------------

 Domain short text

 Domain Help values

 Search help

 Data element documentation

 

17. Interface Methods are made available by calling the static method 'get_instance' of the which service class

--------------------------------------------------------------------------------

 if_ex_badi

 cl_exithandler_badi

 cl_exithandler

 exithandler

 

18. What is the order of transport in PBO when a table control is defined in your module pool

--------------------------------------------------------------------------------

Table control fields followed by the remaining screen fields

 Screen fields followed by table control fields

 Dictonary Fields followed by Program Fields

 All fields regardless of table control definition are transported at the beginning of PBO

 

19. Singleton Concept is used to _________________

--------------------------------------------------------------------------------

 Preventi multiple instantiation of a class for a program context

 Prevent multiple execution of a single method

 Prevent multiple definition of same named methods

 Allow single classes only in a program

 

20. What methods would initialize a screen field that is defined with parameter id CAR

--------------------------------------------------------------------------------

 (More than one answer is correct)

Use the SET Parameter in the PBO of the DYNPRO

 Set the screen painter attribute GET Parameter and fill in the Parameter ID field with CAR

 Use the GET Parameter in the PBO of the DYNPRO

 Use the GET Parameter in the PAI of the DYNPRO

 

21. Mark the valid values for a checkbox .

--------------------------------------------------------------------------------

 (More than one answer is correct)

1

 Any Alpha Character

 0

 X

 Space

 

 

22. Identify the internal table types.

--------------------------------------------------------------------------------

 (More than one answer is correct)

Standard

 Sorted

 Hashed

 Indented

 Key

 

23. Mark the valid logical nodes.

--------------------------------------------------------------------------------

 (More than one answer is correct)

Structure

 File

 Table

 Complex Data Object

 Node

 

24. At what point does a parameter ID get reset

--------------------------------------------------------------------------------

User sign off

 Free Memory

 Program Execution Ends

 When you Flush the SPA/GPA memory

 

25. Define Logical Database.

--------------------------------------------------------------------------------

Defintion of a Relational Data Model

 An ABAP/4 Reading Program used to read and process data

 A Reporting Tool

 A method to update data

 

26. Which field gets set in the calling program if an exception occurs in a function module

--------------------------------------------------------------------------------

sy-subrc

 interface parameters

 exception parameters

 exception integers

 

27. What must be assigned to a module pool in order for it to be executed

--------------------------------------------------------------------------------

Program Type

 Transaction

 Event

 Module

 

28. What is the structure of the internal table when a select-options is declared in your program.

--------------------------------------------------------------------------------

Sign Operator High Low

 Sign Option Low High

 High Low Sign Operator

 Low High Sign Option

 

29. Identify the Characteristics of a Final Class

--------------------------------------------------------------------------------

methods cannot be explicitly designated as FINAL 

 all answers are correct

 No answers are correct

 cannot have subclasses

 contains final methods implicitly

 

30. How many fields are available for viewing in field display mode while in debugger

--------------------------------------------------------------------------------

4

 unlimited

 2

 8

 

31. Which part of the internal table syntax determines how abap accesses the rows of the internal table

--------------------------------------------------------------------------------

key sequence

 table type

 uniqueness attribute

 line type

 

32. Which Number range function would you use to determine if an external number lies in a specified number range interval.

--------------------------------------------------------------------------------

NUMBER_RANGE_INTERVAL_LIST

 NUMBER_GET_INFO

 NUMBER_GET_NEXT

 NUMBER_CHECK .

 NUMBER_RANGE_EXTERNAL_CHECK

 

33. What can occur if a conversion rule does not exist for fields of incompatible data types

--------------------------------------------------------------------------------

 (More than one answer is correct)

A run time error for statically defined fields

 A syntax error for statically defined fields

 A syntax error for dynamically defined fields

 A run time error for dynamically defined fields

 

34. Which statements will cause a syntax check error

--------------------------------------------------------------------------------

(More than one answer is correct)

Data: x(3) type c.

 Constants: x(3) type c value '123'.

 Data: x(3) type c value '123'.

 Data: x(3) type I.

 Constants: x(3) type c.

 

35. What does a context object provide

--------------------------------------------------------------------------------

 (More than one answer is correct)

Stored calculated values on the presentation server

 Increased Database Load

 Reuseability

 Smaller and simpler Programs

 Object oriented Programming

 

36. What are the rules for Event parameters

--------------------------------------------------------------------------------

 (More than one answer is correct)

Events can only have EXPORTING parameters

 EXPORTING Parameters for events can only be passed by value

 EXPORTING Parameters for events can only be passed by reference 

 Events also allow RETURNING parameters

 

37. Choose the short form of the method call below

--------------------------------------------------------------------------------

call method rf_car->calculate_cost importing ex_size = v_size.

 rf_car->calculate_cost( importing ex_size = v_size ).

 rf_car->calculate_cost importing ex_size = v_size.

 calculate_cost( importing ex_size = v_size ).

 rf_car->calculate_cost (importing ex_size = v_size).

 

38. Where is the visibility of class components defined

--------------------------------------------------------------------------------

 Class Definition

 Object Instance

 Class Methods

 Class Implementation

 

39. What makes up a dialog step

--------------------------------------------------------------------------------

One sequence of a PBO followed by a PAI

 One sequence of a PAI followed by a PBO

 All PBO and PAI modules in the Module pool

 All ABAP Modules of a screen

 

40. What access method is available for hash tables?

--------------------------------------------------------------------------------

Indexed

 Sorted

 Hashed

 Keyed

 

41. CALL TRANSACTION has been issued in an ABAP. What code in the called transaction will return to the point of call .

--------------------------------------------------------------------------------

Leave to Transaction

 Stop Program

 Exit.

 Leave Program

 

42. Full buffering would be appropriate for what type of tables.

--------------------------------------------------------------------------------

 Internal Tables

 Tables with generic Keys

 Transaction Tables

 Small Static tables

 

43. What class is used to display the ALV Grid Control

--------------------------------------------------------------------------------

cl_gui_alv

 cl_gui_alv_grid

 cl_gui_custom_container

 cl_gui_custom_grid

 

44. Which update request always run asynchronously

--------------------------------------------------------------------------------

Local

 V2

 Transactional

 V1

 

45. What is required in the flow logic in order to process a table control?

--------------------------------------------------------------------------------

 A loop .. endloop statement for the table control only in the PBO

 A loop .. endloop statement for the table control only in the USER_COMMAND module

 A loop .. endloop statement for the table control in both the PBO and the PAI

 A loop .. endloop statement for the table control only in the PAI

 

46. Identify the statements that best describe the visibility of classes

--------------------------------------------------------------------------------

(More than one answer is correct)

 Local Classes are available only to programs in the same development class

 Local Classes are available only to the program where the class is defined

 Global Classes are available only from programs belonging to the same development class 

 Global classes are centrally available to all ABAP programs 

 

47. Transaction 'ZABC' contains mandatory fields on the first screen. A Dialog program issues the statement CALL Transaction ZABC and Skip First Screen. What is required in the first screen of transaction ZABC for the call to function properly.

--------------------------------------------------------------------------------

The mandatory fields must be filled in with "Get Parameter" statement or default values in Transaction ZABC

 The first screen in transaction ZABC can indicate that mandatory fields do not need to be filled in if called by another transaction

 Export the screen fields to memory

 The mandatory fields must be filled in with "Set Parameter" statement or default values in Transaction ZABC

 

48. What is the term used when a change is made to a customer object in a system other than the original system

--------------------------------------------------------------------------------

Correction

 Change

 Modification

 Repair

 

49. Changing the view of an instance of a class with more details is referred to as

--------------------------------------------------------------------------------

dynamic referencing

 narrowing cast

 widening cast

 up cast

 

50. Identify the types of SAP GUI available

--------------------------------------------------------------------------------

 (More than one answer is correct)

HTML 

 Windows 

 XML

 Linux

 Java 

 PHP

 

51. Which of the following answers characterize ABAP OO events

--------------------------------------------------------------------------------

 (More than one answer is correct)

Classes subscribe to events 

 Classes trigger events

 Events subscribe to classes

 Start-of-selection is an OO event

 Methods subscribe to classes

 

52. A screen field has been dynamically changed in a dialog program. When does it get re-initialized.

--------------------------------------------------------------------------------

 At PAI execution

 At the end of the transaction

 At PBO execution

 Only when the program encounters more code to modify the field attributes

 

53. What are the minimum requirements for Processing User requests in a Dynpro.

--------------------------------------------------------------------------------

 (More than one answer is correct)

The last field of the element list of the screen has the name OK_CODE

 OK_CODE is Defined in the TOP Include

 OK_CODE Checking is performed in the Screen Flow Logic

 Define a GUI Status

 

54. What tasks could be perfomed in SAP Service Marketplace

--------------------------------------------------------------------------------

 (More than one answer is correct)

Registering changes to customer objects

 Registering customer objects for local development

 Registering developers

 Registering changes to SAP objects

 

55. Identify the basic objects of the data Dictionary.

--------------------------------------------------------------------------------

 (More than one answer is correct)

Data Models

 Tables

 Documentation

 Data Elements

 Domains

 

56. Finish the sentence. Propogating exceptions requires __________________.

--------------------------------------------------------------------------------

the Raising cx_class parameter as part of the method signature of the calling method

 a Cleanup Statement

 a handler for the exception

 the Raising cx_class parameter as part of the method signature where the exception is raised

 

57. Which parameter is used to refine the values returned by a search help

--------------------------------------------------------------------------------

restrict value range

 Import

 Export

 administration data

 

58. What is true about the SAP Repository

--------------------------------------------------------------------------------

(More than one answer is correct)

It stores development objects

 It stores client-specific objects

 Objects created using the IMG are stored in the repository

 Objects in the repository can be viewed across clients

 

59. Identify the synchronous update techniques.

--------------------------------------------------------------------------------

 (More than one answer is correct)

PERFORM.. .. ON COMMIT and WAIT

 COMMIT WORK AND WAIT

 CALL FUNCTION in Update Task

 Update table.. ..

 

60. What is used to group repository objects

--------------------------------------------------------------------------------

 (More than one answer is correct)

 Application Hierarchy

 Change requests

 Package

 Repository Information System

 

61. Where does the Modification GROUP assignment of fields get defined.

--------------------------------------------------------------------------------

In the Dynpro

 In the screen painter

 Do you really care

 Using the SET GROUP statement

 

62. What relationship can be established in watchpoints.

--------------------------------------------------------------------------------

 combination of OR or AND conditions

 OR conditions only

 AND conditions only

 any boolean operators

 

63. Identify the standard methods commonly found in BAPI's

--------------------------------------------------------------------------------

 (More than one answer is correct)

GETDETAIL

 CREATEFROMDATA

 CREATELIST

 UPDATEDETAIL

 GETLIST

 

64. Which statements would conclude a SAP LUW.

--------------------------------------------------------------------------------

 (More than one answer is correct)

ROLLBACK WORK

 COMMIT WORK

 CALL Transaction

 MESSAGE S101

 

65. Which is not a valid operation that can be performed on sequential files.

--------------------------------------------------------------------------------

Read dataset

 Open dataset

 Close dataset

 Write dataset

 Transfer dataset

 

66. What tool or technique would be used to move the definition of a global class to an implemented interface

--------------------------------------------------------------------------------

Web Dynpro

 Object Navigator

 BOR

 Refactoring Assistant

 BAPI wizard

 

67. What is a valid configuration for an R3 System.

--------------------------------------------------------------------------------

(More than one answer is correct)

 One Application server and one Database server

 Many Application servers and one Database server

 One Application server and many Database servers

 No Application server and one Database server

 

68. What can be done using the SAP Service Marketplace

--------------------------------------------------------------------------------

 (More than one answer is correct)

Determine fixes/patches for problem areas

 Communicate with user forums

 Inquire about product pricing information

 Order Technical Books

 Find out when the next Support package is available

 

69. What is true about the End-of-page Event.

--------------------------------------------------------------------------------

 (More than one answer is correct)

Works only if you reserve space in the Report Statement using the line-count statement

 Occurs when the page break has been triggered by the New-Page statement

 Automatically creates a footer on the last page of a list

 Used to create Footers

 

70. How would you define a lock object

--------------------------------------------------------------------------------

  Create it as an object in the dictionary

 Through a Function Call

 Use the Data Browser

 

71. Identify the key word that determines if a CMOD function exit has been provided

--------------------------------------------------------------------------------

CALL CUSTOMER-SUBSCREEN

 CALL PROGRAM-EXIT

 CALL CUSTOMER-FUNCTION

 CALL USER-EXIT

 

72. Select the methods used to access data on the database.

--------------------------------------------------------------------------------

 (More than one answer is correct)

Read Table

 Get node

 Native SQL

 ABAP/4 Open SQL

 LDB

 

73. What does the following code achieve

--------------------------------------------------------------------------------

At Selection-Screen on value-request for sales.  

Call screen 100.

 

 When the user presses F1, Screen 100 is displayed in addition to the normal help screen

 When the user presses F4, Screen 100 is displayed in addition to the normal help screen

 When the user presses F4, Screen 100 is displayed instead of the normal possible values search help

 When the user presses F1, Screen 100 is displayed instead of the normal possible values search help

 

74. Match the class with their definition type

--------------------------------------------------------------------------------

1 ZCL_EMPLOYEE

2 ZCA_EMPLOYEE

3 ZCB_EMPLOYEE

A Abstract

B Final

C Persistent

 

 1-A, 2-B, 3-C

 1-C, 2-A, 3-B

 1-C, 2-B, 3-A

 

 

75. Pick the syntax for a functional method with only 1 parameter

--------------------------------------------------------------------------------

 (More than one answer is correct)

refvar->method(im = p1)

 refvar->method receiving()

 refvar->method(p1)

 refvar->method returning()

 

76. Which transaction is used to make dictionary adjustments when upgrading versions of SAP

--------------------------------------------------------------------------------

SP01

 SPAU

 SPDD

 CMOD

 

77. What does the DESCRIBE TABLE statement provide to the program

--------------------------------------------------------------------------------

Key length

 Key Defintion

 Key Uniqueness

 Access Type

 

78. What class is used for method load_gui_status in a context menu

--------------------------------------------------------------------------------

cl_context_clas

 cl_menu

 cl_ctmenu

 menu_class

 

79. "Call Function?Starting New Task" is an example of what type of call

--------------------------------------------------------------------------------

Direct

 Synchronous

 Asynchronous

 Batch

 

80. What is the sequence of events and order of data transported in the following code. Select the correct order

--------------------------------------------------------------------------------

Process After Input

   Module Exit at exit-command

   Field ABC Module Validate_ABC.

 

10 All fields not defined in FIELD statements

20 System performs Auto Field Checking

30 Fields in FIELD Statements

10, 20, 30

 20, 30, 10

 20, 10, 30

 

81. Default Page Headings are created on which type of list.

--------------------------------------------------------------------------------

Secondary

 All lists

 Basic

82. When does the dialog processor perform automatic checks

--------------------------------------------------------------------------------

After PAI Processing is complete

 Before PBO Processing Begins

 After the User has pressed enter and before the PBO modules are processed

 After the User has pressed enter and before the PAI modules are processed

你可能感兴趣的:(abap)