<?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: error while uploading data to ztable from excel file in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-uploading-data-to-ztable-from-excel-file/m-p/2924409#M688855</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;How can i move the entire data from old internal table to new internal table?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Oct 2007 12:30:05 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-18T12:30:05Z</dc:date>
    <item>
      <title>error while uploading data to ztable from excel file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-uploading-data-to-ztable-from-excel-file/m-p/2924405#M688851</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;I have a requirement where i have to upload data from excel file to ztable.I have used the fm 'ALSM_EXCEL_TO_INTERNAL_TABLE' for reading the excel file.After reading the excel file i have used INSERT zrb_hdr from table t_zrb_hdr for updating the ztable with data .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here it is giving error as the data base table zrb_hdr and the internal table t_zrb_hdr should be declared of same type .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got this error b'coz i have changed the date and time fields in t_zrb_hdr table to char type.so the structure of zrb_hdr and t_zrb_hdr are not same.If i don't change the date and time fields,in the o/p i am not getting proper date and time formats.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now how can i upload data into ztable?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2007 11:17:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-uploading-data-to-ztable-from-excel-file/m-p/2924405#M688851</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-18T11:17:01Z</dc:date>
    </item>
    <item>
      <title>Re: error while uploading data to ztable from excel file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-uploading-data-to-ztable-from-excel-file/m-p/2924406#M688852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;create one more itab with same structure as that of your z table...&lt;/P&gt;&lt;P&gt;in the existing table change date and time acc. to your need...then move entire data from this itab to new itab..&lt;/P&gt;&lt;P&gt;pass this itab to 'ALSM_EXCEL_TO_INTERNAL_TABLE'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2007 11:35:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-uploading-data-to-ztable-from-excel-file/m-p/2924406#M688852</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-18T11:35:04Z</dc:date>
    </item>
    <item>
      <title>Re: error while uploading data to ztable from excel file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-uploading-data-to-ztable-from-excel-file/m-p/2924407#M688853</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;PRE&gt;&lt;CODE&gt;Data : itab type standard table of ZTABLE.

INSERT INTO ZTABLE from table ITAB.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Itab here is declared as ZTABLE.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2007 11:42:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-uploading-data-to-ztable-from-excel-file/m-p/2924407#M688853</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-18T11:42:19Z</dc:date>
    </item>
    <item>
      <title>Re: error while uploading data to ztable from excel file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-uploading-data-to-ztable-from-excel-file/m-p/2924408#M688854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi hema,&lt;/P&gt;&lt;P&gt;declare t_zrb_hdr  of the type of your Ztable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at values read from xls and populate t_zrb_hdr .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2007 11:53:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-uploading-data-to-ztable-from-excel-file/m-p/2924408#M688854</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-18T11:53:06Z</dc:date>
    </item>
    <item>
      <title>Re: error while uploading data to ztable from excel file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-uploading-data-to-ztable-from-excel-file/m-p/2924409#M688855</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;How can i move the entire data from old internal table to new internal table?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2007 12:30:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-uploading-data-to-ztable-from-excel-file/m-p/2924409#M688855</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-18T12:30:05Z</dc:date>
    </item>
    <item>
      <title>Re: error while uploading data to ztable from excel file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-uploading-data-to-ztable-from-excel-file/m-p/2924410#M688856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;loop at itab_old.
MOVE-CORRESPONDING itab_old to itab_new.
append itab_new.
endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2007 12:36:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-uploading-data-to-ztable-from-excel-file/m-p/2924410#M688856</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-18T12:36:41Z</dc:date>
    </item>
    <item>
      <title>Re: error while uploading data to ztable from excel file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-uploading-data-to-ztable-from-excel-file/m-p/2924411#M688857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;for copying internal table use.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;append lines of itab_old to utab_new.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Gagan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2007 12:43:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-uploading-data-to-ztable-from-excel-file/m-p/2924411#M688857</guid>
      <dc:creator>former_member194152</dc:creator>
      <dc:date>2007-10-18T12:43:54Z</dc:date>
    </item>
    <item>
      <title>Re: error while uploading data to ztable from excel file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-uploading-data-to-ztable-from-excel-file/m-p/2924412#M688858</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;Try this. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data: itab type standard table of ztable,&lt;/P&gt;&lt;P&gt;         wa_itab type ztable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at t_zrb_hdr into wa_t_zrb_hdr.&lt;/P&gt;&lt;P&gt;   wa_itab-date = wa_t_zrb_hdr-date.&lt;/P&gt;&lt;P&gt;   wa_itab-time = wa_t_zrb_hdr-time.&lt;/P&gt;&lt;P&gt;   like  move all the fiedl to wa_itab...........&lt;/P&gt;&lt;P&gt;   append itab with wa_itab.&lt;/P&gt;&lt;P&gt;Endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now insert the records from itab to the database table ztable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Muthu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2007 12:55:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-uploading-data-to-ztable-from-excel-file/m-p/2924412#M688858</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-18T12:55:44Z</dc:date>
    </item>
  </channel>
</rss>

