<?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: Upload CSV file from Application server in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-csv-file-from-application-server/m-p/3604121#M868071</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi go to sm 37 tcode then u can see the options for the job selection like immidiate and at a particular time ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;go to sm37&lt;DEL&gt;&amp;gt; choose extended job selection&lt;/DEL&gt;--&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward points if useful,&lt;/P&gt;&lt;P&gt;venkat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Mar 2008 19:32:30 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-27T19:32:30Z</dc:date>
    <item>
      <title>Upload CSV file from Application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-csv-file-from-application-server/m-p/3604120#M868070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to upload a CSV file from the application server (SAP PRd server) in the background. How can I set this process in the background. Suppose if I have the file name as newfilemmddyyyy. and mmddyyyy being the sy-datum. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any thoughts? Because I shall have new file dumped into the SAP server 2 to 3 times in a week, that needs to be uploaded into the system and I am looking to automate this process &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VG&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Mar 2008 19:19:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-csv-file-from-application-server/m-p/3604120#M868070</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-27T19:19:45Z</dc:date>
    </item>
    <item>
      <title>Re: Upload CSV file from Application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-csv-file-from-application-server/m-p/3604121#M868071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi go to sm 37 tcode then u can see the options for the job selection like immidiate and at a particular time ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;go to sm37&lt;DEL&gt;&amp;gt; choose extended job selection&lt;/DEL&gt;--&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward points if useful,&lt;/P&gt;&lt;P&gt;venkat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Mar 2008 19:32:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-csv-file-from-application-server/m-p/3604121#M868071</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-27T19:32:30Z</dc:date>
    </item>
    <item>
      <title>Re: Upload CSV file from Application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-csv-file-from-application-server/m-p/3604122#M868072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can concatenate the filename and the system date into a variable and do an OPEN DATASET lv_filename.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lv_dataset type string (or char100).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can then schedule a job which will run every day for example. The program will then check if a file with the current name is available. If so, upload and process the file otherwise, STOP processing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To schedule a job you can use transaction SM36 (SM37).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Micky.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Mar 2008 19:32:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-csv-file-from-application-server/m-p/3604122#M868072</guid>
      <dc:creator>Sm1tje</dc:creator>
      <dc:date>2008-03-27T19:32:46Z</dc:date>
    </item>
    <item>
      <title>Re: Upload CSV file from Application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-csv-file-from-application-server/m-p/3604123#M868073</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;You can schedule your program in the background processing using the following tcodes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SM36 - for creating sessions&lt;/P&gt;&lt;P&gt;SM37 : for executing or processing the sessions.&lt;/P&gt;&lt;P&gt;SM35: for session overview.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can directly run the session or schedule  using programs RSBDCSUB / RSBDCBTC from within the program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AL11 is the tcode for the SAP directories where we can get the application server path.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The LOGIC is as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the  name of the program i.e. newfilemmddyyyy where 'newfile' is constant then there is no problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg: filename is 'myfile02282008'.&lt;/P&gt;&lt;P&gt;in the program take variables like&lt;/P&gt;&lt;P&gt;path1 path2 and filepath are string variables.&lt;/P&gt;&lt;P&gt;path1 = filename+0(6).&lt;/P&gt;&lt;P&gt;path2 = sydatum.&lt;/P&gt;&lt;P&gt;*date format must be adjusted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;concatenate path1 path2 into filepath .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use 'OPEN DATASET ..................'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the dataset is ready.&lt;/P&gt;&lt;P&gt;We have to take into consideration the day of processing the program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Rewards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Ammavajjala Narayana on Mar 28, 2008 12:28 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Mar 2008 23:25:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-csv-file-from-application-server/m-p/3604123#M868073</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-27T23:25:03Z</dc:date>
    </item>
    <item>
      <title>Re: Upload CSV file from Application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-csv-file-from-application-server/m-p/3604124#M868074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks guys. I knew how to schedule the job. I needed some help to get the filepath info to run the process in the backgorund.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Got it. Shall reward the points accordingly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VG&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Mar 2008 14:31:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-csv-file-from-application-server/m-p/3604124#M868074</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-28T14:31:46Z</dc:date>
    </item>
  </channel>
</rss>

