SAP Reports / Programs | Basis Components | Database Interface, Database Platforms | liveCache Applications(BC-DB-LCA) SAP BC

/SAPAPO/OM_TB_FIXPEG_MERGE1 SAP ABAP Report - Delete Fixed Pegging Edges in Merge







/SAPAPO/OM_TB_FIXPEG_MERGE1 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_FIXPEG_MERGE1 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_FIXPEG_MERGE1. "Basic submit
SUBMIT /SAPAPO/OM_TB_FIXPEG_MERGE1 AND RETURN. "Return to original report after report execution complete
SUBMIT /SAPAPO/OM_TB_FIXPEG_MERGE1 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_USERNO = User Number
Title: Delete Fixed Pegging Edges in Merge


INCLUDES used within this REPORT /SAPAPO/OM_TB_FIXPEG_MERGE1

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_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 EXCEPTIONS OTHERS = 1.

/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 CHANGING cs_factory = cs_factory EXCEPTIONS OTHERS = 1.

/SAPAPO/OM_TB_GET_FROM_FACTORY call function '/SAPAPO/OM_TB_GET_FROM_FACTORY' exporting is_tb_legoinfo = cs_tb_legoinfo is_factory = cs_factory iv_legotype = gc_&1_order iv_bom_level = 0 iv_number = &2 importing ev_guid = lv_&1 exceptions others = 0.

/SAPAPO/OM_TB_LOG_MSG_ADD call function '/SAPAPO/OM_TB_LOG_MSG_ADD' exporting iv_handle = cs_tb_legoinfo-appl_log_handle iv_number = 601 iv_probclass = space iv_detlevel = '3' iv_text1 = 'from purchase &1 to customer &2'.

/SAPAPO/OM_TB_LOG_SUBRC call function '/SAPAPO/OM_TB_LOG_SUBRC' exporting iv_handle = cs_tb_legoinfo-appl_log_handle iv_level = 3 iv_subrc = sy-subrc iv_function = &1. "#EC NOTEXT

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

/SAPAPO/OM_FIX_PEGGING_CHANGE CALL FUNCTION '/SAPAPO/OM_FIX_PEGGING_CHANGE' EXPORTING is_gen_params = ls_gen_params iv_simsession = cs_tb_legoinfo-simsession it_fixpeg_profile = lt_fixpeg_profile EXCEPTIONS lc_connect_failed = 1 lc_com_error = 2 lc_appl_error = 3 OTHERS = 4.

/SAPAPO/OM_TB_LOG_MSG_ADD CALL FUNCTION '/SAPAPO/OM_TB_LOG_MSG_ADD' EXPORTING iv_handle = cs_tb_legoinfo-appl_log_handle iv_number = 605 iv_probclass = space iv_detlevel = '1' iv_text1 = 'Delete purchase 1'. "#EC NOTEXT

/SAPAPO/OM_CUS_ORDER_CHANGE CALL FUNCTION '/SAPAPO/OM_CUS_ORDER_CHANGE' EXPORTING is_gen_params = ls_gen_params iv_simsession = lv_simsession is_atp_info = cs_tb_legoinfo-atp_info it_schedule_lines = lt_schedule_lines EXCEPTIONS lc_connect_failed = 1 lc_com_error = 2 lc_appl_error = 3 OTHERS = 4.

/SAPAPO/OM_TB_LOG_MSG_ADD CALL FUNCTION '/SAPAPO/OM_TB_LOG_MSG_ADD' EXPORTING iv_handle = cs_tb_legoinfo-appl_log_handle iv_number = 610 iv_probclass = space iv_detlevel = '1' iv_text1 = 'Change purchase 2'. "#EC NOTEXT

/SAPAPO/OM_CUS_ORDER_GET CALL FUNCTION '/SAPAPO/OM_CUS_ORDER_GET' EXPORTING is_gen_params = ls_gen_params iv_simsession = lv_simsession it_order = lt_order IMPORTING et_schedule = lt_schedule_lines et_ordkeys = lt_ordkeys 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 = cs_tb_legoinfo-appl_log_handle iv_level = 3 iv_subrc = sy-subrc iv_function = '/sapapo/om_cus_order_get'. "#EC NOTEXT

