SAP Reports / Programs | Distributed Maintenance | Defense Forces and Public Security | Distributed Maintenance(IS-DFS-PM-DIS) SAP IS

/ISDFPS/PM_CP_EMRNCY_CORR_OBJ SAP ABAP Report - PM-CP: Reset the Change Authorization







/ISDFPS/PM_CP_EMRNCY_CORR_OBJ 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/PM_CP_EMRNCY_CORR_OBJ 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/PM_CP_EMRNCY_CORR_OBJ. "Basic submit
SUBMIT /ISDFPS/PM_CP_EMRNCY_CORR_OBJ AND RETURN. "Return to original report after report execution complete
SUBMIT /ISDFPS/PM_CP_EMRNCY_CORR_OBJ 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_EQ = Equipment
Selection Text: P_IF = Functional Location
Selection Text: P_MP = Measuring Point
Selection Text: P_OR = Order
Selection Text: P_QM = Notification
Selection Text: P_RV = Revisions
Selection Text: P_WC = Work Center
Selection Text: P_WO = Maintenance Plan
Selection Text: P_WP = Maintenance Item
Title: PM-CP: Reset the Change Authorization
Text Symbol: BL1 = Objects


INCLUDES used within this REPORT /ISDFPS/PM_CP_EMRNCY_CORR_OBJ

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:

/ISDFPS/CHECK_DISTRIB_PM * CALL FUNCTION '/ISDFPS/CHECK_DISTRIB_PM' * EXCEPTIONS * distributed_pm_not_activ = 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.

UPSIFMW_READ_DISTRIBUTIONMODEL CALL FUNCTION 'UPSIFMW_READ_DISTRIBUTIONMODEL' EXPORTING im_midtyp = ls_tups07-midtyp flg_for_delivery_note = c_yes imt_sender = lt_own_logsys IMPORTING ext_receiver = lt_rcv_logsys EXCEPTIONS OTHERS = 0.

/ISDFPS/ALE_GET_LOCAL_SYSTEM CALL FUNCTION '/ISDFPS/ALE_GET_LOCAL_SYSTEM' IMPORTING local_system = e_local_system is_central = e_is_cs 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.

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 = gt_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_CHECK_UPSSTS_PHASE CALL FUNCTION 'UPSCU_CHECK_UPSSTS_PHASE' EXPORTING im_instid = l_instid im_upsnam = ls_hdr-upsnam im_owner = ls_hdr-owner im_logsys = ls_hdr-logsys im_direct = ls_hdr-direct is_released = c_yes EXCEPTIONS failing_instance = 1 true = 2 false = 3 error = 4 OTHERS = 5.

UPSCP_CHANGE CALL FUNCTION 'UPSCP_CHANGE' EXPORTING im_instid = l_instid imt_apiitm = gt_ups_item flg_appl_log = c_yes flg_msg_collect = c_yes im_handle = g_log_handle flg_sync_objlist = c_no im_vrgng = kups_vrgng_release CHANGING ch_apihdr = ls_hdr EXCEPTIONS upsstat_error = 2 no_change = 3 no_authority = 4 OTHERS = 1.

UPSCU_SET_UPSSTS_RELEASED * CALL FUNCTION 'UPSCU_SET_UPSSTS_RELEASED' * EXPORTING * im_instid = l_instid * FLG_COMMIT_AND_WAIT = c_yes * EXCEPTIONS * no_current_package = 1 * package_not_found = 2 * upsstat_error = 3 * failing_instance = 4 * no_change = 5 * no_authority = 6 * serial_incomplete = 7 * OTHERS = 8.

UPSCU_CHECK_UPSSTS_PHASE CALL FUNCTION 'UPSCU_CHECK_UPSSTS_PHASE' EXPORTING im_instid = l_instid im_upsnam = ls_hdr-upsnam im_owner = ls_hdr-owner im_logsys = ls_hdr-logsys im_direct = ls_hdr-direct is_sent = c_yes EXCEPTIONS failing_instance = 1 true = 2 false = 3 error = 4 OTHERS = 5.

UPSCU_SEND CALL FUNCTION 'UPSCU_SEND' EXPORTING im_instid = l_instid flg_msg_collect = c_yes im_handle = g_log_handle EXCEPTIONS failing_instance = 1 error = 2 no_change = 3 OTHERS = 4.

UPSCU_FREE CALL FUNCTION 'UPSCU_FREE' EXPORTING im_instid = l_instid.

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_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_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/PM_CP_EMRNCY_CORR_OBJ or its description.