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

Submit sentence

former_member204025
Participant
0 Likes
1,111

Hi guys!

I'm triying to use a Submit in my z program, in order to process a standard program, this program shows a report at the end of its execution, but i don't want to see the repórt, I just want it to get the internal table and process it in order to work in my Z program.

Is there any posibility to do this? I used the SUBMIT sentence, but it shows me the report, i'll appreciate your help.

Best regards,

Gabriela.

1 ACCEPTED SOLUTION
Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
1,001

Hello,

I used the SUBMIT sentence, but it shows me the report

You can't achieve this using SUBMIT statement!

A couple of questions:

1. What is the program you're SUBMIT'ting?

2. Which version of SAP are you using?

If > ECC6.0, you can check for implicit enhancement spots & EXPORT the internal table to some memory cluster. In the calling Z-program you can IMPORT the internal table.

Hope you get my point.

BR,

Suhas

7 REPLIES 7
Read only

Former Member
0 Likes
1,001

Hi Gabriela,

Try using the addition EXPORTING LIST TO MEMORY in your SUBMIT statement. This will not display the output list but export the output list to the ABAP memory. You can read this list from memory in your Z program using the function module LIST_FROM_MEMORY and process further.

Press F1 on SUBMIT statement for more information on how to use.

Regards,

Immanuel.

Edited by: Immanuel T A on Oct 26, 2010 5:50 AM

Read only

0 Likes
1,001

Hi Immanuel,

I tried with that but I see a list of ABAPLIST type, how can i get the normal format that allows to me to see the info on that table?

Thanks.

Gaby

Read only

0 Likes
1,001

Hi,

You can use FM LIST_TO_ASCI to convert data into readable format.

Thanks

Nitesh

Read only

0 Likes
1,001

Hi NItesh, and after using that FM, should I loop that table and get the values that I need right?

Read only

0 Likes
1,001

Hi,

Yes you need to loop the internal table and split the work area at '|' and collect the data into some internal table.

Thanks

Nitesh

Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
1,002

Hello,

I used the SUBMIT sentence, but it shows me the report

You can't achieve this using SUBMIT statement!

A couple of questions:

1. What is the program you're SUBMIT'ting?

2. Which version of SAP are you using?

If > ECC6.0, you can check for implicit enhancement spots & EXPORT the internal table to some memory cluster. In the calling Z-program you can IMPORT the internal table.

Hope you get my point.

BR,

Suhas

Read only

0 Likes
1,001

Hi Suhas!

Why can't I use the submit sentence?

Thanks!

Gaby