<?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: OLE Multi Sheet Excel Upload in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/ole-multi-sheet-excel-upload/m-p/9213420#M1716557</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Smruti,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly refer to this link &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://wiki.sdn.sap.com/wiki/display/Snippets/Read%20multiple%20sheets%20of%20an%20Excel%20file%20into%20SAP%20through%20ABAP"&gt;https://wiki.sdn.sap.com/wiki/display/Snippets/Read%20multiple%20sheets%20of%20an%20Excel%20file%20into%20SAP%20through%20ABAP&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Nishit &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Jan 2013 08:48:32 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-01-07T08:48:32Z</dc:date>
    <item>
      <title>OLE Multi Sheet Excel Upload</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ole-multi-sheet-excel-upload/m-p/9213415#M1716552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Friends,&lt;/P&gt;&lt;P&gt;I am working on a Service Contract Creation program to upload data from multiple sheets of an excel file.&lt;/P&gt;&lt;P&gt;I had referred this code &lt;/P&gt;&lt;P&gt;&lt;A href="http://wiki.sdn.sap.com/wiki/display/Snippets/Multiple+sheet+Excel+Document+from+SAP+using+OLE"&gt;http://wiki.sdn.sap.com/wiki/display/Snippets/Multiple+sheet+Excel+Document+from+SAP+using+OLE&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code works fine as expected but the problem is somtimes it takes only partial data ie Out of 3 sheets data for only two sheets are getting populated and the third internal table remains blank as a result incomplete data gets uploaded in the database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please let me know why I am facing this problem is there any issue with excel sheet or something else?? &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;Nishit Shah&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jan 2013 03:28:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ole-multi-sheet-excel-upload/m-p/9213415#M1716552</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-01-03T03:28:54Z</dc:date>
    </item>
    <item>
      <title>Re: OLE Multi Sheet Excel Upload</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ole-multi-sheet-excel-upload/m-p/9213416#M1716553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nishit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this link &lt;/P&gt;&lt;P&gt;&lt;A href="http://wiki.sdn.sap.com/wiki/display/Snippets/OLE+program+for+converting+to+multitab+excel" title="http://wiki.sdn.sap.com/wiki/display/Snippets/OLE+program+for+converting+to+multitab+excel"&gt;http://wiki.sdn.sap.com/wiki/display/Snippets/OLE+program+for+converting+to+multitab+excel&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regard's&lt;/P&gt;&lt;P&gt;Smruti &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jan 2013 05:04:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ole-multi-sheet-excel-upload/m-p/9213416#M1716553</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-01-03T05:04:18Z</dc:date>
    </item>
    <item>
      <title>Re: OLE Multi Sheet Excel Upload</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ole-multi-sheet-excel-upload/m-p/9213417#M1716554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your Reference Purpose :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check dis one also..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://wiki.sdn.sap.com/wiki/display/Snippets/Read+multiple+sheets+of+an+Excel+file+into+SAP+through+ABAP" title="http://wiki.sdn.sap.com/wiki/display/Snippets/Read+multiple+sheets+of+an+Excel+file+into+SAP+through+ABAP"&gt;http://wiki.sdn.sap.com/wiki/display/Snippets/Read+multiple+sheets+of+an+Excel+file+into+SAP+through+ABAP&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regard's&lt;/P&gt;&lt;P&gt;Smruti&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jan 2013 05:11:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ole-multi-sheet-excel-upload/m-p/9213417#M1716554</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-01-03T05:11:42Z</dc:date>
    </item>
    <item>
      <title>Re: OLE Multi Sheet Excel Upload</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ole-multi-sheet-excel-upload/m-p/9213418#M1716555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Smruti,&lt;/P&gt;&lt;P&gt;I am already having the code for multiple sheet upload the problem I am facing is some times the data from the excel sheet is not getting captured in the internal table , the program is not behaving in a consistent manner &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://wiki.sdn.sap.com/wiki/display/Snippets/Multiple+sheet+Excel+Document+from+SAP+using+OLE"&gt;http://wiki.sdn.sap.com/wiki/display/Snippets/Multiple+sheet+Excel+Document+from+SAP+using+OLE&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly refer the above link &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Nishit Shah&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jan 2013 10:04:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ole-multi-sheet-excel-upload/m-p/9213418#M1716555</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-01-03T10:04:34Z</dc:date>
    </item>
    <item>
      <title>Re: OLE Multi Sheet Excel Upload</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ole-multi-sheet-excel-upload/m-p/9213419#M1716556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nishit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per the link which is u Refer it is download the data into Excel sheet into three different Worksheet .&lt;/P&gt;&lt;P&gt;but you asking for Uploading the data into Database from Excel sheet (is it right ?) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;"Service Contract Creation program to upload data &lt;SPAN style="text-decoration: underline;"&gt;from multiple sheets of an excel file&lt;/SPAN&gt;."&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regard's&lt;/P&gt;&lt;P&gt;Smruti&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jan 2013 11:26:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ole-multi-sheet-excel-upload/m-p/9213419#M1716556</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-01-03T11:26:12Z</dc:date>
    </item>
    <item>
      <title>Re: OLE Multi Sheet Excel Upload</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ole-multi-sheet-excel-upload/m-p/9213420#M1716557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Smruti,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly refer to this link &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://wiki.sdn.sap.com/wiki/display/Snippets/Read%20multiple%20sheets%20of%20an%20Excel%20file%20into%20SAP%20through%20ABAP"&gt;https://wiki.sdn.sap.com/wiki/display/Snippets/Read%20multiple%20sheets%20of%20an%20Excel%20file%20into%20SAP%20through%20ABAP&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Nishit &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jan 2013 08:48:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ole-multi-sheet-excel-upload/m-p/9213420#M1716557</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-01-07T08:48:32Z</dc:date>
    </item>
    <item>
      <title>Re: OLE Multi Sheet Excel Upload</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ole-multi-sheet-excel-upload/m-p/9213421#M1716558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah Nishit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i already provided dis link to u , my above conversation . , and also test dat code working f9..no issue..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regard's&lt;/P&gt;&lt;P&gt;Smruti&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jan 2013 09:05:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ole-multi-sheet-excel-upload/m-p/9213421#M1716558</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-01-07T09:05:00Z</dc:date>
    </item>
    <item>
      <title>Re: OLE Multi Sheet Excel Upload</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ole-multi-sheet-excel-upload/m-p/9213422#M1716559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nishit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not sure about your initial problem. Do you miss Sheet3? If this is the case, you should know the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the sample you referred to (MULTIEXCEL) the comment "* Create second Excel sheet" do not mean that a new sheet is created. It's only activating an &lt;STRONG&gt;already existing &lt;/STRONG&gt;sheet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In that example all 3 sheets are created by the command "CALL METHOD OF workbook 'Add'.". In this case it's creating the number of sheets, specified als default in Excel Options. If the number of sheets is set to 2, you'll only get 2 sheets and the third one is missing. You can change this by either using&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;SPAN class="L0S52"&gt;SET &lt;SPAN class="L0S52"&gt;PROPERTY &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;OF application&lt;/SPAN&gt; &lt;SPAN class="L0S33"&gt;'SheetsInNewWorkbook' &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;= 3&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;. "&lt;STRONG&gt;(ATTENTION: This will change the default setting in Excel !)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;before you add the workbook by "CALL METHOD OF workbook 'Add'.", or use the&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;SPAN class="L0S52"&gt;CALL &lt;SPAN class="L0S52"&gt;METHOD &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;OF application &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'Add'.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S33"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S33"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S33"&gt;to add additional (missing) sheets.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S33"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S33"&gt;If you want save the current setting for SheetsInNewWorkbook, you should retrieve the current value by GET PROPERTY and reset it to the origional value after your "CALL METHOD OF workbook 'Add'.".&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S33"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S33"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S33"&gt;I hope this helps.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S33"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S33"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S33"&gt;Regards&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S33"&gt;Detlev&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2013 10:27:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ole-multi-sheet-excel-upload/m-p/9213422#M1716559</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-01-09T10:27:18Z</dc:date>
    </item>
  </channel>
</rss>

