<?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: Problem with SUBMIT stmt. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-submit-stmt/m-p/8441531#M1648583</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ullas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;its a spool overflow, contact your basis team.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;they will delete the old spools and things will be fine i think,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Dec 2011 07:02:20 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-12-30T07:02:20Z</dc:date>
    <item>
      <title>Problem with SUBMIT stmt.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-submit-stmt/m-p/8441526#M1648578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I've two executable programs; prog A and prog B. Prog A uses a SUBMIT stmt to call the prog B.&lt;/P&gt;&lt;P&gt;On debugging, I found that the cursor goes to prog B but not going into the START OF SELECTION event; before that the cursor moves all of a sudden to JOB_SUBMIT stmt and triggers a dump.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code comes like.. I mapped the internal table t_select properly.. (I belive). Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;*--&amp;gt;Open job.
    CALL FUNCTION 'JOB_OPEN'
      EXPORTING
        jobname          = l_jobname
      IMPORTING
        jobcount         = l_jobcount
      EXCEPTIONS
        cant_create_job  = 1
        invalid_job_data = 2
        jobname_missing  = 3.
    IF sy-subrc &amp;lt;&amp;gt; 0.
      MESSAGE i047(z2) WITH text-i01.
      LEAVE LIST-PROCESSING.
    ENDIF.

    SUBMIT zotfv01a
         TO SAP-SPOOL
         WITHOUT SPOOL DYNPRO
         VIA JOB l_jobname NUMBER l_jobcount
         WITH  SELECTION-TABLE t_select
         AND RETURN.
    IF sy-subrc = 0.
      MESSAGE s047(z2) WITH text-s01.
    ENDIF.

*--&amp;gt;Close Job.
    CALL FUNCTION 'JOB_CLOSE'
      EXPORTING
        jobcount             = l_jobcount
        jobname              = l_jobname
        strtimmed            = c_x
      EXCEPTIONS
        cant_start_immediate = 1
        invalid_startdate    = 2
        jobname_missing      = 3
        job_close_failed     = 4
        job_nosteps          = 5
        job_notex            = 6
        lock_failed          = 7
        invalid_target       = 8
        OTHERS               = 9.
    IF sy-subrc &amp;lt;&amp;gt; 0.
      MESSAGE i047(z2) WITH text-i02.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;lt;Added code tags&amp;gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I execute the prog B seperatly on the same variant; it works fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;Moderator Message: Please use "code" tags to format your code snippet&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: UllasU on Dec 30, 2011 6:39 AM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Suhas Saha on Dec 30, 2011 11:12 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Dec 2011 05:39:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-submit-stmt/m-p/8441526#M1648578</guid>
      <dc:creator>ullas_u2</dc:creator>
      <dc:date>2011-12-30T05:39:06Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with SUBMIT stmt.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-submit-stmt/m-p/8441527#M1648579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;I found that the cursor goes to prog B but not going into the START OF SELECTION event; before that the cursor moves all of a sudden to JOB_SUBMIT stmt.&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You've submitted the program as a Job, so the program B will start as a background process &amp;amp; you cannot debug it in the same session! Did you check in SM37 the status of the job?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt; ...  triggers a dump &lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Post the details of your dump for better analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Dec 2011 05:48:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-submit-stmt/m-p/8441527#M1648579</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2011-12-30T05:48:58Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with SUBMIT stmt.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-submit-stmt/m-p/8441528#M1648580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friend,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think this is because the sequence of executions,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The sequence is as follows,&lt;/P&gt;&lt;P&gt;Job_Open&lt;/P&gt;&lt;P&gt;Job_Submit&lt;/P&gt;&lt;P&gt;Job_close&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To be more clear about this please see the below link,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;lt;link-farm removed&amp;gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your problem still exists please revert back to me i will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sri Hari&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Suhas Saha on Dec 30, 2011 11:33 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Dec 2011 05:53:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-submit-stmt/m-p/8441528#M1648580</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-30T05:53:33Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with SUBMIT stmt.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-submit-stmt/m-p/8441529#M1648581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes the background job is getting triggered but ends with the status CANCELLED because of a dump which comes like..&lt;/P&gt;&lt;P&gt;Short text                                                                    &lt;/P&gt;&lt;P&gt;    	Internal error in the spool system.                                                                                &lt;/P&gt;&lt;P&gt;What happened?                                                                &lt;/P&gt;&lt;P&gt;    	Error in the SAP kernel.                                                                                &lt;/P&gt;&lt;P&gt;The current ABAP "SAPLKKBL" program had to be terminated because the      &lt;/P&gt;&lt;P&gt;    	ABAP processor detected an internal system error.                                                                                &lt;/P&gt;&lt;P&gt;What can you do?                                                              &lt;/P&gt;&lt;P&gt;    	Note which actions and input led to the error.                                                                                &lt;/P&gt;&lt;P&gt;For further help in handling the problem, contact your SAP administrator  &lt;/P&gt;&lt;P&gt;    	.                                                                                &lt;/P&gt;&lt;P&gt;You can use the ABAP dump analysis transaction ST22 to view and manage    &lt;/P&gt;&lt;P&gt;    	termination messages, in particular for long term reference.                                                                                &lt;/P&gt;&lt;P&gt;Error analysis                                                                &lt;/P&gt;&lt;P&gt;    	When calling the SAP spool system, an (unspecified) internal              &lt;/P&gt;&lt;P&gt;    	error occurred.                                                                                &lt;/P&gt;&lt;P&gt;More detailed description of error: "spool overflow "                                                                                &lt;/P&gt;&lt;P&gt;Further information:                                                      &lt;/P&gt;&lt;P&gt;    	See below under "Spool error information".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NB:-&lt;/P&gt;&lt;P&gt;Since the dump states some SPOOL error; I made the SUBMIT stmt like..&lt;/P&gt;&lt;P&gt;    SUBMIT zotfv01a&lt;/P&gt;&lt;P&gt;         VIA JOB l_jobname NUMBER l_jobcount&lt;/P&gt;&lt;P&gt;         WITH  SELECTION-TABLE t_select&lt;/P&gt;&lt;P&gt;         AND RETURN. but still the program ends up in dump.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: UllasU on Dec 30, 2011 7:00 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Dec 2011 05:56:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-submit-stmt/m-p/8441529#M1648581</guid>
      <dc:creator>ullas_u2</dc:creator>
      <dc:date>2011-12-30T05:56:50Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with SUBMIT stmt.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-submit-stmt/m-p/8441530#M1648582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ullas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please note that none of us have access to your system to know what the dump is! Neither do we have any crystal ball to look into as well &lt;SPAN __jive_emoticon_name="sad"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So try to provide as much info as possible. In this case, you could have mentioned the details of the dump when you use this code:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
SUBMIT zotfv01a
VIA JOB l_jobname NUMBER l_jobcount
WITH SELECTION-TABLE t_select
AND RETURN. &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you get the idea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Dec 2011 06:55:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-submit-stmt/m-p/8441530#M1648582</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2011-12-30T06:55:03Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with SUBMIT stmt.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-submit-stmt/m-p/8441531#M1648583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ullas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;its a spool overflow, contact your basis team.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;they will delete the old spools and things will be fine i think,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Dec 2011 07:02:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-submit-stmt/m-p/8441531#M1648583</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-30T07:02:20Z</dc:date>
    </item>
  </channel>
</rss>

