SAP Reports / Programs | Basis Components | SAP NetWeaver Mobile - Use subcomponents(BC-MOB) SAP BC

MEREP_SKELETON_S02 SAP ABAP INCLUDE - SAP Mobile: Template for source code generation (Synchronizer)







MEREP_SKELETON_S02 is a standard ABAP INCLUDE available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter MEREP_SKELETON_S02 into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT MEREP_SKELETON_S02. "Basic submit
SUBMIT MEREP_SKELETON_S02 AND RETURN. "Return to original report after report execution complete
SUBMIT MEREP_SKELETON_S02 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: SAP Mobile: Template for source code generation (Synchronizer)


INCLUDES used within this REPORT MEREP_SKELETON_S02

INCLUDE MEREP_MACRO.


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

MEREP_RUNTIME_LOADER CALL FUNCTION 'MEREP_RUNTIME_LOADER' EXPORTING scenario = lcf_scenario gfmtype = lcf_gfmtype mbl_id = handler_worklist-mbl_id mbl_group = device_control-mbl_group CHANGING sync_generic = ldc_sync_generic badi_parms = ldc_badi_parms EXCEPTIONS failure = 1 OTHERS = 2.

MEREP_GET_CONFIG_PARAM_VALUE CALL FUNCTION 'MEREP_GET_CONFIG_PARAM_VALUE' EXPORTING SCENARIO = LCF_SCENARIO TABLES CONFIG_VALUES = gdt_merep_config.

MEREP_OBJECT_START_END CALL FUNCTION 'MEREP_OBJECT_START_END' EXPORTING operator = gcs_object-start log_parameters = lds_log_parameters IMPORTING return = lds_return.

MEREP_RDB_S01_GET_SINGLE call function 'MEREP_RDB_S01_GET_SINGLE' EXPORTING i_syncbo = lcf_scenario i_sync_key = ldf_header_sync_key i_mbl_id = handler_worklist-mbl_id IMPORTING E_HEADER = lds_rdb_h_cur ET_ITEM = ldt_rdb_p_cur.

MEREP_FLDNAME_CREATE CALL FUNCTION 'MEREP_FLDNAME_CREATE'" Structure (mobile <-> R/3) EXPORTING PARA_TYPE = GCS_PARAMETER_TYPE-IMPORT PARA_NAME = -DATA(3) "Structure ID F_S = GCS_F_S-STRUCTURE K_D_1 = 'D' " Data (Key or Data) IMPORTING FIELD_NAME = LDF_FIELDNAME.

MEREP_FLDNAME_CREATE CALL FUNCTION 'MEREP_FLDNAME_CREATE'" Structure (mobile <-> R/3) EXPORTING PARA_TYPE = GCS_PARAMETER_TYPE-IMPORT PARA_NAME = -DATA(3) "Structure ID F_S = GCS_F_S-STRUCTURE K_D_1 = 'K' " Data (Key or Data) IMPORTING FIELD_NAME = LDF_FIELDNAME.

RSS_SYSTEM_GET_UNIQUE_ID CALL FUNCTION 'RSS_SYSTEM_GET_UNIQUE_ID' IMPORTING e_uni_idc = ldf_error_id.

MEREP_RESULT_HANDLING CALL FUNCTION 'MEREP_RESULT_HANDLING' EXPORTING sync_generic = ldc_sync_generic badi_parms = ldc_badi_parms.

MEREP_RESULT_HANDLING CALL FUNCTION 'MEREP_RESULT_HANDLING' EXPORTING sync_generic = ldc_sync_generic badi_parms = ldc_badi_parms.

MEREP_CASCADE_DELETE CALL FUNCTION 'MEREP_CASCADE_DELETE' EXPORTING mbl_id = handler_worklist-mbl_id syncbo = scenario_attribute-scenario struct_id = gcf_struct_top sync_key = ldf_header_sync_key sync_generic = ldc_sync_generic TABLES ie_reference_delete = ldt_reference_delete ie_header_delete = ldt_cascade_header_delete.

