Professional Documents
Culture Documents
ABAP Interactive Report
ABAP Interactive Report
Interactive report:
Debesh
Page 0
Code :
*&---------------------------------------------------------------------*
*& Report ZTEST_INTERACTIVE_PURCH_ORD
*&
*&---------------------------------------------------------------------*
*& Developer : Debesh
*& Date
: 1st Feb,2013
*&---------------------------------------------------------------------*
* Interactive report for displaying purchase order header/item details *
*&---------------------------------------------------------------------*
REPORT
ztest_interactive_purch_ord.
** Data Declaration **
TABLES : ekko.
TYPES : BEGIN OF ty_ekko,
ebeln TYPE ebeln,
bstyp TYPE ebstyp,
By Debesh
Page 1
TYPE
TYPE
TYPE
TYPE
** Selection Screen **
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
SELECT-OPTIONS : s_ebeln FOR ekko-ebeln NO INTERVALS .
SELECTION-SCREEN END OF BLOCK b1.
** Events **
CHECK s_ebeln IS NOT INITIAL.
START-OF-SELECTION.
PERFORM sub_get_data.
CHECK lt_ekko IS NOT INITIAL.
PERFORM sub_display_record.
AT LINE-SELECTION.
PERFORM sub_interactive.
TOP-OF-PAGE.
PERFORM sub_header.
By Debesh
Page 2
By Debesh
Page 3
By Debesh
', sy-datum.
Page 4
By Debesh
Page 5