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

/SAPAPO/OM_TB_DELTA_TEST SAP ABAP Report - Temporary Quantity Assignments - Logical Tests







/SAPAPO/OM_TB_DELTA_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_TB_DELTA_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_TB_DELTA_TEST. "Basic submit
SUBMIT /SAPAPO/OM_TB_DELTA_TEST AND RETURN. "Return to original report after report execution complete
SUBMIT /SAPAPO/OM_TB_DELTA_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_BREAK = Stop If Error Occurs
Selection Text: P_DEVTST = Run Development Tests
Selection Text: P_SAVRES = Save Results
Selection Text: P_USERNO = User Number
Title: Temporary Quantity Assignments - Logical Tests


INCLUDES used within this REPORT /SAPAPO/OM_TB_DELTA_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_CHECK_SY_UNAME call function '/SAPAPO/OM_CHECK_SY_UNAME'.

/SAPAPO/OM_TB_LEGOINFO_INIT CALL FUNCTION '/SAPAPO/OM_TB_LEGOINFO_INIT' EXPORTING iv_logname = gv_extnumber iv_userno = p_userno iv_simversion = gc_false "use active plan version iv_export_log = p_back IMPORTING es_tb_legoinfo = gs_tb_legoinfo.

TR_SYS_PARAMS CALL FUNCTION 'TR_SYS_PARAMS' IMPORTING systemtype = lv_systemtype.

/SAPAPO/OM_TB_LOG_DISPLAY CALL FUNCTION '/SAPAPO/OM_TB_LOG_DISPLAY' EXPORTING it_appl_log_handles = gt_appl_log_handles iv_export = p_back.

/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_LOG_DISPLAY CALL FUNCTION '/SAPAPO/OM_TB_LOG_DISPLAY' EXPORTING it_appl_log_handles = gt_appl_log_handles iv_export = p_back.

/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/OMB_DELTA_DELETE_ANC CALL FUNCTION '/SAPAPO/OMB_DELTA_DELETE_ANC' EXPORTING is_gen_params = gs_gen_params iv_simsession = gc_om_simsession_def it_deltaanc = lt_deltaanc IMPORTING et_rc = lt_rc EXCEPTIONS lc_connect_failed = 1 lc_com_error = 2 lc_appl_error = 3 OTHERS = 4.

/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 = is_factory EXCEPTIONS create_error = 1 lc_error = 2 internal_error = 3 OTHERS = 4.

/SAPAPO/OMB_DELT_EXIST_ANCHOR CALL FUNCTION '/SAPAPO/OMB_DELT_EXIST_ANCHOR' EXPORTING im_conname = gv_dbcon im_deltaancguid = gv_pegid iv_write_atplog = gc_false IMPORTING ex_found = lv_found EXCEPTIONS lc_connect_failed = 1 lc_com_error = 2 lc_appl_error = 3 OTHERS = 4.

/SAPAPO/OMB_DELT_ADD_ATP CALL FUNCTION '/SAPAPO/OMB_DELT_ADD_ATP' EXPORTING im_conname = gv_dbcon im_trguid = gv_atp_trg im_uname = sy-uname it_atpdelta = gt_atpdelta iv_write_atplog = gc_false EXCEPTIONS lc_connect_failed = 1 lc_com_error = 2 lc_appl_error = 3 taskhandle_error = 4 OTHERS = 5.

/SAPAPO/OMB_DELT_ADD_ATP CALL FUNCTION '/SAPAPO/OMB_DELT_ADD_ATP' EXPORTING im_conname = gv_dbcon im_trguid = iv_trg im_uname = sy-uname it_atpdelta = gt_atpdelta iv_write_atplog = gc_false EXCEPTIONS lc_connect_failed = 1 lc_com_error = 2 lc_appl_error = 3 taskhandle_error = 4 OTHERS = 5.

