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 STATEMENT fro INTERNAL TABLE VALUES

Former Member
0 Likes
453

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.

1 ACCEPTED SOLUTION
Read only

JozsefSzikszai
Active Contributor
0 Likes
429

hi Sumi,

I think you have to leave the brackets:

export T_IDOC_MSG to memory id 'T_IDOC_MSG'.

ec

2 REPLIES 2
Read only

JozsefSzikszai
Active Contributor
0 Likes
430

hi Sumi,

I think you have to leave the brackets:

export T_IDOC_MSG to memory id 'T_IDOC_MSG'.

ec

Read only

former_member404244
Active Contributor
0 Likes
428