READ_FUNCAREA SAP Method Read hierarchy data for functional area









Below is documentation, parameters and attributes of ABAP Method READ_FUNCAREA within SAP class IF_EX_BADI_FMHIE_READ_MD. There is also a number of example ABAP code snipts to help you use the functionality of this method.

This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name IF_EX_BADI_FMHIE_READ_MD into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.


Method Type - Instance

This is an Instance Method so needs to be instantiated first before you can access any of the methods. I.e. you need to create a local variable of TYPE ref to the class.

The following technical details of method READ_FUNCAREA can also be found below:

  • Importing parameters
  • Exporting parameters
  • Changing parameters
  • Returning parameters
  • Exceptions
  • Coding Examples


Parameters of Method READ_FUNCAREA

.

NameTypeData TypeDescriptionDefault Value
IM_APPL_LOGImportingTYPE REF TO
CL_BUBAS_APPL_LOG_CTX
Application log with context
IM_HEADERImportingTYPE
FMHIE_S_HIE_ID_KEY
Keys for Hierarchy ID
IM_RFUNCAREAImportingTYPE
FMBS_T_RFUNCAREA
Range table for functional area
E_T_FUNCAREA_HIEExportingTYPE
FMHIE_T_NODE_STRING
Table of nodes with character keys



Exceptions of Method READ_FUNCAREA

E_T_FUNCAREA_HIEExportingTYPE
FMHIE_T_NODE_STRINGTable of nodes with character keysWRONG_INPUT - Error in the input parameter (e.g. wrong FM area)

Example ABAP coding


DATA: lo_class TYPE REF TO IF_EX_BADI_FMHIE_READ_MD.
DATA: lv_E_T_FUNCAREA_HIE TYPE FMHIE_T_NODE_STRING,
lv_IM_APPL_LOG TYPE CL_BUBAS_APPL_LOG_CTX,
lv_IM_HEADER TYPE FMHIE_S_HIE_ID_KEY,
lv_IM_RFUNCAREA TYPE FMBS_T_RFUNCAREA,
lv_other TYPE c.

CALL METHOD lo_class=>READ_FUNCAREA(
EXPORTING
IM_APPL_LOG = lv_IM_APPL_LOG
IM_HEADER = lv_IM_HEADER
IM_RFUNCAREA = lv_IM_RFUNCAREA
IMPORTING
E_T_FUNCAREA_HIE = lv_E_T_FUNCAREA_HIE ).

Links to Related Class(s)

IF_EX_BA...
Full list of available SAP object classes

Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!