<?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: Scheduling BDC session in background in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/scheduling-bdc-session-in-background/m-p/4869603#M1138475</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hari,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Create the BDC program to upload the data. Don't go for creating the session if not specified in the Functional spec...go for the call transaction you get rid of handling session. use the no screen mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Report RSBDCSUB is used to run the session not for scheduing the job.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. You can schedule the job from SM36..steps to schedule the jobs...&lt;/P&gt;&lt;P&gt;    &lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="3948703"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 06 Dec 2008 09:19:14 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-12-06T09:19:14Z</dc:date>
    <item>
      <title>Scheduling BDC session in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/scheduling-bdc-session-in-background/m-p/4869601#M1138473</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;I am writing a program which will pull data from the flat file placed on the application server using the Read dataset command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I am populating the internal table having structure similar to BDCDATA with the data from the flat file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then, I will be using BDC OPEN GROUP&lt;/P&gt;&lt;P&gt;                             BDC INSERT&lt;/P&gt;&lt;P&gt;                             BDC CLOSE GROUP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now , a session gets created.&lt;/P&gt;&lt;P&gt;Usually, we need to go to SM35 and run that session.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My requirement is --1. This zprogram I am writing has to be scheduled to run in background.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. The session generated has to be run in background mode. I want to handle that too in the zprogram I am writing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My solution is  -- I believe, I will have to schedule my  zprogram in SM36.&lt;/P&gt;&lt;P&gt;It will then run in background and the session will be generated by the program.&lt;/P&gt;&lt;P&gt;I would like you all to tell me how to add code in the program to make this session generated run in background.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know if I am supposed t use RSBDCSUB or function modules like&lt;/P&gt;&lt;P&gt;JOB OPEN , JOB CLOSE or 'SIMPLE_BATCH_JOB_SUBMIT'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to be given a broader  pic .&lt;/P&gt;&lt;P&gt;I need to make the session run in background or taken care of from the zprogram itself.&lt;/P&gt;&lt;P&gt; I dont want to got to SM35 to do that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Warm regards&lt;/P&gt;&lt;P&gt;and thanking you all in advance,&lt;/P&gt;&lt;P&gt;Hari Kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Dec 2008 09:09:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/scheduling-bdc-session-in-background/m-p/4869601#M1138473</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-06T09:09:04Z</dc:date>
    </item>
    <item>
      <title>Re: Scheduling BDC session in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/scheduling-bdc-session-in-background/m-p/4869602#M1138474</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;U need to submit the report RSBDCSUB after creating the bdc session. The report RSBDCSUB will run your session in background mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Dec 2008 09:18:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/scheduling-bdc-session-in-background/m-p/4869602#M1138474</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-06T09:18:51Z</dc:date>
    </item>
    <item>
      <title>Re: Scheduling BDC session in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/scheduling-bdc-session-in-background/m-p/4869603#M1138475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hari,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Create the BDC program to upload the data. Don't go for creating the session if not specified in the Functional spec...go for the call transaction you get rid of handling session. use the no screen mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Report RSBDCSUB is used to run the session not for scheduing the job.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. You can schedule the job from SM36..steps to schedule the jobs...&lt;/P&gt;&lt;P&gt;    &lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="3948703"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Dec 2008 09:19:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/scheduling-bdc-session-in-background/m-p/4869603#M1138475</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-06T09:19:14Z</dc:date>
    </item>
    <item>
      <title>Re: Scheduling BDC session in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/scheduling-bdc-session-in-background/m-p/4869604#M1138476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Avinash and Max,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I now have the clarity.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I searched SDN and came up with this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUBMIT RSBDCSUB WITH MAPPE = P_NAME&lt;/P&gt;&lt;P&gt;WITH VON = SY-DATUM&lt;/P&gt;&lt;P&gt;WITH BIS = SY-DATUM&lt;/P&gt;&lt;P&gt;WITH FEHLER = ' '&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXPORTING LIST TO MEMORY&lt;/P&gt;&lt;P&gt;AND RETURN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please clarify the following dobts of mine and I will close this thread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will schedule my program in SM36.&lt;/P&gt;&lt;P&gt;Inside the program I will add the above " SUBMIT RSBDCSUB"&lt;/P&gt;&lt;P&gt;code to take care of the session generated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Guess, you all will concurr with me on that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, the doubt is...what is this MAPPE in the above code??&lt;/P&gt;&lt;P&gt;what is FEHLER??&lt;/P&gt;&lt;P&gt; and Do I need to add  the code--&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; "EXPORTING LIST TO MEMORY&lt;/P&gt;&lt;P&gt;AND RETURN"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What does it do??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Warm regads,&lt;/P&gt;&lt;P&gt;Hari Kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Dec 2008 09:25:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/scheduling-bdc-session-in-background/m-p/4869604#M1138476</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-06T09:25:55Z</dc:date>
    </item>
    <item>
      <title>Re: Scheduling BDC session in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/scheduling-bdc-session-in-background/m-p/4869605#M1138477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;MAPPE -&lt;/P&gt;&lt;HR originaltext="----" /&gt;&lt;P&gt;here in this u should pass the session name...&lt;/P&gt;&lt;P&gt; FEHLEr----session status (incorrect)&lt;/P&gt;&lt;P&gt;and other two rfields are valid from  and to dates&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Dec 2008 09:34:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/scheduling-bdc-session-in-background/m-p/4869605#M1138477</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-06T09:34:05Z</dc:date>
    </item>
    <item>
      <title>Re: Scheduling BDC session in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/scheduling-bdc-session-in-background/m-p/4869606#M1138478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you palani,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can anyone answer the following--&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what is FEHLER??&lt;/P&gt;&lt;P&gt;and Do I need to add the code--&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"EXPORTING LIST TO MEMORY&lt;/P&gt;&lt;P&gt;AND RETURN"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What does it do??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Hari Kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Dec 2008 09:42:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/scheduling-bdc-session-in-background/m-p/4869606#M1138478</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-06T09:42:09Z</dc:date>
    </item>
    <item>
      <title>Re: Scheduling BDC session in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/scheduling-bdc-session-in-background/m-p/4869607#M1138479</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;check these.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[https://forums.sdn.sap.com/click.jspa?searchID=19609158&amp;amp;messageID=1099691]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[https://forums.sdn.sap.com/click.jspa?searchID=19609158&amp;amp;messageID=2378901]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Dec 2008 09:52:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/scheduling-bdc-session-in-background/m-p/4869607#M1138479</guid>
      <dc:creator>GauthamV</dc:creator>
      <dc:date>2008-12-06T09:52:38Z</dc:date>
    </item>
    <item>
      <title>Re: Scheduling BDC session in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/scheduling-bdc-session-in-background/m-p/4869608#M1138480</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;The option EXPORTING LIST TO MEMORY is to store the abap list ouput to memory, the rsbdcsub generates a list for a log, if u use that option u can skip this log and back to your calling program automatically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The parameter FEHLER means it needs to run a session in error status.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So it's useless for you because u need to run a new session&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Dec 2008 09:52:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/scheduling-bdc-session-in-background/m-p/4869608#M1138480</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-06T09:52:43Z</dc:date>
    </item>
    <item>
      <title>Re: Scheduling BDC session in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/scheduling-bdc-session-in-background/m-p/4869609#M1138481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Max and Gautham.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That will do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am closing the thread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Warm regards,&lt;/P&gt;&lt;P&gt;Hari Kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Dec 2008 10:05:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/scheduling-bdc-session-in-background/m-p/4869609#M1138481</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-06T10:05:33Z</dc:date>
    </item>
  </channel>
</rss>

