You are on page 1of 11

302 of 644

Collect

Select * into Table ITAB from dbtab.

Append

Insert ITAB

Read Table ITAB


303 of 644

SY-LISTI

SY-TABIX

SY-LSIND

SY-INDEX
304 of 644

(More than one answer is correct)

Desktop Shortcuts

Custom Developed Programs

SET/GET Parameters

Variant Transactions

Operating System Scripts


305 of 644

Data: st_mytab like mytab.


Perform write_lines using st_mytab.
Form write_lines using rec.
Write: / rec-field1, rec-field2.
Endform.

Rec needs to be defined LIKE mytab in the FORM

The formal parameter 'rec' ahould be referenced by value

The prefix REC is not needed

Rec needs to be defined globally as a DATA object


306 of 644

narrowing cast
dynamic referencing

widening cast

up cast
307 of 644

(More than one answer is correct)

Can set their own GUI status

You can also specify the subscreens dynamically at runtime.

have their own OK_CODE

Multiple subscreens are possible in a single screen.

Can set their own titlebar


308 of 644

(More than one answer is correct)

Read Line 3 of Next Page

DO. Read Line SY-INDEX. ENDDO.

Read Current Line of Table ITAB

Read Line 3 of Current Page


309 of 644

(More than one answer is correct)

The invoking module pool still retains control of execution

The CALL SCREEN xxx statement is possible

Enables processing of ok_code functions

Enables execution of interactive reporting events

Data available in the dialog program must be passed to the list


310 of 644

Report ABC
Data: …..

Start-of-Selection.
Perform Form A.
End-of-Selection.

Form A.
Loop at inttab.
...
Exit.
Endloop.
Endform.
Exits the Start-of-Selection Event

Exits the Program

Exits the Loop

Exits the Form


311 of 644

for graphic symbols on screens and lists

for re-assigning field types

for referencing multiple fields at the same time

for referencing an address of a field


312 of 644

Transaction Text

Program

Screen Number

Authorization Object
313 of 644

type

check table

data element

table field

table
314 of 644

C++

Cobol

VB

ABAP
315 of 644

implementation

definition

attributes

method
316 of 644

BREAK-POINT.

MESSAGE E101.

SUBMIT RSCA101X.

MESSAGE I101.
317 of 644

Call Function 'MYFUNCTION'


exporting
e1 = p1
importing
i1 = p2

Program is suspended

Runtime error

Message occurs

Program continues
318 of 644

FZ

Y or Z

Y_ or Z_

F
319 of 644

a presentation, application and database server

Multiple application servers

work processes only

dispatcher, work processes, and services


320 of 644

LDB

Program

Joined Tables

Sequential Data Set


Search Help
321 of 644

Modifications to the SAP Standard

Enhancements to the SAP Standard

Customizing

Append Structures
322 of 644

By Value

By Changing

By Reference
323 of 644

(More than one answer is correct)

Select Lists

Statistics

Ranked lists

Summary

Basic lists
324 of 644

Begin of Frame, End of Frame

Begin of Selection, End of Selection

Begin of Box, End of Box

Begin of Block, End of Block


325 of 644

process after input.


10 module exit at exit-command.
module back.

20 field a module check_field_a.


30 field b module check_field_b.

40 chain.
field: a, b, c.
module check_field_abc.
endchain.

50 chain.
field: c, d.
module check_field_cd. <== ERROR
endchain.

30

40

50

20

10
326 of 644

menu_class

cl_ctmenu

cl_menu

cl_context_clas
327 of 644

(More than one answer is correct)

File

Table

Node

Structure

Complex Data Object


328 of 644

SY-KEY

SY-UCOMM

SY-GUI

SY-FCODE
329 of 644

SY-DYNNR

SY-STEPL

TC_FLIGHT-LINES

TC_FLIGHT-TOTAL_LINES
330 of 644

1. Dialog-task FORM routines logged with PERFORM…. ON COMMIT.


2. High-priority (V1) update-task function modules.
3. Low-priority (V2) update-task function modules.

1, 2, 3

3, 2, 1

2, 3, 1
331 of 644

