SYNCHRONIZE_WITH_CDS_AND_BDEF SAP Method Synchronize existing (!) BO with CDS and BDEF (RAP)
Below is documentation, parameters and attributes of ABAP Method SYNCHRONIZE_WITH_CDS_AND_BDEF within SAP class /BOBF/CL_CONF_MODEL_API_ADT. 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_API_ADT 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 SYNCHRONIZE_WITH_CDS_AND_BDEF can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method SYNCHRONIZE_WITH_CDS_AND_BDEF
.| Name | Type | Data Type | Description | Default Value |
| IV_BUSINESS_OBJECT_NAME | Importing | TYPE /BOBF/OBM_NAME | Business Object Name | |
| EO_MESSAGE | Exporting | TYPE REF TO /BOBF/IF_FRW_MESSAGE | CDS/BDEF Check (Error) or BO Sync (Info) Messages | |
| RV_SYNCHRONIZED | Returning | TYPE ABAP_BOOL | Synchronization succeeded |
Exceptions of Method SYNCHRONIZE_WITH_CDS_AND_BDEF
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO /BOBF/CL_CONF_MODEL_API_ADT.
DATA: lv_EO_MESSAGE TYPE /BOBF/IF_FRW_MESSAGE,
lv_IV_BUSINESS_OBJECT_NAME TYPE /BOBF/OBM_NAME,
lv_RV_SYNCHRONIZED TYPE ABAP_BOOL,
lv_other TYPE c.
CALL METHOD lo_class=>SYNCHRONIZE_WITH_CDS_AND_BDEF(
EXPORTING
IV_BUSINESS_OBJECT_NAME = lv_IV_BUSINESS_OBJECT_NAME
IMPORTING
EO_MESSAGE = lv_EO_MESSAGE
RECEIVING
RV_SYNCHRONIZED = lv_RV_SYNCHRONIZED )
"Alternate coding for Method Call with returning parameter
lv_RV_SYNCHRONIZED = lo_class=>SYNCHRONIZE_WITH_CDS_AND_BDEF(
EXPORTING
IV_BUSINESS_OBJECT_NAME = lv_IV_BUSINESS_OBJECT_NAME
IMPORTING
EO_MESSAGE = lv_EO_MESSAGE ).
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