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

import and export parameter

Former Member
0 Likes
662

whats the diff betweem import and export parameter?

4 REPLIES 4
Read only

Former Member
0 Likes
611

Hello Darsh.

If you are asking in the context of a function module, importing parameters are those which we have to supply while calling it.

Exporting parameters are those returned by the function module.

Regards,

Jani.

Read only

RaymondGiuseppi
Active Contributor
0 Likes
611

Extract from help - SE37 help

A function module's interface determines how you can use the module from within your own program. It is important that you understand a module's programming interface before you use the module. There are five different interface parameters:

Name

Explanation

Import

Values transferred from the calling program to the function module. You cannot overwrite the contents of import parameters at runtime.

Export

Values transferred from the function module back to the calling program.

Changing

Values that act as import and export parameters simultaneously. The original value of a changing parameter is transferred from the calling program to the function module. The function module can alter the initial value and send it back to the calling program.

Tables

Internal tables that can be imported and exported. The internal table's contents are transferred from the calling program to the function module. The function module can alter the contents of the internal table and then send it back to the calling program. Tables are always passed by reference.

Exceptions

Error situations that can occur within the function module.

The calling program uses exceptions to find out if an error has occurred in the function module. It can then react accordingly.