Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

aNSWER ME.

Former Member
0 Likes
696

data: field1 type I value 10.

End-of-selection.

Subtract 2 from field1.

Write: / 'field1 =', field1.

Start-of-selection.

Add 5 to field1.

Write: / 'field1 =', field1.

Initialization.

Field1 = 5.

Write: / 'field1 =', field1.

What is the result after executing the above code?

a) field1 = 10

field1 = 8

b) field1 = 8

field1 = 14

field1 = 5

c) field1 = 5

field1 = 3

field1 = 8

d) field1 = 5

field1 = 10

field1 = 8

e) field1 = 8

field1 = 14

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
652

Hi,

The answer is

d) field1 = 5

field1 = 10

field1 = 8

First initialization will trigger, then start of selection and then the end of selection.

Regards,

Vani.

6 REPLIES 6
Read only

Former Member
0 Likes
652

ans is d bcoz first initialization will be triggerd and then start-of-selection and then end-of-selection

Message was edited by:

p498863

Read only

Former Member
0 Likes
652

hi Subin

d) field1 = 5

field1 = 10

field1 = 8

Regards

Allan Cristian

Message was edited by:

Allan Cristian

Read only

Former Member
0 Likes
652

hi

answer is a

Read only

0 Likes
652

hi answer is d only

Read only

Former Member
0 Likes
652

The answer is 'D'. Because the Events in Report Program will trigger in the following sequence.

INITIALIZATION

AT SELECTION-SCREEN

START-OF-SELECTION

END-OF-SELECTION

TOP-OF-PAGE

TOP-OF-PAGE-DURING LINE-SELECTION

END-OF-PAGE

AT LINE SELECTION

AT USER COMMAND

Rewards if useful.

Read only

Former Member
0 Likes
653

Hi,

The answer is

d) field1 = 5

field1 = 10

field1 = 8

First initialization will trigger, then start of selection and then the end of selection.

Regards,

Vani.