<?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: Submit to Spool not working in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-to-spool-not-working/m-p/8911180#M1690645</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanx for the reply but my issue is not how to output it to a spool...It's how to output it to a spool that belongs to a secondary background job. For example, my program A generates the bdc records to get them ready for processing. It then uses the SUBMIT rsbdcsub call to launch a background process to process the created bdc records. My program A is complete once the background job is launched, so I have no log data to loop through until the background job is finished.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The batch input log is generated upon completion of the background job and can be viewed in sm35...my question is how can I attach this log as a spool so it is visible to the end user in SM37? Remembering that the program that generates the actual log is not controlled by me...just launched by my program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does that make sense?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Aug 2012 19:30:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-08-03T19:30:29Z</dc:date>
    <item>
      <title>Submit to Spool not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-to-spool-not-working/m-p/8911178#M1690643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a bdc that I'm automatically processing using a "Submit rsbdcsub" call and I want to get the bdc input log redirected to the spool. I'm using the below statement but it doesn't appear to be working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The bdc processes successfully, and I'm able to view the bdc input log in SM35, but no spool is generated. If I look in SM37 for the job completion, it completes successfully, but there is no spool. How can I get the log output to redirect to the spool so it is visible in SM37? Any help is greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;SPAN class="L0S52"&gt;CALL &lt;SPAN class="L0S52"&gt;FUNCTION &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'GET_PRINT_PARAMETERS'&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;EXPORTING&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NO_DIALOG&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'X'&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;IMPORTING&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OUT_PARAMETERS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;LS_PARAM&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;EXCEPTIONS&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ARCHIVE_INFO_NOT_FOUND &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;1&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; INVALID_PRINT_PARAMS&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;2&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; INVALID_ARCHIVE_PARAMS &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;3&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;OTHERS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;4.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; LS_PARAM&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;PRIMM &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;SPACE.&lt;BR /&gt; &lt;BR /&gt; &lt;SPAN class="L0S31"&gt;* Submit the created BDC batch for background processing.&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN class="L0S52"&gt;SUBMIT &lt;/SPAN&gt;rsbdcsub &lt;SPAN class="L0S52"&gt;TO &lt;/SPAN&gt;SAP&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;SPOOL SPOOL &lt;SPAN class="L0S52"&gt;PARAMETERS &lt;/SPAN&gt;ls_param&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;with &lt;/SPAN&gt;mappe &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'ZABAA_OEB'&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="L0S31"&gt;" Batch Name&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;with &lt;/SPAN&gt;fehler &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;' '&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="L0S31"&gt;" No Batch Sessions that are errored&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;with &lt;/SPAN&gt;von &lt;SPAN class="L0S55"&gt;=&amp;nbsp; &lt;/SPAN&gt;sy&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;datum&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;with &lt;/SPAN&gt;bis &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;sy&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;datum&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;with &lt;/SPAN&gt;z_verab &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'X'&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="L0S31"&gt;" To Process&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN class="L0S31"&gt;*&amp;nbsp; EXPORTING LIST TO MEMORY&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;AND &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;RETURN&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; WITHOUT SPOOL &lt;SPAN class="L0S52"&gt;DYNPRO.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Aug 2012 13:35:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-to-spool-not-working/m-p/8911178#M1690643</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-08-03T13:35:56Z</dc:date>
    </item>
    <item>
      <title>Re: Submit to Spool not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-to-spool-not-working/m-p/8911179#M1690644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;this link may be helpful,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;removed by moderator&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000;"&gt;Moderator message: please refrain from posting only link(s) without additional information about why they are relevant to the problem.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Thomas Zloch&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Aug 2012 13:43:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-to-spool-not-working/m-p/8911179#M1690644</guid>
      <dc:creator>gouravkumar64</dc:creator>
      <dc:date>2012-08-03T13:43:46Z</dc:date>
    </item>
    <item>
      <title>Re: Submit to Spool not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-to-spool-not-working/m-p/8911180#M1690645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanx for the reply but my issue is not how to output it to a spool...It's how to output it to a spool that belongs to a secondary background job. For example, my program A generates the bdc records to get them ready for processing. It then uses the SUBMIT rsbdcsub call to launch a background process to process the created bdc records. My program A is complete once the background job is launched, so I have no log data to loop through until the background job is finished.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The batch input log is generated upon completion of the background job and can be viewed in sm35...my question is how can I attach this log as a spool so it is visible to the end user in SM37? Remembering that the program that generates the actual log is not controlled by me...just launched by my program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does that make sense?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Aug 2012 19:30:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-to-spool-not-working/m-p/8911180#M1690645</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-08-03T19:30:29Z</dc:date>
    </item>
  </channel>
</rss>

