<?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 Down loading file to apps server, in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/down-loading-file-to-apps-server/m-p/1260225#M147384</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;Presntly I have to download a file to apps server,the contents of the file has FI related entries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my program I have writen BDC for the FB01 transaction,&lt;/P&gt;&lt;P&gt;When the transaction is updated then a FI document number is generated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to save file with this FI document # and other entries to the apps server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please give me an idea to work out with this issue.&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;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Irfan Hussain&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Mar 2006 08:12:04 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-03-16T08:12:04Z</dc:date>
    <item>
      <title>Down loading file to apps server,</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/down-loading-file-to-apps-server/m-p/1260225#M147384</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;Presntly I have to download a file to apps server,the contents of the file has FI related entries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my program I have writen BDC for the FB01 transaction,&lt;/P&gt;&lt;P&gt;When the transaction is updated then a FI document number is generated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to save file with this FI document # and other entries to the apps server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please give me an idea to work out with this issue.&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;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Irfan Hussain&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Mar 2006 08:12:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/down-loading-file-to-apps-server/m-p/1260225#M147384</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-16T08:12:04Z</dc:date>
    </item>
    <item>
      <title>Re: Down loading file to apps server,</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/down-loading-file-to-apps-server/m-p/1260226#M147385</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;Use OPEN DATASET for output&lt;/P&gt;&lt;P&gt;     ...transfer&lt;/P&gt;&lt;P&gt;    close dataset.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Write OPEN DATASET.&lt;/P&gt;&lt;P&gt;2) Start the loop.&lt;/P&gt;&lt;P&gt;2) Call Transaction.&lt;/P&gt;&lt;P&gt;3) Transfer&lt;/P&gt;&lt;P&gt;4) Complete loop.&lt;/P&gt;&lt;P&gt;5) Close dataset.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any other issue??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shashank&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Mar 2006 08:29:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/down-loading-file-to-apps-server/m-p/1260226#M147385</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-16T08:29:25Z</dc:date>
    </item>
    <item>
      <title>Re: Down loading file to apps server,</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/down-loading-file-to-apps-server/m-p/1260227#M147386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Irfan &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters: V_DATA(132) lower case.&lt;/P&gt;&lt;P&gt;open dataset V_DATA FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT RECORD.&lt;/P&gt;&lt;P&gt;TRANSFER RECORD TO V_DATA.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLOSE DATASET V_DATA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE: /10 'SUCCESSFULLY WRITTEN IN THE APPLICATION SERVER'.&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;kishore&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Mar 2006 08:31:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/down-loading-file-to-apps-server/m-p/1260227#M147386</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-16T08:31:00Z</dc:date>
    </item>
    <item>
      <title>Re: Down loading file to apps server,</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/down-loading-file-to-apps-server/m-p/1260228#M147387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use this syntax to capture the FI Document no that got generated after a successful run of ur BDC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GET PARAMETER ID 'BLN' FIELD &amp;lt;var&amp;gt;. &lt;/P&gt;&lt;P&gt;(var =&amp;gt; is the variable to capture the FI Document that got created)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Append ur other entries of the FI Document from the program and download it into appln server using OPEN, TRANSFER &amp;amp; CLOSE statements&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Sravanthi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Mar 2006 08:31:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/down-loading-file-to-apps-server/m-p/1260228#M147387</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-16T08:31:23Z</dc:date>
    </item>
    <item>
      <title>Re: Down loading file to apps server,</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/down-loading-file-to-apps-server/m-p/1260229#M147388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Irfan,&lt;/P&gt;&lt;P&gt;   Use &amp;lt;b&amp;gt;OPEN DATASET FOR OUTPUT&amp;lt;/b&amp;gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here is the sample code &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; IF I_FLG = ''.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;    OPEN DATASET I_FILE FOR OUTPUT IN TEXT MODE.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;    IF SY-SUBRC NE 0.&lt;/P&gt;&lt;P&gt;      PERFORM ZYIR008_PUT_MESSAGE USING 'E'&lt;/P&gt;&lt;P&gt;              'File Open Delete Error(?1)- ?2 ?3 ?4'&lt;/P&gt;&lt;P&gt;              SY-SUBRC I_FILE 'OUTPUT' SPACE.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;    I_FLG = 'X'.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;  PERFORM CSV_CONVERT USING I_BUFF WK-BUFFER.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;  TRANSFER WK-BUFFER TO I_FILE.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;  CASE SY-SUBRC.&lt;/P&gt;&lt;P&gt;   WHEN 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  ADD 1 TO O_CONT.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   WHEN OTHERS.&lt;/P&gt;&lt;P&gt;    PERFORM ZYIR008_PUT_MESSAGE USING 'A'&lt;/P&gt;&lt;P&gt;            'Transfer Dataset Error(?1) - ?2 ?3 ?4'&lt;/P&gt;&lt;P&gt;                                          SY-SUBRC&lt;/P&gt;&lt;P&gt;                                          I_FILE&lt;/P&gt;&lt;P&gt;                                          O_CONT&lt;/P&gt;&lt;P&gt;                                          SPACE.&lt;/P&gt;&lt;P&gt;  ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Santosh P&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Mar 2006 08:31:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/down-loading-file-to-apps-server/m-p/1260229#M147388</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-16T08:31:26Z</dc:date>
    </item>
  </channel>
</rss>

