<?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: Dump in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump/m-p/3143655#M747293</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;hope you are submitting a report to background right !!...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;  SUBMIT zsd_background TO SAP-SPOOL&lt;/P&gt;&lt;P&gt;                        SPOOL PARAMETERS print_parameters&lt;/P&gt;&lt;P&gt;                        WITH &amp;lt;i&amp;gt;p_file EQ 'ZSD47'&amp;lt;/i&amp;gt; "&amp;lt;&amp;lt;-- Selection screen parameter of prog ZSD_BACKGROUND&lt;/P&gt;&lt;P&gt;                        WITHOUT SPOOL DYNPRO&lt;/P&gt;&lt;P&gt;                        VIA JOB new_jobname NUMBER jobcount&lt;/P&gt;&lt;P&gt;                        AND RETURN.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;instead of the job_submit function module ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;________________________________________________________________&lt;/P&gt;&lt;P&gt;Check this piece of code !!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*--   CREATE THE JOB&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'JOB_OPEN'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      jobname          = new_jobname&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      jobcount         = jobcount&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;&lt;/P&gt;&lt;P&gt;  IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno&lt;/P&gt;&lt;P&gt;            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SUBMIT zsd_background TO SAP-SPOOL&lt;/P&gt;&lt;P&gt;                        SPOOL PARAMETERS print_parameters&lt;/P&gt;&lt;P&gt;                        WITH p_file EQ 'ZSD47'&lt;/P&gt;&lt;P&gt;                        WITHOUT SPOOL DYNPRO&lt;/P&gt;&lt;P&gt;                        VIA JOB new_jobname NUMBER jobcount&lt;/P&gt;&lt;P&gt;                        AND RETURN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF sy-subrc EQ 4.&lt;/P&gt;&lt;P&gt;    MESSAGE s000(38) WITH 'User cancelled the action'.&lt;/P&gt;&lt;P&gt;  ELSEIF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    MOVE sy-subrc TO rc.&lt;/P&gt;&lt;P&gt;    CONCATENATE 'Job Submit Failed. sy-subrc:' rc INTO info_msg&lt;/P&gt;&lt;P&gt;    SEPARATED BY space.&lt;/P&gt;&lt;P&gt;    MESSAGE w208(00) WITH info_msg.&lt;/P&gt;&lt;P&gt;  ELSE.&lt;/P&gt;&lt;P&gt;    MESSAGE 'Background Job Scheduled Successfully' TYPE 'I'.&lt;/P&gt;&lt;P&gt;*---    START JOB IMMEDIATELY FOR THE CURRENT PLANT&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'JOB_CLOSE'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        jobcount             = jobcount&lt;/P&gt;&lt;P&gt;        jobname              = new_jobname&lt;/P&gt;&lt;P&gt;        strtimmed            = 'X'&lt;/P&gt;&lt;P&gt;        targetserver         = 'ctecpci_ECP_02'&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;    IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;      MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno&lt;/P&gt;&lt;P&gt;              WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;________________________________________________________________&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sai Ramesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Dec 2007 11:49:55 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-12-06T11:49:55Z</dc:date>
    <item>
      <title>Dump</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump/m-p/3143653#M747291</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;&lt;/P&gt;&lt;P&gt;can we get the variant for job done in background mode.actually i got the dump but i dont have variant for which the report has run.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Lalit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Dec 2007 11:30:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump/m-p/3143653#M747291</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-06T11:30:04Z</dc:date>
    </item>
    <item>
      <title>Re: Dump</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump/m-p/3143654#M747292</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;Goto SM37 , give the job name and then click step and then click goto button you can see the variant for the job was run.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if usefull,&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ramya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Dec 2007 11:45:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump/m-p/3143654#M747292</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-06T11:45:42Z</dc:date>
    </item>
    <item>
      <title>Re: Dump</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump/m-p/3143655#M747293</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;hope you are submitting a report to background right !!...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;  SUBMIT zsd_background TO SAP-SPOOL&lt;/P&gt;&lt;P&gt;                        SPOOL PARAMETERS print_parameters&lt;/P&gt;&lt;P&gt;                        WITH &amp;lt;i&amp;gt;p_file EQ 'ZSD47'&amp;lt;/i&amp;gt; "&amp;lt;&amp;lt;-- Selection screen parameter of prog ZSD_BACKGROUND&lt;/P&gt;&lt;P&gt;                        WITHOUT SPOOL DYNPRO&lt;/P&gt;&lt;P&gt;                        VIA JOB new_jobname NUMBER jobcount&lt;/P&gt;&lt;P&gt;                        AND RETURN.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;instead of the job_submit function module ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;________________________________________________________________&lt;/P&gt;&lt;P&gt;Check this piece of code !!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*--   CREATE THE JOB&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'JOB_OPEN'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      jobname          = new_jobname&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      jobcount         = jobcount&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;&lt;/P&gt;&lt;P&gt;  IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno&lt;/P&gt;&lt;P&gt;            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SUBMIT zsd_background TO SAP-SPOOL&lt;/P&gt;&lt;P&gt;                        SPOOL PARAMETERS print_parameters&lt;/P&gt;&lt;P&gt;                        WITH p_file EQ 'ZSD47'&lt;/P&gt;&lt;P&gt;                        WITHOUT SPOOL DYNPRO&lt;/P&gt;&lt;P&gt;                        VIA JOB new_jobname NUMBER jobcount&lt;/P&gt;&lt;P&gt;                        AND RETURN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF sy-subrc EQ 4.&lt;/P&gt;&lt;P&gt;    MESSAGE s000(38) WITH 'User cancelled the action'.&lt;/P&gt;&lt;P&gt;  ELSEIF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    MOVE sy-subrc TO rc.&lt;/P&gt;&lt;P&gt;    CONCATENATE 'Job Submit Failed. sy-subrc:' rc INTO info_msg&lt;/P&gt;&lt;P&gt;    SEPARATED BY space.&lt;/P&gt;&lt;P&gt;    MESSAGE w208(00) WITH info_msg.&lt;/P&gt;&lt;P&gt;  ELSE.&lt;/P&gt;&lt;P&gt;    MESSAGE 'Background Job Scheduled Successfully' TYPE 'I'.&lt;/P&gt;&lt;P&gt;*---    START JOB IMMEDIATELY FOR THE CURRENT PLANT&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'JOB_CLOSE'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        jobcount             = jobcount&lt;/P&gt;&lt;P&gt;        jobname              = new_jobname&lt;/P&gt;&lt;P&gt;        strtimmed            = 'X'&lt;/P&gt;&lt;P&gt;        targetserver         = 'ctecpci_ECP_02'&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;    IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;      MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno&lt;/P&gt;&lt;P&gt;              WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;________________________________________________________________&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sai Ramesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Dec 2007 11:49:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump/m-p/3143655#M747293</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-06T11:49:55Z</dc:date>
    </item>
  </channel>
</rss>

