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

regarding the answer

Former Member
0 Likes
395

hi experts,

cud u plz let me know about this question:::

1. An event starts with an event keyword and ends with:

A: Program execution.

B: END-OF-EVENT.

C: Another event keyword.

😧 END-EVENT.

2. Which Open SQL statement should not be used with cluster databases?

A: UPDATE

B: MODIFY

C: DELETE

😧 INSERT

which one is the answer and why....

2 REPLIES 2
Read only

Former Member
0 Likes
374

C.Another event keyword

You can define the processing blocks in any order in the source text of the ABAP program. Non-declarative statements that appear between or after closed processing blocks cannot be accessed and can never be executed. The syntax check reports such dead coding as an error. Declarative statements that appear between or after closed processing blocks belong to the global data declarations of the ABAP program and are visible in all subsequent processing blocks.

Event blocks are initiated by an event keyword and ended by the next processing block. Since there is no closing statement, it is recommended that you indicate the end of an event block with a comment line.

Within an event block, you cannot declare local data types or data objects. All declarative statements in event blocks belong to the global data declarations of the ABAP program and are visible in all subsequent processing blocks. An event block works with the global data types and data objects of the framework program and should therefore not contain any own declarations. (Exception: The event blocks AT SELECTION-SCREEN ... and GET ... are implemented internally is procedures and can contain local data).

For reasons of data encapsulation, it is recommended that you keep the functionality in event blocks to a minimum and call procedures instead.

You can also use macros and include programs to modularize a source text beyond the use of processing blocks.

Message was edited by:

Rajesh

Read only

Former Member
0 Likes
374

Hi,

Answer is C (Another event keyword. )

Regards

Sudheer