<?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 the excel file in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-the-excel-file/m-p/5874350#M1323864</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check the following link&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;/people/alvaro.tejadagalindo/blog/2009/02/05/excel-ole-and-abap--create-fancy-reports&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jul 2009 12:01:51 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-07-15T12:01:51Z</dc:date>
    <item>
      <title>Upload the excel file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-the-excel-file/m-p/5874344#M1323858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;  In my requirement i want to upload excel file and then i have to validate the belnr value present in the excel.How to do it.Can somebody help me with a sample code&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2009 09:05:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-the-excel-file/m-p/5874344#M1323858</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-15T09:05:02Z</dc:date>
    </item>
    <item>
      <title>Re: Upload the excel file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-the-excel-file/m-p/5874345#M1323859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI&lt;/P&gt;&lt;P&gt;    check this [WIKI|http://wiki.sdn.sap.com/wiki/x/xOw]&lt;/P&gt;&lt;P&gt;Once uploaded , you can check the value of belnr from the data .&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Viquar Iqbal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2009 09:09:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-the-excel-file/m-p/5874345#M1323859</guid>
      <dc:creator>viquar_iqbal</dc:creator>
      <dc:date>2009-07-15T09:09:08Z</dc:date>
    </item>
    <item>
      <title>Re: Upload the excel file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-the-excel-file/m-p/5874346#M1323860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2009 09:09:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-the-excel-file/m-p/5874346#M1323860</guid>
      <dc:creator>viquar_iqbal</dc:creator>
      <dc:date>2009-07-15T09:09:50Z</dc:date>
    </item>
    <item>
      <title>Re: Upload the excel file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-the-excel-file/m-p/5874347#M1323861</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 is simple..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.Declare the intrenal table having same structure as table .&lt;/P&gt;&lt;P&gt;2.Use the FM 'TEXT_CONVERT_XLS_TO_SAP'/GUI_UPLOAD(if file is saved a stab deliminator) in the intrenal table&lt;/P&gt;&lt;P&gt;3.Then with in th eloop on the internal table simply verify the data for BELNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS:Search the forum before posting...you'll definetly get good post on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this might help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pooja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2009 09:13:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-the-excel-file/m-p/5874347#M1323861</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-15T09:13:28Z</dc:date>
    </item>
    <item>
      <title>Re: Upload the excel file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-the-excel-file/m-p/5874348#M1323862</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 following FM&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                = p_infile  " Location of file.&lt;/P&gt;&lt;P&gt;      i_begin_col             = c_begin_col&lt;/P&gt;&lt;P&gt;      i_begin_row             = c_begin_row&lt;/P&gt;&lt;P&gt;      i_end_col               = c_end_col&lt;/P&gt;&lt;P&gt;      i_end_row               = c_end_row&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      intern                  = ig_file1&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;Do the validations as required with data in internal table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Milan Shah&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Milan Shah on Jul 15, 2009 11:15 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2009 09:14:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-the-excel-file/m-p/5874348#M1323862</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-15T09:14:18Z</dc:date>
    </item>
    <item>
      <title>Re: Upload the excel file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-the-excel-file/m-p/5874349#M1323863</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 use following FM,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES : BEGIN OF t_text,&lt;/P&gt;&lt;P&gt;         field(255) TYPE c,&lt;/P&gt;&lt;P&gt;        END OF t_text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : lt_table TYPE TABLE OF t_text,&lt;/P&gt;&lt;P&gt;            ls_table TYPE t_text,&lt;/P&gt;&lt;P&gt;           p_file1  TYPE string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS : p_file LIKE ibipparms-path OBLIGATORY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'F4_FILENAME'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    PROGRAM_NAME        = SYST-CPROG&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;   IMPORTING&lt;/P&gt;&lt;P&gt;     file_name           = p_file&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;  p_file1 = p_file.&lt;/P&gt;&lt;P&gt;  CONDENSE p_file1.&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_file1   " File Path Name&lt;/P&gt;&lt;P&gt;    filetype = 'ASC'&lt;/P&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;    data_tab = lt_table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;ShreeMohan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2009 09:22:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-the-excel-file/m-p/5874349#M1323863</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-15T09:22:12Z</dc:date>
    </item>
    <item>
      <title>Re: Upload the excel file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-the-excel-file/m-p/5874350#M1323864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check the following link&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;/people/alvaro.tejadagalindo/blog/2009/02/05/excel-ole-and-abap--create-fancy-reports&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2009 12:01:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-the-excel-file/m-p/5874350#M1323864</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-15T12:01:51Z</dc:date>
    </item>
    <item>
      <title>Re: Upload the excel file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-the-excel-file/m-p/5874351#M1323865</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;Save you excel file as .CSV.&lt;/P&gt;&lt;P&gt;Then in your program &lt;/P&gt;&lt;P&gt;use FM GUI_UPLOAD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2009 12:10:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-the-excel-file/m-p/5874351#M1323865</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-15T12:10:23Z</dc:date>
    </item>
  </channel>
</rss>

