<?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: export  data into server and import data into server in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/export-data-into-server-and-import-data-into-server/m-p/9626678#M1761316</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I agree with susmitha's reply&amp;nbsp; but we can do as esay way.&lt;/P&gt;&lt;P&gt;if you want export file to application server and then again import that file so after susmita step you can make one bdc on CG3Y so it store file in your local drive.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Jul 2013 05:39:05 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-07-18T05:39:05Z</dc:date>
    <item>
      <title>export  data into server and import data into server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/export-data-into-server-and-import-data-into-server/m-p/9626671#M1761309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there two function module or bapi can export data into server and import data into server.&amp;nbsp; As far as I know , it is two step , firstly it will fetch the doc name form the server, then it will fetch the data base on the doc name. so maybe there are three FM or bapi that I should know ,if I want to achieve this goal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have another three question, first,how to use this function and bapi. secondly, how much time does this function module will cost,because if we want to fetch all data, we have to call this function module in a loop. thirdly how to define the server,&amp;nbsp; so it can run more effective.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;Moderator Message - Please be specific when asking questions for e.g., what server, which data etc.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Suhas Saha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jul 2013 02:53:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/export-data-into-server-and-import-data-into-server/m-p/9626671#M1761309</guid>
      <dc:creator>former_member189009</dc:creator>
      <dc:date>2013-07-16T02:53:29Z</dc:date>
    </item>
    <item>
      <title>Re: export  data into server and import data into server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/export-data-into-server-and-import-data-into-server/m-p/9626672#M1761310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To upload data into the server you can use the function module C13Z_FILE_UPLOAD_BINARY and to download data from the server you can use the function module C13Z_FILE_DOWNLOAD_BINARY(Assuming that the server you have mentioned is the SAP Application server)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jul 2013 10:07:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/export-data-into-server-and-import-data-into-server/m-p/9626672#M1761310</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-07-16T10:07:39Z</dc:date>
    </item>
    <item>
      <title>Re: export  data into server and import data into server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/export-data-into-server-and-import-data-into-server/m-p/9626673#M1761311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your sincere answer.&amp;nbsp;&amp;nbsp;&amp;nbsp; I have no concept about SAP Application server.&amp;nbsp; what I say server is internal server which can store doc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jul 2013 01:38:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/export-data-into-server-and-import-data-into-server/m-p/9626673#M1761311</guid>
      <dc:creator>former_member189009</dc:creator>
      <dc:date>2013-07-17T01:38:10Z</dc:date>
    </item>
    <item>
      <title>Re: export  data into server and import data into server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/export-data-into-server-and-import-data-into-server/m-p/9626674#M1761312</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;To be exact, the above mentioned Function Module will upload/download what ever files from your system to the SAP Internal server which is the Application Server and vice versa.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can view the uploaded files in through the Transaction AL11.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The upload and the download can maually be done through the transactions cg3z and cg3y.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jul 2013 06:24:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/export-data-into-server-and-import-data-into-server/m-p/9626674#M1761312</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-07-17T06:24:06Z</dc:date>
    </item>
    <item>
      <title>Re: export  data into server and import data into server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/export-data-into-server-and-import-data-into-server/m-p/9626675#M1761313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have am idea that I run several background job to select data(large amount ) then write the data into the server (AL11)&amp;nbsp; through the statement 'open dataset' . Then I will run a program to get the data from the server write into internal table and do some operation. In order to save some time. I don't know whether this will work. but I want to try ,and I can learn a lot in this try.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So this is why I ask this question.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jul 2013 09:46:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/export-data-into-server-and-import-data-into-server/m-p/9626675#M1761313</guid>
      <dc:creator>former_member189009</dc:creator>
      <dc:date>2013-07-17T09:46:57Z</dc:date>
    </item>
    <item>
      <title>Re: export  data into server and import data into server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/export-data-into-server-and-import-data-into-server/m-p/9626676#M1761314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Check this document. &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;It has most of the things you need to know about import and export of data from Application Server. &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;A href="http://wiki.sdn.sap.com/wiki/display/Snippets/Working+With+Files" title="http://wiki.sdn.sap.com/wiki/display/Snippets/Working+With+Files"&gt;http://wiki.sdn.sap.com/wiki/display/Snippets/Working+With+Files&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jul 2013 10:21:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/export-data-into-server-and-import-data-into-server/m-p/9626676#M1761314</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-07-17T10:21:36Z</dc:date>
    </item>
    <item>
      <title>Re: export  data into server and import data into server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/export-data-into-server-and-import-data-into-server/m-p/9626677#M1761315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check this document on upload data into application server transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://wiki.sdn.sap.com/wiki/display/Snippets/Uploading+files+to+SAP+Servers+from+Local+machine+from+within+SAP+GUI"&gt;http://wiki.sdn.sap.com/wiki/display/Snippets/Uploading+files+to+SAP+Servers+from+Local+machine+from+within+SAP+GUI&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Other possible methods.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1.&amp;nbsp; Transactions&lt;/STRONG&gt; CG3Y and CG3Z , combined with AL11 to help us find out the directory structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2. ABAP PROGRAMMING:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OPEN DATASET&amp;nbsp; / TRANSFER / CLOSE DATASET&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;To upload the file into Application Server&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OPEN DATASET l_filename FOR OUTPUT IN TEXT MODE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF sy-subrc NE 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RAISE open_file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT it_text_data. " into l_text_data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TRANSFER it_text_data TO l_filename.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLOSE DATASET l_filename.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&amp;nbsp; To read file from application server&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; DATA: lv_app_server_file TYPE string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; lv_app_server_file = pa_filep.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;* To read file from Application server&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; OPEN DATASET lv_app_server_file FOR INPUT IN TEXT MODE ENCODING DEFAULT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; DO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; READ DATASET lv_app_server_file INTO wa_file_data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; APPEND wa_file_data TO tb_file_data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ELSE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EXIT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; ENDDO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; CLOSE DATASET lv_app_server_file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "upload_app_server&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;*&amp;nbsp;&amp;nbsp; To convert file to specified format&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; DATA: lv_file_separator TYPE c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; lv_file_separator = cl_abap_char_utilities=&amp;gt;horizontal_tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;* To upload file in other formats(CSV, Tab delimited etc)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; CALL FUNCTION 'TEXT_CONVERT_TEX_TO_SAP'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; EXPORTING&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; i_field_seperator&amp;nbsp;&amp;nbsp;&amp;nbsp; = &amp;lt;lv_file_separator&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; i_tab_raw_data&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = tb_file_data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; TABLES&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; i_tab_converted_data = tb_testfile_file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; EXCEPTIONS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; conversion_failed&amp;nbsp;&amp;nbsp;&amp;nbsp; = 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OTHERS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "data_convert&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have a lot of sample codes on the net.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3.&amp;nbsp;&amp;nbsp; FUNCTION MODULES for example&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ARCHIVFILE_SERVER_TO_CLIENT &amp;amp; ARCHIVFILE_CLIENT_TO_SERVER&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jul 2013 10:23:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/export-data-into-server-and-import-data-into-server/m-p/9626677#M1761315</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-07-17T10:23:06Z</dc:date>
    </item>
    <item>
      <title>Re: export  data into server and import data into server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/export-data-into-server-and-import-data-into-server/m-p/9626678#M1761316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I agree with susmitha's reply&amp;nbsp; but we can do as esay way.&lt;/P&gt;&lt;P&gt;if you want export file to application server and then again import that file so after susmita step you can make one bdc on CG3Y so it store file in your local drive.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jul 2013 05:39:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/export-data-into-server-and-import-data-into-server/m-p/9626678#M1761316</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-07-18T05:39:05Z</dc:date>
    </item>
  </channel>
</rss>

