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: 

Shared Memory vs memory id

Former Member
0 Kudos
958

Hi,

What is the use of using shared memory over memory id,in

terms of performance.

regards

kaushik

1 ACCEPTED SOLUTION

former_member188685
Active Contributor
0 Kudos
321

hi,

check this SAP help link..

you can get some inputs..

http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb2d40358411d1829f0000e829fbfe/frameset.htm

regards

vijay

5 REPLIES 5

Former Member
0 Kudos
321

Shared memory is memory that can be addressed by different processes as opposed to private memory that can only be addressed by the process that creates it.

former_member188685
Active Contributor
0 Kudos
322

hi,

check this SAP help link..

you can get some inputs..

http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb2d40358411d1829f0000e829fbfe/frameset.htm

regards

vijay

hymavathi_oruganti
Active Contributor
0 Kudos
321

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

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.

0 Kudos
321

Memory-ID is used to save and retrieve the last entered data in the field.

Eg: PARAMETERS p_vbeln for vbak-vbeln memory-id pid

Shared memory is the area that can be used to share data between different processes.

Former Member
0 Kudos
321

Hi kaushik,

I don't know, i may be wrong !

1. Memory id concept is a part of shared memory itself.

regards,

amit m.