<?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 excel file in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-excel-file/m-p/2747789#M638869</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Charlene..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry the syntax for APPEND LINES.. is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;APPEND LINES OF itab1 FROM 1 TO 30 TO itab2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make sure you load the file in one shot, do not try to load it from the workstation in chunks.. this will make very bad impact on the performance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Best Regards,&lt;/P&gt;&lt;P&gt;Vikas Bittera.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**&lt;STRONG&gt;Points for useful answers&lt;/STRONG&gt;**&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Aug 2007 13:44:15 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-29T13:44:15Z</dc:date>
    <item>
      <title>Upload excel file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-excel-file/m-p/2747786#M638866</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 have a upload of data scenario whereby i will be using a bapi program to upload the data in the excel sheet to the SAP system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the scenario:-&lt;/P&gt;&lt;P&gt;The excel sheet has 30,000 lines. I am supposed to upload in batches of 30 lines per document number. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do code the program to read in batches of 30 lines? Which means, i upload the whole file of 30,000 lines and allow the program to upload accordingly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciate any help. Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2007 13:35:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-excel-file/m-p/2747786#M638866</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-29T13:35:21Z</dc:date>
    </item>
    <item>
      <title>Re: Upload excel file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-excel-file/m-p/2747787#M638867</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 ALSM_EXCEL_TO_INTERNAL_TABLE fm, and its BEGIN_ROW and END_ROW parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Increment them by 30 for a new segment to read.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Tamá&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2007 13:39:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-excel-file/m-p/2747787#M638867</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-29T13:39:07Z</dc:date>
    </item>
    <item>
      <title>Re: Upload excel file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-excel-file/m-p/2747788#M638868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Charlene..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use the below logic.. If your table has the records already sorted so that u just need to break them in chunks of 30..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Load the complete file in an internal table say itab1.&lt;/P&gt;&lt;P&gt;2) Declare another table itab2 similar to itab1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) WHILE itab1[] IS NOT INITIAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;APPEND LINES OF itab1 TO itab2 FROM 1 TO 30.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**&lt;STRONG&gt;Do ur processing on the 30 line&lt;/STRONG&gt;**&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DELETE itab1 FROM 1 TO 30.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDWHILE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Best Regards,&lt;/P&gt;&lt;P&gt;Vikas Bittera.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**&lt;STRONG&gt;Points for useful answers&lt;/STRONG&gt;**&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2007 13:41:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-excel-file/m-p/2747788#M638868</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-29T13:41:15Z</dc:date>
    </item>
    <item>
      <title>Re: Upload excel file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-excel-file/m-p/2747789#M638869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Charlene..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry the syntax for APPEND LINES.. is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;APPEND LINES OF itab1 FROM 1 TO 30 TO itab2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make sure you load the file in one shot, do not try to load it from the workstation in chunks.. this will make very bad impact on the performance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Best Regards,&lt;/P&gt;&lt;P&gt;Vikas Bittera.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**&lt;STRONG&gt;Points for useful answers&lt;/STRONG&gt;**&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2007 13:44:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-excel-file/m-p/2747789#M638869</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-29T13:44:15Z</dc:date>
    </item>
    <item>
      <title>Re: Upload excel file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-excel-file/m-p/2747790#M638870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks to Tamás for giving your suggestion solution. &lt;/P&gt;&lt;P&gt;Also, thanks to Vikas Bittera for helping me solve the problem. &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Have a good day!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2007 15:48:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-excel-file/m-p/2747790#M638870</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-29T15:48:05Z</dc:date>
    </item>
  </channel>
</rss>

