Application Development 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: 

Using submit to put to internal table

Former Member
0 Kudos

Dear experts,

I am willing to run transaction MB51 within my se38 program using Submit.Its corresponding program name is

RM07DOCS.

Further i want to declare an internal table ,structure of which should be same as the output.I want to capture the output to this internal table.How can i achieve this ?

2 REPLIES 2

Former Member
0 Kudos

Hi,

You can use SUBMIT with addition EXPORTING LIST TO MEMORY. This is place the list in memory and you can download the same in by using LIST_FROM_MEMORY to import the list in the program.

Former Member
0 Kudos

Hi Aditya,

In RM07DOCS program, you have to find exit/enhancement point to EXPORT the output to memory.

And in your zprogram, after submit RM07DOCS program you add code to IMPORT from memory to your itab.

Hope it's give you an idea.

Thanks,

Victor.