Skip to main content

Intreactive reports 1

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









Comments

Popular posts from this blog

ABAP BASICS CONTINUEATION

message: daily just follow my post maximum i will cover upto 90% of abap.                   DATA TYPES IN ABAP Data type specifies what type of the variable it is. data types in abap are divided into two categories.                                    NUMERIC DATATYPE                                   CHARACTER DATATYPE         1. Integer  [ I ]                                             1. Char  [ C ]           2. Float       [ F ]                                         ...

STEPS TO LOG ON TO SAP

            STEPS   TO   UP (ON) THE  SERVER: >> Double  click  on   the  SAP  Management  console  on desktop.   >> Select   the   server   , right   click ,   all tasks,  start. >> Provide  the  password. >>Expand  the server [ECC6], double click on the  ABAP WP               Table  in   the  leftside  , contiuncely  click  on  Refresh  button       until  the  status  is  wait   then  minimize  the  server. >>  Check  until  the  status  is  wait  ,if  it is  in  run  status  you             cannot  login.  so  check  until  status  is  wait. ...

INTRODUCTION TO SAP ABAP

                                                        SAP SAP   stands   as Systems Applications  and  Products in data processing. manufacturing unit Purchasing : The    purchasing department purchases  raw materials from the shops . Warehouse: The raw materials which are received  by  the unit is stored in the ware house. Finance: The amount of the raw materials are paid to shops by the finance department. Production: The production department looks after the production from the raw materials which are in the warehouse. Sales and Distribution: This department looks after the sales. Shipping: Shipping department looks after delevering the products from ware houseto the customers. And again finance department collects the amount from the customers. Human resou...