‎2005 Nov 04 9:33 AM
hi,
how to copy a standard function module to Z version.
regards
Mave
‎2005 Nov 04 9:36 AM
Open se37, enter the FM name, now on the toolbar , there is a double-square ICON, click on this..and rest is easy.
cheers
‎2005 Nov 04 9:36 AM
Open se37, enter the FM name, now on the toolbar , there is a double-square ICON, click on this..and rest is easy.
cheers
‎2005 Nov 04 9:44 AM
please tell me the full procedure , i tried but did not get it.
Regards
Mave
‎2005 Nov 04 9:48 AM
anid you are right
I was seraching inside th e funtion module.
Any way thanks I have given you 10 points
‎2005 Nov 04 9:49 AM
OK, first of all you must know to which function group(FG) your r copying the FM, that is in which FG your z-fm will be residing.
now se37-> enter the FM (original one) -> click on the copy icon (a square on another square, third from left)->now you will have a pop up-> "from" input box(leave it as it is)
and "to" input box : here you write your z FM name,
in Function group box: you enter the FG name where your z-FM should belong.
click on copy..thats it.
plz reward point if it helps you.
‎2005 Nov 04 9:50 AM
‎2005 Nov 04 9:55 AM
Hi Mave
You can't copy only fm, but it'd be better you copied th function group too:
- run the transaction SE80 and choose function group option;
- insert the function group of your fm std and choose COPY option by right button of the mouse;
- after copying function group the system'll ask you which fm you want to copy: choose your function.
Max
‎2005 Nov 04 10:01 AM
Hi
when I am activating the funtion module a error is prompting saying report program is missing.
Regards
Mave
‎2005 Nov 04 10:04 AM
Did you copy Function to an existing group??
If you created a new group then you need to activate all the objects. When you activate you get a list , select all and then activate.
Cheers.
‎2005 Nov 04 10:11 AM
That means the FM uses some declaration of variable or internal-tables, thats is declared in the global inclde of the original Function group. You got find that out.
This problem should not have persisited if the FG is same or there is no dependency.
‎2005 Nov 04 10:18 AM
You have to create a new function group where you insert your new fm.
You should copy the original function group and the fm you need.
Max
‎2005 Nov 04 9:47 AM
Hi,
another solution to copy a standard FM...
goto se37 type the FM you want then <b>ctrl+f5</b> or click the right button on your mouse and choose copy and the type the name what you want and choose the function group.
reward points for helpfull answers and close the thread if your question is solved.
regards,
venu.
‎2005 Nov 04 9:49 AM
Function Modules are heavilly dependant on Function Group for data declaration in TOP include or subroutines.
Which standard function module are you trying to copy .
In SE37 try to find the main program it will be SAPL.....
You should copy the whole function group to a Z group.
In SE38 give the program name as SAPL... ( as found above ) . Click on Copy . Next screen give the function group name in Z* namespace. This will copy the main program (Function Group ) and includes to new function group . Next you will be prompted to copy function modules . Give a name for each of the FMs ( or one FM which you want to copy) in Z* namesapce.
Cheers.
Sanjay