PMPS_SAVE is a standard ABAP INCLUDE 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 PMPS_SAVE into the relevant SAP transactions such as SE38 or SE80
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.
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
CO_BT_CAUFV_READ_WITH_KEY ** CALL FUNCTION 'CO_BT_CAUFV_READ_WITH_KEY' ** EXPORTING ** aufnr_act = l_aufnr ** IMPORTING ** caufvd_exp = l_caufvd ** eqkz_exp = flg_enq ** EXCEPTIONS ** not_found = 1.
CO_BH_NET_FOR_SUBNET_GET * CALL FUNCTION 'CO_BH_NET_FOR_SUBNET_GET' * EXPORTING * aufnr_imp = l_caufvd-aufnr * IMPORTING * alloc_exp = l_allocdb * EXCEPTIONS * not_found = 1.
READ_NETWORK_NPLNR_VORNR ** CALL FUNCTION 'READ_NETWORK_NPLNR_VORNR' ** EXPORTING ** aplzl = l_allocd-aplzt ** aufpl = l_allocd-aufpt ** IMPORTING ** vornr = l_allocd-vornr ** EXCEPTIONS ** not_found = 1.
CO_ZF_DATA_FOR_SUBNET_SET * CALL FUNCTION 'CO_ZF_DATA_FOR_SUBNET_SET' * EXPORTING * allocd_imp = l_allocd * caufvd_imp = l_caufvd * IMPORTING * allocd_exp = l_allocd * caufvd_exp = l_caufvd.
OBJECT_KEY_GET_OR * CALL FUNCTION 'OBJECT_KEY_GET_OR' * EXPORTING * objnr = l_objnr * IMPORTING * aufnr = l_aufnr.
CO_BT_CAUFV_READ_WITH_KEY ** CALL FUNCTION 'CO_BT_CAUFV_READ_WITH_KEY' ** EXPORTING ** aufnr_act = l_aufnr ** IMPORTING ** caufvd_exp = l_caufvd ** eqkz_exp = flg_enq ** EXCEPTIONS ** not_found = 1.
CO_BH_NET_FOR_SUBNET_GET * CALL FUNCTION 'CO_BH_NET_FOR_SUBNET_GET' * EXPORTING * aufnr_imp = l_caufvd-aufnr * IMPORTING * alloc_exp = l_allocdb * EXCEPTIONS * not_found = 1.
OBJECT_KEY_GET_PR * CALL FUNCTION 'OBJECT_KEY_GET_PR' * EXPORTING * objnr = l_objnr * IMPORTING * pspnr = l_pspel "LIKE IONRA-PSPNR * EXCEPTIONS * not_found = 1 * wrong_obart = 2.
CJPN_GET_WBS_ELEMENT * CALL FUNCTION 'CJPN_GET_WBS_ELEMENT' * EXPORTING * i_pspnr = l_pspel * IMPORTING * e_psphi = l_pronr * EXCEPTIONS * not_found = 1.
READ_NETWORK_NPLNR_VORNR ** CALL FUNCTION 'READ_NETWORK_NPLNR_VORNR' ** EXPORTING ** aplzl = l_aplzl ** aufpl = l_aufpl ** IMPORTING ** vornr = l_allocd-vornr ** EXCEPTIONS ** not_found = 1.
CO_ZF_DATA_FOR_SUBNET_SET * CALL FUNCTION 'CO_ZF_DATA_FOR_SUBNET_SET' * EXPORTING * allocd_imp = l_allocd * caufvd_imp = l_caufvd * IMPORTING * allocd_exp = l_allocd * caufvd_exp = l_caufvd.
CJPN_PROJECT_ATTACH * CALL FUNCTION 'CJPN_PROJECT_ATTACH' * EXPORTING * int_num = l_pspel * auf_objnr = l_caufvd-objnr * typ = l_caufvd-autyp * i_vrgng = 'PSAT' * vkt = space * IMPORTING * psphi = l_pronr.
OBJECT_KEY_GET_NV * CALL FUNCTION 'OBJECT_KEY_GET_NV' * EXPORTING * objnr = l_objnr * IMPORTING * aplzl = l_aplzl "like IONRA-APLZL * aufpl = l_aufpl "LIKE IONRA-AUFPL * EXCEPTIONS * not_found = 1 * wrong_obart = 2.
CO_ZF_CHECK_SUBNET ** CALL FUNCTION 'CO_ZF_CHECK_SUBNET' ** EXPORTING ** allocd_imp = l_allocd ** caufvd_imp = l_caufvd ** with_popup = ' ' ** IMPORTING ** allocd_exp = l_allocd ** caufvd_exp = l_caufvd ** EXCEPTIONS ** no_opr = 01.
CO_ZF_DATA_FOR_SUBNET_SET * CALL FUNCTION 'CO_ZF_DATA_FOR_SUBNET_SET' * EXPORTING * allocd_imp = l_allocd * caufvd_imp = l_caufvd * IMPORTING * allocd_exp = l_allocd * caufvd_exp = l_caufvd.
CJPN_PROJECT_ATTACH * CALL FUNCTION 'CJPN_PROJECT_ATTACH' * EXPORTING * int_num = l_pspel * auf_objnr = l_caufvd-objnr * typ = l_caufvd-autyp * i_vrgng = 'PSAT' * vkt = space * IMPORTING * psphi = l_pronr.
CO_ZF_DATA_RESET_COMPLETE CALL FUNCTION 'CO_ZF_DATA_RESET_COMPLETE'.
CO_ZF_ORDER_READ CALL FUNCTION 'CO_ZF_ORDER_READ' EXPORTING flg_dialog = ' ' flg_enqueue = 'X' * objects_imp = l_objects_imp "LIKE TCA11 IMPORTING flg_enqueue_ok = flg_enq * flg_escape = flg_esc TABLES aufnr_tab_imp = lt_ord_pre EXCEPTIONS order_not_found = 1.
* CALL FUNCTION 'CO_BT_CAUFV_UPD' * EXPORTING * caufvd_upd = p_caufvd.
CO_ZV_ORDER_POST CALL FUNCTION 'CO_ZV_ORDER_POST' EXPORTING * commit_flag = 'X' "commit_flag trans_typ = 'V' * i_with_commit = 'X' no_gui_message = 'X' "DEFAULT SPACE no_dialog = 'X' "DEFAULT ' ' flg_no_classification = 'X' "DEFAULT ' ' flg_no_text_process = 'X' "DEFAULT ' ' flg_no_scheduling = 'X' "DEFAULT SPACE flg_no_calculation = 'X' "DEFAULT SPACE EXCEPTIONS no_change = 1 update_reject = 2 budget_reject = 3.
STATUS_CHECK * CALL FUNCTION 'STATUS_CHECK' * EXPORTING * objnr = p_caufvd-objnr * status = 'I0067' * EXCEPTIONS * object_not_found = 1 * status_not_active = 2 * OTHERS = 3.
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 PMPS_SAVE or its description.