SAP Reports / Programs

MEREP_SAP_EXM002_DATA_GEN1 SAP ABAP Report - Data Generator for Sample SyncBO SAP_EXM002: Upload Data







MEREP_SAP_EXM002_DATA_GEN1 is a standard Executable ABAP Report 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_SAP_EXM002_DATA_GEN1 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_SAP_EXM002_DATA_GEN1. "Basic submit
SUBMIT MEREP_SAP_EXM002_DATA_GEN1 AND RETURN. "Return to original report after report execution complete
SUBMIT MEREP_SAP_EXM002_DATA_GEN1 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Data Generator for Sample SyncBO SAP_EXM002: Upload Data


INCLUDES used within this REPORT MEREP_SAP_EXM002_DATA_GEN1

MEREP_CONSTANTS01 ,
MEREP_DEVICE_OBJ .


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_GET_METADATA call function 'MEREP_GET_METADATA' exporting scenario = gcf_scenario external_format = gcf_on common_struct = gcf_off tables e_metadata = gdt_metadata exceptions others = 2.

QF05_RANDOM_INTEGER call function 'QF05_RANDOM_INTEGER' exporting ran_int_max = 2 ran_int_min = 1 importing ran_int = ldf_i.

QF05_RANDOM_INTEGER call function 'QF05_RANDOM_INTEGER' exporting ran_int_max = 22000 ran_int_min = 7000 importing ran_int = ldf_i.

QF05_RANDOM_INTEGER call function 'QF05_RANDOM_INTEGER' exporting ran_int_max = 180 ran_int_min = 42 importing ran_int = ldf_i.

QF05_RANDOM_INTEGER call function 'QF05_RANDOM_INTEGER' exporting ran_int_max = 220 ran_int_min = 145 importing ran_int = ldf_i.

QF05_RANDOM_INTEGER call function 'QF05_RANDOM_INTEGER' exporting ran_int_max = 99 ran_int_min = 1 importing ran_int = ldf_i.

MEREP_GET_METADATA call function 'MEREP_GET_METADATA' exporting scenario = prf_scenario * EXTERNAL_FORMAT = 'X' common_struct = space * SCENARIO_STRUCT = 'X' * EXTRA_FIELD = ' ' importing return = lds_bapi_return tables e_metadata = ldt_metadata exceptions others = 1 .

REUSE_ALV_FIELDCATALOG_MERGE call function 'REUSE_ALV_FIELDCATALOG_MERGE' exporting * I_PROGRAM_NAME = * I_INTERNAL_TABNAME = i_structure_name = 'MEREP_507' * I_CLIENT_NEVER_DISPLAY = 'X' * I_INCLNAME = * I_BYPASSING_BUFFER = * I_BUFFER_ACTIVE = changing ct_fieldcat = ldt_fieldcat exceptions inconsistent_interface = 1 program_error = 2 others = 3 .

REUSE_ALV_FIELDCATALOG_MERGE call function 'REUSE_ALV_FIELDCATALOG_MERGE' exporting * I_PROGRAM_NAME = * I_INTERNAL_TABNAME = i_structure_name = 'MEREP_507T' * I_CLIENT_NEVER_DISPLAY = 'X' * I_INCLNAME = * I_BYPASSING_BUFFER = * I_BUFFER_ACTIVE = changing ct_fieldcat = ldt_fieldcat exceptions inconsistent_interface = 1 program_error = 2 others = 3 .

REUSE_ALV_POPUP_TO_SELECT call function 'REUSE_ALV_POPUP_TO_SELECT' exporting * I_TITLE = * I_SELECTION = 'X' * I_ALLOW_NO_SELECTION = i_zebra = gcf_on i_screen_start_column = 1 i_screen_start_line = 1 * I_SCREEN_END_COLUMN = 0 * I_SCREEN_END_LINE = 0 i_checkbox_fieldname = 'SELECTED' * I_LINEMARK_FIELDNAME = * I_SCROLL_TO_SEL_LINE = 'X' i_tabname = 'LDT_MBL_ID_SEL' * i_structure_name = 'MEREP_507' it_fieldcat = ldt_fieldcat * IT_EXCLUDING = * I_CALLBACK_PROGRAM = * I_CALLBACK_USER_COMMAND = * IS_PRIVATE = importing * ES_SELFIELD = e_exit = pdf_cancelled tables t_outtab = ldt_mbl_id_sel exceptions program_error = 1 others = 2 .



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