<?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: background job in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/background-job/m-p/3203091#M763479</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;take help of your visual basic guy. he can create some executable files such that you will get all files in directory( in your case u will get only one file).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using standard variant function module you can change the variants just before your actuall progra is run.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL 'C_DIR_READ_START'&lt;/P&gt;&lt;P&gt;        ID 'DIR'    FIELD dir_name&lt;/P&gt;&lt;P&gt;        ID 'FILE'   FIELD file_mask&lt;/P&gt;&lt;P&gt;        ID 'ERRNO'  FIELD file-errno&lt;/P&gt;&lt;P&gt;        ID 'ERRMSG' FIELD file-errmsg.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Dec 2007 22:19:56 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-12-13T22:19:56Z</dc:date>
    <item>
      <title>background job</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/background-job/m-p/3203089#M763477</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;I am created a back ground job for every day  with varient.My file is coming from the legacy system and putting in to the sap application server.I am using the Logical file name .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question every day file differ with time and date.How to process that file using that varient,any funtion module is there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help me &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;rakesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Dec 2007 16:58:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/background-job/m-p/3203089#M763477</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-13T16:58:06Z</dc:date>
    </item>
    <item>
      <title>Re: background job</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/background-job/m-p/3203090#M763478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rakesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don;t know if we have any FM...&lt;/P&gt;&lt;P&gt;If the file is only once a day, then just have date stamp on your legacy file and in your Logical filepath, include the &amp;lt;sy-datum&amp;gt;. Then your variant will pick the correct file from the logical filepath.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Dec 2007 17:44:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/background-job/m-p/3203090#M763478</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-13T17:44:19Z</dc:date>
    </item>
    <item>
      <title>Re: background job</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/background-job/m-p/3203091#M763479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;take help of your visual basic guy. he can create some executable files such that you will get all files in directory( in your case u will get only one file).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using standard variant function module you can change the variants just before your actuall progra is run.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL 'C_DIR_READ_START'&lt;/P&gt;&lt;P&gt;        ID 'DIR'    FIELD dir_name&lt;/P&gt;&lt;P&gt;        ID 'FILE'   FIELD file_mask&lt;/P&gt;&lt;P&gt;        ID 'ERRNO'  FIELD file-errno&lt;/P&gt;&lt;P&gt;        ID 'ERRMSG' FIELD file-errmsg.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Dec 2007 22:19:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/background-job/m-p/3203091#M763479</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-13T22:19:56Z</dc:date>
    </item>
  </channel>
</rss>

