The START-OF-SELECTION event must be defined in the MDR Main report. However, unlike standard ABAP reports this event does nothing except execute an MDR statement. This statement must immediately follow the START-OF-SELECTION keyword and nothing else should follow it. In effect, this single MDR statement begins processing the entire report. The following is a sample of how the START-OF-SELECTION event should appear:

*---------------------------------------------------------------------------------* 
* START-OF-SELECTION event
*---------------------------------------------------------------------------------*
START-OF-SELECTION. 
   mdr_program_initialize. 

This statement will begin execution of the MDR program. Intervals will be generated (or retrieved) and one or more jobs started. For each interval, the interval processing subroutine will be called (defined next).

Feedback

Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.

Post your comment on this topic.

Post Comment