<?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: Problem in splitting uploaded data at delimitar. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-splitting-uploaded-data-at-delimitar/m-p/4926396#M1149289</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;This is precisely what you will get if you just use the parameter  has_field_separator = 'X' in GUI_UPLOAD as pointed out in my previous post. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope you will try this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raju Chitale&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Dec 2008 06:07:03 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-12-12T06:07:03Z</dc:date>
    <item>
      <title>Problem in splitting uploaded data at delimitar.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-splitting-uploaded-data-at-delimitar/m-p/4926385#M1149278</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 am uploading a TAB sepearted file from PC using GUI_UPLOAD. The file is getting uploaded correctly.&lt;/P&gt;&lt;P&gt;In the internal table the data in the file appears as below&lt;/P&gt;&lt;P&gt;'56110020#40#39.00#10353#DE10Z370###Creidt card spend for month January #################'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the tabs in the text file, the internal table shows '#'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I am using SPLIT command to split the data into different field (all are char type) at the seperater TAB or # in this case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SPLIT it_tab-record AT p_sep INTO fld1 fld2 fld3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the data is NOT getting split at # and the result I am getting is that: fld1 = 56110020#40#39.00 and now values in fld2 and fld3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I an working in ECC 6.0. We have upgraded from 4.6C to ECC 6.0. In 4.6C the same program is working fine. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Gaurav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Dec 2008 11:00:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-splitting-uploaded-data-at-delimitar/m-p/4926385#M1149278</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-11T11:00:43Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in splitting uploaded data at delimitar.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-splitting-uploaded-data-at-delimitar/m-p/4926386#M1149279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try using tab delimiter for splitting with attribute HORIZONTAL_TAB from class CL_ABAP_CHAR_UTILITIES.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BTW: Function module GUI_UPLOAD should no longer be used, use methods from class CL_GUI_FRONTEND_SERVICES.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Micky Oestreich on Dec 11, 2008 12:06 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Dec 2008 11:05:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-splitting-uploaded-data-at-delimitar/m-p/4926386#M1149279</guid>
      <dc:creator>Sm1tje</dc:creator>
      <dc:date>2008-12-11T11:05:05Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in splitting uploaded data at delimitar.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-splitting-uploaded-data-at-delimitar/m-p/4926387#M1149280</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;Why don't you use the parameter  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;           has_field_separator = 'X'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in gui_upload directly so that SPLIT won;t be necessary at all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raju Chitale&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Dec 2008 11:05:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-splitting-uploaded-data-at-delimitar/m-p/4926387#M1149280</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-11T11:05:28Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in splitting uploaded data at delimitar.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-splitting-uploaded-data-at-delimitar/m-p/4926388#M1149281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Micky,&lt;/P&gt;&lt;P&gt;I am already using tab delimiter with attribute HORIZONTAL_TAB from class CL_ABAP_CHAR_UTILITIES.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the debug mode, I tried giving space between the data and the # i.e.:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'56110020 #40 #39.00 #10353 #DE10Z370 # # #Creidt card spend for month January  # # #  # # # # # # # # # # # # # #'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With this the data is getting seperated in fld1, fld2 etc correctly.&lt;/P&gt;&lt;P&gt;e.g.: fld1 = 56110020&lt;/P&gt;&lt;P&gt;       fld2 = 40&lt;/P&gt;&lt;P&gt;       fld3 = 39.00&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am not able to understand why is it behaving so.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Gaurav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Dec 2008 11:32:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-splitting-uploaded-data-at-delimitar/m-p/4926388#M1149281</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-11T11:32:30Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in splitting uploaded data at delimitar.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-splitting-uploaded-data-at-delimitar/m-p/4926389#M1149282</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;Set the parameter has_field_separator to 'X' from GUI_UPLOAD importing parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It willsolve ur problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Dec 2008 11:44:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-splitting-uploaded-data-at-delimitar/m-p/4926389#M1149282</guid>
      <dc:creator>tarangini_katta</dc:creator>
      <dc:date>2008-12-11T11:44:50Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in splitting uploaded data at delimitar.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-splitting-uploaded-data-at-delimitar/m-p/4926390#M1149283</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;First tell me u r internal table is in which foramt it is starucutre format or String.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Dec 2008 11:45:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-splitting-uploaded-data-at-delimitar/m-p/4926390#M1149283</guid>
      <dc:creator>tarangini_katta</dc:creator>
      <dc:date>2008-12-11T11:45:56Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in splitting uploaded data at delimitar.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-splitting-uploaded-data-at-delimitar/m-p/4926391#M1149284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you do this way&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PURC002|0000026071|_013890010310||00020|DE|AT|EINA|38 + 0,03 MTZ ab 15.05.04&lt;/P&gt;&lt;P&gt;PURC002|0000026071|_013890010310||00020|DE|AT|EINA|38/Stk. + MTZ EUR 0,08 = &amp;lt;U&amp;gt;EUR 0,46&amp;lt;/&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; IF p_local EQ gc_x.&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'GUI_UPLOAD'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        filename                = gv_file&lt;/P&gt;&lt;P&gt;        filetype                = gc_filetype&lt;/P&gt;&lt;P&gt;      TABLES&lt;/P&gt;&lt;P&gt;        data_tab                = gt_text_file&lt;/P&gt;&lt;P&gt;      EXCEPTIONS&lt;/P&gt;&lt;P&gt;        file_open_error         = 1&lt;/P&gt;&lt;P&gt;        file_read_error         = 2&lt;/P&gt;&lt;P&gt;        no_batch                = 3&lt;/P&gt;&lt;P&gt;        gui_refuse_filetransfer = 4&lt;/P&gt;&lt;P&gt;        invalid_type            = 5&lt;/P&gt;&lt;P&gt;        no_authority            = 6&lt;/P&gt;&lt;P&gt;        unknown_error           = 7&lt;/P&gt;&lt;P&gt;        bad_data_format         = 8&lt;/P&gt;&lt;P&gt;        header_not_allowed      = 9&lt;/P&gt;&lt;P&gt;        separator_not_allowed   = 10&lt;/P&gt;&lt;P&gt;        header_too_long         = 11&lt;/P&gt;&lt;P&gt;        unknown_dp_error        = 12&lt;/P&gt;&lt;P&gt;        access_denied           = 13&lt;/P&gt;&lt;P&gt;        dp_out_of_memory        = 14&lt;/P&gt;&lt;P&gt;        disk_full               = 15&lt;/P&gt;&lt;P&gt;        dp_timeout              = 16&lt;/P&gt;&lt;P&gt;        OTHERS                  = 17.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;      MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno&lt;/P&gt;&lt;P&gt;              WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*If the Application Server is selected on the selection screen&lt;/P&gt;&lt;P&gt;  ELSEIF p_server EQ gc_x.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  Read the data from Application Server&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    OPEN DATASET gv_file FOR INPUT IN TEXT MODE ENCODING DEFAULT&lt;/P&gt;&lt;P&gt;                            WITH SMART LINEFEED.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*If the Presentation Server is selected on the selection screen&lt;/P&gt;&lt;P&gt;  IF p_local EQ gc_x.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    LOOP AT gt_text_file INTO wa_text_file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      CLEAR wa_text_table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      SPLIT wa_text_file-line AT gc_comma  INTO   wa_text_table-objectid&lt;/P&gt;&lt;P&gt;                                                  wa_text_table-lifnr&lt;/P&gt;&lt;P&gt;                                                  wa_text_table-matnr&lt;/P&gt;&lt;P&gt;                                                  wa_text_table-ebelp&lt;/P&gt;&lt;P&gt;                                                  wa_text_table-tdname&lt;/P&gt;&lt;P&gt;                                                  wa_text_table-spras&lt;/P&gt;&lt;P&gt;                                                  wa_text_table-textid&lt;/P&gt;&lt;P&gt;                                                  wa_text_table-object&lt;/P&gt;&lt;P&gt;                                                  wa_text_table-line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      APPEND wa_text_table TO gt_text_table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    ENDLOOP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Dec 2008 11:50:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-splitting-uploaded-data-at-delimitar/m-p/4926391#M1149284</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-11T11:50:42Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in splitting uploaded data at delimitar.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-splitting-uploaded-data-at-delimitar/m-p/4926392#M1149285</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 think in Flat file, the tab space between one field and the other is more because of which you are getting additional characters. The tab space should be exact. Once you hit tab, it should go into the next field straight away, there should be no gaps. And hope you are giving tab seperator as X in the FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vishwa.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Dec 2008 11:59:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-splitting-uploaded-data-at-delimitar/m-p/4926392#M1149285</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-11T11:59:04Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in splitting uploaded data at delimitar.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-splitting-uploaded-data-at-delimitar/m-p/4926393#M1149286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;By setting the parameter has_field_separator to 'X' will not solve my problem. Actually what I want is as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The data&lt;/P&gt;&lt;P&gt;'56110020#40#39.00#10353#DE10Z370###Creidt card spend for month January #################'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Needs to be separated into &lt;/P&gt;&lt;P&gt;fld1 = 56110020&lt;/P&gt;&lt;P&gt;fld2 = 40&lt;/P&gt;&lt;P&gt;fld3 = 39.00&lt;/P&gt;&lt;P&gt;fld4 = 10353&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;using SPLIT statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Gaurav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Dec 2008 12:21:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-splitting-uploaded-data-at-delimitar/m-p/4926393#M1149286</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-11T12:21:50Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in splitting uploaded data at delimitar.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-splitting-uploaded-data-at-delimitar/m-p/4926394#M1149287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;Your split statment wont work, because it seems that your target structure has only  fields, but the source file has many fields. you wil have to declare the target structure with as many number of fields you have in the source structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example &lt;/P&gt;&lt;P&gt;following is the source file with 1 line :&lt;/P&gt;&lt;P&gt;123#456#hello##567&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here you have 5 fields in the source&lt;/P&gt;&lt;P&gt;So my target strucute should also contain 5 fields:&lt;/P&gt;&lt;P&gt;struc_target&lt;/P&gt;&lt;P&gt;f1&lt;/P&gt;&lt;P&gt;f2&lt;/P&gt;&lt;P&gt;f3&lt;/P&gt;&lt;P&gt;f4&lt;/P&gt;&lt;P&gt;f5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now when you do a split at the tab into a work area struc_target&lt;/P&gt;&lt;P&gt;You will then get the values as follows :&lt;/P&gt;&lt;P&gt;f1 -- 123&lt;/P&gt;&lt;P&gt;f2 -- 456&lt;/P&gt;&lt;P&gt;f3 -- Hello&lt;/P&gt;&lt;P&gt;f4 -- &lt;/P&gt;&lt;P&gt;f5 -- 567&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now you are free to use any of the fields copied to the target structure&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Advait&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Advait Gode on Dec 11, 2008 1:33 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Dec 2008 12:33:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-splitting-uploaded-data-at-delimitar/m-p/4926394#M1149287</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-11T12:33:39Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in splitting uploaded data at delimitar.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-splitting-uploaded-data-at-delimitar/m-p/4926395#M1149288</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 think you are going correct&lt;/P&gt;&lt;P&gt;   (Split it_final-name at u2018_u2019 Into w_firstname w_lastname.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have look in debug for the values of  w_firstname w_lastname.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Krishna...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Dec 2008 05:08:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-splitting-uploaded-data-at-delimitar/m-p/4926395#M1149288</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-12T05:08:31Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in splitting uploaded data at delimitar.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-splitting-uploaded-data-at-delimitar/m-p/4926396#M1149289</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;This is precisely what you will get if you just use the parameter  has_field_separator = 'X' in GUI_UPLOAD as pointed out in my previous post. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope you will try this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raju Chitale&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Dec 2008 06:07:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-splitting-uploaded-data-at-delimitar/m-p/4926396#M1149289</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-12T06:07:03Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in splitting uploaded data at delimitar.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-splitting-uploaded-data-at-delimitar/m-p/4926397#M1149290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gaurav,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The '#' symbol has some Heap Value significance with the internal tables. This references to the Heap address of the field. Sometimes this is used with Hashed internal tables for the data reference. Please check with your functional consultant then modify the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try using '|' at has_field_separator instead of '#' and check the same.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Dec 2008 10:29:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-splitting-uploaded-data-at-delimitar/m-p/4926397#M1149290</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-12T10:29:26Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in splitting uploaded data at delimitar.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-splitting-uploaded-data-at-delimitar/m-p/4926398#M1149291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gaurav,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please tell me how you are entering the data in the flat file.&lt;/P&gt;&lt;P&gt;can you please send the flat file data once.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So that i can give u a correct solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Dec 2008 11:49:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-splitting-uploaded-data-at-delimitar/m-p/4926398#M1149291</guid>
      <dc:creator>tarangini_katta</dc:creator>
      <dc:date>2008-12-12T11:49:47Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in splitting uploaded data at delimitar.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-splitting-uploaded-data-at-delimitar/m-p/4926399#M1149292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi use the code below to achieve your requirement;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA : text(100), fld1(10), fld2(10), fld3(10), dummy(10).
