‎2008 Apr 21 11:39 AM
wat is the meaning of exporting and importing parameters in function module?
‎2008 Apr 21 11:46 AM
IMPORT : data going into the function module, that it will perform some action.
EXPORT : data returned by the function module.
Reward if useful.
Dara.
‎2008 Apr 21 11:46 AM
Hi,
Import parameters correspond to the formal input parameter of subroutines. They pass data from the calling program to the function module.
Export parameters correspond to the formal output parameters of subroutines. They pass data from the function module back to the calling program (which his not possible in subroutines)
‎2008 Apr 21 2:12 PM
hi,
exporting : these pass data from the function module back to the calling program.
importing : These must be supplied with data when you call the function module
‎2008 Apr 23 11:42 AM
Hi!!
Function modules can have the following interface parameters:
· IMPORTparameters. These must be supplied with data when you call the function module, unless they are flagged as optional. You cannot change them in the function module.
· EXPORTparameters. These pass data from the function module back to the calling program. EXPORT parameters are always optional. You do not have to receive them in your program.
· CHANGING parameters. These must be supplied with data when you call the function module, unless they are flagged as optional. They can be changed in the function module. The changed values are then returned to the calling program.
· Tables parameters. You use these to pass internal tables. They are treated like CHANGING parameters. However, you can also pass internal tables with other parameters if you specify the parameter type appropriately.
kindly reward if useful
‎2008 Apr 23 12:28 PM
Hi,
Practically speaking: Function module is a reusable component apart from resuability. the main functionality is to take some Input and Get the results back.
Some thing Like this
INPUT -
> Function module( Process with help of Input Values) ---> OUTPUT
Technically:
Similarly In a function Module we call the Input Variables As IMPORT parameters
And Output Variable as EXPORT parameters
More simply Import values are the values that are comming into function module and after processing the export values are the values that are going out of function module
In technical terms we also call these IMPORT and EXPORT parameters as Interface parameters ie.. through these parameters we will be able to call a function modules
There is one more parameter called CHANGING which is designed in cases wer we ma use that variable as both import or export parameters.
May be this gave u a brief idea abt these parameters
Regards,
Shiva
‎2008 Apr 28 11:09 AM
Hi,
Function modules are single functions that are managed by the SAP Function Builder (transaction SE37) and developed in SAP's own programming language, ABAP. The function module should have the attribute Remote Enabled to be called from outside the SAP system via the RFC protocol.
Function modules are procedures that are defined in function groups (special ABAP programs with type F) and can be called from any ABAP program. All functions can be found at transaction code 'SE37'.
Every function module provides import and export parameters. These parameters are either given to or from the function module. Besides these scalar parameters, there can be also an exchange of tables.
pass the data from the table to the function module is used
to the by using the import and export parameters.
import: is used to the transfer the data from the table to
the function module
export: is used to the transfer the data from the function
module to the table.
Try the link:
http://abaplovers.blogspot.com/2008/02/creating-function-module-in-sap-abap.html
Reward if useful