‎2007 May 23 1:44 PM
Hi,
plz provide me the material for creating function modules with step by step.
‎2007 May 23 1:46 PM
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.
‎2007 May 23 1:46 PM
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
‎2007 May 23 1:50 PM
Hi Nagaraju,
pls check this link
http://help.sap.com/saphelp_nw2004s/helpdata/en/d1/801f50454211d189710000e8322d00/frameset.htm
regards
sathish