Application Development 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: 

Copying entire application to Z including all includes

Former Member
0 Kudos

Hi All,

Is there anyway that we can copy the entire application including all the Includes to the Z version.

I am trying to copy the report program which has lot of includes. i am able to copy it through se80 only one at a time.

can someone suggest me how i can do this in a single attempt?

Shylesh

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hello Sailesh,

You can copy report with all includes.

Goto Transaction SE38 and click on copy button. On next screen select Includes as well. It will ask you for new names for includes.

It will also replace the names of standard includes with Z-includes which you have created.

Cheers,

Nilesh

3 REPLIES 3

Former Member
0 Kudos

Hello Sailesh,

You can copy report with all includes.

Goto Transaction SE38 and click on copy button. On next screen select Includes as well. It will ask you for new names for includes.

It will also replace the names of standard includes with Z-includes which you have created.

Cheers,

Nilesh

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

In SE38(you can do this in SE80 as well), enter the name of the program, click copy, enter the name of thw "Z" program, click green check. At next screen, select all of the checkboxes including the "INCLUDES" checkbox, click copy, the next screen will allow you to check which includes that you want to copy as well, enter the "Z" version in the right hand side and click the checkbox for each required include that you want to copy. Click the copy button. That's it.

Regards,

Rich Heilman

Former Member
0 Kudos

hi sailesh,

from SE38 enter your source program and then control+F5 (program ->copy) give it a Z name and choose the options to copy all elements.

yuo could just copy the program from SE38. But just remember a few points:

1. If the standard report is being used in some other programs, then there's no way you can make your Z-report get used in all such instances. I suspect that you may not want to do that anyways, but just in case.

2. Just also check out if the standard report you're talking about has any INCLUDE programs within it. If there are too many standard INCLUDEs in the main report, then you might have to decide whether you need to copy all of them too, or let them be as they are.

3. You are likely to have some problems with the text-elements and translation that may have been maintained for the original report.

I have experienced some problems with respect to the second and third points in the past, so it is worth it to be a bit careful.

Regards,

Naveen