CL_EEWA_OR_DOMAIN_SAMPLE - Example for Special Reader Impl

CPI1466 during Backup   PERFORM Short Reference  
This documentation is copyright by SAP AG.

Functionality

This class is an exemplary implementation for Reader. All important implemenation settings were definedand provided with English comments regarding their usage. The Reader is completely defined, however, it provides as well comments on how a restrictive domain reader implementation may work.

Relationships

  • CL_EEWA_OBJECTREADER
  • EEWA-Business object configuration

Example

Notes

Further information

The functionality of the Reader can be tested with the following program :

report ???.

include EEWA_EL_MACRO_READER.

types:

  begin of TTREADER_TEST.

    include structure TFDIR as TFDIR.

types:

    STEXT type RS38L_FTXT.

    include structure TADIR as TADIR.

types:

  end of TTREADER_TEST.

data:

  LREADER  type ref to IF_EEWA_OBJECTREADER,

  LDATATAB type standard table of TTREADER_TEST.

DATA_BO_RANGE X.

SET_BO_RANGE_CMPLT X OBJ_NAME 'EEWA*' SOBJ_NAME I CP. "provide all Function modules starting with EEWA

create object LREADER type CL_EEWA_OR_DOMAIN_SAMPLE.

LREADER->MAXROWS = 8.

LREADER->EXECUTE(

  exporting

    PAR_RANGES = LRANGEXS

  importing

    PAR_TABLE  = LDATATAB

).

check LDATATAB is not initial. "place your brak-point here...


ABAP Short Reference   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.


Length: 1847 Date: 20120526 Time: 115231     triton ( 63 ms )