SAP Reports / Programs

/SAPAPO/OM_PEG_PERF_TEST SAP ABAP Report - Performance Test for Pegging Functions







/SAPAPO/OM_PEG_PERF_TEST 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 /SAPAPO/OM_PEG_PERF_TEST 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 /SAPAPO/OM_PEG_PERF_TEST. "Basic submit
SUBMIT /SAPAPO/OM_PEG_PERF_TEST AND RETURN. "Return to original report after report execution complete
SUBMIT /SAPAPO/OM_PEG_PERF_TEST VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: P_ORDERS = Number of Orders
Selection Text: P_USERNO = User Number
Title: Performance Test for Pegging Functions


INCLUDES used within this REPORT /SAPAPO/OM_PEG_PERF_TEST

No INCLUDES are used within this REPORT code!


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:

/SAPAPO/OM_TB_FACTORY_DELETE call function '/SAPAPO/OM_TB_FACTORY_DELETE' exporting is_tb_legoinfo = gs_tb_legoinfo is_factory = gs_factory exceptions lc_error = 0 internal_error = 0 others = 0.

/SAPAPO/OM_TB_LEGOINFO_INIT CALL FUNCTION '/SAPAPO/OM_TB_LEGOINFO_INIT' EXPORTING iv_logname = gv_extnumber iv_userno = p_userno iv_simversion = gc_true iv_export_log = gc_false IMPORTING es_tb_legoinfo = gs_tb_legoinfo ev_duration = gv_duration.

/SAPAPO/OM_PERF_LC_TEST CALL FUNCTION '/SAPAPO/OM_PERF_LC_TEST' IMPORTING ev_duration = gv_duration_hlp.

/SAPAPO/OM_TB_MASTER_DATA_NEW CALL FUNCTION '/SAPAPO/OM_TB_MASTER_DATA_NEW' EXPORTING is_tb_legoinfo = is_tb_legoinfo it_peg_gen = lt_peg_gen iv_perform_errors = gc_true IMPORTING es_factory = cs_factory ev_time_total = lv_duration_hlp EXCEPTIONS create_error = 1 lc_error = 2 internal_error = 3 OTHERS = 4.

/SAPAPO/OM_SAVE_RESULT CALL FUNCTION '/SAPAPO/OM_SAVE_RESULT' EXPORTING duration = lv_duration_hlp counter = p_orders programname = '/SAPAPO/OM_PEG_PERF_TEST' variantname = gs_tstuid-variantname textid = '010' tstset_guid = gs_tstuid-tstset_guid IV_QBM_DESCRIPTION = PQBMDSC IV_QBM_TEST_SET = PTSTSET.

/SAPAPO/OM_TEST_MONITOR CALL FUNCTION '/SAPAPO/OM_TEST_MONITOR' EXPORTING iv_init_monitor = gc_true iv_first_call = gc_true.

/SAPAPO/OM_TB_TRANS_DATA_NEW CALL FUNCTION '/SAPAPO/OM_TB_TRANS_DATA_NEW' EXPORTING is_tb_legoinfo = is_tb_legoinfo it_ord_gen = lt_ord_gen iv_perform_errors = gc_true IMPORTING ev_time_ord = lv_duration CHANGING cs_factory = cs_factory EXCEPTIONS create_error = 1 lc_error = 2 internal_error = 3 OTHERS = 4.

/SAPAPO/OM_TEST_MONITOR CALL FUNCTION '/SAPAPO/OM_TEST_MONITOR' EXPORTING iv_first_call = gc_false.

/SAPAPO/OM_TEST_MONITOR CALL FUNCTION '/SAPAPO/OM_TEST_MONITOR' EXPORTING iv_init_monitor = gc_true iv_first_call = gc_true.

/SAPAPO/OM_PEGID_GET_IO CALL FUNCTION '/SAPAPO/OM_PEGID_GET_IO' EXPORTING is_gen_params = ls_gen_params iv_simsession = gc_om_simsession_def it_pegarea = lt_pegid IMPORTING et_ionodes = lt_ionodes et_ionodes_conf = lt_ionodes_conf et_rc = lt_rc EXCEPTIONS lc_connect_failed = 1 lc_com_error = 2 lc_appl_error = 3 OTHERS = 4.

/SAPAPO/OM_TEST_MONITOR CALL FUNCTION '/SAPAPO/OM_TEST_MONITOR' EXPORTING iv_first_call = gc_false.

