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

Imp/ Exp

Former Member
0 Likes
2,198

Hi,

Anybody will tell me what is the exact meaning of import & export parameters??

According to my openion import means what i provided in selection screen(input value) & export means data retrival(o/p) value.

Am i right??

10 REPLIES 10
Read only

Former Member
0 Likes
1,857

Hi Salil,

Yes import means pass values and export means retrieving the data.

Reward points if you find this as a right solution

Regards,

Harini

Read only

former_member628175
Active Participant
0 Likes
1,857

Hi Salil ,

this can illustrated with the help of Function module . Function module has 2 parameter types

1) Import Parameter : which passed to the FM while calling an FM , which acts as an input .

2) Export Parameter : which is the outcome of the FM . when the FM is executed the values are returned to the calling program .

Hope this helps .

Thanks ,

Shounak M.

Message was edited by: Shounak M

Read only

Simha_
Product and Topic Expert
Product and Topic Expert
0 Likes
1,857

Hi..

Ur understanding is correct..

Import --- INput parameters.

Export --- Output Parameter.

Cheers,

Simha.

Read only

Former Member
0 Likes
1,857

Hi Salil,

When you will call a FM you will pass those values to the exporting parameter that you are passing to the FM,in the importing parameter you will write the field value in which you want to collect the fetched data.

When you will display the FM in transaction SE37 the parameters that will be there in the exporing parameter in the call function will be there in the import tab and vice versa

Message was edited by: mukesh kumar

Read only

Former Member
0 Likes
1,857

Salil,

When you write a subroutine / function module you pass some values to the subroutine / function and get back some values.

The values that you are passing to the function are being imported by the function and the values that are being passed out are being exported by the function. If you see it from outside, you are exporting some values to the function and importing the results from the function.

It has nothing to do with selection screen.

Regards,

Ravi

Note : Please mark all the helpful answers

Read only

Former Member
0 Likes
1,857

Hi Salil,

I suppose you are working with search help creation.

Suppose you want to give an input value(say MATNR) and get the corresponding output value(say MAKTX).

Import parameter in that context means the value which you provide and which will be imported from the selection screen for processing. In this case it will be MATNR

Expoert parameter means which will be exported to the screen after processing . IN this case , it will be MAKTX.

<b>Close the thread once the problem is resolved.</b>

Regards,

SP.

Read only

Former Member
0 Likes
1,857

hi

you r right.

Import means which we are passing as input.

Export means what we getting as output.

Regards

Naveen

Read only

hymavathi_oruganti
Active Contributor
0 Likes
1,857

U CAN SEE THAT ABAP MEMORY IS SUBSET OF SAP MEMORY.

SO WHAT EVEr WORKS IN SUBEST WILL WORK IN SUPERSET BUT NOT VICEVERSA.

There are three types of memories.

1. ABAP MEMORY

2. SAP MEMORY

3. EXTERNAL MEMORY.

1.we will use EXPORT/ IMPORT TO/ FROM MEMORY-ID when we want to transfer between ABAP memory

ex:

<u>REPORT1.</u>

IMPORT obj1 ... objn FROM MEMORY ID <MID>.

SUBMIT <REPORT2>.

IN THAT CALLING <REPORT2>

U WRITE

<u>REPORT2</u>

EXPORT obj1......objn TO MEMORY ID <MID>.

<MID> is a name u r giving to store in the ABAP memory. use the same name in both the programs.

2. we will use GET PARAMETER ID/ SET PARAMETER ID to transfer between SAP MEMORY

3. we will use EXPORT/IMPORT TO/FROM SHARED BUFFER to transfer between external memory.

ABAP MEMORY : we can say that two reports in the same session will be in ABAP MEMORY

SAP MEMORY: TWO DIFFERENT SESSIONS WILL BE IN SAP MEMORY.

for ex: IF WE CALL TWO DIFFERENT TRANSACTIONS SE38, SE11

then they both are in SAP MEMORY.

EXTERNAL MEMORY: TWO different logons will be in EXTERNAL MEMORY.

Read only

Former Member
0 Likes
1,857

Hi Salil,

Generally 'import' and 'export' parameters are related to function modules.

While working with function modules the parameters(value) that u want to pass to the function module for processing is known as 'export' parameter which on function module's end happens to be a import parameter (as it is importing the same).Similarly the results which are obtained from the FM (after processing)are imported by the calling program , so they become the importing parameters in this case and in the FM end this values can be found under the export tab.

Hope this will help you.

Regards,

Anirban.

Read only

Former Member
0 Likes
1,857

Hi salil,

1. what i provided in selection screen(input value) & export means data retrival(o/p) value.

EXPORT / IMPORT PARAMETERS concept,

is not related to screen values.

2. One eg, it is related to is

in FUNCTION MODULES.

3. BUT, THERE ARE TWO DIFFERENT VIEWS

IN EXPORT / IMPORT PARAMETERS

*----


When there is some exchange between 2 persons,

a) one person gives (EXPORTS)

b) at the same time the other person receives (IMPORTS)

4. a) one view is when DEVELOPING/DEFINING the FM

b) another view is when CALLING the FM

5. a) Developing the FM

m) If FM will RECEIVE some values,

then it is IMPORTING parameters

n) If FM will SENDOUT some values,

then it is EXPORTING parameters

6. b) While CALLING THE FM,

m) m becomes reverse,

ie. we have to EXPORT the parameters,

(which are defined as IMPORTING in the FM)

n) n becomes reverse,

ie. we have to IMPORT the parameters,

(which are defined as EXPORTING in the FM)

regards,

amit m.