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

function module

Former Member
0 Likes
762

hi ,

is it possible with out input and output parameters to create a function module .if it's possible how ?

8 REPLIES 8
Read only

naimesh_patel
Active Contributor
0 Likes
735

Yes it is possible.

Create a FM in SE37 and don't provide any IMPORT and EXPORT parameters.

Regards,

Naimesh Patel

Read only

Former Member
0 Likes
735

Hi Sreereddy,

Yes, You can create a function module with out import and export parameters.

Don't fill the import and export tabs and write your desired code under Source code.

Save and activate the function module.

It wont be any meaningful without having values to import and export parameters to a function module.

<b>Note: </b>Please close the threads if they are solved/answered.

Thanks,

Vinay

Read only

Former Member
0 Likes
735

yes,it is possible without using import or export.

But without using import or export,the function module is of no use

Read only

matt
Active Contributor
0 Likes
735

It is not the case that a function module with no parameters is not useful. For example, BAPI_TRANSACTION_COMMIT can be called without parameters, and frequently is.

SWO_OBJECTS_REFRESH has no parameters either. But it is part of a suite of function modules in function group SWOR that all work together.

matt

Read only

Former Member
0 Likes
735

You can create a FM without import/exporting parameters and still can be useful. For example you can mention Table Parameters and call it in your program. There should be at least one interfacing parameters defined for a function module and it can be either inport/export/table parameter.

Regards,

Amit

Read only

Former Member
0 Likes
735

Hi

YES it is possible to create a FM with out input and output parameters

recently i had cretes a FM

Read only

Former Member
0 Likes
735

Hi reddy,

We can create function module without import and export parameter.

Thanks,

Aditya.

Read only

Former Member
0 Likes
735

Hi Sree,

In order to create a function module firstly you need to assign it to a function group.

In order to create function group goto t-code se37.

Choose Goto->Function groups-> Create group .

Give the function group name.

Then come back to se37 type in the name of your FM and then press CREATE button.

And then donot give the import and export parameters.

<b>Kindly Reward points if you found this reply helpful</b>,

Cheers,

Chaitanya.