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: 

SAP-Dictionary

Former Member
0 Kudos

wt is difference betwen SAPMEMORY and ABAP Memory?

If we are Exporting variable in function modules means from which memory to which memory variables are transforing?

2 REPLIES 2

ferry_lianto
Active Contributor
0 Kudos

Hi Srinivasa,

<b>SAP Memory</b>

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).

<b>ABAP Memory</b>

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.

For more information, please check this links.

http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3bc4358411d1829f0000e829fbfe/content.htm

http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9df735c111d1829f0000e829fbfe/content.htm

Hope this will help.

Regards,

Ferry Lianto

Please reward points if helpful.

Former Member
0 Kudos

When you log on to SAP, a user session is started.And one user can manage up to six Main Sessions.

Each call of a ABAP program in the Main Session is called Internal Session.

<b>SAP memory</b> is available between two main sessions.

Its contents remains during the entire user session.

An <b>ABAP Memory</b> is available between Internal Sessions.If you create a call sequence - Call an ABAP program in a ABAP program(<i>submit XXX and return</i>) - All programs of a call sequence use the same memory, ABAP Memory.When call sequence ends ABAP memory erases.