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 function module in real time

Former Member
0 Likes
889

hi experts,

can somebody explain a real time requiremwnt , to create a function module.

its very urgent.

i want elaborately.

regards,

subhasis.

4 REPLIES 4
Read only

Former Member
Read only

Former Member
0 Likes
548

Hi!

You might get some hints from the Smartforms how to create a function module in runtime.. Check out the function module: SSF_FUNCTION_MODULE_NAME

Regards

Tamá

Read only

Former Member
0 Likes
548

Hi Subhasis,

For processing the custom Inbound IDocs, you need to create a function module for sure.

Apart from this, whenever, you want to code some logic which you want to use in multiple programs and no standard function module is available, you need/can create a function module.

Also, if you create and activate a custom smartform, a function module is created automatically.

Regards,

Neeraj

Read only

Former Member
0 Likes
548

hi,

In real time

1. as per my knowledge we create function modules to Inbound IDOC /outbound processing..

2.Interface between a program..

Example we need to take some data from a report say materials and plant and process some bapi and return logfiles to the report we can use FM here too.

To create a function module

First you need to create a function group (function group holds a number of function modules relevant)

SE37>goto>function groups-->create group ..click this create group..

Now in the pop up enter the function groupname Eg: ZW_FG1 plus short text and saveit

Now again goto SE37--> enter new Function module name eg:ZW_FM1

and press F5.

Now again a popup you need to enter

function group name : ZW_FG1

and short test and save it..

Now the Function module is created under the Function group ZW_FG1.

write your export import table parameters and you source code.

rewards if useful

regards,

nazeer

Message was edited by:

nazeer shaik