<?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 Reg: Sequential File in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-sequential-file/m-p/1794445#M341497</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  want to upload tha data from application server automatically. here is the requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Auto uploading of the BDC from application server&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. End of each file they would like to give the Statistics of the File i.e. How many records we uploaded and how many failed and log of failed records i.e. Error Handling / records details (This is required while uploading)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Venu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Dec 2006 08:14:04 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-12-20T08:14:04Z</dc:date>
    <item>
      <title>Reg: Sequential File</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-sequential-file/m-p/1794445#M341497</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  want to upload tha data from application server automatically. here is the requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Auto uploading of the BDC from application server&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. End of each file they would like to give the Statistics of the File i.e. How many records we uploaded and how many failed and log of failed records i.e. Error Handling / records details (This is required while uploading)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Venu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Dec 2006 08:14:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-sequential-file/m-p/1794445#M341497</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-20T08:14:04Z</dc:date>
    </item>
    <item>
      <title>Re: Reg: Sequential File</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-sequential-file/m-p/1794446#M341498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Venu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can use the foll steps &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Read the file App Server using OPEN Dataset..&lt;/P&gt;&lt;P&gt;2. Process the record for validations/ BDC tansaction.&lt;/P&gt;&lt;P&gt;3. mark out the error records&lt;/P&gt;&lt;P&gt;4. Create a Error file with HEADER &amp;amp; TRAILER records , header will have date/time stamp, trailer will have summary of the records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Similarly you can update the original file too with a summary trailer record.&lt;/P&gt;&lt;P&gt;Also you can use record indicators for record type..like H,D &amp;amp; T for header, detail &amp;amp; trailer records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kyamuddin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Dec 2006 08:52:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-sequential-file/m-p/1794446#M341498</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-20T08:52:23Z</dc:date>
    </item>
    <item>
      <title>Re: Reg: Sequential File</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-sequential-file/m-p/1794447#M341499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kyamuddin Shah,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually  I know the opendata set read/transfer and Closedata but in all these I am unable to readdata set.  Below I am giving the code. Please Correct me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : BEGIN OF I_KNA1 OCCURS 0,&lt;/P&gt;&lt;P&gt;         KUNNR TYPE KNA1-KUNNR,&lt;/P&gt;&lt;P&gt;         SORT1 TYPE ADDR1_DATA-SORT1,&lt;/P&gt;&lt;P&gt;       END OF I_KNA1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*DATA : P_F_NAME TYPE STRING.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BDCDATA TYPE TABLE OF BDCDATA WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: SAM(40) VALUE 'G:\USER\SAP\H11\DEVEBMGS10',&lt;/P&gt;&lt;P&gt;      MSG(100).&lt;/P&gt;&lt;P&gt;DATA: str type string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MSG = 'NOT OK'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;*INCLUDE BDCRECX1.&lt;/P&gt;&lt;P&gt;  OPEN DATASET SAM FOR INPUT IN TEXT MODE.&lt;/P&gt;&lt;P&gt;  DO.&lt;/P&gt;&lt;P&gt;    READ DATASET SAM INTO str.&lt;/P&gt;&lt;P&gt;    IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;      EXIT.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;    WRITE: / str.&lt;/P&gt;&lt;P&gt;ENDDO.&lt;/P&gt;&lt;P&gt;    CLOSE DATASET SAM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Venu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Dec 2006 11:04:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-sequential-file/m-p/1794447#M341499</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-20T11:04:48Z</dc:date>
    </item>
    <item>
      <title>Re: Reg: Sequential File</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-sequential-file/m-p/1794448#M341500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Venu&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looks like you are accessing from share drive, in that case maybe you can try using FM: GUI_UPLOAD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this is application server, please check for Upper &amp;amp; Lower Case of directory and file name. Maybe that can help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;Eswar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Dec 2006 13:41:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-sequential-file/m-p/1794448#M341500</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-20T13:41:52Z</dc:date>
    </item>
  </channel>
</rss>

