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

Diffrence between abap memory and sap memory

Former Member
0 Likes
650

hai,

Diffrence between abap memory and sap memory

Thanks& regards

suri.G

5 REPLIES 5
Read only

Former Member
0 Likes
620

Hi

ABAP memory will hold the values in run time for one session of the program execution.

SAP memory will hold the values across sessions..

Thanks

Naren

Read only

0 Likes
620

Hi,

I have few points abt this..

Difference Between SAP and ABAP Memory

Within a main session, whenever 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 whenever 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

ABAP/4 Query ABAP/4 Query is a powerful tool to generate simple reports without any coding. ABAP/4 Query can generate the 3 simple reports: Basic List: It is the simple reports. Statistics: Reports with statistical functions like Average, Percentages. Ranked Lists: For analytical reports. - For creating a ABAP/4 Query, we need to create user group and a functional group. Functional group can be created using with or without logical database table. Then assign user group to functional group. Finally, create a query on the functional group generated.

• SQ01 ABAP/4 Query

• SQ02 Functional Area

• SQ03 User group

reward if useful..

Thanks

Sony

Read only

Former Member
0 Likes
620

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.

Check the below link:

http://www.sap-img.com/abap/difference-between-sap-and-abap-memory.htm

Regards,

Prakash.

Read only

Former Member
0 Likes
620

Hi,

<b>ABAP Memory:</b> ABAP memory is available to all internal sessions. ABAP programs can use the EXPORT and IMPORT statements to access it. 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.

<b>SAP memory:</b> This is a memory area to which all 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). SAP memory is the only connection between the different sessions within a SAPgui.

To see whole <b>memory structure of the ABAP programs</b>, Please check this link:

http://help.sap.com//saphelp_470/helpdata/EN/fc/eb2d40358411d1829f0000e829fbfe/frameset.htm

This will definitely help you understand the concept of memory structure.

Regards,

Pragya

Read only

Former Member
0 Likes
620

Hi

Kindly check the following threads:

Kindly reward points for all helpful answers!

best regards,

Thangesh