/SAPAPO/OMB_DELT_ADD_VPL CALL FUNCTION '/SAPAPO/OMB_DELT_ADD_VPL' EXPORTING im_conname = gv_dbcon im_trguid = gv_vpl_trg im_uname = sy-uname im_allocdeltax = gt_vpldelta iv_write_atplog = gc_false EXCEPTIONS lc_connect_failed = 1 lc_com_error = 2 lc_appl_error = 3 taskhandle_error = 4 OTHERS = 5.

/SAPAPO/OMB_DELT_ADD_ALL CALL FUNCTION '/SAPAPO/OMB_DELT_ADD_ALL' EXPORTING im_conname = gv_dbcon im_trguid = gv_all_trg im_uname = sy-uname im_allocdeltax = gt_alldelta iv_write_atplog = gc_false EXCEPTIONS lc_connect_failed = 1 lc_com_error = 2 lc_appl_error = 3 taskhandle_error = 4 OTHERS = 5.

/SAPAPO/OMB_DELT_READ_TOTAL CALL FUNCTION '/SAPAPO/OMB_DELT_READ_TOTAL' EXPORTING im_conname = gv_dbcon im_owner = iv_dtyp is_settype_list = is_settype_list im_deltaancguids = it_pegid iv_write_atplog = gc_false IMPORTING ex_totdeltax = p_delta EXCEPTIONS lc_connect_failed = 1 lc_com_error = 2 lc_appl_error = 3 OTHERS = 4.

/SAPAPO/OMB_DELT_UPD_ATP CALL FUNCTION '/SAPAPO/OMB_DELT_UPD_ATP' EXPORTING im_conname = gv_dbcon im_trguid = gv_atp_trg im_atpdeltaupdx = lt_atpupd iv_write_atplog = gc_false EXCEPTIONS lc_connect_failed = 1 lc_com_error = 2 lc_appl_error = 3 taskhandle_error = 4 OTHERS = 5.

/SAPAPO/OMB_DELT_UPD_VPL CALL FUNCTION '/SAPAPO/OMB_DELT_UPD_VPL' EXPORTING im_conname = gv_dbcon im_trguid = gv_vpl_trg im_allocdeltax = lt_vplupd iv_write_atplog = gc_false EXCEPTIONS lc_connect_failed = 1 lc_com_error = 2 lc_appl_error = 3 taskhandle_error = 4 OTHERS = 5.

/SAPAPO/OMB_DELT_UPD_ALL CALL FUNCTION '/SAPAPO/OMB_DELT_UPD_ALL' EXPORTING im_conname = gv_dbcon im_trguid = gv_all_trg im_allocdeltax = lt_allupd iv_write_atplog = gc_false EXCEPTIONS lc_connect_failed = 1 lc_com_error = 2 lc_appl_error = 3 taskhandle_error = 4 OTHERS = 5.

/SAPAPO/OM_DEREG_TASKHANDLER





CALL FUNCTION '/SAPAPO/OM_DEREG_TASKHANDLER' EXPORTING im_regtyp = gc_regtyp_trguid im_trguid = iv_trg EXCEPTIONS de_registration_failed = 1 OTHERS = 2.

/SAPAPO/OMB_DELT_REMOVE_TRGUID CALL FUNCTION '/SAPAPO/OMB_DELT_REMOVE_TRGUID' EXPORTING im_conname = gv_dbcon im_ownerlist = lv_owners im_trguid = iv_guid im_removetype = iv_removetype iv_write_atplog = gc_false EXCEPTIONS lc_connect_failed = 1 lc_com_error = 2 lc_appl_error = 3 OTHERS = 4.

/SAPAPO/OMB_DELT_UPD_PG_ATP CALL FUNCTION '/SAPAPO/OMB_DELT_UPD_PG_ATP' EXPORTING im_conname = gv_dbcon it_ancposguid = lt_ancpos im_trguid = gv_atp_trg iv_settype = c_dst_none iv_write_atplog = gc_false EXCEPTIONS lc_connect_failed = 1 lc_com_error = 2 lc_appl_error = 3 taskhandle_error = 4 OTHERS = 5.

