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

MEREP_SKELETON_D01 SAP ABAP INCLUDE - SAP Mobile: Template for source code generation (Replicator)







MEREP_SKELETON_D01 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_D01 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_D01. "Basic submit
SUBMIT MEREP_SKELETON_D01 AND RETURN. "Return to original report after report execution complete
SUBMIT MEREP_SKELETON_D01 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 (Replicator)


INCLUDES used within this REPORT MEREP_SKELETON_D01

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_REPLOG_UPDATE call function 'MEREP_REPLOG_UPDATE' changing replog = lds_replog exceptions failure = 1 others = 2.

MEREP_RUN_START CALL FUNCTION 'MEREP_RUN_START' EXPORTING direction = 'O' log_parameters = lds_log_parameters EXCEPTIONS CONTROL_RECORD_NOT_FOUND = 1 ERROR_IN_NUMBERRANGE = 2 INVALID_JOBTYPE = 3 INVALID_DIRECTION = 4 ENQUEUE_FAILURE = 5 OTHERS = 6 .

BALW_BAPIRETURN_GET1 CALL FUNCTION 'BALW_BAPIRETURN_GET1' EXPORTING type = gcs_rc-error cl = gcf_msgid_runtime number = gcs_01_codes-function_unexpected_end par1 = ldf_message_v1 par2 = ldf_message_v2 par3 = ldf_message_v3 par4 = ldf_message_v4 IMPORTING bapireturn = return.

MEREP_RUNTIME_LOADER CALL FUNCTION 'MEREP_RUNTIME_LOADER' EXPORTING scenario = lcf_scenario gfmtype = lcf_gfmtype MAX_LEVEL = 1 CHANGING sync_generic = ldc_sync_generic badi_parms = ldc_badi_parms EXCEPTIONS FAILURE = 1 OTHERS = 2 .

BALW_BAPIRETURN_GET1 CALL FUNCTION 'BALW_BAPIRETURN_GET1' EXPORTING type = gcs_rc-error cl = gcf_msgid_runtime number = gcs_01_codes-please_check_log IMPORTING bapireturn = return.

MEREP_RUN_END CALL FUNCTION 'MEREP_RUN_END' EXPORTING log_parameters = lds_log_parameters.

MEREP_RDB_D01_GET CALL FUNCTION 'MEREP_RDB_D01_GET' EXPORTING scenario = lcf_scenario TABLES e_header = ldt_mbl201h e_item = ldt_mbl201p EXCEPTIONS OTHERS = 1.

MEREP_NUMBER_NEXT_GET CALL FUNCTION 'MEREP_NUMBER_NEXT_GET' EXPORTING NR_RANGE_NR = gcf_rangeid_sync_key OBJECT = gcf_rangename_sync_key_d IMPORTING NUMBER = ldf_header_sync_key RETURN = return.

MEREP_RUN_END CALL FUNCTION 'MEREP_RUN_END' EXPORTING log_parameters = lds_log_parameters.

MEREP_NUMBER_NEXT_GET CALL FUNCTION 'MEREP_NUMBER_NEXT_GET' EXPORTING NR_RANGE_NR = gcf_rangeid_sync_key OBJECT = gcf_rangename_sync_key_d IMPORTING NUMBER = ldf_item_sync_key RETURN = return.

MEREP_RUN_END CALL FUNCTION 'MEREP_RUN_END' EXPORTING log_parameters = lds_log_parameters.

MEREP_RUN_END CALL FUNCTION 'MEREP_RUN_END' EXPORTING log_parameters = lds_log_parameters.

MEREP_NUMBER_NEXT_GET CALL FUNCTION 'MEREP_NUMBER_NEXT_GET' EXPORTING NR_RANGE_NR = gcf_rangeid_sync_key OBJECT = gcf_rangename_sync_key_d IMPORTING NUMBER = ldf_item_sync_key RETURN = return.

MEREP_RUN_END CALL FUNCTION 'MEREP_RUN_END' EXPORTING log_parameters = lds_log_parameters.

MEREP_RUN_END CALL FUNCTION 'MEREP_RUN_END' EXPORTING log_parameters = lds_log_parameters.

MEREP_RUN_END CALL FUNCTION 'MEREP_RUN_END' EXPORTING log_parameters = lds_log_parameters.

MEREP_RDB_D01_UPDATE CALL FUNCTION 'MEREP_RDB_D01_UPDATE' EXPORTING SCENARIO = LCF_SCENARIO TABLES I_header = LDT_MBL201H_NEW I_item = LDT_MBL201P_NEW EXCEPTIONS update_error = 1 OTHERS = 2.

MEREP_RETURN_GET CALL FUNCTION 'MEREP_RETURN_GET' EXPORTING TYPE = ldf_type ID = gcf_msgid_runtime NUMBER = LDF_MSGNR par1 = ldf_message_v1 IMPORTING RETURN = return.

MEREP_RUN_END





CALL FUNCTION 'MEREP_RUN_END' EXPORTING log_parameters = lds_log_parameters.

MEREP_RDB_D01_GET CALL FUNCTION 'MEREP_RDB_D01_GET' EXPORTING scenario = lcf_scenario TABLES e_header = ldt_mbl201h e_item = ldt_mbl201p EXCEPTIONS OTHERS = 1.

MEREP_REPLOG_UPDATE call function 'MEREP_REPLOG_UPDATE' changing replog = lds_replog exceptions failure = 1 others = 2.

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



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_D01 or its description.