SAP Reports / Programs | Basis Components | Basis Components | Implementation Guide(BC-CUS-TOL-IMG) SAP BC

RSPROJECTMERGE SAP ABAP Report - Copy Data Between Projects







RSPROJECTMERGE 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 RSPROJECTMERGE 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 RSPROJECTMERGE. "Basic submit
SUBMIT RSPROJECTMERGE AND RETURN. "Return to original report after report execution complete
SUBMIT RSPROJECTMERGE 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: PLAND = Replace Planning Data
Selection Text: RESO = Add Project Member
Selection Text: SOURCE = Source Project
Selection Text: STAT = Replace Status
Selection Text: TARGET = Target Project
Selection Text: NOTE = Add Documents
Selection Text: ACTD = Replace Actual Data
Selection Text: KEYW = Add Keywords
Selection Text: MEMO = Replace Memo Texts
Title: Copy Data Between Projects
Text Symbol: 001 = Project Data to be Copied


INCLUDES used within this REPORT RSPROJECTMERGE

INCLUDE LPROJECT_ADMINISTRATIONCON .


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:

SPROJECT_CHECK_EXISTENCE CALL FUNCTION 'SPROJECT_CHECK_EXISTENCE' EXPORTING project_id = source * MESSAGE_WHEN_EXIST = ' ' IMPORTING * PROJECT_CLASS = message = message.

SPROJECT_CHECK_EXISTENCE CALL FUNCTION 'SPROJECT_CHECK_EXISTENCE' EXPORTING project_id = target message_when_exist = ' ' IMPORTING * PROJECT_CLASS = message = message.

SPROJECT_CHECK_AUTHORITY CALL FUNCTION 'SPROJECT_CHECK_AUTHORITY' EXPORTING project_id = target * PROJECT_CLASS = action = maintain_project IMPORTING message = message * CONFIDENTIAL = .

SPROJECT_SEND_MESSAGE CALL FUNCTION 'SPROJECT_SEND_MESSAGE' CHANGING message = message.

SPROJECT_GET_CLASS CALL FUNCTION 'SPROJECT_GET_CLASS' EXPORTING project_id = source IMPORTING class = class.

SPROJECT_GET_CLASS_TEMPLATE CALL FUNCTION 'SPROJECT_GET_CLASS_TEMPLATE' EXPORTING class = class TABLES template_status = template_status.

SPROJECT_GET_OBJECT CALL FUNCTION 'SPROJECT_GET_OBJECT' EXPORTING project_id = source obj_type = 'PLAN' TABLES object_id = object_id.

SPROJECT_GET_OBJECT CALL FUNCTION 'SPROJECT_GET_OBJECT' EXPORTING project_id = target obj_type = 'PLAN' TABLES object_id = object_id.

SPROJECT_GET_UNIQUE_ID CALL FUNCTION 'SPROJECT_GET_UNIQUE_ID' IMPORTING guid = i_target_tstafpr_new-status_id.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = c_percent text = c_percent_text.

STAT_CALL_CDC_PR CALL FUNCTION 'STAT_CALL_CDC_PR' EXPORTING * LANGUAGE = SY-LANGU old_status = status_old new_status = status_new old_status_text = status_text new_status_text = status_text_new in_update_task = in_update_task TABLES old_resource_list = resource_old new_resource_list = resource_new old_keyword_list = keyword_old new_keyword_list = keyword_new.



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