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

Memory ID

Former Member
0 Likes
520

Hi,

i need to export a work area into memory and again reuse it in a BADI.

i hav declared like this.

data ls_vbak type vbak.

.........

export ls_vbak to memory id 'ZTEST'.

In badi, if i declare it as

IMPORT ls_vbak FROM MEMORY ID 'ZTEST'.

its throwing an error..

can any one tel me how to use the import in BADI? (oops concept)

Thanks,

Niyaz

2 REPLIES 2
Read only

Former Member
0 Likes
495

In badi, declare it as

<b>data : ls_vbak type vbak.</b>

IMPORT ls_vbak FROM MEMORY ID 'ZTEST'.

or try as follows:

IMPORT (ls_vbak) FROM MEMORY ID 'ZTEST'.

Read only

Former Member
0 Likes
495

Hi,

i found the answer. it was

IMPORT ls_vbak TO ls_vbak FROM MEMORY ID 'ZTEST'.