I have a class I need to enhance (Post Exit) and in this class I need to access some of the objects in the method itself which are being
used and I am not sure of how to do this.
Just as a simple example in my method I have the following Code (simple trimmed down version)
Data:
lo_service_manager TYPE REF TO cl_ehfnd_ena_service_mngr,
lo_incident TYPE REF TO cl_ehfnd_ena_node,
lo_inv_result_node TYPE REF TO cl_ehfnd_ena_node,
lo_inv_step_node TYPE REF TO cl_ehfnd_ena_node.
lo_incident = lo_service_manager->get_root_single( iv_key = lr_s_incident->key ).
lo_inv_result_node = lo_incident->get_subnode_by_key(if_ehhss_inc_c=>sc_association-root-investig_result ).
lo_inv_step_node = lo_inv_result_node->get_subnode_by_key( if_ehhss_inc_c=>sc_association-investig_result-step ).Class Method
I have a post exit enhancement on this method and I would like to be able to access the lo_inv_result_node and lo_inv_step_node from this exit. These objects contain data that I would like to process in the exist. Does anyone know how I can do this?