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: 

EXPORT to Memory

Former Member
0 Kudos

I want to get rid of EXPORT and IMPORT statement. What are the alternative ways for Import and export.

EXPORT TO memory ID &

IMPORT from Memory ID

BRegards

Pravin

4 REPLIES 4

former_member156446
Active Contributor
0 Kudos

U can update a Ztable (inspite of export) and use a select from ztablbe ( inspite of import) and delete the entries from ztable once the import / select is successful.

But why do u want to NOT to use a excellent(shared memory/ session memory) feature provided by SAP.

aris_hidalgo
Contributor
0 Kudos

Hi,

As J@Y said, you can use a ztable to save the value from program 1 and retrieve it from program 2 and delete it. I think using import/export to memory id is safe as long as you use a unique ID value.

PedroGuarita
Active Contributor
0 Kudos

You can use INDX cluster tables for this purpose, quite usefull for passing values.

IMPORT p1 = w_btrtl FROM DATABASE indx(HR) ID W_CHAVE.

export p1 = w_btrtl to DATABASE indx(HR) ID W_CHAVE.

DELETE from database indx(HR) ID W_CHAVE.

kesavadas_thekkillath
Active Contributor
0 Kudos

if possible use function pool ... then get and set data

also check what micky suggested in this thread