CLASS lcl_sel DEFINITION.

  PUBLIC SECTION.

    DATA: v_rec TYPE i.

ENDCLASS.

*

CLASS lcl_report_new DEFINITION.

  PUBLIC SECTION.

    METHODS:

      constructor IMPORTING io_sel TYPE REF TO lcl_sel,

      select_data.

ENDCLASS.

*

*

START-OF-SELECTION.

  DATA: lo_sel_o TYPE REF TO lcl_sel.

  DATA: lo_rep_o TYPE REF TO lcl_report_new.

  CREATE OBJECT lo_sel_o.

  CREATE OBJECT lo_rep_o

    EXPORTING

      io_sel = lo_sel_o.

*

CLASS lcl_report_new IMPLEMENTATION.

  METHOD select_data.

  ENDMETHOD.

ENDCLASS.



Serkan AKKAVAK

Computer Engineer BSc

SAP Department Deputy Manager

Contact : serkurumsal@yandex.com