/SAPAPO/OMB_DELT_GETUPD_PG_VPL CALL FUNCTION '/SAPAPO/OMB_DELT_GETUPD_PG_VPL' EXPORTING im_conname = gv_dbcon im_trguid = gv_vpl_trg im_posguidx = lt_posguid iv_settype = c_dst_none iv_write_atplog = gc_false IMPORTING ex_deltaallocx = lt_vpldelta EXCEPTIONS lc_connect_failed = 1 lc_com_error = 2 lc_appl_error = 3 taskhandle_error = 4 OTHERS = 5.

/SAPAPO/OMB_DELT_GETUPD_PG_ALL CALL FUNCTION '/SAPAPO/OMB_DELT_GETUPD_PG_ALL' EXPORTING im_conname = gv_dbcon im_trguid = gv_all_trg im_posguidx = lt_posguid iv_write_atplog = gc_false IMPORTING ex_deltaallocx = lt_alldelta EXCEPTIONS lc_connect_failed = 1 lc_com_error = 2 lc_appl_error = 3 taskhandle_error = 4 OTHERS = 5.

/SAPAPO/OMB_DELT_GET_AGGREGATE CALL FUNCTION '/SAPAPO/OMB_DELT_GET_AGGREGATE' EXPORTING iv_conname = gv_dbcon iv_owner = iv_deltatyp iv_write_atplog = gc_false IMPORTING et_aggregates = lt_agg CHANGING ct_acsvci_filter = lt_filter EXCEPTIONS lc_connect_failed = 1 lc_com_error = 2 lc_appl_error = 3 OTHERS = 4.

/SAPAPO/OMB_DELT_CHANGE_POSG CALL FUNCTION '/SAPAPO/OMB_DELT_CHANGE_POSG' EXPORTING iv_conname = gv_dbcon iv_oldposg = gv_atp_pos iv_newposg = lv_posguid iv_deltaancguid = gv_pegid iv_write_atplog = gc_false EXCEPTIONS lc_connect_failed = 1 lc_com_error = 2 lc_appl_error = 3 OTHERS = 4.

/SAPAPO/OMB_DELT_GET_REMOV_ATP CALL FUNCTION '/SAPAPO/OMB_DELT_GET_REMOV_ATP' EXPORTING im_conname = gv_dbcon im_deltaancguid = gv_pegid im_trguid = iv_trg im_delkombix = lt_delcomb iv_write_atplog = gc_false IMPORTING ex_deltaatpx = lt_atpupd EXCEPTIONS lc_connect_failed = 1 lc_com_error = 2 lc_appl_error = 3 OTHERS = 4.

/SAPAPO/OMB_DELT_GET_REMOV_VPL CALL FUNCTION '/SAPAPO/OMB_DELT_GET_REMOV_VPL' EXPORTING im_conname = gv_dbcon im_trguid = iv_trg im_ancdelkombix = lt_delcomb iv_write_atplog = gc_false IMPORTING ex_deltaallocx = lt_vpltrg EXCEPTIONS lc_connect_failed = 1 lc_com_error = 2 lc_appl_error = 3 OTHERS = 4.

/SAPAPO/OMB_DELT_GET_REMOV_ALL CALL FUNCTION '/SAPAPO/OMB_DELT_GET_REMOV_ALL' EXPORTING im_conname = gv_dbcon im_trguid = iv_trg im_ancdelkombix = lt_delcomb iv_write_atplog = gc_false IMPORTING ex_deltaallocx = lt_alltrg EXCEPTIONS lc_connect_failed = 1 lc_com_error = 2 lc_appl_error = 3 OTHERS = 4.

/SAPAPO/OMB_DELT_REMOVE_DATE CALL FUNCTION '/SAPAPO/OMB_DELT_REMOVE_DATE' EXPORTING im_conname = gv_dbcon im_uname = sy-uname iv_remall = iv_remall is_ownerlist = is_owner_list is_settypelist = is_settype_list is_persindlist = is_persind_list it_deltaancguid = lt_deltaanc iv_write_atplog = gc_false EXCEPTIONS lc_connect_failed = 1 lc_com_error = 2 lc_appl_error = 3 OTHERS = 4.

