2008 Oct 30 10:49 AM
can any body tell me the technics available for transfering data from one session to another session in sap memory?
thanks®ards
meena.
2008 Oct 30 10:54 AM
Check this
http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3bd1358411d1829f0000e829fbfe/frameset.htm
Search SCN you can find lot of stuff on EXPORTING IMPORTING to MEMORY ID
EXPORT obj1 ... objn TO MEMORY.
Exports the objects obj1 ... objn (fields, structures or tables) as a data
cluster to ABAP/4 memory .
EXPORT obj1 ... objn TO DATABASE dbtab(ar) ID key. Exports the objects obj1 ... objn (fields, structures or tables) as a data cluster to the database table dbtab.
IMPORT f itab FROM MEMORY.
Imports data objects (fields or tables) from the ABAP/4 memory . Reads in all data without an ID that was exported to memory with "EXPORT ... TO MEMORY."
IMPORT f itab FROM DATABASE dbtab(ar) ID key. imports data objects (fields, field strings or internal tables) with the ID key from the area ar of the database dbtab .
EXPORT obj1 ... objn TO MEMORY.
If you call a transaction, report or dialog module (with CALL TRANSACTION , SUBMIT or CALL DIALOG ), the contents of ABAP/4 memory are retained, even across several levels. The called transaction can then retrieve the data from there using IMPORT ... FROM MEMORY .
Each new EXPORT ... TO MEMORY statement overwrites any old data, so no data is appended.
EXPORT obj1 ... objn TO DATABASE dbtab(ar) ID key
The database table dbtab must have a standardized structure .
The database table dbtab is divided into different logically related areas ( ar , 2-character name).
You can export collections of data objects (known as data clusters ) under a freely definable key (field key ) to an area of this database.
IMPORT allows you to import individual data objects from this cluster.
can any body tell me the technics available for transfering data from one session to another session in sap memory?
thanks®ards
meena.
2008 Oct 30 10:52 AM
2008 Oct 30 10:53 AM
Try using F1 help for MEMORY ID, you will get to know the various 'technics'.
Regards,
Vikas.
2008 Oct 30 10:54 AM
Check this
http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3bd1358411d1829f0000e829fbfe/frameset.htm
Search SCN you can find lot of stuff on EXPORTING IMPORTING to MEMORY ID
EXPORT obj1 ... objn TO MEMORY.
Exports the objects obj1 ... objn (fields, structures or tables) as a data
cluster to ABAP/4 memory .
EXPORT obj1 ... objn TO DATABASE dbtab(ar) ID key. Exports the objects obj1 ... objn (fields, structures or tables) as a data cluster to the database table dbtab.
IMPORT f itab FROM MEMORY.
Imports data objects (fields or tables) from the ABAP/4 memory . Reads in all data without an ID that was exported to memory with "EXPORT ... TO MEMORY."
IMPORT f itab FROM DATABASE dbtab(ar) ID key. imports data objects (fields, field strings or internal tables) with the ID key from the area ar of the database dbtab .
EXPORT obj1 ... objn TO MEMORY.
If you call a transaction, report or dialog module (with CALL TRANSACTION , SUBMIT or CALL DIALOG ), the contents of ABAP/4 memory are retained, even across several levels. The called transaction can then retrieve the data from there using IMPORT ... FROM MEMORY .
Each new EXPORT ... TO MEMORY statement overwrites any old data, so no data is appended.
EXPORT obj1 ... objn TO DATABASE dbtab(ar) ID key
The database table dbtab must have a standardized structure .
The database table dbtab is divided into different logically related areas ( ar , 2-character name).
You can export collections of data objects (known as data clusters ) under a freely definable key (field key ) to an area of this database.
IMPORT allows you to import individual data objects from this cluster.
2008 Oct 30 10:55 AM
Hi,
Please refer the following link where u may find answer to your querry:
https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=transferringdatafromonesessiontoanothersessioninsapmemory+&adv=false&sortby=cm_rnd_rankvalue.
Regards,
Rahul
2008 Oct 30 11:02 AM
Hi
You can also think of using field symbols
for example
field-symbols : <f1> type any.
assign '(SOURCEPROGRAMNAME)VARIABLE' TO <f1>.
if <f1> is assigned.
endif.
You need to write the above code in target program and in the SOURCE PROGRAMNAME name write the source program name and in the VARIABLE place, you need to write Source program variable name
For example
assign '(SAPMV45A)XVBAP' TO <f1>.
Regards
Madhan
2008 Oct 30 11:47 AM
Hi meena,
Follow the below given links this will clarify your doubt:
http://help.sap.com/saphelp_nw04s/helpdata/en/9f/db9df735c111d1829f0000e829fbfe/frameset.htm
i hope this will help you.
Regards
Saurabh
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |