- It is used to get multiple output list.
- The first output list is called basic list.
- Based on basic list selected list output is called secondary list.
- Moving based on from one report to another report is know as drill down report.
- Including basic report , we can create 21 interactive reports.
Events in Classical Interactive Report
- Initialization.
- To initialize the value to variables.
- To assign the values to parameter as well as select-option.
- At-selection-screen.
- Used to validate selection screen input.
- At-selection-screen output .
- Used to modify the screen layout.
- At-selection-screen on <field>
- To validate the particular filed.
- At-selection-screen on value-request.
- Used to provide search help for a particular field.
- At-selection-screen on help-request.
- Used to provide documentation help for particular field.
- Start-of-selection.
- Actual program execution starts from here.
- End-of-selection.
- Usually output related codes are written here.
- Top-of-page.
- If you want put headings for report, then write code here.
- End-of-page.
- Used to put footer .
- At line selection.
- At line selection Occurs after the user double-clicks on a line, clicks once on a hotspot, or chooses Edit-Choose;
- At user command.
- AT USER-COMMAND occurs after the user chooses a self-defined action. SY-UCOMM contains chosen function code.
- · SET USER-COMMAND <command> triggers event from within the program. Takes effect after the current list is completed. Before the system displays the list, it triggers the event that corresponds to the function code stored in <command>, independent of the applied user interface.
- At pf.
- · AT PF<nn> occurs after the user presses the corresponding function key. Predefined system functions have higher priority than self-defined events. The system does not trigger an event AT PF<nn> for keys whose function code is predefined:
- Recommended use AT PF for testing purposes only. In final version use AT USER-COMMAND together with self-defined interfaces.
- End-of-selection.
- Top-of-page during line selection.
- SET PF-STATUS:
- Syntax :
SET PF-STATUS <status> [EXCLUDING
<function>|<itab>] [IMMEDIATELY].
- Sets user-defined <status> for all subsequent list levels until you set another status. SY-PFKEY - status of the current list. <status> is SPACE to set system status. <function>, type C(4), (or list of functions in the <itab>) - function code(s) to be deactivated in the <status>. IMMEDIATELY changes the status of the currently displayed list (SY-LISTI) within the processing block of the interactive event. Without this option, the system changes the status of the current secondary list (SY-LSIND) that is displayed only at the end of the processing block.
No comments:
Post a Comment