SAP Reports / Programs | Portfolio and Project Management | Portfolio Management(PPM-PFM) SAP PPM

/RPM/MIGRATION_AUX_TOOLS_F01 SAP ABAP INCLUDE - Include /RPM/MIGRATION_AUX_TOOLS_F01







/RPM/MIGRATION_AUX_TOOLS_F01 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 /RPM/MIGRATION_AUX_TOOLS_F01 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 /RPM/MIGRATION_AUX_TOOLS_F01. "Basic submit
SUBMIT /RPM/MIGRATION_AUX_TOOLS_F01 AND RETURN. "Return to original report after report execution complete
SUBMIT /RPM/MIGRATION_AUX_TOOLS_F01 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Include /RPM/MIGRATION_AUX_TOOLS_F01


INCLUDES used within this REPORT /RPM/MIGRATION_AUX_TOOLS_F01

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:

/RPM/COLLECTION_MODIFY CALL FUNCTION '/RPM/COLLECTION_MODIFY' EXPORTING iv_change_mode = 'D' iv_language = lv_laiso IMPORTING es_context = ls_context_coll ev_rc = lv_rc TABLES it_attributes = lt_coll_attributes et_msg = lt_msg.

BAPI_BUS2172_DELETE CALL FUNCTION 'BAPI_BUS2172_DELETE' EXPORTING project_definition_guid = lv_bapi_guid TABLES return = lt_return.

/RPM/SAVE_CHANGES CALL FUNCTION '/RPM/SAVE_CHANGES' EXPORTING iv_check_only = p_test IMPORTING et_msg = lt_msg ev_rc = lv_rc.

/RPM/ITEM_MODIFY CALL FUNCTION '/RPM/ITEM_MODIFY' EXPORTING iv_change_mode = /rpm/cl_co=>sc_change_mode_delete IMPORTING ev_rc = lv_rc TABLES it_attributes = lt_item_d_api et_msg = lt_msg.

/RPM/SAVE_CHANGES CALL FUNCTION '/RPM/SAVE_CHANGES' EXPORTING iv_check_only = p_test IMPORTING et_msg = lt_msg ev_rc = lv_rc.

CONVERSION_EXIT_CGPLE_INPUT CALL FUNCTION 'CONVERSION_EXIT_CGPLE_INPUT' EXPORTING input = ls_item_data-external_id iv_application = cl_dpr_co=>sc_application_type_dpr IMPORTING output = lv_cpr_guid.

BAPI_BUS2172_DELETE CALL FUNCTION 'BAPI_BUS2172_DELETE' EXPORTING project_definition_guid = lv_bapi_guid.

OWN_LOGICAL_SYSTEM_GET * CALL FUNCTION 'OWN_LOGICAL_SYSTEM_GET' * IMPORTING * own_logical_system = lv_logsys * EXCEPTIONS * own_logical_system_not_defined = 1 * OTHERS = 2.

OWN_LOGICAL_SYSTEM_GET CALL FUNCTION 'OWN_LOGICAL_SYSTEM_GET' IMPORTING own_logical_system = ls_source_context-logsys EXCEPTIONS own_logical_system_not_defined = 1 OTHERS = 2.

/RPM/OBJECT_LINK_MODIFY CALL FUNCTION '/RPM/OBJECT_LINK_MODIFY' EXPORTING it_attributes = lt_deleted_obj_links iv_change_mode = /rpm/if_provider_access=>co_change_mode_delete IMPORTING ev_rc = lv_rc et_msg = lt_msg.

/RPM/QNNR_GET_LIST CALL FUNCTION '/RPM/QNNR_GET_LIST' EXPORTING is_context = ls_context iv_all = /rpm/cl_co=>sc_true IMPORTING et_qnnr_hdr = lt_qnnr_hdrs ev_rc = lv_rc.

/RPM/QNNR_RESULT_DISPLAY CALL FUNCTION '/RPM/QNNR_RESULT_DISPLAY' EXPORTING is_context = ls_context iv_qnnr_id = ls_qnnr_hdr-qnnr_id IMPORTING et_qnnr_api = lt_qnnr_api ev_rc = lv_rc.

