Intreactive reports :
=====================
This reports are nothing but to display the summarized information
in the basic list and detailed information in the secondary list.
Note :
=====
we can have only one basic list and upto 20 secondary list.
Events in the intreactive reports.
=================================
1. At line-selection.
2. At User-command.
3. Top-of-page during line-selection.
4. At pf<n>.
5. set pf-status.
At Line-Selection
==================
This event will trigger whenever the user double click on any list line.
Syntax: AT LINE-SELECTION . "Triggers line selection
At User Command:
=================
This event will trigger whenever user clicks on any custom buttons of the GUI.
Syntax: AT USER-COMMAND . "Triggers user command
At PF Status:
============
This event will trigger whenever user clicks on any function buttons.
Syntax: AT PF. "Triggers user command
Top Of Page During line selection:
==================================
This is used to print heading for secondary lists in interactive reports.
Syntax: TOP-OF-PAGE DURING LINE-SELECTION. "Prints secondary list header
Set pf-status:
==============
it is an event which is triggered at the time of attaching our own gui to program.
some of the system variables releated to the interactive reports
================================================================
1. sy-lsind.
2.sy-lisel.
3.sy-lilli.
4. sy-ucomm.
5. sy-linno.
IMG
1.SY-LSIND
===========
It is the system variable which contains the current list index number.. 0.1.2.3.
2.SY-LISEL
===========
It is the system variable which contains the contents of the selected record
3.SY-LILLI:
===========
It is the system variable which contains the excat line number of the selected record.
4.SY-UCOMM:
===========
It is the system variable which contains the function code of the selected menu item.
5. SY-LINNO:
=============
It is the system variable which contains the excat line number of the last record displayed.
Interactive reports supports the user interaction is always through double click or f2 function key.
whenever the user click on the record of any list then the at line selection event is triggered
, list is incremented by one. If you want to retive the data for current list then we should known the record
which is clicked by the user in the previous list.
the following techniques are used to identify the records which is clicked by the user in the previous list.
1. hide technique
2. sy-lisel technique
3. get cursor technique.
Hide area
==========
It is a key word which is used to store the data into a temporary memory call as HIDE area.
Functionality of HIDE is:
===========================
Whenever the user uses the HIDE statement, the data will be stored in 'HIDE' area along with line numbers.
Whenever user double clicks on any list line the system takes the line number
and checks the HIDE area for the corresponding data in that particular line,
then the data will be returned to the HIDE variables.
Syntax: HIDE <WA> " total work area in hide area
OR
HIDE <WA-FIELD> "hide area
=====================
This reports are nothing but to display the summarized information
in the basic list and detailed information in the secondary list.
Note :
=====
we can have only one basic list and upto 20 secondary list.
Events in the intreactive reports.
=================================
1. At line-selection.
2. At User-command.
3. Top-of-page during line-selection.
4. At pf<n>.
5. set pf-status.
At Line-Selection
==================
This event will trigger whenever the user double click on any list line.
Syntax: AT LINE-SELECTION . "Triggers line selection
At User Command:
=================
This event will trigger whenever user clicks on any custom buttons of the GUI.
Syntax: AT USER-COMMAND . "Triggers user command
At PF Status:
============
This event will trigger whenever user clicks on any function buttons.
Syntax: AT PF. "Triggers user command
Top Of Page During line selection:
==================================
This is used to print heading for secondary lists in interactive reports.
Syntax: TOP-OF-PAGE DURING LINE-SELECTION. "Prints secondary list header
Set pf-status:
==============
it is an event which is triggered at the time of attaching our own gui to program.
some of the system variables releated to the interactive reports
================================================================
1. sy-lsind.
2.sy-lisel.
3.sy-lilli.
4. sy-ucomm.
5. sy-linno.
IMG
1.SY-LSIND
===========
It is the system variable which contains the current list index number.. 0.1.2.3.
2.SY-LISEL
===========
It is the system variable which contains the contents of the selected record
3.SY-LILLI:
===========
It is the system variable which contains the excat line number of the selected record.
4.SY-UCOMM:
===========
It is the system variable which contains the function code of the selected menu item.
5. SY-LINNO:
=============
It is the system variable which contains the excat line number of the last record displayed.
Interactive reports supports the user interaction is always through double click or f2 function key.
whenever the user click on the record of any list then the at line selection event is triggered
, list is incremented by one. If you want to retive the data for current list then we should known the record
which is clicked by the user in the previous list.
the following techniques are used to identify the records which is clicked by the user in the previous list.
1. hide technique
2. sy-lisel technique
3. get cursor technique.
Hide area
==========
It is a key word which is used to store the data into a temporary memory call as HIDE area.
Functionality of HIDE is:
===========================
Whenever the user uses the HIDE statement, the data will be stored in 'HIDE' area along with line numbers.
Whenever user double clicks on any list line the system takes the line number
and checks the HIDE area for the corresponding data in that particular line,
then the data will be returned to the HIDE variables.
Syntax: HIDE <WA> " total work area in hide area
OR
HIDE <WA-FIELD> "hide area



Comments
Post a Comment