abap demo test 1

16
1 of 40 What menu options are available on all screens. (More than one answer is correct) Help Options System Status Tools 2 of 40 What interface protocol is RFC based on LU6.2 SNA CPI-C TCP/IP 3 of 40 Identify the component that is NOT considered part of a standard web services scenario SOAP WSDL XML UML UDDI 4 of 40

Upload: amarillolaura

Post on 08-Mar-2015

172 views

Category:

Documents


5 download

TRANSCRIPT

Page 1: Abap Demo Test 1

1 of 40

What menu options are available on all screens.

(More than one answer is correct)

  Help

  Options

  System

  Status

  Tools

2 of 40

What interface protocol is RFC based on

  LU6.2

  SNA

  CPI-C

  TCP/IP

3 of 40

Identify the component that is NOT considered part of a standard web services scenario

  SOAP

  WSDL

  XML

  UML

  UDDI

4 of 40

What service in an SAP system, provides internal communication between dispatchers

Page 2: Abap Demo Test 1

  Work Processes

  Message server

  Basis processor

  ICM

  Gateway server

5 of 40

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

  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

  Depends how Basis has configured the client

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

6 of 40

Full buffering would be appropriate for what type of tables.

  Small Static tables

  Internal Tables

  Transaction Tables

  Tables with generic Keys

7 of 40

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 left table are null filled

  fields from unmatched rows in the right table are null filled

  contains all entries from the right table

  contains all entries from the left table

Page 3: Abap Demo Test 1

8 of 40

READ CURRENT LINE makes use of what system variables. ..

(More than one answer is correct)

  SY-INDEX

  SY-PAGNO

  SY-CPAGE

  SY-CUROW

9 of 40

What is the order of code that gets executed in the following code

10 Report rpgm120 data: fielda type c value ‘A’,                          30          fieldb type c value ‘B’.40 write: / fielda,    50 new-page.                                60 write: / fieldb 70 top-of-page.                             80 write: / 'This is the title'.

  40, 50, 60, 70, 80

  80, 40, 50, 80, 60

  40, 80, 50, 80, 60

10 of 40

Define Logical Database.

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

  A Reporting Tool

  Defintion of a Relational Data Model

  A method to update data

11 of 40

If your program has no START-OF-SELECTION event and you program statements between the REPORT statement and the first event keyword or FORM statement, the statements are then included with which processing block

Page 4: Abap Demo Test 1

  No Processing Block

  START-OF-SELECTION

  Initialization

  END-OF-SELECTION

ABAP

12 of 40

What is the effect of the Hide statement.

 The fields are invisible and cannot be written to the list

 The system stores the field name and values for each field hidden

 The variable appears on the current line as indicated by sy-linno

13 of 40

What is the effect of setting the line-size option in the following code

REPORT ZTEST LINE-SIZE 0.

  You will have to program scrolling

  the system uses the width of the standard list

  No Lines are written to a report

  This will produce a syntax check

14 of 40

What will cause the AT USER-COMMAND to fire.

Page 5: Abap Demo Test 1

  Type S Function Codes

  Function Codes that Start with P

  Normal Function Codes

  Type T Functions Codes

15 of 40

You have issued a Set Titlebar in the PBO of your screen. How long will the title remain active

 Until the Next screen change

 Until the next Set TitleBar statement

 Until the next DB Luw

16 of 40

What steps would be required to define a Tabstrip in your Dialog program.

(More than one answer is correct)

 Declare a Tabstrip control in your global top include

 Place a tabstrip object on your screen using Screen Painter

 Name your tabstrip object

 Define Pushbuttons on the subscreen area

17 of 40

Page 6: Abap Demo Test 1

Where does the Modification GROUP assignment of fields get defined.

  In the Dynpro

 Using the SET GROUP statement

  In the screen painter

  Do you really care

18 of 40

What code is required in order to return immediately to the calling screen

(More than one answer is correct)

  Set Screen 0. Leave Screen

  Leave to Screen 0

  Set Screen 0

  Leave Program

19 of 40

What table do you automatically get in a dynpro without having to declare it in your module pool

  Screen_ITAB

  Sy-Table

  Screen

  Subscreen

20 of 40

Where would you typically see the code "Call Selection-Screen"

Page 7: Abap Demo Test 1

  At Selection-Screen

  At Line-Selection

  Top-of-Page

  Start-of-Selection

21 of 40

Identify the situation where Append Structures are not allowed.

(More than one answer is correct)

  If the last field has a domain of data type curr

  If the last field is already an Append Structure

  If the table is a pooled or cluster table

 If the table contains a field of data type LCHR or LRAW

22 of 40

If you want to make a change to the standard delivered SAP system to fit your business needs, what is the first thing you should do:

 Log on to OSS and ask SAP to apply the change

 Check configuration to see if the proposed change is feasible

 Create a custom object within the customer name range

 Change the relevant SAP repository object

