‎2010 Feb 25 12:46 PM
Hello everybody,
i have a report A, that calls a report B using "SUBMIT B EXPORTING LIST TO MEMORY AND RETURN". Then in report A the result of report B is read from ABAP Memory using FM "LIST_FROM_MEMORY". Works.
But when i call Report A in background, the result of report B is written to SPOOL instead of ABAP memory. Seems there is no ABAP memory for the background execution ?
What can i do, do i have to use "SUBMIT B TO SAP-SPOOL AND RETURN" and then read the list from SPOOL ? Will this work in fore- and background execution ? Or is there another (more simple) way ?
Thank you,
Andreas
‎2010 Feb 28 12:49 PM
Hi,
Use IMPORT/EXPORT or SET/GET parameters to read the variables instead of FM. For background execution, you need to use FMs, JOB_OPEN and JOB_CLOSE etc. and SUBMIT and RETURN.
‎2010 Feb 28 12:49 PM
Hi,
Use IMPORT/EXPORT or SET/GET parameters to read the variables instead of FM. For background execution, you need to use FMs, JOB_OPEN and JOB_CLOSE etc. and SUBMIT and RETURN.