/SAPAPO/OMB_DELT_GET_PG_ATP CALL FUNCTION '/SAPAPO/OMB_DELT_GET_PG_ATP' EXPORTING iv_conname = gv_dbcon is_settype_list = is_settype_list it_ancpos = lt_ancpos iv_write_atplog = gc_false IMPORTING et_deltaset = it_deltaset EXCEPTIONS lc_connect_failed = 1 lc_com_error = 2 lc_appl_error = 3 OTHERS = 4.

/SAPAPO/OMB_DELT_GET_PLUID_DAT CALL FUNCTION '/SAPAPO/OMB_DELT_GET_PLUID_DAT' EXPORTING iv_conname = gv_dbcon iv_uname = sy-uname iv_remall = iv_remall is_ownerlist = is_owner_list is_settypelist = is_settype_list is_persindlist = is_persind_list iv_write_atplog = gc_false IMPORTING et_pluids = it_atplock EXCEPTIONS lc_connect_failed = 1 lc_com_error = 2 lc_appl_error = 3 OTHERS = 4.

/SAPAPO/OMB_DELT_GET_PLUID_TRG CALL FUNCTION '/SAPAPO/OMB_DELT_GET_PLUID_TRG' EXPORTING iv_conname = gv_dbcon iv_trguid = iv_trguid iv_write_atplog = gc_false IMPORTING et_pluids = it_atplock EXCEPTIONS lc_connect_failed = 1 lc_com_error = 2 lc_appl_error = 3 OTHERS = 4.

/SAPAPO/OM_TB_CONV_TIME_TO_SEC CALL FUNCTION '/SAPAPO/OM_TB_CONV_TIME_TO_SEC' EXPORTING iv_timestamp = lv_iodate IMPORTING ev_seconds = lv_seconds.

/SAPAPO/OM_TB_CONV_SEC_TO_TIME CALL FUNCTION '/SAPAPO/OM_TB_CONV_SEC_TO_TIME' EXPORTING iv_seconds = lv_seconds IMPORTING ev_timestamp = iv_atptime.

/SAPAPO/OM_SETUP_TIMEAXIS CALL FUNCTION '/SAPAPO/OM_SETUP_TIMEAXIS' EXPORTING im_atpancguid = iv_pegid im_conname = gv_dbcon_std im_tmaxsetupx = lt_tmax_setup EXCEPTIONS sys_guid_error = 1 lc_connect_failed = 2 lc_com_error = 3 lc_appl_error = 4 OTHERS = 5.

/SAPAPO/OM_CLEAR_TIMEAXIS CALL FUNCTION '/SAPAPO/OM_CLEAR_TIMEAXIS' EXPORTING im_guid = lv_pegid im_conname = gv_dbcon * IMPORTING * ex_atprc = lv_exit * ex_ewcode = l_atplcrc EXCEPTIONS lc_connect_failed = 2 lc_com_error = 3 lc_appl_error = 4 OTHERS = 5.

/SAPAPO/OMB_DELT_READ_TRG_APS CALL FUNCTION '/SAPAPO/OMB_DELT_READ_TRG_APS' EXPORTING im_conname = gv_dbcon im_deltaancguid = gv_pegid im_trguidx = it_trguids iv_write_atplog = gc_false IMPORTING ex_deltaapsx = it_apsdeltas EXCEPTIONS lc_connect_failed = 1 lc_com_error = 2 lc_appl_error = 3 OTHERS = 4.

/SAPAPO/OMB_DELT_GET_ALL_ADMIN CALL FUNCTION '/SAPAPO/OMB_DELT_GET_ALL_ADMIN' EXPORTING im_conname = gv_dbcon iv_write_atplog = gc_false IMPORTING ex_admindeltax = it_admindelta EXCEPTIONS lc_connect_failed = 1 lc_com_error = 2 lc_appl_error = 3 OTHERS = 4.




