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 a standard function module

Former Member
0 Kudos

How to copy a standard function module?

Thnx in advance.

-Mohan

10 REPLIES 10

Former Member
0 Kudos

Hi Mohan,

First create Function group ,

in se37 , goto>function group>create group

then

givu standard FM name in the text box, and in toolbar click copy , then give new FM name and created function group

ferry_lianto
Active Contributor

Hi Mohankumar,

Go to SE37and type the FM you want then ctrl+f5 or click the right button on your mouse and choose copy and the type the name what you want and choose the function group.

Regards,

Ferry Lianto

Please reward point if helpful.

Former Member
0 Kudos

Hi,

Create a new funciton group and then use the COPY button on the SE37 screen to copy the function into a new function group. However, you might have to manually the subroutines that might be called and exist in other includes.

Regards,

Ravi

Note : Please mark the helpful answers

Former Member
0 Kudos

Hey Mohan,

1. go to t-code SE37.

2. write the std fm name.

3. <b>Press Ctrl + F5 ( short cut for copy).</b> There is iconalso on the toolbar ,below where it is written Function Builder : Initial Screen 3rd to the left of Reassign . You can click on that also.

4. Write the target fm name .

5. Click continue.

6. Your fm is copied.

Hey there is an alternative.

<b>you go to SE80 . write the function group PS05 . Copy it to a new function group say, zps05 .

After you copy, you can copy the std fms. While copying the std fm say , PROJECT_LINE_ITEM , give a new name say .zPROJECT_LINE_ITEM . Then only copy . And once you copy the required fms , you can activate the same.

Do it once again. I have just done this successfully.

</b>

Regards,

Kunal.

Message was edited by: Kunal Kumar

Message was edited by: Kunal Kumar

Message was edited by: Kunal Kumar

Former Member
0 Kudos

Hi Guys,

I tried this already for the function module PS05_PROJECT_LINE_ITEM. When I try to activate it am getting an error in some standard prog....

can u try it out and gimme suggestions..

That wld be helpful for me.

0 Kudos

or else in SE80 , in the text box give the function group name and give PS05

try to copy ur FM PS05_PROJECT_LINE_ITEM by right click -->copy

the ideal way is to goto se80

open the function group

CLICK on the function group.

right-click and select COPY !

In this way, it will copy

all includes, top files, all functional modules .

A new window will come

there u have to specify the NEW name

of the related function module,

for all fms.

ferry_lianto
Active Contributor
0 Kudos

Hi Mohan,

Use SE80 and copy the function group.

This will copy the group and all the includes.

It will also ask you which function modules you want to copy and what you want the new name to be.

Hope this will help.

Regards,

Ferry Lianto

Former Member
0 Kudos

EVEN while copying in SE80 am getting the same error???

0 Kudos

Hi mohankumar,

I tried the same here, and its copy perfectly fine.

1. The FUNCTION GROUP is PS05

2. goto se80

3. open function group ps05

4. Right-click on it and select copy.

5. Enter the new function group as ZPS05.

6. Then it display all the 5 function module

and ask to copy them to new name.

7. Prefix Z to all Fms.

8. click ok, and then it creates everything.

9. Activate the function group.

10. Thats all !

regards,

amit m.