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

creating function modules with step by step

Former Member
0 Likes
1,720

Hi,

plz provide me the material for creating function modules with step by step.

3 REPLIES 3
Read only

Former Member
0 Likes
975

Hi Nagaraju,

Step 1.

GO to transaction SE80.In the drop box list select function group enter your Z Function group name.Press enter it will ask for creating the function group.Create your function group.

OR

In SE37 transaction,in the menu bar Goto - > Function Group - > Create Group.Your Function Group will be created.

Step 2.

Go to transaction SE37.Enter your Z Function module name,your recently created function group name and the description.Press Enter.Now your FM is created.

Step 3.

Enter Export,Import parameters.In the source code tab write the code what you want to write.If any exception write in the exception tab.

Method 2)

First u have to create Function Group.

1.se37->Goto->Function Group--->Create.

2.Create FM.

3.maintain import /export parameters and tables , exceptions.

4.based on the ur requirement u have to bulid ur logic in Source Code by using there Import parameters and u can pass the results by using Export or table.

5.u can raise error by using exception.

Reward if useful.

Thanks

Aneesh.

Read only

dev_parbutteea
Active Contributor
0 Likes
975

HI,

first create a function group

create your structures or tables that you will import and export in se11

then create your function module(ensure that it is remote enabled if rfc)

set your import and export paramaters

use data from your import table(s) to call bapi's

Regards,

Sooness

Read only

Former Member
0 Likes
975