CL_EHFND_ENA_VAL_MNGR - Validation manager
PERFORM Short Reference BAL Application Log DocumentationThis documentation is copyright by SAP AG.
Functionality
This class is facade of Business Object Processing Framework (BOPF) validation context data. It is partof the Easy Node Access (ENA) framework and gives the possibility to work with ENA in BOPF validation classes thats why it is clasified as internal accessor to BOPF Business Object (BO) node structure.
Do not use the constructor directly but the static factory method cl_ehfnd_ena_val_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_val_mngr .
* Initialize ENA Node Manager.
cl_ehfnd_ena_val_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 Validations
io_modify ,,= io_modify " Interface to Change Data
IMPORTING
eo_val_mngr ,,= lo_node_mngr " Easy Access Node Validation 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
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
TXBHW - Original Tax Base Amount in Local Currency CPI1466 during Backup
This documentation is copyright by SAP AG.
Length: 2324 Date: 20120526 Time: 115742 triton ( 82 ms )






