‎2007 Dec 12 7:43 AM
Hi,
From one program I am calling my program using SUBMIT statement.
In the subprogram, I will be doing som process.If I get any error message I am storing in an internal table.
This internal table has to come to the main program.
So that I will create an Idoc in main program for all the error messages.
For this I am using EXPORT IMPORT statements.
wa_idoc_msg-type = text-003.
wa_idoc_msg-id = 'ZLES'.
wa_idoc_msg-number = '477'.
append wa_idoc_msg to t_idoc_msg.
clear wa_idoc_msg.
exit.
export (T_IDOC_MSG) to memory id 'T_IDOC_MSG'.
Now In this export line, I am getting error as ZLES not able to recognize.
Help required for this issue.
‎2007 Dec 12 7:48 AM
hi Sumi,
I think you have to leave the brackets:
export T_IDOC_MSG to memory id 'T_IDOC_MSG'.
ec
‎2007 Dec 12 7:48 AM
hi Sumi,
I think you have to leave the brackets:
export T_IDOC_MSG to memory id 'T_IDOC_MSG'.
ec
‎2007 Dec 12 7:49 AM
Hi,
Check the below link
http://www.sap-img.com/abap/difference-between-sap-and-abap-memory.htm
Regards,
nagaraj