CL_EHFND_ENA_DET_MNGR - Determination manager

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   PERFORM Short Reference  
This documentation is copyright by SAP AG.

Functionality

This class is facade of Business Object Processing Framework (BOPF) determination context data. It ispart of the Easy Node Access (ENA) framework and gives the possibility to work with ENA in BOPF determination classes that's why it is classified as internal accessor to BOPF Business Object (BO) node structure.

Do not use the constructor directly but the static factory method cl_ehfnd_ena_det_mngr=>get_instanceto get reference of the class. The methods get_root, get_ctx_node, and get_node give different ways to access the BO node structure.

Relationships

IF_EHFND_ENA_NODE_MNGR - interface for internal BOPF accessors

|-- CL_EHFND_ENA_ACTION_MNGR

|-- CL_EHFND_ENA_ASSOC_MNGR

| -- CL_EHFND_ENA_DEF_MNGR

| -- CL_EHFND_ENA_DET_MNGR

| -- CL_EHFND_ENA_VAL_MNGR

Example

DATA: lo_node TYPE REF TO cl_ehfnd_ena_node,

,,lr_s_node TYPE REF TO ehfnds_act_root,

,,lo_node_mngr TYPE REF TO cl_ehfnd_ena_det_mngr .

* Initialize ENA Node Manager.

cl_ehfnd_ena_def_mngr=>get_instance(

EXPORTING

it_key ,,= it_key " Key Table

io_read ,,= io_read " Interface to Read Data

is_ctx ,,= is_ctx " Context Information for determinations

io_modify ,,= io_modify " Interface to Change Data

IMPORTING

eo_det_mngr ,,= lo_node_mngr " Easy Access Node Determination manager

CHANGING

co_message ,,= eo_message " Interface of Message Object

ct_failed_key ,,= et_failed_key " Key Table

).

* Get context node ( the node which hosts the determination ).

lo_node = lo_node_mngr->get_ctx_node( ).

IF lo_node->count( ) = 1.

,,lr_s_node ?= lo_node->get_row( 1 ).

ENDIF.

Notes

ENA framework - Object Oriented facade of BOPF standard development tools. The main approach of ENA is that it encapsulates data and meta data of one bopf node in one instance of ena node (class cl_ehfnd_ena_node).

Further information

More information about BOPF: https://wiki.wdf.sap.corp/wiki/display/BOPF/Home



BAL_S_LOG - Application Log: Log header data   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.


Length: 2359 Date: 20120526 Time: 115517     triton ( 84 ms )