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 id......in BADI implementation

Former Member
0 Likes
2,487

Hello all,

The statement 'export to memory id ...' is not allowed in BADI method. pleases suggest alternative for this statement.

Thanks..

Apps.

1 ACCEPTED SOLUTION
Read only

former_member585060
Active Contributor
0 Likes
1,453

Hi,

Try this

General EXPORT syntax is

EXPORT XXXXX TO MEMORY ID 'AAA'.

so in BADI use it as below

EXPORT XXXXX = XXXXX TO MEMORY ID 'AAA'. " where XXXXX can be any name like ZEXP

Regards

Bala Krishna

Hello all,

The statement 'export to memory id ...' is not allowed in BADI method. pleases suggest alternative for this statement.

Thanks..

Apps.

4 REPLIES 4
Read only

former_member585060
Active Contributor
0 Likes
1,454

Hi,

Try this

General EXPORT syntax is

EXPORT XXXXX TO MEMORY ID 'AAA'.

so in BADI use it as below

EXPORT XXXXX = XXXXX TO MEMORY ID 'AAA'. " where XXXXX can be any name like ZEXP

Regards

Bala Krishna

Read only

Former Member
0 Likes
1,453

it works in badis i've used it many times.

Well do as bala mentioned above that is the syntax i always use.

кu03B1ятu03B9к

Edited by: kartik tarla on Feb 15, 2009 8:13 PM

Read only

1,453

pls. let us know, Why it shuld like so in BADI concept( is bcoz of OOPS?)

( EXPORT XXXXX = XXXXX TO MEMORY ID 'AAA'. " where XXXXX can be any name like ZEXP)

Why it different from normal EXPORT statement?

thanq

Read only

former_member156446
Active Contributor
0 Likes
1,453

it ill very well work in BADI... if its just a single value then use set parameters <parameter ID> if its a table use export memory , its a session specific...if the badi session is completed the values cannot be retreived using IMPORT from memory.

If the session should not stop then you need to call the program which accept the memory in the BADI using SUBMIT statement.