HANDLE_GET_DATA SAP Method Gets the data from the BOPF BO model
Below is documentation, parameters and attributes of ABAP Method HANDLE_GET_DATA within SAP class /BOFU/CL_FREESTYLE_BOPF_HELPER. 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 /BOFU/CL_FREESTYLE_BOPF_HELPER 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 HANDLE_GET_DATA can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method HANDLE_GET_DATA
.| Name | Type | Data Type | Description | Default Value |
| IT_ATTRIBUTES | Importing | TYPE /BOBF/T_FRW_NAME | List of Names (e.g. Fieldnames) | |
| IT_DATA | Importing | TYPE /BOBF/T_FRW_KEY | Key Table | |
| IT_SELECTED_LINES | Importing | TYPE RSTABIXTAB | Repository Infosystem Table for Indexes | |
| IV_BO_KEY | Importing | TYPE /BOBF/OBM_BO_KEY | Business Object | |
| IV_LEAD_INDEX | Importing | TYPE SYTABIX | Index of Internal Tables | |
| IV_NODE_KEY | Importing | TYPE /BOBF/OBM_NODE_KEY | Node | |
| ES_DATA | Exporting | TYPE REF TO DATA | ||
| ET_DATA | Exporting | TYPE REF TO DATA | ||
| ET_MESSAGES | Exporting | TYPE /BOBF/T_FRW_MESSAGE_K | Message Table | |
| EV_DATA_CHANGED | Exporting | TYPE BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | |
| EV_IS_VISIBLE | Exporting | TYPE BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') |
Exceptions of Method HANDLE_GET_DATA
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO /BOFU/CL_FREESTYLE_BOPF_HELPER.
DATA: lv_ES_DATA TYPE DATA,
lv_ET_DATA TYPE DATA,
lv_ET_MESSAGES TYPE /BOBF/T_FRW_MESSAGE_K,
lv_EV_DATA_CHANGED TYPE BOOLE_D,
lv_EV_IS_VISIBLE TYPE BOOLE_D,
lv_IT_ATTRIBUTES TYPE /BOBF/T_FRW_NAME,
lv_IT_DATA TYPE /BOBF/T_FRW_KEY,
lv_IT_SELECTED_LINES TYPE RSTABIXTAB,
lv_IV_BO_KEY TYPE /BOBF/OBM_BO_KEY,
lv_IV_LEAD_INDEX TYPE SYTABIX,
lv_IV_NODE_KEY TYPE /BOBF/OBM_NODE_KEY,
lv_other TYPE c.
CALL METHOD lo_class=>HANDLE_GET_DATA(
EXPORTING
IT_ATTRIBUTES = lv_IT_ATTRIBUTES
IT_DATA = lv_IT_DATA
IT_SELECTED_LINES = lv_IT_SELECTED_LINES
IV_BO_KEY = lv_IV_BO_KEY
IV_LEAD_INDEX = lv_IV_LEAD_INDEX
IV_NODE_KEY = lv_IV_NODE_KEY
IMPORTING
ES_DATA = lv_ES_DATA
ET_DATA = lv_ET_DATA
ET_MESSAGES = lv_ET_MESSAGES
EV_DATA_CHANGED = lv_EV_DATA_CHANGED
EV_IS_VISIBLE = lv_EV_IS_VISIBLE ).
Links to Related Class(s)
/BOFU/CL...Full list of available SAP object classes
Search for further information about these or an SAP related objects