RCNCP001 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 RCNCP001 into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
CJ9D - Copy Plan Versions
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.
Selection Text: TRG_INIT = Delete target version
Selection Text: P_TEST = Test run
Selection Text: P_DETAIL = D Detail list
Selection Text: P_BATCH = Background processing
Selection Text: G_TARGET = Target version
Selection Text: G_SOURCE = Reference version
Title: Orders/Networks for Project: Copy Plan Version
Text Symbol: 054 = Database profile
Text Symbol: 051 = To network
Text Symbol: 050 = Network
Text Symbol: 047 = To WBS element
Text Symbol: 046 = WBS element
Text Symbol: 045 = To project
Text Symbol: 044 = Project
Text Symbol: 021 = Target
Text Symbol: 020 = Template
Text Symbol: 019 = Copy Planning Version
Text Symbol: 018 = Function
Text Symbol: 011 = Delete target version
Text Symbol: 009 = Processing options
Text Symbol: 008 = Parameters
Text Symbol: 007 = Controlling area
Text Symbol: 002 = Time
Text Symbol: 001 = Date
Text Symbol: 055 = Processed
Text Symbol: 056 = No change
Text Symbol: 057 = Not Relevant
Text Symbol: 059 = Origins of data
Text Symbol: 060 = Current data
Text Symbol: 061 = Version data
Text Symbol: 065 = Plan data being deleted
Text Symbol: 064 = Copying plan data
Text Symbol: 063 = Compiling list output
Text Symbol: 062 = Object list
INCLUDE RCNCPF01.
No SAP DATABASE tables are accessed within this REPORT code!
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING text = text-064.
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING text = text-065.
KCPY_COPY_PLANNED_COSTS CALL FUNCTION 'KCPY_COPY_PLANNED_COSTS' EXPORTING i_version_source = g_source i_version_target = g_target i_kokrs = cn_kokrs i_delete_target = trg_init i_commit = l_commit i_revenues = con_yes i_check = l_check IMPORTING e_exit = l_exit TABLES t_s_objnr = t_obj t_list = t_list t_mesg = t_mesg t_obj_list = t_obj_list EXCEPTIONS version_not_allowed = 1 no_data_selected = 2.
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING text = text-063.
RS_REFRESH_FROM_SELECTOPTIONS CALL FUNCTION 'RS_REFRESH_FROM_SELECTOPTIONS' EXPORTING curr_report = sy-cprog TABLES selection_table = l_t_rsparams.
RS_REFRESH_FROM_DYNAMICAL_SEL CALL FUNCTION 'RS_REFRESH_FROM_DYNAMICAL_SEL' EXPORTING curr_report = 'RCNCP001' mode_write_or_move = 'M' IMPORTING P_TRANGE = l_t_range EXCEPTIONS NOT_FOUND = 1.
FREE_SELECTIONS_RANGE_2_EX CALL FUNCTION 'FREE_SELECTIONS_RANGE_2_EX' EXPORTING field_ranges = l_t_range IMPORTING EXPRESSIONS = l_t_expr.
K_BATCH_REQUEST CALL FUNCTION 'K_BATCH_REQUEST' EXPORTING par_dialg = con_yes par_ltday = con_noday par_lttme = con_notme par_pnakz = con_no par_print = con_yes par_rname = 'RCNCP001' par_sdmsg = con_yes par_stday = con_noday par_sttme = con_notme par_wtime = con_notme par_texpr = l_t_expr TABLES tab_selpa = l_t_selpa.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.