/SAPAPO/OM_CUS_ORDER_CHANGE CALL FUNCTION '/SAPAPO/OM_CUS_ORDER_CHANGE' EXPORTING is_gen_params = ls_gen_params iv_simsession = lv_simsession is_atp_info = cs_tb_legoinfo-atp_info it_schedule_lines = lt_schedule_lines it_ordkeys = lt_ordkeys EXCEPTIONS lc_connect_failed = 1 lc_com_error = 2 lc_appl_error = 3 OTHERS = 4.

/SAPAPO/OM_TB_LOG_MSG_ADD CALL FUNCTION '/SAPAPO/OM_TB_LOG_MSG_ADD' EXPORTING iv_handle = cs_tb_legoinfo-appl_log_handle iv_number = 610 iv_probclass = space iv_detlevel = '1' iv_text1 = 'Delete and recreate purchase 3'. "#EC NOTEXT

/SAPAPO/OM_CUS_ORDER_GET CALL FUNCTION '/SAPAPO/OM_CUS_ORDER_GET' EXPORTING is_gen_params = ls_gen_params iv_simsession = lv_simsession it_order = lt_order IMPORTING et_schedule = lt_schedule_lines et_ordkeys = lt_ordkeys 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 = cs_tb_legoinfo-appl_log_handle iv_level = 3 iv_subrc = sy-subrc iv_function = '/sapapo/om_cus_order_get'. "#EC NOTEXT

/SAPAPO/OM_CUS_ORDER_CHANGE CALL FUNCTION '/SAPAPO/OM_CUS_ORDER_CHANGE' EXPORTING is_gen_params = ls_gen_params iv_simsession = lv_simsession is_atp_info = cs_tb_legoinfo-atp_info it_schedule_lines = lt_schedule_lines it_ordkeys = lt_ordkeys EXCEPTIONS lc_connect_failed = 1 lc_com_error = 2 lc_appl_error = 3 OTHERS = 4.

/SAPAPO/OM_CUS_ORDER_CHANGE CALL FUNCTION '/SAPAPO/OM_CUS_ORDER_CHANGE' EXPORTING is_gen_params = ls_gen_params iv_simsession = lv_simsession is_atp_info = cs_tb_legoinfo-atp_info it_schedule_lines = lt_schedule_lines it_ordkeys = lt_ordkeys EXCEPTIONS lc_connect_failed = 1 lc_com_error = 2 lc_appl_error = 3 OTHERS = 4.

/SAPAPO/OM_TB_LOG_MSG_ADD





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

/SAPAPO/OM_FIX_PEGGING_CHANGE CALL FUNCTION '/SAPAPO/OM_FIX_PEGGING_CHANGE' EXPORTING is_gen_params = ls_gen_params iv_simsession = lv_simsession it_fixpeg_profile = lt_fixpeg_profile EXCEPTIONS lc_connect_failed = 1 lc_com_error = 2 lc_appl_error = 3 OTHERS = 4.

/SAPAPO/OM_TB_LOG_MSG_ADD CALL FUNCTION '/SAPAPO/OM_TB_LOG_MSG_ADD' EXPORTING iv_handle = cs_tb_legoinfo-appl_log_handle iv_number = 615 iv_probclass = space iv_detlevel = '1' iv_text1 = 'Delete input via modify customer 5'. "#EC NOTEXT

/SAPAPO/OM_ORDER_MODIFY CALL FUNCTION '/SAPAPO/OM_ORDER_MODIFY' EXPORTING is_gen_params = ls_gen_params iv_simsession = lv_simsession is_atp_info = cs_tb_legoinfo-atp_info it_inputs = lt_io_attr EXCEPTIONS lc_connect_failed = 1 lc_com_error = 2 lc_appl_error = 3 OTHERS = 4.

/SAPAPO/OM_TB_LOG_MSG_ADD CALL FUNCTION '/SAPAPO/OM_TB_LOG_MSG_ADD' EXPORTING iv_handle = cs_tb_legoinfo-appl_log_handle iv_number = 620 iv_probclass = space iv_detlevel = '1' iv_text1 = 'Delete fix pegging'. "#EC NOTEXT

/SAPAPO/OM_FIX_PEGGING_CHANGE CALL FUNCTION '/SAPAPO/OM_FIX_PEGGING_CHANGE' EXPORTING is_gen_params = ls_gen_params iv_simsession = lv_simsession it_fixpeg_profile = lt_fixpeg_profile EXCEPTIONS lc_connect_failed = 1 lc_com_error = 2 lc_appl_error = 3 OTHERS = 4.

