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

copying function module (FM) with funtions

Former Member
0 Likes
615

Hi all,

I'm trying to copy one function module (FM) called Z1 to another called Z2. Z1 contains lot of functions stored within its includes. After copy functions are referenced to original's includes of Z1. I need them to be copied as well to new includes. Would I try to copy it to diffrent function group or to copy whole group under new name?

Thanks

Martin

Hi all,

I'm trying to copy one function module (FM) called Z1 to another called Z2. Z1 contains lot of functions stored within its includes. After copy functions are referenced to original's includes of Z1. I need them to be copied as well to new includes. Would I try to copy it to diffrent function group or to copy whole group under new name?

Thanks

Martin

3 REPLIES 3
Read only

Former Member
0 Likes
564

hi,

Better to copy whole group under new name

Thanks

Read only

Former Member
0 Likes
564

Hello Martin,

I must agree with Ramesh. Copying Function Modules can be a very messy job. In my experience, in case of complicated function modules, it's better to copy the function group and then delete the stuff that's not required.

Regards,

Anand Mandalika.

Read only

Former Member
0 Likes
564

Even while copying Function group it does not copy the includes for subroutines. L<FUGR>F01 .

You will have to create these manually in new function group and then do a copy paste of code .

Cheers .