23 of 40

What is true about programming a screen exit?

 You can set your own gui-status

  You can branch to another screen by coding SET SCREEN xxx

Page 8: Abap Demo Test 1

 The screen type must be subscreen

24 of 40

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

  unlimited

  2

  4

  8

25 of 40

Which of the following allocates memory

  Dictionary Type

  Report Statement

  Data Type

  Data Object

26 of 40

What are the requirements of reading a hashed internal table

(More than one answer is correct)

  Use the TABLE KEY option

  Specify the full key

  Sort the table first by the key

  Use UNIQUE KEY option

Page 9: Abap Demo Test 1

  Specify the INDEX

27 of 40

Identfiy the characteristics of a BAPI

(More than one answer is correct)

  It is an interface

  It is impemented as a function

  Can only be use inside SAP

  Can be a method of an object

  It is an Object

28 of 40

An Authorization refers to how many Authorization Objects

  1

  unlimited

  defined by Basis

  10

  0

29 of 40

What happens to the program context once the user input from a dialog step has been processed

  It get rolled in

  It remains in the buffer

  It remains in the database

Page 10: Abap Demo Test 1

  It gets rolled out

30 of 40

Which use of the FORM statement works successfully when passing IT to FORMA

Types: Begin of line,         ...       End of Line.Types IT_LINE Type Standard table of line.Data  IT TYPE IT_LINE.Perform FORMA using IT

  FORM FORMA Using P_IT like LINE

  FORM FORMA Using P_IT like IT_LINE

  FORM FORMA Using P_IT type IT_LINE

  FORM FORMA Using P_IT like LINE

31 of 40

In the Catch statement, What is every runtime error assigned to

  Error Class

  Development Class

  Catch Class

  Case

32 of 40

How could you reset the program context of your program

(More than one answer is correct)

  Issue a termination message (type A)

  Issue a COMMIT WORK statement

Page 11: Abap Demo Test 1

  Issue a ROLLBACK WORK statement in the program

  End the dialog program

33 of 40

What ABAP statement discards update task requests.

(More than one answer is correct)

  Call Function in Update Task

  UPDATE

  Message A101

  ROLLBACK WORK

34 of 40

A commit work is issued in a transaction that employs asynchronous updating, what takes place.

(More than one answer is correct)

  Update requests are processed

  SAP LUW is concluded

  Database commit is triggered

  User is notified of updates

35 of 40

Identify the ABAP OO Event signature protocols

(More than one answer is correct)

 Events can only have exporting Parameters

 Exporting parameters can only be passed by reference

 Events can only have importing Parameters

Page 12: Abap Demo Test 1

 Exporting parameters can only be passed by value

36 of 40

Using the transaction builder to develop purely OO transactions, what restrictions apply ?

 global classes can not contain screen definitions

 constructor can only contain import parameters

 dialogs are only available through private methods

  constructors are not allowed

37 of 40

What statement will request memory to be allocated to an object

  Call Constructor

  Create Object

  Call Method

  Create Constructor

38 of 40

How do you call the method in a superclass that has the same name as a redefined method in the subclass ?

  Call Method Super-> mymethod.

 You can't . Only the redefined method can be called

  Call Method mymethod.

  Call Method Superclass-> mymethod.

39 of 40

Using the UML modeling language for ABAP OO design, refer to the following and indicate the visibility of the components

Page 13: Abap Demo Test 1

-------------------| cl_myclass      |-------------------| +city           || #address        ||-----------------|| + get_city()    || - display_addr()||                 ||-----------------|

(More than one answer is correct)

  display_address is a private method

  display_address is a public method

  city is a public attribute

  address is protected attribute

  get_city is a public attribute

  display_address is a static public method

40 of 40

Refer to the following code and identify the statements that are TRUE

CLASS lcl_course DEFINITION.   PUBLIC SECTION.     METHODS: get_course_name IMPORTING im_name type string.     CLASS-METHODS: list_prices_and_discounts.ENDCLASS.

CLASS lcl_course IMPLEMENTATION.   METHOD get_course_name.   ENDMETHOD.

   METHOD list_prices_and_discounts.   ENDMETHOD.ENDCLASS.

Data: course1 type ref to lcl_course,      course2 type ref to lcl_course.

Start-of-selection.

Create object course1.

Page 14: Abap Demo Test 1

Course2 = course1.

(More than one answer is correct)

  Only one instance of method get_course_name exists

  list_prices_and_discounts is a instance method

  Memory is reserved for 2 instances of lcl_course

 Method list_prices_and_discounts can only be called once

  method list_prices_and_discounts is a static method

 Only one instance of method list_prices_and_discounts exists