You are on page 1of 1

Difference between SAP Memory and ABAP Memory by Diwakar SAP memory is a memory area to which all main

sessions within a SAPgui have acce ss. You can use SAP memory either to pass data from one program to another withi n a session, or to pass data from one session to another. Application programs t hat use SAP memory must do so using SPA/GPA parameters (also known as SET/GET pa rameters). These parameters can be set either for a particular user or for a par ticular 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 ses sion can access using the EXPORT and IMPORT statements. Data within this area re mains 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 b efore 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 mem ory. If control is then returned to the program which made the initial call, the same process operates in reverse.

You might also like