1.In report, we should have to write events in sequential
order or not,if we write events insequential then what will
be the drawback and if we will sequential what will be the
advantage.
2.what is the fucnction of end-of-selection even? if we
would not write this event in report what will happen?
3.top-of-page event will trigger before the
initialization,and at selection-screen event or after these
two event.

Answer Posted / sirisha

Not Necessary for the events to be in a sequential order.
During run time, the events will be triggered automatically
in the sequence.
But it is suggested to write the events in a sequence for
the user to easily understand the flow of program and for
the efficiency purpose.
END-OF-SELECTION: Will be normally used to free the memory
and display the write statements once all the fetching is
done. But it is not mandatory or necessary to write
END-OF-SELECTION. If any event is missing in the sequence,
the next event will be triggered automatically.
INITIALIZATION initializes the filed values in the
selection screen. This is done before at-selection screen,
before PBO.
TOP-OF-PAGE: This is used to display the required text on
the top of the page as header. This event will come AFTER
INITIALIZATION event only !!
Here is the flow of events:

INITIALIZATION
AT SELECTION-SCREEN
AT SELECTION-SCREEN OUTPUT
START-OF-SELECTION
END-OF-SELECTION

Is This Answer Correct ?    16 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the function modules used in f4 help?

734


What is the significance of the screen number ‘0’?

669


What is filter dependent BADI?

1021


What are the types of subroutines? : abap modularization

673


What is the significance of delivery class? : abap data dictionary

661






Explain what is sequence of event triggered in report?

657


what is friend class

976


Explain what is step-loop? Explain all the steps?

815


What is bdc programming in sap?

711


What is database view ? : sap abap data dictionary

689


Explain some essential objects in abap dictionary?

818


Select query optimisation

985


What is the use of program rsbdcsub? : abap bdc

741


What is the use of message command in a report? What are the different message types?

638


Can you assign a matchcode object to a parameter? If so how?

689