SAP Reports / Programs

RHCOPL00 SAP ABAP Report - Copy Plan Version







RHCOPL00 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report copies objects from one plan version to another...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter RHCOPL00 into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

RE_RHCOPL00 - Copy Plan Version W/O Comparison


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 RHCOPL00. "Basic submit
SUBMIT RHCOPL00 AND RETURN. "Return to original report after report execution complete
SUBMIT RHCOPL00 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: SUBTY = Subtypes to be copied
Selection Text: ZPLVAR = Target plan version
Selection Text: TEST = Test
Selection Text: SANZ = Display copied records
Selection Text: INFTY = Infotypes to be copied
Selection Text: ANZE = Display copied objects
Title: Copy Plan Version
Text Symbol: ZPV = Target Plan Vers.:
Text Symbol: ZPL = Please specify a target plan version
Text Symbol: TIT = Copy Plan Version
Text Symbol: STA = Only SPACE (= all) or 1 allowed for data status
Text Symbol: QPV = Source Plan Vers.
Text Symbol: PL2 = in table 777P/778P.
Text Symbol: PL1 = The target plan version is not defined
Text Symbol: OAN = Copied Objects:
Text Symbol: INF = Infotype 1000 is always copied too
Text Symbol: IAN = Copied Records:
Text Symbol: GEG = --> and inverse relationship
Text Symbol: ERR = Error copy table infotype
Text Symbol: ERG = Result
Text Symbol: AUT = No authorization for target plan version
Text Symbol: 000 = T E S T R U N
001 Source plan version: &0 Target plan version: &1


INCLUDES used within this REPORT RHCOPL00

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:

RH_INVERT_RELA_INFTY CALL FUNCTION 'RH_INVERT_RELA_INFTY' EXPORTING P1001_IMP = p1001_inv IMPORTING P1001_EXP = p1001_inv EXCEPTIONS RELATION_NOT_REVERSIBLE = 1 OTHERS = 2.

RH_UPDATE_DATABASE CALL FUNCTION 'RH_UPDATE_DATABASE' EXPORTING VTASK = 'D' EXCEPTIONS CORR_EXIT = 1 OTHERS = 2.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_buffer_active = ' ' i_callback_program = g_repid i_callback_top_of_page = 'TOP_OF_PAGE' * I_STRUCTURE_NAME = 'objec' is_layout = gs_layout it_fieldcat = gt_fieldcat[] TABLES t_outtab = ausgabe_tab EXCEPTIONS program_error = 1 OTHERS = 2 .

RH_TYPE_OF_NUMBERING_GET CALL FUNCTION 'RH_TYPE_OF_NUMBERING_GET' IMPORTING UNIQUE_IN_ALL_PLVAR = L_NUMBERING EXCEPTIONS OTHERS = 1.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = gt_list_top_of_page.



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