give example of sap memory and abap memory
Answer Posted / vijayanand poreddy
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.
| Is This Answer Correct ? | 19 Yes | 8 No |
Post New Answer View All Answers
what are the two methods of modifying sap standard tables ?
Hello All, Requesting to all user of this site. Please post your Questions in Proper sub Category of chosen category. Some users post the questions in common category whether sub category for that is available ..like some users still post the SAP Script & ALE Related questions in common ABAP Category. Due to this it becomes very difficult to find the topic wise Questions. Please cooperate with the site & to other users. Thanks & Regards Tamseel
What is the difference between scrolling a table horizontally and vertically?
What do you mean by transparent tables in sap abap? : abap data dictionary
What is search help exit? : sap abap data dictionary
How will u handle the situation – In a report using function module to generate a IDOC, How will u handle the error IDOC in the same report ?
What does the insert statement in extract datasets do?
How do I find the output type of a table or a program?
I am uploading 100 records out of which say 59th record has error so what will happen if I am using synchronous or asynchronous method of bdc? Can we update the database using local update mode how? : abap bdc
Why do we need enhancements?
Can we create a gui status in a program from the object browser?
Difference between select option and ranges ?
What is retro active accounting
What is IMG in SAP?
What are matchcodes?