<?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: Data Transfer toPresentaion layer? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-transfer-topresentaion-layer/m-p/3801487#M914247</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;&lt;/P&gt;&lt;P&gt;After uploaded u r file into internal table.&lt;/P&gt;&lt;P&gt;use below code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA:g_path LIKE rlgrap-filename&lt;/P&gt;&lt;P&gt;VALUE  'D:\usr\sap\DM0\DVEBMGS01\work\'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OPEN DATASET g_path IN TEXT MODE ENCODING DEFAULT FOR OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF sy-subrc NE 0.&lt;/P&gt;&lt;P&gt;CLOSE DATASET g_path.&lt;/P&gt;&lt;P&gt;MESSAGE e001 WITH 'Error in Opening the Error File'.&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TRANSFER itab TO g_path .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;CLOSE DATASET g_path.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-------------------------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;otherwise use following tcodes for direct uploading data into application server directory&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are 2 SAP Transactions where you can up/download files to the Apps server (file system) .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CG3Y = Download &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CG3Z = Upload&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vishvesh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if helpful, rewards it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 May 2008 07:06:53 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-21T07:06:53Z</dc:date>
    <item>
      <title>Data Transfer toPresentaion layer?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-transfer-topresentaion-layer/m-p/3801483#M914243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Friends,&lt;/P&gt;&lt;P&gt;                    I can anyone give me steps to transfer the data from presenation layer to application layer.&lt;/P&gt;&lt;P&gt;The procedure i am following is like executeing the report using function module SUB_DOWNLOAD_APP. Program is executeing and but i am unable to see the data in AL11 txcode the directory i am seeing is DIR HOME. If i am going wrong somewhere please give suggestions on this.&lt;/P&gt;&lt;P&gt;Thks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 May 2008 05:13:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-transfer-topresentaion-layer/m-p/3801483#M914243</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-21T05:13:54Z</dc:date>
    </item>
    <item>
      <title>Re: Data Transfer toPresentaion layer?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-transfer-topresentaion-layer/m-p/3801484#M914244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  Try using the function module 'GUI_UPLOAD'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 May 2008 05:17:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-transfer-topresentaion-layer/m-p/3801484#M914244</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-21T05:17:51Z</dc:date>
    </item>
    <item>
      <title>Re: Data Transfer toPresentaion layer?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-transfer-topresentaion-layer/m-p/3801485#M914245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Venkatesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First of all accessible directory is DIR_GLOBAL . Check it .&lt;/P&gt;&lt;P&gt;If not then tell basis people to create a Dir on path '/usr/sap/EC2/SYS/global'   which should have all the authorization i.e. Read Write authirization.&lt;/P&gt;&lt;P&gt; Then follow following code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA:w_filename LIKE  CFFILE-FILENAME.&lt;/P&gt;&lt;P&gt;**'backup' is folder on application server created by Basis people..&lt;/P&gt;&lt;P&gt;CONCATENATE '/usr/sap/EC2/SYS/global/backup/'SY-UNAME '.csv' INTO w_filename.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OPEN DATASET w_filename FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.&lt;/P&gt;&lt;P&gt;IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;  LOOP AT ITAB&lt;/P&gt;&lt;P&gt;     TRANSFER ITAB TO w_filename.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;CLOSE DATASET w_filename.&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt;It should work.&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;Swarup.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 May 2008 06:38:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-transfer-topresentaion-layer/m-p/3801485#M914245</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-21T06:38:50Z</dc:date>
    </item>
    <item>
      <title>Re: Data Transfer toPresentaion layer?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-transfer-topresentaion-layer/m-p/3801486#M914246</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;  &lt;/P&gt;&lt;P&gt;After uploaded u r file into internal table.&lt;/P&gt;&lt;P&gt;use below code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA:g_path LIKE rlgrap-filename&lt;/P&gt;&lt;P&gt;     DEFAULT 'D:\usr\sap\DM0\DVEBMGS01\work\'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  OPEN DATASET g_path IN TEXT MODE ENCODING DEFAULT FOR OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF sy-subrc NE 0.&lt;/P&gt;&lt;P&gt;    CLOSE DATASET g_path.&lt;/P&gt;&lt;P&gt;    MESSAGE e001 WITH 'Error in Opening the Error File'.&lt;/P&gt;&lt;P&gt;  ELSE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    LOOP AT itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      TRANSFER itab TO g_path .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    ENDLOOP.&lt;/P&gt;&lt;P&gt;    CLOSE DATASET g_path.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="--------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;otherwise use following tcodes for direct uploading data into application server directory&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; There are 2 SAP Transactions where you can up/download files to the Apps server (file system) .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;               CG3Y  =  Download &lt;/P&gt;&lt;P&gt;                      &lt;/P&gt;&lt;P&gt;                CG3Z  =  Upload&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vishvesh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if helpful, rewards it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 May 2008 07:04:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-transfer-topresentaion-layer/m-p/3801486#M914246</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-21T07:04:35Z</dc:date>
    </item>
    <item>
      <title>Re: Data Transfer toPresentaion layer?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-transfer-topresentaion-layer/m-p/3801487#M914247</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;&lt;/P&gt;&lt;P&gt;After uploaded u r file into internal table.&lt;/P&gt;&lt;P&gt;use below code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA:g_path LIKE rlgrap-filename&lt;/P&gt;&lt;P&gt;VALUE  'D:\usr\sap\DM0\DVEBMGS01\work\'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OPEN DATASET g_path IN TEXT MODE ENCODING DEFAULT FOR OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF sy-subrc NE 0.&lt;/P&gt;&lt;P&gt;CLOSE DATASET g_path.&lt;/P&gt;&lt;P&gt;MESSAGE e001 WITH 'Error in Opening the Error File'.&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TRANSFER itab TO g_path .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;CLOSE DATASET g_path.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-------------------------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;otherwise use following tcodes for direct uploading data into application server directory&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are 2 SAP Transactions where you can up/download files to the Apps server (file system) .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CG3Y = Download &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CG3Z = Upload&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vishvesh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if helpful, rewards it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 May 2008 07:06:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-transfer-topresentaion-layer/m-p/3801487#M914247</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-21T07:06:53Z</dc:date>
    </item>
    <item>
      <title>Re: Data Transfer toPresentaion layer?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-transfer-topresentaion-layer/m-p/3801488#M914248</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;for transfering the data from presentation server to appilcation use the tcode &lt;STRONG&gt;CG3Z&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after transfering the data to the appilication server use the &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;syntaxes like Open dataset (for opening dataset)&lt;/P&gt;&lt;P&gt;                    Read dataset.&lt;/P&gt;&lt;P&gt;                    close dataset. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;              for uploading the data into the internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use session or call transaction method for uploading into the database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks and regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 May 2008 08:29:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-transfer-topresentaion-layer/m-p/3801488#M914248</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-21T08:29:58Z</dc:date>
    </item>
  </channel>
</rss>

