The START-OF-SELECTION event must be defined in the DIffuser main report. However, unlike standard ABAP reports this event does nothing except execute an Diffuser statement. This statement must immediately follow the START-OF-SELECTION keyword and nothing else should follow it. In effect, this single Diffuser 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 Diffuser 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).
Post your comment on this topic.