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

help in coping function

Former Member
0 Likes
676

hallow

i wont to copy function from se 37 to my z function

but it not copy with all the include so i have error can some one help me with that

Regards

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
651

Hi

You have to copy the MAIN program also related to that fun module

apart from the code between function..endfunction.

and includes you have to copy separately

Reward points for useful Answers

Regards

Anji

4 REPLIES 4
Read only

Former Member
0 Likes
652

Hi

You have to copy the MAIN program also related to that fun module

apart from the code between function..endfunction.

and includes you have to copy separately

Reward points for useful Answers

Regards

Anji

Read only

Former Member
0 Likes
651

Hi,

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.

<b>Reward points</b>

Regards

Read only

Former Member
0 Likes
651

hi,

Go to the function you want to copy, in tab attribut get the main program name.

It should begin by SAPL[name of function group]

Go to se38, enter the program name and copy.

-> the function group is created

-> a popup ask you witch function you want copy

Regards

Read only

Former Member
0 Likes
651

Hi,

You need to copy the Function group, because the TOP inlcude will be there i mean the declarations will be there in that Include, so Goto SE80 and Give that Function group and copy that to a Program ......

Regards

Sudheer