<?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: BDC File from application server in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-file-from-application-server/m-p/2204275#M471307</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To read file from applciation server, you need to use :&lt;/P&gt;&lt;P&gt;READ DATASET &amp;lt;dsn&amp;gt; INTO &amp;lt;f&amp;gt; [LENGTH &amp;lt;len&amp;gt;].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this example :&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_webas620/helpdata/en/fc/eb3d42358411d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_webas620/helpdata/en/fc/eb3d42358411d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;SKJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 May 2007 14:19:34 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-04T14:19:34Z</dc:date>
    <item>
      <title>BDC File from application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-file-from-application-server/m-p/2204273#M471305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working on a BDC programme for uploading master data into SAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have generated an ABAP programme from the transaction recording in SHDB and I have used Function GUI_UPLOAD to upload a file from the Local PC and it worked fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But now my file is in application server, how to load that data into my internal table and generate the BDC session?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know that we need to use open dataset, read dataset, transfer dataset ..... but can anyone provide me the sample code for uploading file from application server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will appreciate your help by rewarding points.........&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Mili.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 May 2007 14:11:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-file-from-application-server/m-p/2204273#M471305</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-04T14:11:50Z</dc:date>
    </item>
    <item>
      <title>Re: BDC File from application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-file-from-application-server/m-p/2204274#M471306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use this FM &amp;lt;b&amp;gt;RZL_READ_FILE_LOCAL&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to pass the Directory and the file name and the FM will pass you an Internal Table with all the file information -;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Works almost like using GUI_UPLOAD but with the app server -:)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Blag.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 May 2007 14:18:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-file-from-application-server/m-p/2204274#M471306</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-04T14:18:33Z</dc:date>
    </item>
    <item>
      <title>Re: BDC File from application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-file-from-application-server/m-p/2204275#M471307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To read file from applciation server, you need to use :&lt;/P&gt;&lt;P&gt;READ DATASET &amp;lt;dsn&amp;gt; INTO &amp;lt;f&amp;gt; [LENGTH &amp;lt;len&amp;gt;].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this example :&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_webas620/helpdata/en/fc/eb3d42358411d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_webas620/helpdata/en/fc/eb3d42358411d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;SKJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 May 2007 14:19:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-file-from-application-server/m-p/2204275#M471307</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-04T14:19:34Z</dc:date>
    </item>
    <item>
      <title>Re: BDC File from application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-file-from-application-server/m-p/2204276#M471308</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;Please check this links for sample codes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapdevelopment.co.uk/file/file_uploadsap.htm" target="test_blank"&gt;http://www.sapdevelopment.co.uk/file/file_uploadsap.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapdevelopment.co.uk/file/file_uptabsap.htm" target="test_blank"&gt;http://www.sapdevelopment.co.uk/file/file_uptabsap.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapdevelopment.co.uk/file/file_updown.htm" target="test_blank"&gt;http://www.sapdevelopment.co.uk/file/file_updown.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ferry Lianto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 May 2007 14:22:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-file-from-application-server/m-p/2204276#M471308</guid>
      <dc:creator>ferry_lianto</dc:creator>
      <dc:date>2007-05-04T14:22:09Z</dc:date>
    </item>
    <item>
      <title>Re: BDC File from application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-file-from-application-server/m-p/2204277#M471309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PARAMETER P_LFILE LIKE FILENAME-FILEINTERN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to get actual file name from logical file.&lt;/P&gt;&lt;P&gt;data :      FILE_NAME     LIKE RLGRAP-FILENAME.&lt;/P&gt;&lt;P&gt; CALL FUNCTION 'FILE_GET_NAME'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;           LOGICAL_FILENAME = P_LFILE&lt;/P&gt;&lt;P&gt;      IMPORTING&lt;/P&gt;&lt;P&gt;           FILE_NAME        = FILE_NAME&lt;/P&gt;&lt;P&gt;      EXCEPTIONS&lt;/P&gt;&lt;P&gt;           FILE_NOT_FOUND   = 1&lt;/P&gt;&lt;P&gt;           OTHERS           = 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OPEN DATASET P_FILENAME FOR INPUT IN TEXT MODE.&lt;/P&gt;&lt;P&gt; DO.&lt;/P&gt;&lt;P&gt;    READ DATASET P_FILENAME INTO WA_FLINE.&lt;/P&gt;&lt;P&gt;enddo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is not full code..just the important steps..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 May 2007 14:29:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-file-from-application-server/m-p/2204277#M471309</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-04T14:29:53Z</dc:date>
    </item>
    <item>
      <title>Re: BDC File from application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-file-from-application-server/m-p/2204278#M471310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ferry,SKJ and Alvaro,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you all for the valuable input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have rewarded points.........&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Mili.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 May 2007 14:33:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-file-from-application-server/m-p/2204278#M471310</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-04T14:33:04Z</dc:date>
    </item>
  </channel>
</rss>

