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

Difference between sap memory and abap memory

Former Member
0 Likes
1,867

Hi All,

Happy New year , Pls provide the difference between sap memory and abap memory

thanku all ,

Bharat Kumar bye .........have a nice day

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,828

Hi Bharat

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

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.

PLZ REWARD POINTS IF HELPFUL

7 REPLIES 7
Read only

Former Member
0 Likes
1,828

check this

<a href="http://www.sap-img.com/abap/difference-between-sap-and-abap-memory.htm">http://www.sap-img.com/abap/difference-between-sap-and-abap-memory.htm</a>

regards

shiba dutta

Read only

Former Member
0 Likes
1,828

Hi,

SAP memory is used for communication between External sessions which we create thru create session or from one Tcode to Naother Tcode whereas Abap memory is used for communication between internal session where we call one program from one program thru Submit stmt.

SAP memory is used by SET PARAMETER ID AND GET PARAMETER ID

ABAP Memory is used for IMPORT MEMORY AND EXPORT MEMORY>

Regards

Manas

Read only

former_member404244
Active Contributor
0 Likes
1,828

hI,

Within a main session, when ever you start an application program, it opens up an internal sessions with in the main session. The internal session has a memory area that contains the ABAP program and its associated data. So when ever you want to pass data between two internal sessions, then you can use ABAP Memory (i.e import, export).

When comes to SAP memory (also known as global memory), if the data has to be passed b/w two main sessions, we can use SAP Memory(SPA/GPA Parameters). SAP Memory can also be used to pass data b/w internal sessions.

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

ABAP/4 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.

SAP memory

The SAP memory, otherwise known as the global memory, is available to a user during the entire duration of a terminal session. Its contents are retained across transaction boundaries as well as external and internal sessions. The SET PARAMETER and GET PARAMETER statements allow you to write to, or read from, the SAP memory.

ABAP/4 memory

The contents of the ABAP/4 memory are retained only during the lifetime of an external session (see also Organization of Modularization Units). You can retain or pass data across internal sessions. The EXPORT TO MEMORY and IMPORT FROM MEMORY statements allow you to write data to, or read data from, the ABAP memory.

PLZ MARK ALL HELPFUL ANSWERS

Regards,

nagaraj

Read only

Former Member
0 Likes
1,828

Hi

SAP Memory : Global, user-related memory that extends beyond transaction limits.Access to the SAP memory is via SPA/GPA parameters.

ABAP Memory: Memory area within each main session, which can be accessed by programs using the EXPORT and IMPORT statements and which remains available using a series of program calls (call sequence).

Regads

Suresh

Read only

Former Member
0 Likes
1,829

Hi Bharat

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

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.

PLZ REWARD POINTS IF HELPFUL

Read only

Former Member
0 Likes
1,828
Read only

former_member404244
Active Contributor
0 Likes
1,828

Hi bharat,

u didn't mark me.Are u not satisfied with my answer.

Reagrds,

nagaraj