<?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: Upload from presentation server - Data Interpretation Error in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-from-presentation-server-data-interpretation-error/m-p/3662437#M882172</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i think u have created flat file check the entries in sbook table and try to recreate flat file according to it&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Apr 2008 05:05:14 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-14T05:05:14Z</dc:date>
    <item>
      <title>Upload from presentation server - Data Interpretation Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-from-presentation-server-data-interpretation-error/m-p/3662433#M882168</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 have written a program to populate an internal table from database table and download the data to a file on presentation server(Desktop).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have also wriiten a program to upload the data from the same file on presentation server to populate the internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got a data interpretation error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Database table i used is SBOOK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The fields that caused the data interpretation error while uploading the data from presentation server to populate internal table are, LUGGWEIGHT ( Luggage Weight - Decimal Value), FORCURAM ( Foreign Currency) and LOCCURAM(Local Currency).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there anyway i can fix this error. How to make the interpretation correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your time. &lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;&lt;STRONG&gt;&amp;lt;REMOVED BY MODERATOR&amp;gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shiv&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Sivaram  Naga on Apr 14, 2008 6:24 AM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Alvaro Tejada Galindo on Apr 14, 2008 3:27 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Apr 2008 04:22:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-from-presentation-server-data-interpretation-error/m-p/3662433#M882168</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-14T04:22:39Z</dc:date>
    </item>
    <item>
      <title>Re: Upload from presentation server - Data Interpretation Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-from-presentation-server-data-interpretation-error/m-p/3662434#M882169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Sivaram,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please specify which FM you are using ,and what is the file format into which you are downloading...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Talwinder&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Apr 2008 04:31:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-from-presentation-server-data-interpretation-error/m-p/3662434#M882169</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-14T04:31:54Z</dc:date>
    </item>
    <item>
      <title>Re: Upload from presentation server - Data Interpretation Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-from-presentation-server-data-interpretation-error/m-p/3662435#M882170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using GUI_UPLOAD and GUI_DOWNLOAD&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Apr 2008 04:56:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-from-presentation-server-data-interpretation-error/m-p/3662435#M882170</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-14T04:56:45Z</dc:date>
    </item>
    <item>
      <title>Re: Upload from presentation server - Data Interpretation Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-from-presentation-server-data-interpretation-error/m-p/3662436#M882171</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 Gui_Download like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     CALL FUNCTION 'GUI_DOWNLOAD'&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       BIN_FILESIZE                    =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;         filename                        = 'C:\Documents and Settings\saptrng\Desktop\desktop\xyz.txt'&lt;/P&gt;&lt;P&gt;        FILETYPE                        = 'ASC'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       APPEND                          = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        WRITE_FIELD_SEPARATOR           = 'X'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       HEADER                          = '00'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       TRUNC_TRAILING_BLANKS           = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       WRITE_LF                        = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       COL_SELECT                      = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       COL_SELECT_MASK                 = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       DAT_MODE                        = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       CONFIRM_OVERWRITE               = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       NO_AUTH_CHECK                   = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       CODEPAGE                        = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       IGNORE_CERR                     = ABAP_TRUE&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       REPLACEMENT                     = '#'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       WRITE_BOM                       = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       TRUNC_TRAILING_BLANKS_EOL       = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       WK1_N_FORMAT                    = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       WK1_N_SIZE                      = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       WK1_T_FORMAT                    = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       WK1_T_SIZE                      = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       FILELENGTH                      =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;       tables&lt;/P&gt;&lt;P&gt;         data_tab                        = itab&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       FIELDNAMES                      =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     EXCEPTIONS&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       FILE_WRITE_ERROR                = 1&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       NO_BATCH                        = 2&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       GUI_REFUSE_FILETRANSFER         = 3&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       INVALID_TYPE                    = 4&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       NO_AUTHORITY                    = 5&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       UNKNOWN_ERROR                   = 6&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       HEADER_NOT_ALLOWED              = 7&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       SEPARATOR_NOT_ALLOWED           = 8&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       FILESIZE_NOT_ALLOWED            = 9&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       HEADER_TOO_LONG                 = 10&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       DP_ERROR_CREATE                 = 11&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       DP_ERROR_SEND                   = 12&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       DP_ERROR_WRITE                  = 13&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       UNKNOWN_DP_ERROR                = 14&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       ACCESS_DENIED                   = 15&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       DP_OUT_OF_MEMORY                = 16&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       DISK_FULL                       = 17&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       DP_TIMEOUT                      = 18&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       FILE_NOT_FOUND                  = 19&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       DATAPROVIDER_EXCEPTION          = 20&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       CONTROL_FLUSH_ERROR             = 21&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       OTHERS                          = 22&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;               .&lt;/P&gt;&lt;P&gt;     IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;     ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Apr 2008 05:00:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-from-presentation-server-data-interpretation-error/m-p/3662436#M882171</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-14T05:00:57Z</dc:date>
    </item>
    <item>
      <title>Re: Upload from presentation server - Data Interpretation Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-from-presentation-server-data-interpretation-error/m-p/3662437#M882172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i think u have created flat file check the entries in sbook table and try to recreate flat file according to it&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Apr 2008 05:05:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-from-presentation-server-data-interpretation-error/m-p/3662437#M882172</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-14T05:05:14Z</dc:date>
    </item>
    <item>
      <title>Re: Upload from presentation server - Data Interpretation Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-from-presentation-server-data-interpretation-error/m-p/3662438#M882173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Singh and KPN,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your quick answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to add some more.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I populated the internal table with 10 fields from database table and downloaded the internal table records to a file on my desktop using GUI_DOWNLOAD Function Module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Later, I commented out the above Function Module and Select Query and used the GUI_UPLOAD function module to upload the same file to populate the internal table and have written those entries to output using LOOP AT ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Out of 10 fields 7 fields(including a date field in it) caused no problem at all, They have been successfully written to output. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I checked each field by commenting out rest of the fields. Thats how i came to know the only three fields with decimal values are causing errors. I  am not sure whether their floating point nature is causing the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope you are clear now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly help me out in fixing the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PLEASE HELP ME OUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shiv&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Sivaram  Naga on Apr 14, 2008 8:00 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Apr 2008 05:20:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-from-presentation-server-data-interpretation-error/m-p/3662438#M882173</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-14T05:20:40Z</dc:date>
    </item>
    <item>
      <title>Re: Upload from presentation server - Data Interpretation Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-from-presentation-server-data-interpretation-error/m-p/3662439#M882174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please paste how you declared the internal table,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for both FMs, upload and download&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Apr 2008 18:12:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-from-presentation-server-data-interpretation-error/m-p/3662439#M882174</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-14T18:12:31Z</dc:date>
    </item>
    <item>
      <title>Re: Upload from presentation server - Data Interpretation Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-from-presentation-server-data-interpretation-error/m-p/3662440#M882175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt; REPORT  zpbfileupload1.

