SAP Reports / Programs

/ISDFPS/EMUPS_BATCH SAP ABAP Report - EM: Distribute xEM Objects with MM Integration







/ISDFPS/EMUPS_BATCH 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 /ISDFPS/EMUPS_BATCH 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 /ISDFPS/EMUPS_BATCH. "Basic submit
SUBMIT /ISDFPS/EMUPS_BATCH AND RETURN. "Return to original report after report execution complete
SUBMIT /ISDFPS/EMUPS_BATCH 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_EM_WHA = For Storage Section
Selection Text: P_EM_WHN = For Warehouse Number
Selection Text: P_EM_WHT = For Storage Type
Selection Text: SO_LGBER = D .
Selection Text: SO_LGNUM = D .
Selection Text: SO_LGTYP = D .
Selection Text: SO_LOGSY = D .
Title: EM: Distribute xEM Objects with MM Integration
Text Symbol: 001 = Object
Text Symbol: BL1 = Reference Location
Text Symbol: BL2 = Reference Meas.Pt
Text Symbol: BL3 = xEM Asset Master Record


INCLUDES used within this REPORT /ISDFPS/EMUPS_BATCH

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:

L_WMS_DEC_WM_ASYNC_RECEIVER CALL FUNCTION 'L_WMS_DEC_WM_ASYNC_RECEIVER' EXPORTING i_lgnum = -lgnum TABLES t_receivers = -logsys[] EXCEPTIONS error_in_ale = 1 lgnum_not_decentralized = 2 lgnum_does_not_exist = 3 OTHERS = 4.

L_WMS_DEC_WM_ASYNC_RECEIVER CALL FUNCTION 'L_WMS_DEC_WM_ASYNC_RECEIVER' EXPORTING i_lgnum = -lgnum TABLES t_receivers = -logsys[] EXCEPTIONS error_in_ale = 1 lgnum_not_decentralized = 2 lgnum_does_not_exist = 3 OTHERS = 4.

EM_FACILITY_GET_LIST * CALL FUNCTION 'EM_FACILITY_GET_LIST' * EXPORTING * i_xem_int_tab = it_em_int * IMPORTING * e_sy_err_txt = l_err_msg * CHANGING * e_header_tab = lt_header * EXCEPTIONS * internal_error = 1 * OTHERS = 2.

EM_FACILITY_GET_DETAIL CALL FUNCTION 'EM_FACILITY_GET_DETAIL' EXPORTING i_xem_int_tab = it_em_int IMPORTING e_sy_err_txt = l_err_msg CHANGING e_header_tab = lt_header EXCEPTIONS internal_error = 1 OTHERS = 2.

BMODEL_INT_VALID_GET CALL FUNCTION 'BMODEL_INT_VALID_GET' EXPORTING bobjtype = l_bor_objtyp method = l_bor_method TABLES snd_system = lt_own_logsys model = lt_bmodel.

ALE_MODEL_INFO_GET CALL FUNCTION 'ALE_MODEL_INFO_GET' EXPORTING message_type = i_mestyp sending_system = g_local_system TABLES model_data = lt_model EXCEPTIONS no_model_info_found = 1 OTHERS = 2.

UPSCU_CONSTRUCTOR CALL FUNCTION 'UPSCU_CONSTRUCTOR' EXPORTING im_packagename = ls_hdr-upsnam im_owner = ls_hdr-owner im_partner = ls_hdr-logsys im_direction = ls_hdr-direct im_editmode = 'C' flg_error_if_not_exist = ' ' flg_appl_log = 'X' flg_msg_collect = 'X' im_handle = g_log_handle IMPORTING ex_instid = l_instid * TABLES * ex_messages = lt_return EXCEPTIONS failing_instance = 1 unity_not_exists = 2 unity_exists = 3 no_authority = 4 display_only = 5 error = 6 OTHERS = 7.

