2007 May 18 6:14 AM
hi,
i my report program have one structher i want import this structher value in another preogram how do this import and export please give me the sample code.
2007 May 18 6:17 AM
hi
in prog. A
export itab to memory id 'MEMDES'.
in prog B
import itab from memory id 'MEMDES'.
please make sure itab declared in programs A and B is of the same structure
if helpful, reward
Sathish. R
2007 May 18 6:17 AM
Hi
See this and use EXPORT and IMPORT to MEMEORY.
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 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.
http://www.sap-img.com/abap/difference-between-sap-and-abap-memory.htm
ABAP Memmory & SAP Memmory
http://www.sap-img.com/abap/difference-between-sap-and-abap-memory.htm
http://www.sap-img.com/abap/type-and-uses-of-lock-objects-in-sap.htm
Reward points if useful
Regards
Anji
2007 May 18 6:24 AM
Hi JAYA,
steps to do this by u own
1. u go to se38.
2. then type import
3. press F1 with cursor on that keyword.
4. U get required information.
5. Repeat the same for export.
reward points if it helps...........
Regards
SHAFI / VIKRAM
SENIOR CONSULTANT.