<?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: uploading data into internal table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-data-into-internal-table/m-p/4843115#M1132881</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&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                = pa_f&lt;/P&gt;&lt;P&gt;      i_begin_col             = co_x  " column num shd start take as 1&lt;/P&gt;&lt;P&gt;      i_begin_row             = co_y "row number shd start take based on the heading in excel sheet&lt;/P&gt;&lt;P&gt;      i_end_col               = co_n13 "end column is 13 here&lt;/P&gt;&lt;P&gt;      i_end_row               = co_50000 "endrow is 50000 here&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      intern                  = ta_file&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 EQ 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    LOOP AT ta_file INTO wa_file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      AT NEW row.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      Clear the  work area&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        CLEAR wa_file.&lt;/P&gt;&lt;P&gt;      ENDAT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    Check the Columen numbers and move the file data in to work area of Task.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    For Column  One&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      IF wa_file-col =  '1'.&lt;/P&gt;&lt;P&gt;        MOVE wa_file-value TO wa_ztemp_employee-employeid.&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;    For Column Two&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      IF wa_file-col = '2'.&lt;/P&gt;&lt;P&gt;        MOVE wa_file-value TO wa_ztemp_employee-employe_name.&lt;/P&gt;&lt;P&gt;      ENDIF.&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;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      The Data Transfer from work area to Internal table&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        APPEND wa_ztemp_employee TO ta_ztemp_employee.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      Clear the  work area&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        CLEAR wa_ztemp_employee.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      ENDAT.&lt;/P&gt;&lt;P&gt;    ENDLOOP.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   ELSE.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  MESSAGE e004 DISPLAY LIKE 'I'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try this code&lt;/P&gt;&lt;P&gt;u will get&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Rasheed salman on Nov 28, 2008 6:33 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Nov 2008 05:33:24 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-11-28T05:33:24Z</dc:date>
    <item>
      <title>uploading data into internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-data-into-internal-table/m-p/4843114#M1132880</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; i;m uploading the file using Function module  ALSM_EXCEL_TO_INTERNAL_TABLE  . problem now is  when i given lower cae in excel it is not taking . when i use upper case then it is taking from excel and putting into internal table  . now i need to take records from excel even it is lower case . can u pls suggest how to proceed and help . Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Nov 2008 05:24:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-data-into-internal-table/m-p/4843114#M1132880</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-28T05:24:22Z</dc:date>
    </item>
    <item>
      <title>Re: uploading data into internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-data-into-internal-table/m-p/4843115#M1132881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&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                = pa_f&lt;/P&gt;&lt;P&gt;      i_begin_col             = co_x  " column num shd start take as 1&lt;/P&gt;&lt;P&gt;      i_begin_row             = co_y "row number shd start take based on the heading in excel sheet&lt;/P&gt;&lt;P&gt;      i_end_col               = co_n13 "end column is 13 here&lt;/P&gt;&lt;P&gt;      i_end_row               = co_50000 "endrow is 50000 here&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      intern                  = ta_file&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 EQ 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    LOOP AT ta_file INTO wa_file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      AT NEW row.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      Clear the  work area&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        CLEAR wa_file.&lt;/P&gt;&lt;P&gt;      ENDAT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    Check the Columen numbers and move the file data in to work area of Task.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    For Column  One&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      IF wa_file-col =  '1'.&lt;/P&gt;&lt;P&gt;        MOVE wa_file-value TO wa_ztemp_employee-employeid.&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;    For Column Two&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      IF wa_file-col = '2'.&lt;/P&gt;&lt;P&gt;        MOVE wa_file-value TO wa_ztemp_employee-employe_name.&lt;/P&gt;&lt;P&gt;      ENDIF.&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;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      The Data Transfer from work area to Internal table&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        APPEND wa_ztemp_employee TO ta_ztemp_employee.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      Clear the  work area&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        CLEAR wa_ztemp_employee.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      ENDAT.&lt;/P&gt;&lt;P&gt;    ENDLOOP.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   ELSE.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  MESSAGE e004 DISPLAY LIKE 'I'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try this code&lt;/P&gt;&lt;P&gt;u will get&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Rasheed salman on Nov 28, 2008 6:33 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Nov 2008 05:33:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-data-into-internal-table/m-p/4843115#M1132881</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-28T05:33:24Z</dc:date>
    </item>
    <item>
      <title>Re: uploading data into internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-data-into-internal-table/m-p/4843116#M1132882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hai..&lt;/P&gt;&lt;P&gt;          I think the problem is not with FM.&lt;/P&gt;&lt;P&gt;          Check your excel file format once. To do this....&lt;/P&gt;&lt;P&gt;          open your excel file.... &amp;gt; click on format in menu bar.... &amp;gt;  click on cells .... &amp;gt;&lt;/P&gt;&lt;P&gt;         check the category... set it as 'general'.&lt;/P&gt;&lt;P&gt;hope this will solve your problem.&lt;/P&gt;&lt;P&gt;If not then send your code ok&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sekhar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Nov 2008 05:37:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-data-into-internal-table/m-p/4843116#M1132882</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-28T05:37:26Z</dc:date>
    </item>
    <item>
      <title>Re: uploading data into internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-data-into-internal-table/m-p/4843117#M1132883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;TEXT_CONVERT_XLS_TO_SAP  use this function module &lt;/P&gt;&lt;P&gt;this store the data as it there in excel file i think this function module is better then what u r using now&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Nov 2008 11:05:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-data-into-internal-table/m-p/4843117#M1132883</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-28T11:05:48Z</dc:date>
    </item>
  </channel>
</rss>

