Difference Between SAP and ABAP Memory
来源:互联网 发布:淘宝截图怎么发给买家 编辑:程序博客网 时间:2024/09/21 09:20
Difference Between SAP and ABAP Memory
Can any one tell me what is the difference between ABAP Memory and SAP Memory?
Answers 1:-
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.
Neelima
Answers 2:-
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
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.
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.
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.
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.
What is the code to send internal table to abap memory?
This code is from which program you want to export to the ABAP memory:
export ist_resb to memory id 'ZPPC0122_FD'.
where ist_resb is the internal table name &
ZPPC0122_FD is the include name of my program ZPPC0122.
ZPPC0122_FD is the include name of my program ZPPC0122.
This code is from which program you want to import from the ABAP memory
import *ist_resb *= ist_resb from memory id 'ZPPC0122_FD'.
where *ist_resb This internal table is the importing program internal table.*
ist_resb This internal table is the exporting program internal table.
ist_resb This internal table is the exporting program internal table.
But remember in both the program you have defined the same internal table with same structure
Nowadays Export & Import statement is OBSOLETE it gives SLIN CHECK ERROR in SAP 6.0 Version.
1. SAP Memory is a global memory area which all sessions within a
SAPgui have access to. This allows for passing data between
sessions. The SET PARAMETER ID and GET PARAMETER ID statements are
used to manipulate the SAP Memory.
SET PARAMETER ID 'MAT' field p_matnr.
GET PARAMETER ID 'MAT' field p_matnr.
2. ABAP Memory is a memory area which all programs in the call stack within the same internal session can access. The EXPORT and IMPORT
statements are used here.
export p_matnr = p_matnr to memory id 'ZTESTMAT'.
import p_matnr = p_matnr from memory id 'ZTESTMAT'.
SAPgui have access to. This allows for passing data between
sessions. The SET PARAMETER ID and GET PARAMETER ID statements are
used to manipulate the SAP Memory.
SET PARAMETER ID 'MAT' field p_matnr.
GET PARAMETER ID 'MAT' field p_matnr.
2. ABAP Memory is a memory area which all programs in the call stack within the same internal session can access. The EXPORT and IMPORT
statements are used here.
export p_matnr = p_matnr to memory id 'ZTESTMAT'.
import p_matnr = p_matnr from memory id 'ZTESTMAT'.
- Difference Between SAP and ABAP Memory
- Difference Between SAP and ABAP Memory
- SAP and ABAP Memory
- Difference between ABAP and HR ABAP
- SAP and ABAP Memory总结
- SAP and ABAP Memory总结
- SAP Memory & ABAP Memory
- SAP Memory & ABAP Memory
- Difference between Stack and Heap memory in Java
- Difference between Stack and Heap memory in Java
- What's the difference between CUDA shared and global memory?
- Java - Difference between Stack and Heap memory in Java
- The difference between (()) and ().
- difference between "<" and "<<"
- sap abap memory与sap memory
- C++ Memory Management : What is the difference between malloc/free and new/delete?
- The difference in memory management between LotusScript and Domino Java objects
- Difference Between typedef and #define
- 使用ActiveReport for .net 进行报表开发(四)—显示主从表
- 触发器的简单使用
- ASP.NET页面传值方式 (一)
- 使用ActiveReports for .net 进行报表开发(五)—交叉报表
- [日程管理]Power Notes 日程管理软件V3.25绿色版下载地址
- Difference Between SAP and ABAP Memory
- 使用ActiveReports for .net 进行报表开发(六)--导出报表
- 调用CALL TRANSACTION的三种方法
- [网络浏览]GreenBrowser下载地址
- 使用ActiveReports for .net 进行报表开发(七)--事件
- Visual Studio 2008 和 .NET 3.5 发布了
- 转 Oracle常用问题1000问 (觉得不错)
- 详细解析C语言中的sizeof(转载)
- 使用ActiveReports for .net 进行报表开发(八)--显示合计