Method INITIALIZE

Use

The INITIALIZE method reads data from the customizing tables that determine the behavior of the current instance.

Sample source text:

METHOD if_expression_brf~initialize.

CALL METHOD super->if_expression_brf~initialize.

CALL METHOD CL_DB_BRF=>GET_TBRF130_SINGLE

EXPORTING

IV_EXPRESSION = if_expression_brf~ms_brf150-expression

IMPORTING

ES_BRF130 = ms_brf130

EXCEPTIONS

NOTHING_FOUND = 1

others = 2.

(...)

ENDMETHOD.

Description:

The INITIALIZE method has the following effect:

  • It gets the following information from table TBRF130:

    • Type of linkage of the three operands

    • The operands themselves

  • It calls the INITIALIZE method of the superclass so that the system can read the following information:

    • The required information from table TBRF150 to table MS_BRF150 (table of all expressions and their joint features)

    • The required information from table TBRF260 to table MS_BRF260 (table of all operands)