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 create s cutomised function module

Former Member
0 Likes
809

Hi all,

i want to create acutomised fm , i want to create a zfm , same as like one standard fm .

how to copy the original one, i wnat to change one include based on customer requirement.

Regards,

pandu.

7 REPLIES 7
Read only

Former Member
0 Likes
790

Hi Pandu,

To copy an existing FM , goto SE37, select Function Module from the Menu and then select Other Functions and select Copy.

In that give the Existing FM name in From ... and the new FM name in To and give the respective Function Group name.

Once this is done the FM gets copied to the mentioned new FM.

Pls reward if useful.

Regards,

Sirisha.

Read only

0 Likes
790

thank u for ur reply ,,

But it not copying all the includes , what ever i have in my standard fm.

Pls help me..

Regards,

pandu.

Read only

Former Member
0 Likes
790

Go to SE37 ->

Enter the standard function Module

Click on the Copy button at the application tool bar,

Specify the new function module name and function group

save it.

Read only

Former Member
0 Likes
790

To copy a standard fm, key in the name of the FM and click on the Copy button on the application tool bar in SE37. Doin so a pop-up appears prompting for the Z Custom Name.

But if you want to customise a pariticular include check if it is possible to do so using an exit or a BADI. That would be a better idea instead of goin for a copy of a standard FM.

Regards,

Pavithra

Read only

Former Member
0 Likes
790

Hi,

Go to se37 give your standard function module name.

select function module from menu -->click on other functions

then select copy (ctrl+F5).

Then it will show the standard function module and target function module and function group.

Give your target function module name and give your function group name.

now you have your customized fuction module similar to standard function module.

now you can add your own logic or includes in this function module.

regards,

swami.

Read only

Former Member
0 Likes
790

Hi Pandu,

For copying the existing Function Module, go to SE37(T.code), select Function Module from the Menu and then select Other Functions and select Copy.

In that give the Existing FM name in From & the new FM name into and give the respective Function Group name.

Once this is done the Function Module gets copied to the mentioned new Function Module.

Pls reward me points ,if it helpful.

By

Pari

Read only

Former Member
0 Likes
790

Hi,

Go to se37,goto FUNCTION MODULE>otherfunctionsprovide the function module name in the space provided and click on the copy button---to copy a standard function module.

regards,

vineela.

Edited by: Radha Vineela Aepuru on Mar 20, 2008 6:41 AM