2007 Nov 29 10:27 AM
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
2007 Nov 29 10:34 AM
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.
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.
2007 Nov 29 10:29 AM
ans is d bcoz first initialization will be triggerd and then start-of-selection and then end-of-selection
Message was edited by:
p498863
2007 Nov 29 10:31 AM
hi Subin
d) field1 = 5
field1 = 10
field1 = 8
Regards
Allan Cristian
Message was edited by:
Allan Cristian
2007 Nov 29 10:33 AM
2007 Nov 29 10:37 AM
2007 Nov 29 10:34 AM
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.
2007 Nov 29 10:34 AM
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.
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |