SAP MEREP_SYNCBO_DATA_EDITOR Function Module for Emulator
MEREP_SYNCBO_DATA_EDITOR is a standard merep syncbo data editor SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Emulator processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for merep syncbo data editor FM, simply by entering the name MEREP_SYNCBO_DATA_EDITOR into the relevant SAP transaction such as SE37 or SE38.
Function Group: MEREP_EMULATOR
Program Name: SAPLMEREP_EMULATOR
Main Program: SAPLMEREP_EMULATOR
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function MEREP_SYNCBO_DATA_EDITOR pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'MEREP_SYNCBO_DATA_EDITOR'"Emulator.
EXPORTING
* I_SYNCBO = 'IWA_EXM002' "
* I_MBLID = '0000000023' "
* I_WORKLIST = "
EXCEPTIONS
INVALID_MOBILE_ID = 1 INVALID_SYNCBO = 2 METADATA = 3 SYNCBO_NOT_GENERATED = 4
IMPORTING Parameters details for MEREP_SYNCBO_DATA_EDITOR
I_SYNCBO -
Data type: MEREP_401-SCENARIODefault: 'IWA_EXM002'
Optional: No
Call by Reference: No ( called with pass by value option)
I_MBLID -
Data type: MEREP_507-MBL_IDDefault: '0000000023'
Optional: No
Call by Reference: No ( called with pass by value option)
I_WORKLIST -
Data type: MEREP_505Optional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
INVALID_MOBILE_ID -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
INVALID_SYNCBO -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
METADATA -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
SYNCBO_NOT_GENERATED -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for MEREP_SYNCBO_DATA_EDITOR Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.| DATA: | ||||
| lv_i_syncbo | TYPE MEREP_401-SCENARIO, " 'IWA_EXM002' | |||
| lv_invalid_mobile_id | TYPE MEREP_401, " | |||
| lv_i_mblid | TYPE MEREP_507-MBL_ID, " '0000000023' | |||
| lv_invalid_syncbo | TYPE MEREP_507, " | |||
| lv_metadata | TYPE MEREP_507, " | |||
| lv_i_worklist | TYPE MEREP_505, " | |||
| lv_syncbo_not_generated | TYPE MEREP_505. " |
|   CALL FUNCTION 'MEREP_SYNCBO_DATA_EDITOR' "Emulator |
| EXPORTING | ||
| I_SYNCBO | = lv_i_syncbo | |
| I_MBLID | = lv_i_mblid | |
| I_WORKLIST | = lv_i_worklist | |
| EXCEPTIONS | ||
| INVALID_MOBILE_ID = 1 | ||
| INVALID_SYNCBO = 2 | ||
| METADATA = 3 | ||
| SYNCBO_NOT_GENERATED = 4 | ||
| . " MEREP_SYNCBO_DATA_EDITOR | ||
ABAP code using 7.40 inline data declarations to call FM MEREP_SYNCBO_DATA_EDITOR
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.| "SELECT single SCENARIO FROM MEREP_401 INTO @DATA(ld_i_syncbo). | ||||
| DATA(ld_i_syncbo) | = 'IWA_EXM002'. | |||
| "SELECT single MBL_ID FROM MEREP_507 INTO @DATA(ld_i_mblid). | ||||
| DATA(ld_i_mblid) | = '0000000023'. | |||
Search for further information about these or an SAP related objects