MEREP_FILTER CALL FUNCTION 'MEREP_FILTER' EXPORTING SEARCHFLD1 = LDF_SEARCHFLD1 SEARCHFLD2 = LDF_SEARCHFLD2 SEARCHFLD3 = LDF_SEARCHFLD3 SCENARIO = LCF_SCENARIO MOBILE_GROUP = DEVICE_CONTROL-MBL_GROUP MBL_ID = HANDLER_WORKLIST-MBL_ID R3KEY = LDF_R3KEY ME = ME IMPORTING RESULT = LDF_RESULT CHANGING SYNC_GENERIC = LDC_SYNC_GENERIC BADI_PARMS = LDC_BADI_PARMS.

MEREP_CASCADE_DELETE CALL FUNCTION 'MEREP_CASCADE_DELETE' EXPORTING mbl_id = handler_worklist-mbl_id syncbo = scenario_attribute-scenario struct_id = gcf_struct_top sync_key = ldf_header_sync_key sync_generic = ldc_sync_generic TABLES ie_reference_delete = ldt_reference_delete ie_header_delete = ldt_cascade_header_delete.

MEREP_RDB_T01_CASCADE_UPDATE CALL FUNCTION 'MEREP_RDB_T01_CASCADE_UPDATE' EXPORTING mbl_id = handler_worklist-mbl_id timestamp = ldf_ts TABLES i_header = ldt_cascade_header i_item = ldt_cascade_item i_reference = ldt_reference i_header_delete = ldt_cascade_header_delete i_item_delete = ldt_cascade_item_delete i_reference_delete = ldt_reference_delete EXCEPTIONS update_error = 1 OTHERS = 2.

RSS_SYSTEM_GET_UNIQUE_ID CALL FUNCTION 'RSS_SYSTEM_GET_UNIQUE_ID' IMPORTING e_uni_idc = ldf_poststate.

RSS_SYSTEM_GET_UNIQUE_ID CALL FUNCTION 'RSS_SYSTEM_GET_UNIQUE_ID' IMPORTING e_uni_idc = -ldata+gcf_position_id(32).

MEREP_KEY_MAPPING_UPDATE_S01 CALL FUNCTION 'MEREP_KEY_MAPPING_UPDATE_S01' EXPORTING ACTION = gcs_action-mod TABLES KEY_MAP = ldt_key_mapping.

MEREP_RDB_S01_UPDATE CALL FUNCTION 'MEREP_RDB_S01_UPDATE' EXPORTING scenario = lcf_scenario mbl_id = handler_worklist-mbl_id timestamp = ldf_ts TABLES 2_header = ldt_rdb_h_upd 2_item = ldt_rdb_p_upd.

MEREP_RDB_S01_GET_SINGLE call function 'MEREP_RDB_S01_GET_SINGLE' EXPORTING i_syncbo = lcf_scenario i_sync_key = ldf_header_sync_key i_mbl_id = handler_worklist-mbl_id IMPORTING ET_ITEM = ldt_rdb_p_upd.

MEREP_RESULT_HANDLING





CALL FUNCTION 'MEREP_RESULT_HANDLING' EXPORTING sync_generic = ldc_sync_generic badi_parms = ldc_badi_parms.

MEREP_KEY_MAPPING_UPDATE_S01 CALL FUNCTION 'MEREP_KEY_MAPPING_UPDATE_S01' EXPORTING ACTION = gcs_action-mod TABLES KEY_MAP = ldt_key_mapping.

MEREP_RESULT_HANDLING call function 'MEREP_RESULT_HANDLING' EXPORTING sync_generic = ldc_sg log_only = gcf_on.

MEREP_NUMBER_NEXT_GET call function 'MEREP_NUMBER_NEXT_GET' EXPORTING nr_range_nr = gcf_rangeid_sync_key object = gcf_rangename_sync_key_s IMPORTING number = -sync_key return = lds_return.

RSS_SYSTEM_GET_UNIQUE_ID call function 'RSS_SYSTEM_GET_UNIQUE_ID' IMPORTING e_uni_idc = lds_data-data+gcf_position_id(32).



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.

The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name MEREP_SKELETON_S02 or its description.