<?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 gui_upload for csv file with numeric n date fields in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/gui-upload-for-csv-file-with-numeric-n-date-fields/m-p/7049041#M1501765</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;  i searched on net on how to use GUI_UPLOAD for csv files using split function but the spilt function requires that the data type of all fields of the internal table should be character whereas in my case there is a numeric n data field too.So kindly help me how to do it.&lt;/P&gt;&lt;P&gt; One way ppl might suggest that give all the fields as char in the internal n after recieving the data in the internal convert the required fields back to data n numeric n then finally insert to the database but if i have 80 fields u would really dont want to do that as it requires precision to convert it to the same type n length as in the original database for all the fields.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Jul 2010 12:34:49 GMT</pubDate>
    <dc:creator>abaper_guy</dc:creator>
    <dc:date>2010-07-14T12:34:49Z</dc:date>
    <item>
      <title>gui_upload for csv file with numeric n date fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/gui-upload-for-csv-file-with-numeric-n-date-fields/m-p/7049041#M1501765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;  i searched on net on how to use GUI_UPLOAD for csv files using split function but the spilt function requires that the data type of all fields of the internal table should be character whereas in my case there is a numeric n data field too.So kindly help me how to do it.&lt;/P&gt;&lt;P&gt; One way ppl might suggest that give all the fields as char in the internal n after recieving the data in the internal convert the required fields back to data n numeric n then finally insert to the database but if i have 80 fields u would really dont want to do that as it requires precision to convert it to the same type n length as in the original database for all the fields.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jul 2010 12:34:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/gui-upload-for-csv-file-with-numeric-n-date-fields/m-p/7049041#M1501765</guid>
      <dc:creator>abaper_guy</dc:creator>
      <dc:date>2010-07-14T12:34:49Z</dc:date>
    </item>
    <item>
      <title>Re: gui_upload for csv file with numeric n date fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/gui-upload-for-csv-file-with-numeric-n-date-fields/m-p/7049042#M1501766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;An N is a character field, it just holds digits only (strange, huh?  Only in SAP......Ten thousand programmers....lol)....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Read your documentation on data types.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jul 2010 12:42:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/gui-upload-for-csv-file-with-numeric-n-date-fields/m-p/7049042#M1501766</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-14T12:42:46Z</dc:date>
    </item>
    <item>
      <title>Re: gui_upload for csv file with numeric n date fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/gui-upload-for-csv-file-with-numeric-n-date-fields/m-p/7049043#M1501767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yeah i guess u r talkin about NUMC but my table dont have N type , it has int4 type for the fields (4 byte integer) n spilt doesnt support it i guess&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jul 2010 12:48:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/gui-upload-for-csv-file-with-numeric-n-date-fields/m-p/7049043#M1501767</guid>
      <dc:creator>abaper_guy</dc:creator>
      <dc:date>2010-07-14T12:48:43Z</dc:date>
    </item>
    <item>
      <title>Re: gui_upload for csv file with numeric n date fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/gui-upload-for-csv-file-with-numeric-n-date-fields/m-p/7049044#M1501768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh...it's not an N, it's an I....&lt;STRONG&gt;big difference&lt;/STRONG&gt; and demonstrates a need for precision in communication....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd upload, split into character fields, then put into an internal table, processing each field as needed.  I usually do this with field symbols, specific data types, etc., and convert into specific fields like dats, int4, etc., based on the index of the structure as I process the fields left to right.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jul 2010 14:36:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/gui-upload-for-csv-file-with-numeric-n-date-fields/m-p/7049044#M1501768</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-14T14:36:37Z</dc:date>
    </item>
    <item>
      <title>Re: gui_upload for csv file with numeric n date fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/gui-upload-for-csv-file-with-numeric-n-date-fields/m-p/7049045#M1501769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yeah i guess that would be a bit longer if i m having more no of fields (80) compared to ORACLE where this can be done in a shorter way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SO i shall use 2 internal tables here rite?? i mean first one(with all fields as char) for storing the split function values and the other one (with actual data types) .CAN u plz tell me how to convert or cast from one data type to another n while moving values from 1st internal table to another  which way shall i do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for ur help n can u suggest if there is any other method for uploading csv also other than this split method n whether this method is better n faster than others.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THANX&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jul 2010 15:22:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/gui-upload-for-csv-file-with-numeric-n-date-fields/m-p/7049045#M1501769</guid>
      <dc:creator>abaper_guy</dc:creator>
      <dc:date>2010-07-14T15:22:35Z</dc:date>
    </item>
    <item>
      <title>Re: gui_upload for csv file with numeric n date fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/gui-upload-for-csv-file-with-numeric-n-date-fields/m-p/7049046#M1501770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey i got it using the split method. Kindly tell me is there any other method to do this which might be better n faster than this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jul 2010 16:44:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/gui-upload-for-csv-file-with-numeric-n-date-fields/m-p/7049046#M1501770</guid>
      <dc:creator>abaper_guy</dc:creator>
      <dc:date>2010-07-14T16:44:51Z</dc:date>
    </item>
  </channel>
</rss>

