Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Copy a report

Former Member
0 Likes
752

I have a report which contains many "includes" and I want to copy it to a new report .

I get it that we do it by a copy option which we already have . But the issue here is , when I am copying everything including the "includes" it says it is copied . But I do not see them in my new report .

Am i missing anything ?

I have a report which contains many "includes" and I want to copy it to a new report .

I get it that we do it by a copy option which we already have . But the issue here is , when I am copying everything including the "includes" it says it is copied . But I do not see them in my new report .

Am i missing anything ?

4 REPLIES 4
Read only

Former Member
0 Likes
719

Why copy (and rename) all those includes? Since these are separate ABAP objects, by design, why not just insert the include statement for these in your new report? Any, why the new report copied from the old? What's the point of doing that? Update/modify the existing report.

Read only

former_member196064
Active Participant
0 Likes
719

Did you select the rows with the row selector on the left, or just type in a new name for 'em?

Read only

0 Likes
719

need for COPY:- it was an existing report which I am not able to edit ( no permissions to edit ) so I want to copy the whole of it to a new report .

Yes I selected it while renaming the include .

the error it shows

each ABAP Program can contain only one report or program or function pool . thats the code :-

&----


*& Report ZPAMU_MAIN *

*& *

&----


*& *

*& *

&----


REPORT ZPAMU_MAIN.

INCLUDE ZPAMU_01.

*INCLUDE ZPAMU_BELEG_TOP .

INCLUDE ZPAMU_02.

  • INCLUDE ZPAMU_BELEG_O01.

INCLUDE ZPAMU_03.

  • INCLUDE ZPAMU_BELEG_I01.

INCLUDE ZPAMU_04.

  • INCLUDE ZPAMU_BELEG_F01.

include functions seperate . Now i tried changing this report from an executable program to Include but didnt work .

original report shows module_pool on top but my report shows report zpamu_main.

Pls ADvice

Edited by: pawanpanjwani1704 on Aug 19, 2011 5:34 PM

Read only

0 Likes
719

Hi,

Please check the report to see if the statement

REPORT <reportname>

has been mentioned more than once. If so, delete the unnecessary ones.