<?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 field split in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-split/m-p/4625800#M1089625</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have the field lenth 25. example kjsh89907 lfjii999k87hu48 i want to split the above value after tha space like&lt;/P&gt;&lt;P&gt;kjsh89907&lt;/P&gt;&lt;P&gt;fjii999k87hu48 and then i wnat store the value in another field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can any one tell me pls.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Best Regards,&lt;/P&gt;&lt;P&gt;Rakhi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Oct 2008 08:22:54 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-14T08:22:54Z</dc:date>
    <item>
      <title>field split</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-split/m-p/4625800#M1089625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have the field lenth 25. example kjsh89907 lfjii999k87hu48 i want to split the above value after tha space like&lt;/P&gt;&lt;P&gt;kjsh89907&lt;/P&gt;&lt;P&gt;fjii999k87hu48 and then i wnat store the value in another field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can any one tell me pls.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Best Regards,&lt;/P&gt;&lt;P&gt;Rakhi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Oct 2008 08:22:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-split/m-p/4625800#M1089625</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-14T08:22:54Z</dc:date>
    </item>
    <item>
      <title>Re: field split</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-split/m-p/4625801#M1089626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this FM : HR_ES_SPLIT_STRING_TO_4_CHAR50&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g.&lt;/P&gt;&lt;P&gt;pass your string to string variable.&lt;/P&gt;&lt;P&gt;declare as:&lt;/P&gt;&lt;P&gt;string type string,                 "Local variable to store ARKTX(Short text for sales order item)&lt;/P&gt;&lt;P&gt;string1 type SY-MSGV1,              "Message Variable&lt;/P&gt;&lt;P&gt;string2 type SY-MSGV1,              "Message Variable&lt;/P&gt;&lt;P&gt;string3 type SY-MSGV1,              "Message Variable&lt;/P&gt;&lt;P&gt;string4 type SY-MSGV1,              "Message Variable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'HR_ES_SPLIT_STRING_TO_4_CHAR50'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;IN_STRING = WA_out-string&lt;/P&gt;&lt;P&gt;STR_LEN   = 27&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;CHAR1     = WA_out-string1&lt;/P&gt;&lt;P&gt;CHAR2     = WA_out-string2&lt;/P&gt;&lt;P&gt;CHAR3     = WA_out-string3&lt;/P&gt;&lt;P&gt;CHAR4     = WA_out-string4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you van vary the STR_LEN value according to your needs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sid&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Oct 2008 08:43:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-split/m-p/4625801#M1089626</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-14T08:43:15Z</dc:date>
    </item>
    <item>
      <title>Re: field split</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-split/m-p/4625802#M1089627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;see F1 help for &lt;STRONG&gt;SPLIT&lt;/STRONG&gt; or search the forum with &lt;STRONG&gt;SPLIT&lt;/STRONG&gt;, you will get lots of code samples.&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>Tue, 14 Oct 2008 08:45:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-split/m-p/4625802#M1089627</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-14T08:45:59Z</dc:date>
    </item>
    <item>
      <title>Re: field split</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-split/m-p/4625803#M1089628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hai,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SPLIT text AT space INTO: str1 str2 str3, &lt;/P&gt;&lt;P&gt;                          TABLE itab. &lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: patt       TYPE string VALUE ` `,&lt;/P&gt;&lt;P&gt;      text       TYPE string,&lt;/P&gt;&lt;P&gt;      result_tab TYPE match_result_tab.&lt;/P&gt;&lt;P&gt;data: off(3) type c,&lt;/P&gt;&lt;P&gt;      re(5) type c,&lt;/P&gt;&lt;P&gt;      p1(15) type c,&lt;/P&gt;&lt;P&gt;      p2(15) type c,&lt;/P&gt;&lt;P&gt;      p(25) type c value `Everybody knowsthisisnowh`.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIELD-SYMBOLS &amp;lt;match&amp;gt; LIKE LINE OF result_tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIND ALL OCCURRENCES OF patt IN&lt;/P&gt;&lt;P&gt;     p&lt;/P&gt;&lt;P&gt;     RESULTS result_tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT result_tab ASSIGNING &amp;lt;match&amp;gt;.&lt;/P&gt;&lt;P&gt;   off = &amp;lt;match&amp;gt;-offset.&lt;/P&gt;&lt;P&gt;*WRITE: / &amp;lt;match&amp;gt;-offset, &amp;lt;match&amp;gt;-length.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;re = 25 - off.&lt;/P&gt;&lt;P&gt;write &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; p&lt;EM&gt;0(off) , p&lt;/EM&gt;off(re).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;shan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Oct 2008 08:50:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-split/m-p/4625803#M1089628</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-14T08:50:56Z</dc:date>
    </item>
    <item>
      <title>Re: field split</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-split/m-p/4625804#M1089629</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;   SPLIT string at space into str1 str2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kishore&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Oct 2008 11:11:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-split/m-p/4625804#M1089629</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-14T11:11:40Z</dc:date>
    </item>
  </channel>
</rss>

