Application Development 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: 

SET GET PARAMID ITS NOT READING FROM USER1 T O USER2

Former Member
0 Kudos

Hi Friends,

I am using set parameter REQUEST_NO' VALUE as '246' in my pogram 'ZPROG1' from the user name as 'USER1'.

I am getting this FROM ANOTHER PROGRAM 'ZPROG2 the value 246 from the user 'USER1'' .

But if i get this value from USER2 Its not passing the value.

pls suggest

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi ,

Set/Get Parameter is for particular user or a particular program .

Please refer the link

[http://www.sap-img.com/abap/difference-between-sap-and-abap-memory.htm]

you can use Import / Export for this case

For import / Export please refer the below link.

[http://help.sap.com/saphelp_nw04/Helpdata/EN/fc/eb3bde358411d1829f0000e829fbfe/content.htm]

Edited by: Prasath Arivazhagan on Apr 12, 2010 8:23 AM

4 REPLIES 4

Former Member
0 Kudos

Hi ,

Set/Get Parameter is for particular user or a particular program .

Please refer the link

[http://www.sap-img.com/abap/difference-between-sap-and-abap-memory.htm]

you can use Import / Export for this case

For import / Export please refer the below link.

[http://help.sap.com/saphelp_nw04/Helpdata/EN/fc/eb3bde358411d1829f0000e829fbfe/content.htm]

Edited by: Prasath Arivazhagan on Apr 12, 2010 8:23 AM

vinod_vemuru2
Active Contributor
0 Kudos

Hi,

Did you read F1 documentation? SET/GET prameter ID is valid with in one user login.(Usea SAP Memory)

IMPORT/EXPORT is valid for one user session unless you are doing it to DATABASE buffer which is valid accross the sessions and user logins.

Thanks,

Vinod.

Former Member
0 Kudos

hello ,

make use of key word....

export 'X' to database indx(xy) id 'XTY'..

you can check documentation on this key word.

regards

Prabhu .

Former Member
0 Kudos

If you're certain that both users are, or will be, on the same apps server, you can use shared memory...see transactions SHMA and SHMM, and research documentation on how to use...otherwise, as noted, table INDX can be used for storing data clusters, to make available across the system.

However, note that SAP best practice is to create a table similar to INDX (INDX-like in SAP documentaton speak) and utilize that for your data cluster storage. SAP Help has some how-to as does the manual ABAP Objects, if you can find a copy of that...