SYNCHRONIZE SAP Method Synchronization
Below is documentation, parameters and attributes of ABAP Method SYNCHRONIZE within SAP class MDS_CTRL_STRATEGY. 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 MDS_CTRL_STRATEGY 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 can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method SYNCHRONIZE
.| Name | Type | Data Type | Description | Default Value |
| IS_DATA | Importing | TYPE ANY | DataPacket | |
| IV_SOURCE_OBJECT | Importing | TYPE MDS_CTRL_OBJ_SOURCE | Source Synchronization Object | |
| IV_TA_CONTEXT | Importing | TYPE MDS_CTRL_TRANSACTION_CONTEXT | Transaction Context | |
| IV_TESTRUN_INDICATOR | Importing | TYPE XFELD | Test Run? | |
| ES_ERROR | Exporting | TYPE MDS_CTRLS_ERROR | Message Structure of the Controller |
Exceptions of Method SYNCHRONIZE
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO MDS_CTRL_STRATEGY.
DATA: lv_ES_ERROR TYPE MDS_CTRLS_ERROR,
lv_IS_DATA TYPE ANY,
lv_IV_SOURCE_OBJECT TYPE MDS_CTRL_OBJ_SOURCE,
lv_IV_TA_CONTEXT TYPE MDS_CTRL_TRANSACTION_CONTEXT,
lv_IV_TESTRUN_INDICATOR TYPE XFELD,
lv_other TYPE c.
CALL METHOD lo_class=>SYNCHRONIZE(
EXPORTING
IS_DATA = lv_IS_DATA
IV_SOURCE_OBJECT = lv_IV_SOURCE_OBJECT
IV_TA_CONTEXT = lv_IV_TA_CONTEXT
IV_TESTRUN_INDICATOR = lv_IV_TESTRUN_INDICATOR
IMPORTING
ES_ERROR = lv_ES_ERROR ).
Links to Related Class(s)
MDS_CTRL...Full list of available SAP object classes
Search for further information about these or an SAP related objects