<?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: Split single field to structure fields in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/split-single-field-to-structure-fields/m-p/5330773#M1228376</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;try this ...&lt;/P&gt;&lt;P&gt;parameters  text(20) type c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;types:&lt;/P&gt;&lt;P&gt;  begin of type_s_fs,&lt;/P&gt;&lt;P&gt;    f1(5) type c,               " Give the required length at which u want to split &lt;/P&gt;&lt;P&gt;    f2(15) type c,&lt;/P&gt;&lt;P&gt;  end of type_s_fs.&lt;/P&gt;&lt;P&gt;  data fs type type_s_fs.&lt;/P&gt;&lt;P&gt;  data tab like standard table of fs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;split text at '  ' into fs-f1 fs-f2. " ( Give the character at which u want to split in ' ' )&lt;/P&gt;&lt;P&gt;append fs to tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at tab into fs.&lt;/P&gt;&lt;P&gt;write &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; fs-f1,&lt;/P&gt;&lt;P&gt;fs-f2.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 14 Mar 2009 10:08:23 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-03-14T10:08:23Z</dc:date>
    <item>
      <title>Split single field to structure fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/split-single-field-to-structure-fields/m-p/5330770#M1228373</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;&lt;/P&gt;&lt;P&gt;Some data is coming in single field in DB Table.&lt;/P&gt;&lt;P&gt;I want to populate this field to fields of custom structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to use "SPLIT" or move using offset etc?&lt;/P&gt;&lt;P&gt;Pleaes help..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Mar 2009 09:42:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/split-single-field-to-structure-fields/m-p/5330770#M1228373</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-14T09:42:31Z</dc:date>
    </item>
    <item>
      <title>Re: Split single field to structure fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/split-single-field-to-structure-fields/m-p/5330771#M1228374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Field field of the DBtable you can split it to a internal table fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Split &amp;lt;Field&amp;gt; at  &amp;lt;Condition&amp;gt;  INTO &amp;lt;ITAB&amp;gt;.

OR

SPLIT text AT space INTO: str1 str2 str3, 
                          TABLE itab.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Split help|http://help.sap.com/saphelp_nw70/helpdata/en/fc/eb33f3358411d1829f0000e829fbfe/content.htm]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are using offsets it will create a loop will will increase the processing time of program..(i.e performance hamper)&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;Gurpreet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Mar 2009 09:46:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/split-single-field-to-structure-fields/m-p/5330771#M1228374</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-14T09:46:27Z</dc:date>
    </item>
    <item>
      <title>Re: Split single field to structure fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/split-single-field-to-structure-fields/m-p/5330772#M1228375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use this function module ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RKD_WORD_WRAP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Mar 2009 09:51:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/split-single-field-to-structure-fields/m-p/5330772#M1228375</guid>
      <dc:creator>former_member203501</dc:creator>
      <dc:date>2009-03-14T09:51:54Z</dc:date>
    </item>
    <item>
      <title>Re: Split single field to structure fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/split-single-field-to-structure-fields/m-p/5330773#M1228376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;try this ...&lt;/P&gt;&lt;P&gt;parameters  text(20) type c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;types:&lt;/P&gt;&lt;P&gt;  begin of type_s_fs,&lt;/P&gt;&lt;P&gt;    f1(5) type c,               " Give the required length at which u want to split &lt;/P&gt;&lt;P&gt;    f2(15) type c,&lt;/P&gt;&lt;P&gt;  end of type_s_fs.&lt;/P&gt;&lt;P&gt;  data fs type type_s_fs.&lt;/P&gt;&lt;P&gt;  data tab like standard table of fs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;split text at '  ' into fs-f1 fs-f2. " ( Give the character at which u want to split in ' ' )&lt;/P&gt;&lt;P&gt;append fs to tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at tab into fs.&lt;/P&gt;&lt;P&gt;write &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; fs-f1,&lt;/P&gt;&lt;P&gt;fs-f2.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Mar 2009 10:08:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/split-single-field-to-structure-fields/m-p/5330773#M1228376</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-14T10:08:23Z</dc:date>
    </item>
  </channel>
</rss>

