CL_EHFND_ENA_ASSOC_MNGR - Determination manager

ROGBILLS - Synchronize billing plans   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.

Functionality

This class is facade of Business Object Processing Framework (BOPF) association context data. It ispart of the Easy Node Access (ENA) framework and gives the possibility to work with ENA in BOPF association 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_assoc_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__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_assoc_mngr .

* Initialize ENA Node Manager.

cl_ehfnd_ena_assoc_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 Assoctions

io_modify ,,= io_modify " Interface to Change Data

IMPORTING

eo_assoc_mngr ,,= lo_node_mngr " Easy Access Node Association 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 association ).

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



SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   Vendor Master (General Section)  
This documentation is copyright by SAP AG.


Length: 2328 Date: 20120526 Time: 115507     triton ( 77 ms )