CL_EHFND_ENA_ACTION_MNGR - Action Manager - facade of BOPF action context

TXBHW - Original Tax Base Amount in Local Currency   BAL Application Log Documentation  
This documentation is copyright by SAP AG.

Functionality

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

* Initialize ENA Node Manager.

cl_ehfnd_ena_action_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 Actions

io_modify ,,= io_modify " Interface to Change Data

IMPORTING

eo_action_mngr ,,= lo_node_mngr " Easy Access Node Action 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 action ).

lo_node = lo_node_mngr->get_ctx_node( ).

IF lo_node->count( ) = 1.

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

ENDIF.

Notes

In case of static BOPF action the method get_ctx_node must not be used.

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   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.


Length: 2395 Date: 20120526 Time: 115456     triton ( 90 ms )