When calling a static method, the class name is required

When calling a static method, the class name can be omitted

Private methods can not call public methods

When calling an instance method, the => operator is still required


332 of 644

CARRIER CONNECTION FLIGHTDATE


10 AA FFF Jan 2
20 AA FFF Jan 3
30 DL FFF Jan 5

30

NO rows will cause a break

All rows will cause a break

20
333 of 644

The filter value is passed to the method as an export parameter

There is no need to pass to the method as a parameter

The filter value is passed to the method as an import parameter

The filter value gets passed as a reference variable


334 of 644

Data: ZFIELDA(5) type c value 'ABCDE'.


ZFIELDB(4) type c.

ZFIELDA = ‘XX’.
Clear ZFIELDA.
ZFIELDB = ZFIELDA.

ABCD

Spaces

BCDE

ABCDE
335 of 644
To the previous screen

To the initial screen of the transaction

To where the transaction was called

To the Cancel area


336 of 644

a class can implement any number of interfaces

interfaces contain their own implementation part

the user is protected from the actual implementations

interfaces describe the point of contact of a class


337 of 644

1 for every release

maximum of 1

Determined by Basis group - this is a configurable item

minimum of 1
338 of 644

(More than one answer is correct)

Parameters

Selection-Screen

Tables

Data

Class
339 of 644

At the end of an interactive processing block

At the beginning of an interactive processing block

When you programatically increment it


340 of 644

ZXG99F01

ZXG99E01
ZXG99L01

ZXG99U01
341 of 644

SE24

SE18

SE80

SE19
342 of 644

Internet

Presentation

Application

Database
343 of 644

Any Primary Key Fields and Any Secondary Key Fields

The Foreign Key Dependancies

The Primary Key Fields

Any Primary Key Fields


344 of 644

10 get spfli.
20 * Processing of SPFLI records
30 write: spfli-carrid, spfli-connid.
40 counter = counter + 1.
60 if counter > 1.
70 Exit.
80 endif.
90 write:/ ‘No more processing for this Carrier'.
100 get sflight.
110 write: sflight-fldate, spfli-price.
120 end-of-selection.
130 write: / text-002, text-003.

120

100

Exits the Program

80

130
345 of 644
Tables

ABAP/4 memory

SAP Memory
346 of 644

process after input.


10 module exit at exit-command.
module back.

20 field a module check_field_a.


30 field b module check_field_b.

40 chain.
field: a, b, c.
module check_field_abc.
endchain.

50 chain.
field: c, d.
module check_field_cd. <== ERROR
endchain.

c, d

a, b, c

b, d
347 of 644

class lcl_course definition.

public section.
data: name(15) type c value 'ABAPObjects101'.
class-data price type p value 100.

private section.
data: category(10) type C value 'Objects'.

endclass.

data: course1 type ref to lcl_course,


course_name type string,
course_price type p,
course_category type string.

Create Object course1.


(More than one answer is correct)

course_name = course1=>name.

course_price = lcl_course=>price.

course_name = name

course_price = lcl_course->price.
course_name = course1->name.
348 of 644

(More than one answer is correct)

Events can be triggered with the “Trigger Event” command


Methods must be registered to an event in order to be called when the event is
triggered
An event is defined in the Implementation of a Class

Event Triggering using “Raise Event” can be issued in a method


349 of 644

Fields of the Authority-check are optional

The Authority-check object must be in your profile


If you do not want to carry out a check for a field, it must contain the value
"DUMMY"
350 of 644

Super class and subclass both point to an instance of the same class type

Super class method is called from the subclass


Casting a super class to a subclass when superclass does not point to an
instance of the subclass type
Subclass reference variable correpsonds to the superclass reference variable
351 of 644

PERFORM READ_RECORDS_FROM_FILE.
…..
…..
FORM READ_RECORDS_FROM_FILE.
READ DATASET ABC INTO REC.
IF SY-SUBRC = 0. EXIT. ENDIF.
DO.
READ DATASET ABC INTO REC.
IF SY-SUBRC = 0. EXIT. ENDIF.
ENDDO.
ENDFORM.

11

10

You might also like