Call usual ABAP class in report (select options).
Call class in report program.
Create class refer - Select options in usual ABAP class. (abappractice.blogspot.com)
1. Goto SE38.
2. Give program name and click on create.
3. Give title and click on save.
4. Write code.
REPORT zab_rp_ekko_ekpo_so.
TABLES: ekko.DATA: it_final TYPE zab_tt_eeko_ekpo.
SELECT-OPTIONS: s_ebeln FOR ekko-ebeln.
START-OF-SELECTION.
DATA: obj TYPE REF TO zab_cl_so_ekko_ekpo.
CREATE OBJECT obj.
CALL METHOD obj->get_data
EXPORTING
sebeln = s_ebeln[]
IMPORTING
gt_ekko_ekpo = it_final.
cl_demo_output=>display( it_final ).
Input
Output
**********************Thank You**********************
Comments
Post a Comment