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: 

how to activate function modules

Former Member
0 Kudos
2,103

hi

actually i have created functional module..later i m importing and exporting the variables..the writing source code..later on it z not getting created..i have installed full version SAP ECC 5.0 in my laptop..can u tell me the steps how 2 create and activate the function module..

5 REPLIES 5

Former Member
0 Kudos
337

Hi Kota,

After writing code under Source code tab, Check for syntax errors using Check(CtrlF2) and then Activate(CtrlF3).

<b>Steps to create a function module:</b>

1) Create a function group as every function module is associated with a function group

2) Goto SE37, Give your function module name and click on Create button and give Give short text to function module.

3) Give required import,export and table parameters and if needed specify list of excceptions it has to handle

4) Write your code under Source code tab

5) Check for syntax errors and activate the function module and function group

6) Goto Function module->Release->Release to release the function module

Thanks,

Vinay

Former Member
0 Kudos
337

HI,

First activate the function group and then activate the function module.

Create function module:

First, go to SE80, select from the listbox, "Function Group", enter the name of your function group, Hit enter. SYstem will ask if you want to create it, say yes. Once the function group is created, then righ-click on the node in the tree structure and select create-function module. Name it and give description.

Add your IMPORT and EXPORT parameters in the appropriate tab, add the source code in the appropriate tab. SAve and activate.

Here is some addtional reading.

http://help.sap.com/saphelp_470/helpdata/en/d1/801ee8454211d189710000e8322d00/frameset.htm

Regards,

Kumar

Message was edited by:

kumar kk

Former Member
0 Kudos
337

first go to se80 create a zfn group and activate that.

or if you have the zfn group just activate it in se80.

now come to se37.

create your fnmodule create that it will ask for function group assign that name which you have activated.

now write the codes and required things..

activate fn module.

regards

shiba dutta

0 Kudos
337

CTRL+F2 - for syntax check

CTRL+F3- Activate.

to create FM -

-> Create a function group

-> Goto SE37, Give your function module name and click on Create button and give Give short text to function module.

-> Give required import,export and table parameters and if needed specify list of excceptions it has to handle

-> Write your code under Source code tab

-> Check for syntax errors and activate the function module and function group

-> Goto Function module->Release->Release to release the function module

amit

Former Member
0 Kudos
337

Hi,

First try to create a Function group in SE80. Activate it. Then crreate a Function Module in Se37 and select the corresponding Import n export parameters and do the coding. Then Save and activate it.

Regards,

-Priyanka.