Skip to Content
0
Former Member
Dec 02, 2008 at 07:19 AM

Export- Import to Memory Query

35 Views

Hello Everyone,

I have 2 FMs where one exports variable to memory and other FM imports the same .

FM A:

DATA: id TYPE c LENGTH 10 VALUE 'SWITCH_WO',

id1 TYPE c LENGTH 10 VALUE 'SWITCH_OP'.

EXPORT g_workorder from g_workorder TO MEMORY ID id.

EXPORT g_operation from g_operation TO MEMORY ID id1.

FM B:

DATA: id TYPE c LENGTH 10 VALUE 'SWITCH_WO',

id1 TYPE c LENGTH 10 VALUE 'SWITCH_OP'.

IMPORT g_workorder FROM MEMORY ID id.

IMPORT g_operation FROM MEMORY ID id1.

When it export Sy-subrc is 0 but when i import it is 4 , where can i check memory variable in new debugger.

Please let me know ,

Regards,

Raj