Skip to Content
0
Former Member
Jun 04, 2009 at 02:24 AM

Import from memory from BADI

195 Views

Hi all,

I have to export a value from a BADI to a Z program.

In the Z program, it is found that the system code returns 4 and the value is not passed.

In BADI:

Data ans type c.

EXPORT ans = ans TO MEMORY ID 'ANS'.

In Z program:

Data ans type c.

IMPORT ans = ans FROM MEMORY ID 'ANS'.

Any advice? Thanks!