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

Diff between SAP Memory and ABAP memory

Former Member
0 Likes
646

Hi,

What is the diff. between SAP Memory and ABAP memory ?

please give me some example.

BR,

Thiru

5 REPLIES 5
Read only

Former Member
0 Likes
617

<a href="http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3bc4358411d1829f0000e829fbfe/content.htm">Data Clusters in ABAP Memory</a>

<a href="http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9df735c111d1829f0000e829fbfe/content.htm">Passing Data Between Programs</a>

The second link contains the definitions of SAP Memory and ABAP Memory along with the key words used to work with both. Any use of the key words shown in the help topics (either link above) would be an example of how to use them.

Hope this helps.

Regards,

James Gaddis

Read only

Former Member
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
617

From help....

<i>

SAP Memory

SAP memory is a memory area to which all main sessions within a SAPgui have access. You can use SAP memory either to pass data from one program to another within a session, or to pass data from one session to another. Application programs that use SAP memory must do so using SPA/GPA parameters (also known as SET/GET parameters). These parameters can be set either for a particular user or for a particular program using the SET PARAMETER statement. Other ABAP programs can then retrieve the set parameters using the GET PARAMETER statement. The most frequent use of SPA/GPA parameters is to fill input fields on screens (see below).

ABAP Memory

ABAP memory is a memory area that all ABAP programs within the same internal session can access using the EXPORT and IMPORT statements. Data within this area remains intact during a whole sequence of program calls. To pass data to a program which you are calling, the data needs to be placed in ABAP memory before the call is made. The internal session of the called program then replaces that of the calling program. The program called can then read from the ABAP memory. If control is then returned to the program which made the initial call, the same process operates in reverse. For further information, refer to Data Clusters in ABAP Memory.

</i>

Regards,

Rich Heilman

Read only

0 Likes
617

Great minds must think alike Rich (see my post above)!

Read only

0 Likes
617

Yep, looks like the exact page that I got the info from.

Regards,

Rich Heilman