SAP Reports / Programs

/SAPAPO/OM_TB_SFW3 SAP ABAP Report - Scheduling Framework







/SAPAPO/OM_TB_SFW3 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_TB_SFW3 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_TB_SFW3. "Basic submit
SUBMIT /SAPAPO/OM_TB_SFW3 AND RETURN. "Return to original report after report execution complete
SUBMIT /SAPAPO/OM_TB_SFW3 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_SCEN = Scenario
Selection Text: P_USERNO = User Number
Title: Scheduling Framework


INCLUDES used within this REPORT /SAPAPO/OM_TB_SFW3

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_LOG_MSG_ADD call function '/SAPAPO/OM_TB_LOG_MSG_ADD' exporting iv_handle = is_tb_legoinfo-appl_log_handle iv_number = 800 iv_probclass = space iv_detlevel = '3' iv_text1 = &1.

/SAPAPO/OM_TB_LOG_MSG_ADD call function '/SAPAPO/OM_TB_LOG_MSG_ADD' exporting iv_handle = is_tb_legoinfo-appl_log_handle iv_number = 800 iv_probclass = 'E' iv_detlevel = '3' iv_text1 = &1.

/SAPAPO/OM_TB_LOG_MSG_ADD CALL FUNCTION '/SAPAPO/OM_TB_LOG_MSG_ADD' EXPORTING iv_handle = gs_tb_legoinfo-appl_log_handle iv_number = 599 iv_probclass = space iv_detlevel = '1' iv_text1 = gv_text.

/SAPAPO/OM_TB_LOG_MSG_ADD CALL FUNCTION '/SAPAPO/OM_TB_LOG_MSG_ADD' EXPORTING iv_handle = is_tb_legoinfo-appl_log_handle iv_number = 600 iv_probclass = space iv_detlevel = '1' iv_text1 = 'Create transSim'. "#EC NOTEXT

/SAPAPO/OM_SIMSESSION_CONTROL CALL FUNCTION '/SAPAPO/OM_SIMSESSION_CONTROL' EXPORTING is_gen_params = ls_gen_params iv_simsession = cv_simsession iv_simsession_method = gc_simsession_new EXCEPTIONS lc_connect_failed = 1 lc_com_error = 2 lc_appl_error = 3 multi_tasim_registration = 4 mlevel_atp_protocol_reg_failed = 5 tasim_registration_failed = 6 OTHERS = 7.

/SAPAPO/OM_TB_LOG_SUBRC CALL FUNCTION '/SAPAPO/OM_TB_LOG_SUBRC' EXPORTING iv_handle = is_tb_legoinfo-appl_log_handle iv_level = 1 iv_subrc = sy-subrc iv_function = '/sapapo/om_simsession_control'. "#EC NOTEXT

/SAPAPO/OM_SIMSESSION_CONTROL CALL FUNCTION '/SAPAPO/OM_SIMSESSION_CONTROL' EXPORTING is_gen_params = ls_gen_params iv_simsession = gv_simsession iv_simsession_method = gc_simsession_delete EXCEPTIONS OTHERS = 0.

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

/SAPAPO/OM_TB_TRANS_DATA_NEW CALL FUNCTION '/SAPAPO/OM_TB_TRANS_DATA_NEW' EXPORTING is_tb_legoinfo = is_tb_legoinfo it_prd_gen = lt_prd_gen iv_perform_errors = gc_true CHANGING cs_factory = cs_factory EXCEPTIONS create_error = 1 lc_error = 2 internal_error = 3 OTHERS = 4.

/SAPAPO/OM_TB_TRANS_DATA_NEW CALL FUNCTION '/SAPAPO/OM_TB_TRANS_DATA_NEW' EXPORTING is_tb_legoinfo = is_tb_legoinfo it_prd_gen = lt_prd_gen iv_perform_errors = gc_true CHANGING cs_factory = cs_factory EXCEPTIONS create_error = 1 lc_error = 2 internal_error = 3 OTHERS = 4.

/SAPAPO/OM_TB_TRANS_DATA_NEW CALL FUNCTION '/SAPAPO/OM_TB_TRANS_DATA_NEW' EXPORTING is_tb_legoinfo = is_tb_legoinfo it_prd_gen = lt_prd_gen iv_perform_errors = gc_true CHANGING cs_factory = cs_factory EXCEPTIONS create_error = 1 lc_error = 2 internal_error = 3 OTHERS = 4.

/SAPAPO/OM_TB_LOG_MSG_ADD CALL FUNCTION '/SAPAPO/OM_TB_LOG_MSG_ADD' EXPORTING iv_handle = gs_tb_legoinfo-appl_log_handle iv_number = 601 iv_probclass = space iv_detlevel = '1' iv_text1 = 'SchedulingFrameWork.Initialize'. "#EC NOTEXT

/SAPAPO/OM_SFW_INITIALIZE CALL FUNCTION '/SAPAPO/OM_SFW_INITIALIZE' EXPORTING is_gen_params = ls_gen_params iv_simsession = iv_simsession is_atp_info = ls_atp_info is_net_info_sel = ls_net_info_sel is_act_selection = ls_act_selection is_sched_control = ls_sched_control is_net_params = ls_net_params it_net_ignore_pegarcs = lt_net_ignore_pegarcs it_res_plan_intervals = lt_res_plan_intervals IMPORTING es_net_info = ls_net_info ev_no_net_act = lv_no_net_act ev_no_removed_act = lv_no_removed_act EXCEPTIONS lc_connect_failed = 1 lc_com_error = 2 lc_appl_error = 3 OTHERS = 4.

/SAPAPO/OM_TB_LOG_SUBRC CALL FUNCTION '/SAPAPO/OM_TB_LOG_SUBRC' EXPORTING iv_handle = is_tb_legoinfo-appl_log_handle iv_level = 1 iv_subrc = sy-subrc iv_function = '/sapapo/om_sfw_initialize'. "#EC NOTEXT

/SAPAPO/OM_TB_LOG_MSG_ADD CALL FUNCTION '/SAPAPO/OM_TB_LOG_MSG_ADD' EXPORTING iv_handle = gs_tb_legoinfo-appl_log_handle iv_number = 699 iv_probclass = space iv_detlevel = '1' iv_text1 = 'SchedulingFrameWork.Terminate'. "#EC NOTEXT

/SAPAPO/OM_SFW_TERMINATE CALL FUNCTION '/SAPAPO/OM_SFW_TERMINATE' EXPORTING is_gen_params = ls_gen_params iv_simsession = iv_simsession iv_force_terminate = gc_true EXCEPTIONS lc_connect_failed = 1 lc_com_error = 2 lc_appl_error = 3 OTHERS = 4.

/SAPAPO/OM_TB_LOG_SUBRC CALL FUNCTION '/SAPAPO/OM_TB_LOG_SUBRC' EXPORTING iv_handle = is_tb_legoinfo-appl_log_handle iv_level = 1 iv_subrc = sy-subrc iv_function = '/sapapo/om_sfw_terminate'. "#EC NOTEXT



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