READ_PROPERTY SAP Method Read the BOPF BO properties for Nodes, Actions & Assocs
Below is documentation, parameters and attributes of ABAP Method READ_PROPERTY 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 READ_PROPERTY can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method READ_PROPERTY
.| Name | Type | Data Type | Description | Default Value |
| IT_KEYS | Importing | TYPE /BOBF/T_FRW_KEY | Key Table | |
| IV_ACTION_PROPERTY | Importing | TYPE BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | |
| IV_ASSOC_PROPERTY | Importing | TYPE BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | |
| IV_BO_KEY | Importing | TYPE /BOBF/OBM_BO_KEY | Business Object | |
| IV_NODE_KEY | Importing | TYPE /BOBF/OBM_NODE_KEY | Node | |
| IV_NODE_PROPERTY | Importing | TYPE BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | |
| ET_PROPERTY | Exporting | TYPE TT_PROPERTY |
Exceptions of Method READ_PROPERTY
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO /BOFU/CL_FREESTYLE_BOPF_HELPER.
DATA: lv_ET_PROPERTY TYPE TT_PROPERTY,
lv_IT_KEYS TYPE /BOBF/T_FRW_KEY,
lv_IV_ACTION_PROPERTY TYPE BOOLE_D,
lv_IV_ASSOC_PROPERTY TYPE BOOLE_D,
lv_IV_BO_KEY TYPE /BOBF/OBM_BO_KEY,
lv_IV_NODE_KEY TYPE /BOBF/OBM_NODE_KEY,
lv_IV_NODE_PROPERTY TYPE BOOLE_D,
lv_other TYPE c.
CALL METHOD lo_class=>READ_PROPERTY(
EXPORTING
IT_KEYS = lv_IT_KEYS
IV_ACTION_PROPERTY = lv_IV_ACTION_PROPERTY
IV_ASSOC_PROPERTY = lv_IV_ASSOC_PROPERTY
IV_BO_KEY = lv_IV_BO_KEY
IV_NODE_KEY = lv_IV_NODE_KEY
IV_NODE_PROPERTY = lv_IV_NODE_PROPERTY
IMPORTING
ET_PROPERTY = lv_ET_PROPERTY ).
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