<?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: How to use split command in upload program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-split-command-in-upload-program/m-p/1116174#M107495</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;OPEN DATASET p_file FOR INPUT IN TEXT MODE ENCODING DEFAULT.
  if sy-subrc &amp;lt;&amp;gt; 0.
    PERFORM messaging USING 'E' '001' text-e10 p_file space space.
  else.
    DO.
      READ DATASET P_file INTO WA .
      IF SY-SUBRC &amp;lt;&amp;gt; 0.
        EXIT.
      ENDIF.
      REPLACE ALL OCCURRENCES OF '"' IN WA WITH ''.
      CONDENSE WA NO-GAPS.
      SPLIT WA AT CL_ABAP_CHAR_UTILITIES=&amp;gt;HORIZONTAL_TAB
      INTO wa_infile.
      append wa_infile to it_infile.
      clear wa_infile.
    ENDDO.
  endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try this...&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Dec 2005 12:00:35 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-12-28T12:00:35Z</dc:date>
    <item>
      <title>How to use split command in upload program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-split-command-in-upload-program/m-p/1116171#M107492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for all ...for their quick response for my previous query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Iam continuing with the same upload program,now i have transfered the data from internal table to application server,now iam trying to upload this to database,while doing this iam using split command for spliting the records,but its not at all spliting,can u give me a solution for this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Dec 2005 11:53:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-split-command-in-upload-program/m-p/1116171#M107492</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-28T11:53:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to use split command in upload program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-split-command-in-upload-program/m-p/1116172#M107493</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;   If U know the exact structure of the record ,&lt;/P&gt;&lt;P&gt;   declare an internal table with that structure and use &lt;/P&gt;&lt;P&gt;   the following &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   SPLIT &amp;lt;record&amp;gt; AT &amp;lt;Split&amp;gt; INTO TABLE itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;GSR.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Dec 2005 11:58:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-split-command-in-upload-program/m-p/1116172#M107493</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-28T11:58:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to use split command in upload program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-split-command-in-upload-program/m-p/1116173#M107494</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;When u uploaded to the application server, u wud have separated them by comma or # which is a hex character.&lt;/P&gt;&lt;P&gt;So all you need to say is split at '#' or ',' into wa_structure, after looping thru ur uploaded file..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls let me know if this is the problem or explain further.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Close this if the problem is resolved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Dec 2005 11:59:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-split-command-in-upload-program/m-p/1116173#M107494</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-28T11:59:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to use split command in upload program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-split-command-in-upload-program/m-p/1116174#M107495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;OPEN DATASET p_file FOR INPUT IN TEXT MODE ENCODING DEFAULT.
  if sy-subrc &amp;lt;&amp;gt; 0.
    PERFORM messaging USING 'E' '001' text-e10 p_file space space.
  else.
    DO.
      READ DATASET P_file INTO WA .
      IF SY-SUBRC &amp;lt;&amp;gt; 0.
        EXIT.
      ENDIF.
      REPLACE ALL OCCURRENCES OF '"' IN WA WITH ''.
      CONDENSE WA NO-GAPS.
      SPLIT WA AT CL_ABAP_CHAR_UTILITIES=&amp;gt;HORIZONTAL_TAB
      INTO wa_infile.
      append wa_infile to it_infile.
      clear wa_infile.
    ENDDO.
  endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try this...&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Dec 2005 12:00:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-split-command-in-upload-program/m-p/1116174#M107495</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-28T12:00:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to use split command in upload program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-split-command-in-upload-program/m-p/1116175#M107496</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;Just give it a try..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at &amp;lt; INTERNAL TABLE&amp;gt;&lt;/P&gt;&lt;P&gt;   .&lt;/P&gt;&lt;P&gt;   .&lt;/P&gt;&lt;P&gt;   .&lt;/P&gt;&lt;P&gt;   SPLIT ' ' at &amp;lt;ITAB&amp;gt; into &amp;lt;feilds&amp;gt;&lt;/P&gt;&lt;P&gt;   append &amp;lt;ITAB&amp;gt;.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maheshwari.V&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Dec 2005 12:01:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-split-command-in-upload-program/m-p/1116175#M107496</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-28T12:01:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to use split command in upload program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-split-command-in-upload-program/m-p/1116176#M107497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;suppose if your file is ',' or other delimited file&lt;/P&gt;&lt;P&gt;then&lt;/P&gt;&lt;P&gt;SPLIT WA AT ',' into wa_infile.&lt;/P&gt;&lt;P&gt;replace the delimiter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Dec 2005 12:07:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-split-command-in-upload-program/m-p/1116176#M107497</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-28T12:07:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to use split command in upload program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-split-command-in-upload-program/m-p/1116177#M107498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I got it...&lt;/P&gt;&lt;P&gt;Thanks for all for quick response.&lt;/P&gt;&lt;P&gt;Especially special thanks to vijay.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Dec 2005 12:47:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-split-command-in-upload-program/m-p/1116177#M107498</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-28T12:47:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to use split command in upload program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-split-command-in-upload-program/m-p/1116178#M107499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please don't forget to reward.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Dec 2005 12:54:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-split-command-in-upload-program/m-p/1116178#M107499</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-28T12:54:18Z</dc:date>
    </item>
  </channel>
</rss>

