abap reports
26 video [abap reports]
-----------------------------
report --> final output of the program.
* classical report
* interactive report
1 classical report --> 0 to 19 interactive report.
#classical
~~~~~~~~~~~
> top-of-page
> initilization
> at selection-screen
> start of selection
> end of selection
> end-of-page
--> all events are optional
--> every event has its own property and will be trigger based on some prerequisites.
--> no sequence to be maintaned and no duplicates of the event.
--> no syntax check if some event is missing.
--> format and spelling must be maintained.
example program
---------------
REPORT ZAJAY_PRACTICE.
TOP-OF-PAGE.
write: / 'TOP-OF-PAGE'.
INITIALIZATION.
write: / 'INITIALIZATION'.
at SELECTION-SCREEN.
write: / 'at SELECTION-SCREEN'.
START-OF-SELECTION.
write: / 'START-OF-SELECTION'.
end-of-SELECTION.
write: / 'end-of-SELECTION'.
end-of-page.
write: / 'end-of-page'.
output
------
top-of-page.
initilization.
start-of selection.
end-of-selection.
27 video [abap reports]
-----------------------
page number
-----------
write : sy-pagno color6.
between pages line.
--------------------
write : sy-uline.
28 video [interactve report]
----------------------------
> at line-selection
--> all the interactive report related codes are here
> at user-command
--> button related codes are here
> at pf<pf number>
--> predefined function keys codes are here.
> top-of-page during line selection.
--> interactive reports page and column heading.
Comments
Post a Comment