Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to pass data from one session to another?

Former Member
0 Kudos

What does SAP memory use to pass data between sessions?

What is the syntax of "Export to ..."? Where is it used?

1 ACCEPTED SOLUTION

bpawanchand
Active Contributor
0 Kudos

HI

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

Regards

Pavan

2 REPLIES 2

bpawanchand
Active Contributor
0 Kudos

HI

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

Regards

Pavan

Former Member
0 Kudos

hi suman vijay,

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.

thanks

Sachin