Difference between SAP Memory and ABAP Memory

Key Difference: SAP memory describes a memory area to which all main sessions within a SAP GUI have access. Data can be passed from one program to another within the same session or from one session to another. On the other hand, ABAP memory describes a memory area in the internal session of an ABAP program. It can be accessed by all ABAP programs within the same internal session. SAP memory uses set parameter and get parameter for passing data from one session to another. On the other hand, ABAP memory makes use of export and import commands in calls made to another internal session within a single main session.

SAP memory describes a memory area to which all main sessions within a SAPgui have access. SAP memory uses  the commands set parameter and get parameters for passing data from one session to another. Data can be passed from one program to another within a session and also from one session to another. It serves as the only connection between the different sessions within an SAP GUI. Due to its scope, it is also known as global memory. It remains available to a user throughout the duration of a terminal session.

ABAP memory is different from the SAP memory, as it can be considered as a local memory. It is used for passing data across internal sessions. It makes use of import and export comments to read and write data to the ABAP memory. Data has no effect during the program calls, and thus it remains intact.  SAP is regarded to be the global memory, whereas ABAP memory is called local memory due to its limited scope. ABAP memory has an advantage of being independent of the ABAP programs or objects that generate it. Therefore, it can transmit values across different object or programs too.

Both SAP and ABAP memories can be utilized by ABAP (Advanced Business Applciation Programming) programs. The main difference between these two memories is regarding the scope. ABAP can be onsidered as a limited type of memory in comparison to SAP memory.

Comparison between SAP memory and ABAP memory

 

SAP Memory

ABAP memory

Defintion

SAP memory describes a memory area to which all main sessions within a SAP GUI have access.

ABAP memory describes a memory area in the internal session of an ABAP program. It can be accessed by all ABAP programs within the same internal session.

Type of Memory

Global

Local

Commands used

Get and Set

Export and Import

Availability Available to the user throughout the sending session Available to the user throughout the external session

Image Courtesy: scnblogs.techweb.com.cn

Most Searched in Food and Drink Most Searched in Sports
Top 10 Most Searched Differences Most Searched in Home and Garden
Noir vs Neo-Noir
All The Best vs Best Of Luck
Law vs Ethics
Jealousy vs Envy

Add new comment

Plain text

CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.