/SAPAPO/OM_TEST_MONITOR CALL FUNCTION '/SAPAPO/OM_TEST_MONITOR' EXPORTING iv_init_monitor = gc_true iv_first_call = gc_true.

/SAPAPO/OM_FIX_PEGGING_CHANGE CALL FUNCTION '/SAPAPO/OM_FIX_PEGGING_CHANGE' EXPORTING is_gen_params = ls_gen_params iv_simsession = gc_om_simsession_def it_fixpeg_profile = lt_pegging_fix IMPORTING et_rc = lt_rc EXCEPTIONS lc_connect_failed = 1 lc_com_error = 2 lc_appl_error = 3 OTHERS = 4.

/SAPAPO/OM_TEST_MONITOR CALL FUNCTION '/SAPAPO/OM_TEST_MONITOR' EXPORTING iv_first_call = gc_false.

/SAPAPO/OM_TEST_MONITOR CALL FUNCTION '/SAPAPO/OM_TEST_MONITOR' EXPORTING iv_init_monitor = gc_true iv_first_call = gc_true.

/SAPAPO/OM_FIX_PEGGING_CHANGE CALL FUNCTION '/SAPAPO/OM_FIX_PEGGING_CHANGE' EXPORTING is_gen_params = ls_gen_params iv_simsession = gc_om_simsession_def it_fixpeg_profile = lt_pegging_fix IMPORTING et_rc = lt_rc EXCEPTIONS lc_connect_failed = 1 lc_com_error = 2 lc_appl_error = 3 OTHERS = 4.

/SAPAPO/OM_TEST_MONITOR CALL FUNCTION '/SAPAPO/OM_TEST_MONITOR' EXPORTING iv_first_call = gc_false.

/SAPAPO/OM_TEST_MONITOR CALL FUNCTION '/SAPAPO/OM_TEST_MONITOR' EXPORTING iv_init_monitor = gc_true iv_first_call = gc_true.

/SAPAPO/OM_TB_FACTORY_DELETE





CALL FUNCTION '/SAPAPO/OM_TB_FACTORY_DELETE' EXPORTING is_tb_legoinfo = is_tb_legoinfo is_factory = is_factory IMPORTING ev_time_ord = lv_duration ev_time_total = lv_duration_hlp EXCEPTIONS lc_error = 1 internal_error = 2 OTHERS = 3.

/SAPAPO/OM_TEST_MONITOR CALL FUNCTION '/SAPAPO/OM_TEST_MONITOR' EXPORTING iv_first_call = gc_false.

/SAPAPO/OM_SAVE_RESULT CALL FUNCTION '/SAPAPO/OM_SAVE_RESULT' EXPORTING duration = lv_duration_hlp counter = p_orders programname = '/SAPAPO/OM_PEG_PERF_TEST' variantname = gs_tstuid-variantname textid = '011' tstset_guid = gs_tstuid-tstset_guid IV_QBM_DESCRIPTION = PQBMDSC IV_QBM_TEST_SET = PTSTSET.

/SAPAPO/OM_ORDER_GET CALL FUNCTION '/SAPAPO/OM_ORDER_GET' EXPORTING is_gen_params = ls_gen_params iv_simsession = gc_om_simsession_def it_pegarea = lt_pegid iv_pegarea_sel = gc_all_io iv_start_time = gc_mintime iv_end_time = gc_maxtime iv_peg_selection = gc_all_constr IMPORTING et_peg = lt_pegging_dyn et_rc = lt_rc EXCEPTIONS lc_connect_failed = 1 lc_com_error = 2 lc_appl_error = 3 OTHERS = 4.

/SAPAPO/OM_PERF_LC_TEST CALL FUNCTION '/SAPAPO/OM_PERF_LC_TEST' IMPORTING ev_duration = lv_duration.

/SAPAPO/OM_SAVE_RESULT CALL FUNCTION '/SAPAPO/OM_SAVE_RESULT' EXPORTING duration = iv_duration counter = p_orders programname = '/SAPAPO/OM_PEG_PERF_TEST' variantname = gs_tstuid-variantname textid = iv_textid tstset_guid = gs_tstuid-tstset_guid IV_QBM_DESCRIPTION = PQBMDSC IV_QBM_TEST_SET = PTSTSET.



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 /SAPAPO/OM_PEG_PERF_TEST or its description.