<?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: Batch input in background in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/batch-input-in-background/m-p/1661206#M293039</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think it would be easier to just:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SUBMIT RSBDCSUB.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;This will create a background job to submit the batch input session.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Nov 2006 20:51:23 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-11-13T20:51:23Z</dc:date>
    <item>
      <title>Batch input in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/batch-input-in-background/m-p/1661204#M293037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi. I've a BI session created in the SM35 and i want to execute it in background using the following&lt;/P&gt;&lt;P&gt;code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'JOB_OPEN'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    jobname          = v_jobname&lt;/P&gt;&lt;P&gt;    sdlstrtdt        = sy-datum&lt;/P&gt;&lt;P&gt;    sdlstrttm        = sy-uzeit&lt;/P&gt;&lt;P&gt;  IMPORTING&lt;/P&gt;&lt;P&gt;    jobcount         = v_jobcount&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUBMIT rsbdcbtc&lt;/P&gt;&lt;P&gt;    USER sy-uname&lt;/P&gt;&lt;P&gt;    VIA JOB v_jobname NUMBER v_jobcount&lt;/P&gt;&lt;P&gt;    WITH queue-id = v_qid&lt;/P&gt;&lt;P&gt;    WITH mappe = v_jobname&lt;/P&gt;&lt;P&gt;    WITH modus = 'N'&lt;/P&gt;&lt;P&gt;    AND RETURN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF sy-subrc EQ 0.&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'JOB_CLOSE'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      jobcount             = v_jobcount&lt;/P&gt;&lt;P&gt;      jobname              = v_jobname&lt;/P&gt;&lt;P&gt;      strtimmed            = 'X'&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      job_was_released     = v_jobliberado&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All the sy-subrc are ok, but when in the log's job there is the following message:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Job started                                                                &lt;/P&gt;&lt;P&gt;Step 001 started (program RSBDCBTC, variant &amp;amp;0000000000103, user ID T53274)&lt;/P&gt;&lt;P&gt;No session found with status "New" or "Error"                              &lt;/P&gt;&lt;P&gt;Job finished                                                               &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Nov 2006 20:39:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/batch-input-in-background/m-p/1661204#M293037</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-13T20:39:16Z</dc:date>
    </item>
    <item>
      <title>Re: Batch input in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/batch-input-in-background/m-p/1661205#M293038</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;I think you have to use function module JOB_SUBMIT to submit the job.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure about this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Ramakrishna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Nov 2006 20:43:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/batch-input-in-background/m-p/1661205#M293038</guid>
      <dc:creator>venkata_ramisetti</dc:creator>
      <dc:date>2006-11-13T20:43:36Z</dc:date>
    </item>
    <item>
      <title>Re: Batch input in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/batch-input-in-background/m-p/1661206#M293039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think it would be easier to just:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SUBMIT RSBDCSUB.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;This will create a background job to submit the batch input session.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Nov 2006 20:51:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/batch-input-in-background/m-p/1661206#M293039</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-13T20:51:23Z</dc:date>
    </item>
  </channel>
</rss>

