Application Development and Automation 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: 
Read only

EXPORT to Memory

Former Member
0 Likes
670

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
Read only

former_member156446
Active Contributor
0 Likes
613

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.

Read only

aris_hidalgo
Contributor
0 Likes
613

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.

Read only

PedroGuarita
Active Contributor
0 Likes
613

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.

Read only

kesavadas_thekkillath
Active Contributor
0 Likes
613

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

also check what micky suggested in this thread