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

set get parameter and export import

Former Member
0 Likes
1,565

Hi experts,

i have created a program and in that program i am sending few variable to some other program through set get parameters.

this program is going to be accessed by a number of users at same time.

so my doubt is if one use set the value in the program is it going to affect other user who is logged in at the same time?????

is set get session specific ?

should i use export import????

thanks in advance

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,128

IMPORT and EXPORT are program specific (ABAP Memory) and it depends on what memory id the developer is giving. Where SET / GET PARAMETER , there is a memory id associated with a field all the time. You cannot use IMPORT / EXPORT when you want to pass something to Standard programs, like for example CALL TRANSACTION tcode AND SKIP FIRST SCREEN. Here you will have to use the SET/GET.

4 REPLIES 4
Read only

Former Member
0 Likes
1,129

IMPORT and EXPORT are program specific (ABAP Memory) and it depends on what memory id the developer is giving. Where SET / GET PARAMETER , there is a memory id associated with a field all the time. You cannot use IMPORT / EXPORT when you want to pass something to Standard programs, like for example CALL TRANSACTION tcode AND SKIP FIRST SCREEN. Here you will have to use the SET/GET.

Read only

0 Likes
1,128

This is fine but my question is if two users are accessing same program and if first use set the value of the parameter as X

is this value is going to affect the second user????

Read only

0 Likes
1,128

>

> This is fine but my question is if two users are accessing same program and if first use set the value of the parameter as X

>

>

> is this value is going to affect the second user????

No, they will not affect one another. This is beacuse for every user there is a separate user session opened. In that user session each GUI window requests new external session . With SAP memory (SET/GET parameter) you exchange the data b/w those external sessions, but only within one user session.

So no impact on someone's else program.

Regards

Marcin

Read only

0 Likes
1,128

Thanks for ur reply