COMPARE_PROPERTIES SAP Method of class /BOBF/CL_CONF_MODEL_ADT_COMP
Below is documentation, parameters and attributes of ABAP Method COMPARE_PROPERTIES within SAP class /BOBF/CL_CONF_MODEL_ADT_COMP. 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 /BOBF/CL_CONF_MODEL_ADT_COMP 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 COMPARE_PROPERTIES can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method COMPARE_PROPERTIES
.| Name | Type | Data Type | Description | Default Value |
| IT_PROP_CURRENT | Importing | TYPE /BOBF/T_CONF_MODEL_ADT_SPROP | ||
| IT_PROP_NEW | Importing | TYPE /BOBF/T_CONF_MODEL_ADT_SPROP | ||
| IV_IS_RAP_BO | Importing | TYPE /BOBF/OBM_IS_RAP_BO | ||
| RV_CHANGED | Returning | TYPE ABAP_BOOL |
Exceptions of Method COMPARE_PROPERTIES
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO /BOBF/CL_CONF_MODEL_ADT_COMP.
DATA: lv_IT_PROP_CURRENT TYPE /BOBF/T_CONF_MODEL_ADT_SPROP,
lv_IT_PROP_NEW TYPE /BOBF/T_CONF_MODEL_ADT_SPROP,
lv_RV_CHANGED TYPE ABAP_BOOL,
lv_IV_IS_RAP_BO TYPE /BOBF/OBM_IS_RAP_BO,
lv_other TYPE c.
CALL METHOD lo_class=>COMPARE_PROPERTIES(
EXPORTING
IT_PROP_CURRENT = lv_IT_PROP_CURRENT
IT_PROP_NEW = lv_IT_PROP_NEW
IV_IS_RAP_BO = lv_IV_IS_RAP_BO
RECEIVING
RV_CHANGED = lv_RV_CHANGED )
"Alternate coding for Method Call with returning parameter
lv_RV_CHANGED = lo_class=>COMPARE_PROPERTIES(
EXPORTING
IT_PROP_CURRENT = lv_IT_PROP_CURRENT
IT_PROP_NEW = lv_IT_PROP_NEW
IV_IS_RAP_BO = lv_IV_IS_RAP_BO ).
Links to Related Class(s)
/BOBF/CL...Full list of available SAP object classes
Search for further information about these or an SAP related objects