<?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: Excel Upload , issues in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/excel-upload-issues/m-p/2957097#M697585</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Krish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;File manuplations............................... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. At the presentation level:&lt;/P&gt;&lt;P&gt;-&amp;gt;GUI_UPLOAD&lt;/P&gt;&lt;P&gt;-&amp;gt;GUI_DOWNLOAD&lt;/P&gt;&lt;P&gt;-&amp;gt;CL_GUI_FRONTEND&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. At the application server level:&lt;/P&gt;&lt;P&gt;-&amp;gt;OPEN DATASET : open a file in the application server for reading or writing. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&amp;gt;READ DATASET : used to read from a file on the application server that has been opened for reading&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&amp;gt; TRANSFER DATASET : writing data to a file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&amp;gt; CLOSE DATASET : closes the file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&amp;gt; DELETE DATASET : delete file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;************************************************************************************************&lt;/P&gt;&lt;P&gt;If file is on the local PC,use the function module GUI_UPLOAD to upload it into an internal table by passing the given parameters......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'GUI_UPLOAD'&lt;/P&gt;&lt;P&gt;exporting&lt;/P&gt;&lt;P&gt;filename = p_file&lt;/P&gt;&lt;P&gt;filetype = 'ASC'&lt;/P&gt;&lt;P&gt;has_field_separator = '#'&lt;/P&gt;&lt;P&gt;tables&lt;/P&gt;&lt;P&gt;data_tab = t_data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;******************************************************************************&lt;/P&gt;&lt;P&gt;p_file : excel file path.&lt;/P&gt;&lt;P&gt;t_data : internal table&lt;/P&gt;&lt;P&gt;*******************************************************************************&lt;/P&gt;&lt;P&gt;reward points if useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Vinod Samuel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Oct 2007 05:24:10 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-18T05:24:10Z</dc:date>
    <item>
      <title>Excel Upload , issues</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/excel-upload-issues/m-p/2957091#M697579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi I am using the FM ALSM_EXCEL_TO_INTERNAL_TABLE to upload a excel file to an internal table. I am giving a row and column range and all data with in this range should be in the internal table. Now the problem is , those cells that are blank , are not uploaded , I want the blanks also to be loaded in to the internal table. Can this be achieved ?&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Oct 2007 16:37:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/excel-upload-issues/m-p/2957091#M697579</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-17T16:37:34Z</dc:date>
    </item>
    <item>
      <title>Re: Excel Upload , issues</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/excel-upload-issues/m-p/2957092#M697580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using this fm it is not possible, but you can use GUI_UPLOAD and change EXCEL to CSV format and upload the file. This will help you to get blank cells.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ashish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Oct 2007 16:41:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/excel-upload-issues/m-p/2957092#M697580</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-17T16:41:14Z</dc:date>
    </item>
    <item>
      <title>Re: Excel Upload , issues</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/excel-upload-issues/m-p/2957093#M697581</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 try FM TEXT_CONVERT_XLS_TO_SAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also check this link for sample codes.&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapdevelopment.co.uk/file/file_upexcel.htm" target="test_blank"&gt;http://www.sapdevelopment.co.uk/file/file_upexcel.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>Wed, 17 Oct 2007 17:56:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/excel-upload-issues/m-p/2957093#M697581</guid>
      <dc:creator>ferry_lianto</dc:creator>
      <dc:date>2007-10-17T17:56:14Z</dc:date>
    </item>
    <item>
      <title>Re: Excel Upload , issues</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/excel-upload-issues/m-p/2957094#M697582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why do you need that? when you didnt find a certain row/column in the table you know that its value is blank:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pseudocode:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read table it_excel with key row = 4 col = 6.&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;field = value.&lt;/P&gt;&lt;P&gt;else,&lt;/P&gt;&lt;P&gt;clear field.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Oct 2007 18:43:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/excel-upload-issues/m-p/2957094#M697582</guid>
      <dc:creator>rainer_hbenthal</dc:creator>
      <dc:date>2007-10-17T18:43:55Z</dc:date>
    </item>
    <item>
      <title>Re: Excel Upload , issues</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/excel-upload-issues/m-p/2957095#M697583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Krish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This fm has a limitation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's the 50-character size of the VALUE field in structure ALSMEX_TABLINE.Some of the cells in the source files contain texts which are longer than 50 characters and therefore the texts are truncated. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a®&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Oct 2007 19:16:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/excel-upload-issues/m-p/2957095#M697583</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2007-10-17T19:16:28Z</dc:date>
    </item>
    <item>
      <title>Re: Excel Upload , issues</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/excel-upload-issues/m-p/2957096#M697584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this...I think this should resolve ur problem....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    v_semfile = p_ifname.&lt;/P&gt;&lt;P&gt;    refresh it_input.&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        FILENAME                = v_semfile&lt;/P&gt;&lt;P&gt;        I_BEGIN_COL             = 1&lt;/P&gt;&lt;P&gt;        I_BEGIN_ROW             = 2&lt;/P&gt;&lt;P&gt;        I_END_COL               = 17&lt;/P&gt;&lt;P&gt;        I_END_ROW               = 6&lt;/P&gt;&lt;P&gt;      TABLES&lt;/P&gt;&lt;P&gt;        INTERN                  = it_input&lt;/P&gt;&lt;P&gt;      EXCEPTIONS&lt;/P&gt;&lt;P&gt;        INCONSISTENT_PARAMETERS = 1&lt;/P&gt;&lt;P&gt;        UPLOAD_OLE              = 2&lt;/P&gt;&lt;P&gt;        OTHERS                  = 3.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Oct 2007 21:03:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/excel-upload-issues/m-p/2957096#M697584</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-17T21:03:00Z</dc:date>
    </item>
    <item>
      <title>Re: Excel Upload , issues</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/excel-upload-issues/m-p/2957097#M697585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Krish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;File manuplations............................... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. At the presentation level:&lt;/P&gt;&lt;P&gt;-&amp;gt;GUI_UPLOAD&lt;/P&gt;&lt;P&gt;-&amp;gt;GUI_DOWNLOAD&lt;/P&gt;&lt;P&gt;-&amp;gt;CL_GUI_FRONTEND&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. At the application server level:&lt;/P&gt;&lt;P&gt;-&amp;gt;OPEN DATASET : open a file in the application server for reading or writing. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&amp;gt;READ DATASET : used to read from a file on the application server that has been opened for reading&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&amp;gt; TRANSFER DATASET : writing data to a file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&amp;gt; CLOSE DATASET : closes the file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&amp;gt; DELETE DATASET : delete file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;************************************************************************************************&lt;/P&gt;&lt;P&gt;If file is on the local PC,use the function module GUI_UPLOAD to upload it into an internal table by passing the given parameters......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'GUI_UPLOAD'&lt;/P&gt;&lt;P&gt;exporting&lt;/P&gt;&lt;P&gt;filename = p_file&lt;/P&gt;&lt;P&gt;filetype = 'ASC'&lt;/P&gt;&lt;P&gt;has_field_separator = '#'&lt;/P&gt;&lt;P&gt;tables&lt;/P&gt;&lt;P&gt;data_tab = t_data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;******************************************************************************&lt;/P&gt;&lt;P&gt;p_file : excel file path.&lt;/P&gt;&lt;P&gt;t_data : internal table&lt;/P&gt;&lt;P&gt;*******************************************************************************&lt;/P&gt;&lt;P&gt;reward points if useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Vinod Samuel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2007 05:24:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/excel-upload-issues/m-p/2957097#M697585</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-18T05:24:10Z</dc:date>
    </item>
    <item>
      <title>Re: Excel Upload , issues</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/excel-upload-issues/m-p/2957098#M697586</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;this program is write like excel sheet to internal table and then to application server &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see this you can understand very easily &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp; Report  ZSD_EXCEL_INT_APP&lt;/P&gt;&lt;P&gt;*&amp;amp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;&lt;/P&gt;&lt;P&gt;*&amp;amp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  ZSD_EXCEL_INT_APP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameter: file_nm type localfile.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;types : begin of it_tab1,&lt;/P&gt;&lt;P&gt;        f1(20),&lt;/P&gt;&lt;P&gt;        f2(40),&lt;/P&gt;&lt;P&gt;        f3(20),&lt;/P&gt;&lt;P&gt;       end of it_tab1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : it_tab type table of ALSMEX_TABLINE with header line,&lt;/P&gt;&lt;P&gt;       file type rlgrap-filename.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : it_tab2 type it_tab1 occurs 1,&lt;/P&gt;&lt;P&gt;       wa_tab2 type it_tab1,&lt;/P&gt;&lt;P&gt;       w_message(100)  TYPE c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen on value-request for file_nm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'KD_GET_FILENAME_ON_F4'&lt;/P&gt;&lt;P&gt; EXPORTING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  PROGRAM_NAME        = SYST-REPID&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  DYNPRO_NUMBER       = SYST-DYNNR&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  FIELD_NAME          = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   STATIC              = 'X'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  MASK                = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CHANGING&lt;/P&gt;&lt;P&gt;   file_name           = file_nm&lt;/P&gt;&lt;P&gt; EXCEPTIONS&lt;/P&gt;&lt;P&gt;   MASK_TOO_LONG       = 1&lt;/P&gt;&lt;P&gt;   OTHERS              = 2&lt;/P&gt;&lt;P&gt;          .&lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt; MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;P&gt;         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&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;start-of-selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;refresh it_tab2[].clear wa_tab2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;file = file_nm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    filename                      = file&lt;/P&gt;&lt;P&gt;    i_begin_col                   = '1'&lt;/P&gt;&lt;P&gt;    i_begin_row                   =  '1'&lt;/P&gt;&lt;P&gt;    i_end_col                     = '10'&lt;/P&gt;&lt;P&gt;    i_end_row                     = '35'&lt;/P&gt;&lt;P&gt;  tables&lt;/P&gt;&lt;P&gt;    intern                        = it_tab&lt;/P&gt;&lt;P&gt; EXCEPTIONS&lt;/P&gt;&lt;P&gt;   INCONSISTENT_PARAMETERS       = 1&lt;/P&gt;&lt;P&gt;   UPLOAD_OLE                    = 2&lt;/P&gt;&lt;P&gt;   OTHERS                        = 3&lt;/P&gt;&lt;P&gt;          .&lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt; MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;P&gt;         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at it_tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  case it_tab-col.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   when '002'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    wa_tab2-f1 = it_tab-value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   when '004'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    wa_tab2-f2 = it_tab-value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  when '008'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    wa_tab2-f3 = it_tab-value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; endcase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; at end of row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  append wa_tab2 to it_tab2.&lt;/P&gt;&lt;P&gt; clear wa_tab2.&lt;/P&gt;&lt;P&gt;  endat.&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;data : p_file TYPE  rlgrap-filename value 'TEST3.txt'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OPEN DATASET p_file FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.&lt;/P&gt;&lt;P&gt;*--- Display error messages if any.&lt;/P&gt;&lt;P&gt;  IF sy-subrc NE 0.&lt;/P&gt;&lt;P&gt;    MESSAGE e001(zsd_mes).&lt;/P&gt;&lt;P&gt;    EXIT.&lt;/P&gt;&lt;P&gt;  ELSE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*---Data is downloaded to the application server file path&lt;/P&gt;&lt;P&gt;    LOOP AT it_tab2 INTO wa_tab2.&lt;/P&gt;&lt;P&gt;      TRANSFER wa_tab2 TO p_file.&lt;/P&gt;&lt;P&gt;    ENDLOOP.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*--Close the Application server file (Mandatory).&lt;/P&gt;&lt;P&gt;  CLOSE DATASET p_file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; loop at it_tab2 into wa_tab2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  write : / wa_tab2-f1,wa_tab2-f2,wa_tab2-f3.&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;&amp;lt;b&amp;gt;Reward fi usefull&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2007 05:30:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/excel-upload-issues/m-p/2957098#M697586</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-18T05:30:04Z</dc:date>
    </item>
  </channel>
</rss>

