<?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 SUBMIT COMMAND ERROR in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-command-error/m-p/7464912#M1554346</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using submit command with selection screen parameters of the called program and making a spool out of it and then converting spool output to pdf and sending it on through mail. While running the program in Development client it gives the full output but when I run it in Quality client it is not giving the output . I debugged it and found out that when submit command returns the output in development it gives the full output but in quality it is not giving the output . I have executed the called program separately with the same parameters it is running fine but not with submit command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Amber Bhatia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Dec 2010 06:28:34 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-12-16T06:28:34Z</dc:date>
    <item>
      <title>SUBMIT COMMAND ERROR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-command-error/m-p/7464912#M1554346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using submit command with selection screen parameters of the called program and making a spool out of it and then converting spool output to pdf and sending it on through mail. While running the program in Development client it gives the full output but when I run it in Quality client it is not giving the output . I debugged it and found out that when submit command returns the output in development it gives the full output but in quality it is not giving the output . I have executed the called program separately with the same parameters it is running fine but not with submit command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Amber Bhatia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Dec 2010 06:28:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-command-error/m-p/7464912#M1554346</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-16T06:28:34Z</dc:date>
    </item>
    <item>
      <title>Re: SUBMIT COMMAND ERROR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-command-error/m-p/7464913#M1554347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Howdy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you setting the printer name in your spool parameters? It may work in Dev because you have a default printer set in your user parameters, but not in Quality.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Post a code sample so we can get an idea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Dec 2010 06:54:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-command-error/m-p/7464913#M1554347</guid>
      <dc:creator>alex_cook</dc:creator>
      <dc:date>2010-12-16T06:54:12Z</dc:date>
    </item>
    <item>
      <title>Re: SUBMIT COMMAND ERROR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-command-error/m-p/7464914#M1554348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sounds strange ! Have you checked if the values that you are passing to the called program are all in internal format?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Dec 2010 06:55:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-command-error/m-p/7464914#M1554348</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-16T06:55:30Z</dc:date>
    </item>
    <item>
      <title>Re: SUBMIT COMMAND ERROR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-command-error/m-p/7464915#M1554349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is the code where i am using Submit Command .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*opening a job to be send to spool&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'JOB_OPEN'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      JOBNAME          = NAME&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      JOBCOUNT         = NUMBER&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      CANT_CREATE_JOB  = 1&lt;/P&gt;&lt;P&gt;      INVALID_JOB_DATA = 2&lt;/P&gt;&lt;P&gt;      JOBNAME_MISSING  = 3&lt;/P&gt;&lt;P&gt;      OTHERS           = 4.&lt;/P&gt;&lt;P&gt;  IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*submit the created job with selection parameters&lt;/P&gt;&lt;P&gt;    SUBMIT HINCEDT0 TO SAP-SPOOL&lt;/P&gt;&lt;P&gt;                    SPOOL PARAMETERS PRINPAR&lt;/P&gt;&lt;P&gt;                    WITHOUT SPOOL DYNPRO&lt;/P&gt;&lt;P&gt;                    WITH PNPXABKR = P0001-ABKRS&lt;/P&gt;&lt;P&gt;                    WITH PNPPERNR = PERNR-PERNR&lt;/P&gt;&lt;P&gt;                    WITH PNPBEGDA = PN-BEGDA&lt;/P&gt;&lt;P&gt;                    WITH PNPENDDA = PN-ENDDA&lt;/P&gt;&lt;P&gt;                    WITH PNPABKRS = P0001-ABKRS&lt;/P&gt;&lt;P&gt;                    WITH FORMULAR = 'ZJK9'&lt;/P&gt;&lt;P&gt;                    VIA JOB NAME NUMBER NUMBER&lt;/P&gt;&lt;P&gt;                    AND RETURN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*closing the job which was send earlier&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'JOB_CLOSE'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        JOBCOUNT             = NUMBER&lt;/P&gt;&lt;P&gt;        JOBNAME              = NAME&lt;/P&gt;&lt;P&gt;        STRTIMMED            = 'X'&lt;/P&gt;&lt;P&gt;      EXCEPTIONS&lt;/P&gt;&lt;P&gt;        CANT_START_IMMEDIATE = 1&lt;/P&gt;&lt;P&gt;        INVALID_STARTDATE    = 2&lt;/P&gt;&lt;P&gt;        JOBNAME_MISSING      = 3&lt;/P&gt;&lt;P&gt;        JOB_CLOSE_FAILED     = 4&lt;/P&gt;&lt;P&gt;        JOB_NOSTEPS          = 5&lt;/P&gt;&lt;P&gt;        JOB_NOTEX            = 6&lt;/P&gt;&lt;P&gt;        LOCK_FAILED          = 7&lt;/P&gt;&lt;P&gt;        OTHERS               = 8.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am executing the program HINCEDT0 using the above parameters ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Amber Bhatia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Dec 2010 07:53:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-command-error/m-p/7464915#M1554349</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-16T07:53:59Z</dc:date>
    </item>
    <item>
      <title>Re: SUBMIT COMMAND ERROR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-command-error/m-p/7464916#M1554350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SUBMIT HINCEDT0 TO SAP-SPOOL
SPOOL PARAMETERS PRINPAR  &amp;lt;---  Check the values in PRINPAR 
WITHOUT SPOOL DYNPRO
WITH PNPXABKR = P0001-ABKRS
WITH PNPPERNR = PERNR-PERNR
WITH PNPBEGDA = PN-BEGDA
WITH PNPENDDA = PN-ENDDA
WITH PNPABKRS = P0001-ABKRS
WITH FORMULAR = 'ZJK9'
VIA JOB NAME NUMBER NUMBER
AND RETURN.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Srini.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Dec 2010 08:21:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-command-error/m-p/7464916#M1554350</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-16T08:21:29Z</dc:date>
    </item>
    <item>
      <title>Re: SUBMIT COMMAND ERROR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-command-error/m-p/7464917#M1554351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Values of prinpar is blank before and after the submit is executed .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Amber&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Dec 2010 08:36:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-command-error/m-p/7464917#M1554351</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-16T08:36:22Z</dc:date>
    </item>
    <item>
      <title>Re: SUBMIT COMMAND ERROR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-command-error/m-p/7464918#M1554352</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Cross check the values for both the systems.....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Dec 2010 10:24:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-command-error/m-p/7464918#M1554352</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-16T10:24:42Z</dc:date>
    </item>
    <item>
      <title>Re: SUBMIT COMMAND ERROR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-command-error/m-p/7464919#M1554353</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Done&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Mar 2011 16:00:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-command-error/m-p/7464919#M1554353</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-18T16:00:11Z</dc:date>
    </item>
  </channel>
</rss>

