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

How To copy Modul Pool Program and Smartform to create new Program

Former Member
0 Likes
1,249

hi Good morning everyone

I have one modul pool Program this attached with smartform.

By Using same Program I need to create New program which having same functionality.

In this i need to change alignment without disturbing the existing program.

Regards

Jagadish

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,222

Hi Jagadish,

Go to Se80, Enter ur program name, and right click on the program, select Copy Option give the target name of the Program.

in case of smartforms, go to Tcode SMARTFORMS, select copy and give ur target smartform name and

go to ur new program change the smartform name with new smartform name.

hi Good morning everyone

I have one modul pool Program this attached with smartform.

By Using same Program I need to create New program which having same functionality.

In this i need to change alignment without disturbing the existing program.

Regards

Jagadish

9 REPLIES 9
Read only

Former Member
0 Likes
1,223

Hi Jagadish,

Go to Se80, Enter ur program name, and right click on the program, select Copy Option give the target name of the Program.

in case of smartforms, go to Tcode SMARTFORMS, select copy and give ur target smartform name and

go to ur new program change the smartform name with new smartform name.

Read only

0 Likes
1,222

for the program option i am agree with Mr. Reddy....

But in case of smartform don't go for copy option because when you will change the copied version...the original smartform will also be changed....so always go for "Download" & "Upload" option.....first download your old smartform in your pc.....the you again upload it by giving new name..

Read only

former_member222860
Active Contributor
0 Likes
1,222

From the Tcode: Se80 ,u can copy the Module pool

just right click on the selected prgm. and click on copy, there u can copy to another z-program,

thanks\

Mahesh

Read only

0 Likes
1,222

After Coping the module pool programs Includes name are remained same if i changed the name of includes is it effect old original program???

or i can change Include name by right clicking and rename option ?

One thing i want know all this includes are belongs copied program or old program?

Read only

I355602
Product and Topic Expert
Product and Topic Expert
0 Likes
1,222

Hi,

You can copy a module pool program but you cant copy the standard includes in your z program as same name, as you cant edit them.

So create a zinclude and then copy its contents.

Or right click on include name and click COPY and give target z program name and new include name as a zinclude.

Hope this helps you.

Regards,

Tarun

Read only

0 Likes
1,222

Your copy method is wrong.......when within this process the popup box of include program will come keep the same name by putting 'Y' or 'Z' before that......and also you have to select the line by clicking the 'SEL' filed of left...

Read only

0 Likes
1,222

Dear Tarun

I have Copied the program in that i have Z includes

i need to change those to Y object.

what i am asking is if i change this any thing will happen to original main program

eg: My original Program is Z_FI_CHKPRNT this one i copied by clicking copy and target name i Gaven as Y_FI_CHKPRNT

in this some Z includes are there those i need to chane to Y includes

Steps

1. Shall i rename the Includes? if i rename anything happen to my Z program.

2. or i need to copy includes and i need to create target as Y includes?

3. After Creating this includes in Y includ if i delete Z includ means it will effect my Y program

or it will effect Z program also.

Read only

I355602
Product and Topic Expert
Product and Topic Expert
0 Likes
1,222

Hi,

If you are changing the names of the include from Z to Y then there seems no reason to effect the original inlcude.

Try to copy into a new include with different name, rather than copying and renaming them.

Hope this helps you.

Regards,

Tarun

Read only

0 Likes
1,222

OK THANK U