/SAPAPO/OM_ORDER_GET_DATA CALL FUNCTION '/SAPAPO/OM_ORDER_GET_DATA' EXPORTING is_gen_params = gs_gen_params iv_simsession = gc_om_simsession_def it_order = it_ordid IMPORTING et_ordkeys = lt_ordkey et_ordmaps = lt_ordmap et_orders = lt_orders_ext et_activities = lt_activities et_modes = lt_modes et_cap_reqs = lt_cap_reqs et_positions = lt_positions et_inputs = lt_inputs et_outputs = lt_outputs et_intern_constraints = lt_intern_constraints et_extern_constraints = lt_extern_constraints et_charact_val_acts = lt_charact_val_acts et_charact_req_inpnode = lt_charact_req_inpnode et_charact_val_outnode = lt_charact_val_outnode et_rc = gt_rc EXCEPTIONS lc_connect_failed = 1 lc_com_error = 2 lc_appl_error = 3 OTHERS = 4.

/SAPAPO/OM_SCHED_PROFILE_SET CALL FUNCTION '/SAPAPO/OM_SCHED_PROFILE_SET' EXPORTING iv_profile_no = 2 IMPORTING es_sched_control = ls_sched_control et_sched_params = lt_sched_param.

/SAPAPO/OM_ORDER_CHANGE CALL FUNCTION '/SAPAPO/OM_ORDER_CHANGE' EXPORTING is_gen_params = gs_gen_params iv_simsession = gc_om_simsession_def is_atp_info = gs_tb_legoinfo-atp_info it_ordkeys = lt_ordkey it_ordmaps = lt_ordmap it_order_method = lt_order_method it_orders = lt_orders it_activities = lt_activities it_mode = lt_modes it_cap_reqs = lt_cap_reqs it_inputs = lt_inputs it_outputs = lt_outputs it_intern_constraints = lt_intern_constraints it_extern_constraints = lt_extern_constraints is_controlparameters = ls_sched_control it_sched_params = lt_sched_param it_charact_req_inpnode = lt_charact_req_inpnode it_charact_val_outnode = lt_charact_val_outnode it_charact_val_acts = lt_charact_val_acts iv_get_all_objects = gc_false IMPORTING et_rc = gt_rc EXCEPTIONS lc_connect_failed = 1 lc_com_error = 2 lc_appl_error = 3 OTHERS = 4.

/SAPAPO/OMB_DELT_COMPRESS_APS CALL FUNCTION '/SAPAPO/OMB_DELT_COMPRESS_APS' EXPORTING im_conname = gv_dbcon iv_write_atplog = gc_false EXCEPTIONS sys_guid_error = 1 lc_connect_failed = 2 lc_com_error = 3 lc_appl_error = 4 OTHERS = 5.

/SAPAPO/OMB_DELT_UPD_ATP CALL FUNCTION '/SAPAPO/OMB_DELT_UPD_ATP' EXPORTING im_conname = gv_dbcon im_trguid = lv_trguid im_atpdeltaupdx = lt_atpupd iv_write_atplog = gc_false EXCEPTIONS lc_connect_failed = 1 lc_com_error = 2 lc_appl_error = 3 taskhandle_error = 4 OTHERS = 5.

/SAPAPO/OMB_DELT_UPD_ATP CALL FUNCTION '/SAPAPO/OMB_DELT_UPD_ATP' EXPORTING im_conname = gv_dbcon im_trguid = lv_atp_trg im_atpdeltaupdx = lt_atpupd iv_write_atplog = gc_false EXCEPTIONS lc_connect_failed = 1 lc_com_error = 2 lc_appl_error = 3 taskhandle_error = 4 OTHERS = 5.

/SAPAPO/OMB_DELT_GET_REMOV_ALL CALL FUNCTION '/SAPAPO/OMB_DELT_GET_REMOV_ALL' EXPORTING im_conname = gv_dbcon im_trguid = '' im_ancdelkombix = it_delcomb iv_write_atplog = gc_false IMPORTING ex_deltaallocx = lt_alltrg EXCEPTIONS lc_connect_failed = 1 lc_com_error = 2 lc_appl_error = 3 OTHERS = 4.



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