<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Wrapper program when run in background not generating SPOOL in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/wrapper-program-when-run-in-background-not-generating-spool/m-p/7092965#M1507409</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Naveen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Submit report to job&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;submit ztest via job l_jobname &lt;/P&gt;&lt;P&gt;                               number l_jobcount&lt;/P&gt;&lt;P&gt;                              to sap-spool without spool dynpro&lt;/P&gt;&lt;P&gt;                             spool parameters ls_params&lt;/P&gt;&lt;P&gt;                          and return.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Jul 2010 12:06:02 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-07-29T12:06:02Z</dc:date>
    <item>
      <title>Wrapper program when run in background not generating SPOOL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/wrapper-program-when-run-in-background-not-generating-spool/m-p/7092964#M1507408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have created Program A which calls internally Program B or C based on the condition. When I run the program B or C independently in Background it generates the spool on completion. But When I run the program A in Background, Spool is not getting generated. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My requirement is that Spool should be generated when Program A is executed in Background.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is the code of program A:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;PROGRAM A.

    IF p_cons = 'X'.
*--&amp;gt;Detailed Details of Interim or Final Settlement
      SUBMIT B               WITH  p_vtnr   EQ p_vtnr
                             WITH  p_setqty EQ p_setqty
                             WITH  p_test   EQ p_test
                             WITH  s_abrdat IN s_abrdat
                             WITH  r2       EQ r2
                             WITH  r1       EQ r1
                             AND RETURN.
    ELSE.
*--&amp;gt;Summary Details of Interim or Final Settlement
      SUBMIT C                   WITH  p_vtnr   EQ p_vtnr
                                 WITH  p_setqty EQ p_setqty
                                 WITH  p_test   EQ p_test
                                 WITH  s_abrdat IN s_abrdat
                                 WITH  r2       EQ r2
                                 WITH  r1       EQ r1
                                 AND RETURN.
    ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please guide me on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naveen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jul 2010 12:00:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/wrapper-program-when-run-in-background-not-generating-spool/m-p/7092964#M1507408</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-29T12:00:07Z</dc:date>
    </item>
    <item>
      <title>Re: Wrapper program when run in background not generating SPOOL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/wrapper-program-when-run-in-background-not-generating-spool/m-p/7092965#M1507409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Naveen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Submit report to job&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;submit ztest via job l_jobname &lt;/P&gt;&lt;P&gt;                               number l_jobcount&lt;/P&gt;&lt;P&gt;                              to sap-spool without spool dynpro&lt;/P&gt;&lt;P&gt;                             spool parameters ls_params&lt;/P&gt;&lt;P&gt;                          and return.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jul 2010 12:06:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/wrapper-program-when-run-in-background-not-generating-spool/m-p/7092965#M1507409</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-29T12:06:02Z</dc:date>
    </item>
  </channel>
</rss>

