<?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: BDC table control using Excel sheet upload in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-table-control-using-excel-sheet-upload/m-p/4213750#M1006936</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;which transaction is the BDC for?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Jul 2008 09:25:04 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-24T09:25:04Z</dc:date>
    <item>
      <title>BDC table control using Excel sheet upload</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-table-control-using-excel-sheet-upload/m-p/4213749#M1006935</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 am working BDC table control.I want to upload the From excel sheet.I am using the FM ALSM_EXCEL_TO_INTERNAL_TABLE to upload the the data into my internal table.The data is populating in the internal table.&lt;/P&gt;&lt;P&gt;Now i have problem tat how to populate this excel sheet data to the Bdc table control.&lt;/P&gt;&lt;P&gt;Can nybody help me out.&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;&lt;STRONG&gt;\[removed by moderator\]&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Swapna.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Jan Stallkamp on Jul 25, 2008 10:57 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jul 2008 09:21:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-table-control-using-excel-sheet-upload/m-p/4213749#M1006935</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-24T09:21:33Z</dc:date>
    </item>
    <item>
      <title>Re: BDC table control using Excel sheet upload</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-table-control-using-excel-sheet-upload/m-p/4213750#M1006936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;which transaction is the BDC for?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jul 2008 09:25:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-table-control-using-excel-sheet-upload/m-p/4213750#M1006936</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-24T09:25:04Z</dc:date>
    </item>
    <item>
      <title>Re: BDC table control using Excel sheet upload</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-table-control-using-excel-sheet-upload/m-p/4213751#M1006937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;after fetching data from EXCEL sheet, each column data (in excel sheet) will be uploaded to individual record into your internal table along with row number and column number, loop through that internal table and collect all your excel data into record format.pls refer the below code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:&lt;/P&gt;&lt;P&gt;     i_excel    type alsmex_tabline occurs 0 with header line,&lt;/P&gt;&lt;P&gt;     l_row      type i value 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:&lt;/P&gt;&lt;P&gt;     begin of x_data occurs 0,&lt;/P&gt;&lt;P&gt;            kunnr     like RF02L-KUNNR,&lt;/P&gt;&lt;P&gt;            klimk(17) type c,&lt;/P&gt;&lt;P&gt;            CTLPC     like knkk-CTLPC,&lt;/P&gt;&lt;P&gt;      end  of x_data,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      begin of x_data1 occurs 0,&lt;/P&gt;&lt;P&gt;            data(106),&lt;/P&gt;&lt;P&gt;      end   of x_data1.&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_fname&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                     = no.of columns in your excel file&lt;/P&gt;&lt;P&gt;     i_end_row                     = no.of rows in your file&lt;/P&gt;&lt;P&gt;   tables&lt;/P&gt;&lt;P&gt;     intern                        = i_excel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   loop at i_excel.&lt;/P&gt;&lt;P&gt;     if l_row &amp;lt;&amp;gt; i_excel-row.&lt;/P&gt;&lt;P&gt;        append x_data.&lt;/P&gt;&lt;P&gt;        clear x_data.&lt;/P&gt;&lt;P&gt;     endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     case i_excel-col.&lt;/P&gt;&lt;P&gt;        when 1.&lt;/P&gt;&lt;P&gt;          x_data-kunnr = i_excel-value.&lt;/P&gt;&lt;P&gt;        when 2.&lt;/P&gt;&lt;P&gt;          x_data-klimk = i_excel-value.&lt;/P&gt;&lt;P&gt;        when 3.&lt;/P&gt;&lt;P&gt;          x_data-CTLPC = i_excel-value.&lt;/P&gt;&lt;P&gt;     endcase.&lt;/P&gt;&lt;P&gt;     l_row = i_excel-row.&lt;/P&gt;&lt;P&gt;     clear i_excel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     at last.&lt;/P&gt;&lt;P&gt;        append x_data.&lt;/P&gt;&lt;P&gt;     endat.&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;&lt;/P&gt;&lt;P&gt;then loop through the internal table X_DATA, pass the data to your table control like.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tbl_control-field1(1) = x_data-field1.&lt;/P&gt;&lt;P&gt;tbl_control-field2(1) = x_data-field2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tbl_control-fieldn(1) = x_data-fieldn.&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;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sreeram.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jul 2008 09:48:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-table-control-using-excel-sheet-upload/m-p/4213751#M1006937</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-24T09:48:51Z</dc:date>
    </item>
    <item>
      <title>Re: BDC table control using Excel sheet upload</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-table-control-using-excel-sheet-upload/m-p/4213752#M1006938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The BDC is for 'KB31N' Transaction&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jul 2008 11:04:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-table-control-using-excel-sheet-upload/m-p/4213752#M1006938</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-24T11:04:29Z</dc:date>
    </item>
    <item>
      <title>Re: BDC table control using Excel sheet upload</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-table-control-using-excel-sheet-upload/m-p/4213753#M1006939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Swapna,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as i would suggest you that we not suppose to do BDC with any enjoy transaction and here KB31N is an enjoy tx so please go ahead with KB31.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and for table control am sure if you search in SDN you will get hundred of answer for table control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Amit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jul 2008 11:21:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-table-control-using-excel-sheet-upload/m-p/4213753#M1006939</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-24T11:21:15Z</dc:date>
    </item>
  </channel>
</rss>