text ='56110020#40#39.00#10353#DE10Z370###CREIDT CARD SPEND FOR MONTH JANUARY#################'.

REPLACE ALL OCCURRENCES OF '#' IN text WITH '*'.

SPLIT text AT '*' INTO fld1 fld2 fld3 dummy.

Output:
fld1 = 56110020
fld2 = 40
fld3 = 39.00&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will solve your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Karthik D&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Dec 2008 12:26:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-splitting-uploaded-data-at-delimitar/m-p/4926399#M1149292</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-12T12:26:41Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in splitting uploaded data at delimitar.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-splitting-uploaded-data-at-delimitar/m-p/4926400#M1149293</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;This is the working solution:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
 DATA: it_file_fields TYPE STANDARD TABLE OF string WITH HEADER LINE,
           it_file_data TYPE STANDARD TABLE OF string WITH HEADER LINE.

 CALL FUNCTION 'GUI_UPLOAD'
          EXPORTING
            filename                = l_filename
            filetype                = 'ASC'
          TABLES
            data_tab                = it_file_data.

          DATA: xsep TYPE xstring VALUE '09', "tab mark
                    sep TYPE string.
    
          CALL FUNCTION 'HR_KR_XSTRING_TO_STRING'
            EXPORTING
              in_xstring = xsep
            IMPORTING
              out_string = sep.

          SPLIT it_file_data AT sep INTO TABLE it_file_fields IN CHARACTER MODE.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marcin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Dec 2008 12:32:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-splitting-uploaded-data-at-delimitar/m-p/4926400#M1149293</guid>
      <dc:creator>MarcinPciak</dc:creator>
      <dc:date>2008-12-12T12:32:15Z</dc:date>
    </item>
  </channel>
</rss>

