2010 Oct 26 2:40 AM
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.
2010 Oct 26 4:13 AM
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
2010 Oct 26 3:11 AM
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
2010 Oct 26 1:12 PM
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
2010 Oct 26 2:49 PM
Hi,
You can use FM LIST_TO_ASCI to convert data into readable format.
Thanks
Nitesh
2010 Oct 26 2:55 PM
Hi NItesh, and after using that FM, should I loop that table and get the values that I need right?
2010 Oct 27 6:00 AM
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
2010 Oct 26 4:13 AM
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
2010 Oct 26 12:57 PM