/SAPAPO/OM_TB_LOG_MSG_ADD CALL FUNCTION '/SAPAPO/OM_TB_LOG_MSG_ADD' EXPORTING iv_handle = cs_tb_legoinfo-appl_log_handle iv_number = 625 iv_probclass = space iv_detlevel = '1' iv_text1 = 'Create fix pegging'. "#EC NOTEXT

/SAPAPO/OM_FIX_PEGGING_CHANGE CALL FUNCTION '/SAPAPO/OM_FIX_PEGGING_CHANGE' EXPORTING is_gen_params = ls_gen_params iv_simsession = lv_simsession it_fixpeg_profile = lt_fixpeg_profile EXCEPTIONS lc_connect_failed = 1 lc_com_error = 2 lc_appl_error = 3 OTHERS = 4.

/SAPAPO/OM_TB_LOG_MSG_ADD CALL FUNCTION '/SAPAPO/OM_TB_LOG_MSG_ADD' EXPORTING iv_handle = cs_tb_legoinfo-appl_log_handle iv_number = 630 iv_probclass = space iv_detlevel = '1' iv_text1 = 'Delete fix pegging'. "#EC NOTEXT

/SAPAPO/OM_FIX_PEGGING_CHANGE CALL FUNCTION '/SAPAPO/OM_FIX_PEGGING_CHANGE' EXPORTING is_gen_params = ls_gen_params iv_simsession = lv_simsession it_fixpeg_profile = lt_fixpeg_profile EXCEPTIONS lc_connect_failed = 1 lc_com_error = 2 lc_appl_error = 3 OTHERS = 4.

/SAPAPO/OM_TB_LOG_MSG_ADD CALL FUNCTION '/SAPAPO/OM_TB_LOG_MSG_ADD' EXPORTING iv_handle = cs_tb_legoinfo-appl_log_handle iv_number = 635 iv_probclass = space iv_detlevel = '1' iv_text1 = 'Create fix pegging'. "#EC NOTEXT

/SAPAPO/OM_FIX_PEGGING_CHANGE CALL FUNCTION '/SAPAPO/OM_FIX_PEGGING_CHANGE' EXPORTING is_gen_params = ls_gen_params iv_simsession = lv_simsession it_fixpeg_profile = lt_fixpeg_profile EXCEPTIONS lc_connect_failed = 1 lc_com_error = 2 lc_appl_error = 3 OTHERS = 4.

/SAPAPO/OM_TB_LOG_MSG_ADD CALL FUNCTION '/SAPAPO/OM_TB_LOG_MSG_ADD' EXPORTING iv_handle = cs_tb_legoinfo-appl_log_handle iv_number = 630 iv_probclass = space iv_detlevel = '1' iv_text1 = 'Delete fix pegging'. "#EC NOTEXT

/SAPAPO/OM_FIX_PEGGING_CHANGE CALL FUNCTION '/SAPAPO/OM_FIX_PEGGING_CHANGE' EXPORTING is_gen_params = ls_gen_params iv_simsession = lv_simsession it_fixpeg_profile = lt_fixpeg_profile EXCEPTIONS lc_connect_failed = 1 lc_com_error = 2 lc_appl_error = 3 OTHERS = 4.

/SAPAPO/OM_TB_LOG_MSG_ADD call function '/SAPAPO/OM_TB_LOG_MSG_ADD' exporting iv_handle = cs_tb_legoinfo-appl_log_handle iv_number = 701 iv_probclass = 'E' iv_detlevel = '3' iv_text1 = lv_text.

/SAPAPO/OM_TB_LOG_MSG_ADD call function '/SAPAPO/OM_TB_LOG_MSG_ADD' exporting iv_handle = cs_tb_legoinfo-appl_log_handle iv_number = 702 iv_probclass = space iv_detlevel = '3' iv_text1 = lv_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 = 700 iv_probclass = space iv_detlevel = '1' iv_text1 = lv_text.

/SAPAPO/OM_SIMSESSION_CONTROL CALL FUNCTION '/SAPAPO/OM_SIMSESSION_CONTROL' EXPORTING is_gen_params = ls_gen_params iv_simsession = iv_simsession iv_simsession_method = iv_method IMPORTING et_deleted_fix_pegging = lt_deleted_fix_pegging 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



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