/RPM/QNNR_RESULT_MODIFY CALL FUNCTION '/RPM/QNNR_RESULT_MODIFY' EXPORTING is_qnnr_hdr = ls_qnnr_hdr it_qnnr_api = lt_qnnr_api iv_change_mode = /rpm/cl_co=>sc_change_mode_delete IMPORTING ev_rc = lv_rc.

/RPM/COLLECTION_MODIFY CALL FUNCTION '/RPM/COLLECTION_MODIFY' EXPORTING iv_change_mode = 'D' iv_language = lv_laiso IMPORTING es_context = ls_context_coll ev_rc = lv_rc TABLES it_attributes = lt_coll_attributes et_msg = lt_msg.

CONVERSION_EXIT_CGPLE_INPUT * CALL FUNCTION 'CONVERSION_EXIT_CGPLE_INPUT' * EXPORTING * input = ls_item_data-external_id * iv_application = cl_dpr_co=>sc_application_type_dpr * IMPORTING * output = lv_cpr_guid.

BAPI_BUS2172_DELETE CALL FUNCTION 'BAPI_BUS2172_DELETE' EXPORTING project_definition_guid = lv_bapi_guid.

/RPM/SAVE_CHANGES CALL FUNCTION '/RPM/SAVE_CHANGES' EXPORTING iv_check_only = p_test iv_remove_objects = /rpm/cl_co=>sc_true IMPORTING ev_rc = lv_rc.

OWN_LOGICAL_SYSTEM_GET * CALL FUNCTION 'OWN_LOGICAL_SYSTEM_GET' * IMPORTING * own_logical_system = lv_logsys * EXCEPTIONS * own_logical_system_not_defined = 1 * OTHERS = 2.

/RPM/OBJECT_LINK_MODIFY





* CALL FUNCTION '/RPM/OBJECT_LINK_MODIFY' * EXPORTING * it_attributes = lt_deleted_obj_links * iv_change_mode = /rpm/if_provider_access=>co_change_mode_delete * IMPORTING * ev_rc = lv_rc * et_msg = lt_msg.

GUID_CREATE CALL FUNCTION 'GUID_CREATE' IMPORTING ev_guid_16 = ls_rpm_obj_link-link_guid.

/RPM/OBJECT_LINK_MODIFY CALL FUNCTION '/RPM/OBJECT_LINK_MODIFY' EXPORTING it_attributes = lt_created_obj_links iv_change_mode = /rpm/if_provider_access=>co_change_mode_create IMPORTING ev_rc = lv_rc et_msg = lt_msg.

/RPM/SAVE_CHANGES CALL FUNCTION '/RPM/SAVE_CHANGES' EXPORTING iv_check_only = p_test iv_remove_objects = /rpm/cl_co=>sc_true IMPORTING ev_rc = lv_rc.

/RPM/BUCKET_GETLIST * CALL FUNCTION '/RPM/BUCKET_GETLIST' * EXPORTING * is_context = ls_context * iv_all_items = 'X' * IMPORTING * et_attributes = lt_bucket_att * ev_rc = lv_rc.

/RPM/BUCKET_GETLIST CALL FUNCTION '/RPM/BUCKET_GETLIST' EXPORTING is_context = ls_context iv_all_items = 'X' IMPORTING ev_rc = lv_rc TABLES et_attributes = lt_bucket_att.

/RPM/BUCKET_MODIFY CALL FUNCTION '/RPM/BUCKET_MODIFY' EXPORTING iv_change_mode = 'D' IMPORTING ev_rc = lv_rc TABLES it_attributes = lt_bucket_api et_msg = lt_msg.

/RPM/PORTFOLIO_MODIFY CALL FUNCTION '/RPM/PORTFOLIO_MODIFY' EXPORTING is_attributes = iv_portfolio_data iv_change_mode = 'D' IMPORTING ev_rc = lv_rc TABLES et_msg = lt_msg.



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 /RPM/MIGRATION_AUX_TOOLS_F01 or its description.