‎2009 Jun 10 8:40 AM
Hi All,
I have executed a program in background using program---> execute in background options. This main program will call another program using submit 'program name' and return. The second program is having alv ouput. and the main program does not have any output.
after executed in back ground, it is giving status as finished but no spool is generated. Please let me know the reason why the spool is not generated and how to resolve this.
When i executed the main program in foreground, i'm getting the alv output as expected.
Thanks in advance,
Srilakshmi.
‎2009 Jun 10 8:51 AM
Have you used AND RETURN with SUBMIT
For. e.g.
SUBMIT (W_REPID) TO SAP-SPOOL WITHOUT SPOOL DYNPRO
SPOOL PARAMETERS MSTR_PRINT_PARMS
USING SELECTION-SCREEN 1000
WITH S_PERIOD IN S_PERIOD
WITH S_DEALID IN S_DEALID
AND RETURN.
‎2009 Jun 10 9:01 AM
Hi Tripat,
Thanks for your reply.
When executed in background, Spool is getting created when i give submit 'program name' TO SAP-SPOOL WITHOUT SPOOL DYNPRO and return. But now when i executed in foreground ,it is not giving the output. it remains in the same selection screen.
‎2009 Jun 10 10:19 AM
When executed in Background you cannot see result directly. Coz the spool was generated in background.
Go to SM37 and see spool output there....
Ask if u need more clarification, but check out SM37 first.
‎2009 Sep 03 8:19 AM
‎2009 Sep 03 9:51 AM
Hi Srilakshmi
What was the problem, did you solve it? (how?)
Thx