UPSCU_PACKAGE_CREATE CALL FUNCTION 'UPSCU_PACKAGE_CREATE' EXPORTING im_instid = l_instid imt_apiitm = it_ups_item flg_commit_and_wait = 'X' flg_serial_update = 'X' flg_appl_log = 'X' flg_msg_collect = 'X' im_handle = g_log_handle * TABLES * ex_messages = lt_return CHANGING ch_apihdr = ls_hdr EXCEPTIONS failing_instance = 1 current_exists = 2 error = 3 wrong_instance = 4 no_change = 5 package_exists = 6 no_authority = 7 OTHERS = 8.

UPSCU_FREE CALL FUNCTION 'UPSCU_FREE' EXPORTING im_instid = l_instid.

/ISDFPS/ALE_GET_LOCAL_SYSTEM CALL FUNCTION '/ISDFPS/ALE_GET_LOCAL_SYSTEM' IMPORTING local_system = e_local_system EXCEPTIONS entry_not_exist = 1 OTHERS = 2.

/ISDFPS/ALE_IS_CENTRAL_SYSTEM CALL FUNCTION '/ISDFPS/ALE_IS_CENTRAL_SYSTEM' EXPORTING system = e_local_system IMPORTING is_central = e_is_cs EXCEPTIONS entry_not_exist = 1 authorization_failed = 2 OTHERS = 3.

NUMBER_GET_NEXT CALL FUNCTION 'NUMBER_GET_NEXT' EXPORTING nr_range_nr = '01' object = 'UPS_NAME' IMPORTING number = l_lfdnr EXCEPTIONS interval_not_found = 1 number_range_not_intern = 2 object_not_found = 3 quantity_is_0 = 4 quantity_is_not_1 = 5 interval_overflow = 6 buffer_overflow = 7 OTHERS = 8.

BAL_LOG_CREATE CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING i_s_log = ls_log IMPORTING e_log_handle = g_log_handle EXCEPTIONS log_header_inconsistent = 1 OTHERS = 2.

BAL_LOG_REFRESH CALL FUNCTION 'BAL_LOG_REFRESH' EXPORTING i_log_handle = g_log_handle EXCEPTIONS log_not_found = 1 OTHERS = 2.

BAL_LOG_MSG_ADD CALL FUNCTION 'BAL_LOG_MSG_ADD' EXPORTING i_s_msg = is_msg i_log_handle = g_log_handle.

BAL_GLB_SEARCH_MSG CALL FUNCTION 'BAL_GLB_SEARCH_MSG' EXPORTING i_t_log_handle = lt_handles i_s_msg_filter = ls_msg_filter EXCEPTIONS msg_not_found = 1 OTHERS = 2.

BAL_DB_SAVE CALL FUNCTION 'BAL_DB_SAVE' EXPORTING i_t_log_handle = lt_handles EXCEPTIONS log_not_found = 1 save_not_allowed = 2 numbering_error = 3 OTHERS = 4.

BAL_DSP_LOG_DISPLAY CALL FUNCTION 'BAL_DSP_LOG_DISPLAY' EXPORTING i_t_log_handle = lt_handles EXCEPTIONS profile_inconsistent = 1 internal_error = 2 no_data_available = 3 no_authority = 4 OTHERS = 5.

BAL_DSP_LOG_DISPLAY





CALL FUNCTION 'BAL_DSP_LOG_DISPLAY' EXPORTING i_t_log_handle = lt_handles EXCEPTIONS profile_inconsistent = 1 internal_error = 2 no_data_available = 3 no_authority = 4 OTHERS = 5.

BAL_DB_SAVE CALL FUNCTION 'BAL_DB_SAVE' EXPORTING i_t_log_handle = lt_handles EXCEPTIONS log_not_found = 1 save_not_allowed = 2 numbering_error = 3 OTHERS = 4.

BAL_LOG_REFRESH CALL FUNCTION 'BAL_LOG_REFRESH' EXPORTING i_log_handle = g_log_handle EXCEPTIONS log_not_found = 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 /ISDFPS/EMUPS_BATCH or its description.