TABLES: sbook.


DATA: BEGIN OF itab OCCURS 0,
carrid LIKE sbook-carrid,
connid LIKE sbook-connid,
fldate LIKE sbook-fldate,
bookid TYPE sbook-bookid,
customid TYPE sbook-customid,
custtype TYPE sbook-custtype,
class TYPE sbook-class,
*luggweight TYPE sbook-luggweight,
passname TYPE sbook-passname,
smoker TYPE sbook-smoker,
forcuram TYPE sbook-forcuram,
loccuram TYPE sbook-loccuram,
END OF itab.

* Download Part

*SELECT * FROM sbook INTO CORRESPONDING FIELDS OF TABLE itab UP TO 20 ROWS.
*
*
* CALL FUNCTION 'GUI_DOWNLOAD'
*   EXPORTING
*      filename                        = 'C:\users\vamc\documents\bookinginfo.txt'
*
*   tables
*     data_tab                        = itab.

* Upload Part

CALL FUNCTION 'GUI_UPLOAD'
  EXPORTING
    filename                      = 'C:\users\vamc\documents\bookinginfo.txt'
   tables
    data_tab                      = ITAB.



loop at itab.
write: / itab-carrid, itab-connid, itab-bookid, itab-fldate, itab-customid, itab-custtype, itab-class, itab-passname, itab-smoker.
endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Apr 2008 18:51:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-from-presentation-server-data-interpretation-error/m-p/3662440#M882175</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-14T18:51:42Z</dc:date>
    </item>
    <item>
      <title>Re: Upload from presentation server - Data Interpretation Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-from-presentation-server-data-interpretation-error/m-p/3662441#M882176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i just added&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     FILETYPE                      = 'ASC'&lt;/P&gt;&lt;P&gt;     HAS_FIELD_SEPARATOR           = 'X'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to both upload and download and it is working perfect.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Apr 2008 19:26:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-from-presentation-server-data-interpretation-error/m-p/3662441#M882176</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-14T19:26:06Z</dc:date>
    </item>
    <item>
      <title>Re: Upload from presentation server - Data Interpretation Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-from-presentation-server-data-interpretation-error/m-p/3662442#M882177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Take a look at this weblog&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Taking good care of Z Data|https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/3340] &lt;B&gt;[original link is broken]&lt;/B&gt; &lt;B&gt;[original link is broken]&lt;/B&gt; &lt;B&gt;[original link is broken]&lt;/B&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Already does what you need -;)&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>Mon, 14 Apr 2008 19:29:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-from-presentation-server-data-interpretation-error/m-p/3662442#M882177</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-14T19:29:35Z</dc:date>
    </item>
    <item>
      <title>Re: Upload from presentation server - Data Interpretation Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-from-presentation-server-data-interpretation-error/m-p/3662443#M882178</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 refer the code below:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
*   Download internal table to presentation server file(PC)
*   Separating fields/columns by a tab

  DATA: ld_filename TYPE string,
* Pre version 4.7 declaration e_file like rlgrap-filename.

  DATA: begin of it_datatab occurs 0,
  col1(50) type c,
  col2(50) type c,
  col3(50) type c,
*       etc....
 end of it_datatab.

"Write select statement to get the data from some table and store it in it_datatab.

"Use below code to download the data
  CALL FUNCTION 'GUI_DOWNLOAD'
   EXPORTING
        filename         = ld_filename
        filetype         = 'ASC'
*       APPEND           = 'X'
        write_field_separator = 'X'
*       CONFIRM_OVERWRITE = 'X'
   TABLES
        data_tab         = it_datatab[]
   EXCEPTIONS
        file_open_error  = 1
        file_write_error = 2
        OTHERS           = 3.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sriram Ponna.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Apr 2008 19:33:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-from-presentation-server-data-interpretation-error/m-p/3662443#M882178</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-14T19:33:09Z</dc:date>
    </item>
  </channel>
</rss>

