SAPScript Question:

When we should use ABAP Memory and SAP Memory

Tweet Share WhatsApp

Answer:

ABAP Memory- The contents of the ABAP/4 memory are retained
only during the lifetime of an external session. You can
retain or pass data across internal sessions. The EXPORT to
memory and IMPPORT from MEMORY statement allow you to write
data to or read data from the ABAP memory.
EX: EXPORT it_tab TO MEMORY ID 'ZADI1'.
IMPORT it_TAB FROM MEMORY ID 'ZADI1'.

SAP MEMORY - Otherwise known as global memory is available
to a user during the entire duartion of a terminal session.
It's contents are retained across transaction boundaries as
well as external and internal sessions. SET PARAMETER & GET
PARAMETER statements allows you to WRITE TO/ READ from the
SAP memory.

Download SAP Script PDF Read All 9 SAP Script Questions
Previous QuestionNext Question
How will you copy a Sapscript from one client to another client & from login language to org languageWhat are the advantages and disadvantages of ABAP/4 query tool