<?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: ABOUT BDC in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-bdc/m-p/2576328#M588777</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;do like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:s_file type string value 'c:\vendor.xls'.&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'GUI_UPLOAD'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      FILENAME                      = S_FILE&lt;/P&gt;&lt;P&gt;     FILETYPE                      = 'ASC'&lt;/P&gt;&lt;P&gt;     HAS_FIELD_SEPARATOR           = 'X'&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      DATA_TAB                      = i_lifnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds,&lt;/P&gt;&lt;P&gt;bharat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Aug 2007 11:16:33 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-06T11:16:33Z</dc:date>
    <item>
      <title>ABOUT BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-bdc/m-p/2576325#M588774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HOW TO UPLOAD EXCEL FILE THRU BDC.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Aug 2007 11:09:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-bdc/m-p/2576325#M588774</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-06T11:09:49Z</dc:date>
    </item>
    <item>
      <title>Re: ABOUT BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-bdc/m-p/2576326#M588775</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;Here is the sample code for uploading data through excel.&lt;/P&gt;&lt;P&gt;Just change the fields it will work.&lt;/P&gt;&lt;P&gt;If you still have problem. do get bk. &lt;/P&gt;&lt;P&gt;&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 UPLOAD_EXCEL *&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; Upload and excel file into an internal table using the following *&lt;/P&gt;&lt;P&gt;*&amp;amp; function module: ALSM_EXCEL_TO_INTERNAL_TABLE *&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;REPORT UPLOAD_EXCEL no standard page heading.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Data Declaration&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="-----------" /&gt;&lt;P&gt;data: itab like alsmex_tabline occurs 0 with header line.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Has the following format:&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Row number | Colum Number | Value&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;---------------------------------------&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;i.e. 1 1 Name1&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;2 1 Joe&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES: Begin of t_record,&lt;/P&gt;&lt;P&gt;name1 like itab-value,&lt;/P&gt;&lt;P&gt;name2 like itab-value,&lt;/P&gt;&lt;P&gt;age like itab-value,&lt;/P&gt;&lt;P&gt;End of t_record.&lt;/P&gt;&lt;P&gt;DATA: it_record type standard table of t_record initial size 0,&lt;/P&gt;&lt;P&gt;wa_record type t_record.&lt;/P&gt;&lt;P&gt;DATA: gd_currentrow type i.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Selection Screen Declaration&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="-----------------------" /&gt;&lt;P&gt;PARAMETER p_infile like rlgrap-filename.&lt;/P&gt;&lt;P&gt;&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;call function 'ALSM_EXCEL_TO_INTERNAL_TABLE'&lt;/P&gt;&lt;P&gt;exporting&lt;/P&gt;&lt;P&gt;filename = p_infile&lt;/P&gt;&lt;P&gt;i_begin_col = '1'&lt;/P&gt;&lt;P&gt;i_begin_row = '2' "Do not require headings&lt;/P&gt;&lt;P&gt;i_end_col = '14'&lt;/P&gt;&lt;P&gt;i_end_row = '31'&lt;/P&gt;&lt;P&gt;tables&lt;/P&gt;&lt;P&gt;intern = itab&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;if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;message e010(zz) with text-001. "Problem uploading Excel Spreadsheet&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Sort table by rows and colums&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;sort itab by row col.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Get first row retrieved&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;read table itab index 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Set first row retrieved to current row&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;gd_currentrow = itab-row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Reset values for next row&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;if itab-row ne gd_currentrow.&lt;/P&gt;&lt;P&gt;append wa_record to it_record.&lt;/P&gt;&lt;P&gt;clear wa_record.&lt;/P&gt;&lt;P&gt;gd_currentrow = itab-row.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;case itab-col.&lt;/P&gt;&lt;P&gt;when '0001'. "First name&lt;/P&gt;&lt;P&gt;wa_record-name1 = itab-value.&lt;/P&gt;&lt;P&gt;when '0002'. "Surname&lt;/P&gt;&lt;P&gt;wa_record-name2 = itab-value.&lt;/P&gt;&lt;P&gt;when '0003'. "Age&lt;/P&gt;&lt;P&gt;wa_record-age = itab-value.&lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;append wa_record to it_record.&lt;/P&gt;&lt;P&gt;*!! Excel data is now contained within the internal table IT_RECORD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Display report data for illustration purposes&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;loop at it_record into wa_record.&lt;/P&gt;&lt;P&gt;write:/ sy-vline,&lt;/P&gt;&lt;P&gt;(10) wa_record-name1, sy-vline,&lt;/P&gt;&lt;P&gt;(10) wa_record-name2, sy-vline,&lt;/P&gt;&lt;P&gt;(10) wa_record-age, sy-vline.&lt;/P&gt;&lt;P&gt;endloop.&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;Padmam.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Aug 2007 11:13:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-bdc/m-p/2576326#M588775</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-06T11:13:58Z</dc:date>
    </item>
    <item>
      <title>Re: ABOUT BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-bdc/m-p/2576327#M588776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;To transfer an excel file u can use either normal BDC or LSMW.&lt;/P&gt;&lt;P&gt;I am giving one example regarding this,i used recording for this using XK01.&lt;/P&gt;&lt;P&gt;u have to use 'ALSM_EXCEL_TO_INTERNAL_TABLE' fn module.&lt;/P&gt;&lt;P&gt;check below program.&lt;/P&gt;&lt;P&gt;report z_bdcp_xk&lt;/P&gt;&lt;P&gt;no standard page heading line-size 255.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables : lfa1,rf02k.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : begin of itab occurs 0,&lt;/P&gt;&lt;P&gt;lifnr like rf02k-lifnr,&lt;/P&gt;&lt;P&gt;ktokk like rf02k-ktokk,&lt;/P&gt;&lt;P&gt;name1 like lfa1-name1,&lt;/P&gt;&lt;P&gt;sortl like lfa1-sortl,&lt;/P&gt;&lt;P&gt;land1 like lfa1-land1,&lt;/P&gt;&lt;P&gt;spras like lfa1-spras,&lt;/P&gt;&lt;P&gt;end of itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : itab1 like alsmex_tabline occurs 0 with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : b1 type i value 1,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c1 type i value 1,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b2 type i value 10,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c2 type i value 99.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;include bdcrecx1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start-of-selection.&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 = 'C:\EXCEL.XLS'&lt;/P&gt;&lt;P&gt;i_begin_col = b1&lt;/P&gt;&lt;P&gt;i_begin_row = c1&lt;/P&gt;&lt;P&gt;i_end_col = b2&lt;/P&gt;&lt;P&gt;i_end_row = c2&lt;/P&gt;&lt;P&gt;tables&lt;/P&gt;&lt;P&gt;intern = itab1&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;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;perform organize_uploaded_data.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform open_group.&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;perform bdc_dynpro using 'SAPMF02K' '0100'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;'RF02K-KTOKK'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;'/00'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'RF02K-LIFNR'&lt;/P&gt;&lt;P&gt;itab-lifnr.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'RF02K-KTOKK'&lt;/P&gt;&lt;P&gt;itab-ktokk.&lt;/P&gt;&lt;P&gt;perform bdc_dynpro using 'SAPMF02K' '0110'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;'LFA1-SPRAS'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;'/00'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'LFA1-NAME1'&lt;/P&gt;&lt;P&gt;itab-name1.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'LFA1-SORTL'&lt;/P&gt;&lt;P&gt;itab-sortl.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'LFA1-LAND1'&lt;/P&gt;&lt;P&gt;itab-land1.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'LFA1-SPRAS'&lt;/P&gt;&lt;P&gt;itab-spras.&lt;/P&gt;&lt;P&gt;perform bdc_dynpro using 'SAPMF02K' '0120'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;'LFA1-KUNNR'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;'/00'.&lt;/P&gt;&lt;P&gt;perform bdc_dynpro using 'SAPMF02K' '0130'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;'LFBK-BANKS(01)'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;'=ENTR'.&lt;/P&gt;&lt;P&gt;perform bdc_dynpro using 'SAPLSPO1' '0300'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;'=YES'.&lt;/P&gt;&lt;P&gt;perform bdc_transaction using 'XK01'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform close_group.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;form organize_uploaded_data .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sort itab1 by row&lt;/P&gt;&lt;P&gt;col.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;case itab1-col.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;....................................................&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;when 1.&lt;/P&gt;&lt;P&gt;itab-lifnr = itab1-value.&lt;/P&gt;&lt;P&gt;when 2.&lt;/P&gt;&lt;P&gt;itab-ktokk = itab1-value.&lt;/P&gt;&lt;P&gt;when 3.&lt;/P&gt;&lt;P&gt;itab-name1 = itab1-value.&lt;/P&gt;&lt;P&gt;when 4.&lt;/P&gt;&lt;P&gt;itab-sortl = itab1-value.&lt;/P&gt;&lt;P&gt;when 5.&lt;/P&gt;&lt;P&gt;itab-land1 = itab1-value.&lt;/P&gt;&lt;P&gt;when 6.&lt;/P&gt;&lt;P&gt;itab-spras = itab1-value.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;....................................................&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at end of row.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;wa_tabdata-mandt = sy-mandt.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;APPEND wa_tabdata TO it_tabdata.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;CLEAR: wa_tabdata.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;append itab.&lt;/P&gt;&lt;P&gt;clear itab.&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;IF U WANT TO UPLOAD DATA USING LSMW,then u have to save excel file as .CSV FORMAT AND REMAINING STEPS ARE SAME.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Aug 2007 11:14:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-bdc/m-p/2576327#M588776</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-06T11:14:44Z</dc:date>
    </item>
    <item>
      <title>Re: ABOUT BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-bdc/m-p/2576328#M588777</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;do like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:s_file type string value 'c:\vendor.xls'.&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'GUI_UPLOAD'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      FILENAME                      = S_FILE&lt;/P&gt;&lt;P&gt;     FILETYPE                      = 'ASC'&lt;/P&gt;&lt;P&gt;     HAS_FIELD_SEPARATOR           = 'X'&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      DATA_TAB                      = i_lifnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds,&lt;/P&gt;&lt;P&gt;bharat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Aug 2007 11:16:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-bdc/m-p/2576328#M588777</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-06T11:16:33Z</dc:date>
    </item>
    <item>
      <title>Re: ABOUT BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-bdc/m-p/2576329#M588778</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;U can use FM 'ALSM_EXCEL_TO_INTERNAL_TABLE' to upload excel file into internal table.&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_file&lt;/P&gt;&lt;P&gt;i_begin_col = '1'&lt;/P&gt;&lt;P&gt;i_begin_row = '1' "Do not require headings&lt;/P&gt;&lt;P&gt;i_end_col = '10'&lt;/P&gt;&lt;P&gt;i_end_row = '10000'&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;intern = itab&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;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;MESSAGE e001(zz) WITH text-005.&lt;/P&gt;&lt;P&gt;"Problem uploading Excel Spreadsheet&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after successful uploading of excel file to internal table u can bdc recording to upload it into sap tables using BDC.&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;Sankar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Aug 2007 11:17:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-bdc/m-p/2576329#M588778</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-06T11:17:39Z</dc:date>
    </item>
  </channel>
</rss>

