<?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: regarding Split stmt in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-split-stmt/m-p/1996782#M406065</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;pls go through this code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
data : text(40).
data : textsp(40).
data : text1(15),text2(15),text3(15).
data : spaces(2) value '  '.
concatenate 'call function'  '''gui_upload'''  into text separated by space.
concatenate 'call function'  '''gui_upload'''  into textsp separated by spaces.

*replace '''' in text with '/'.
split text at '''' into text1 text2 text3.
write : / text2.

split textsp at '''' into text1 text2 text3.

write : / text2.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;shiba dutta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Mar 2007 08:18:12 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-07T08:18:12Z</dc:date>
    <item>
      <title>regarding Split stmt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-split-stmt/m-p/1996778#M406061</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to fetch the word GUI_DOWNLOAD from below CALL Function statement&lt;/P&gt;&lt;P&gt;using Split statement. Suggest me please.&lt;/P&gt;&lt;P&gt;Code should work on 46C to ECC compatible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&lt;/P&gt;&lt;P&gt;1.CALL&amp;lt;SPACE&amp;gt;FUNCTION 'GUI_DOWNLOAD'.&lt;/P&gt;&lt;P&gt;2.CALL&amp;lt;SPACE&amp;gt;&amp;lt;SPACE&amp;gt; FUNCTION 'GUI_DOWNLOAD'.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Ambichan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Mar 2007 07:03:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-split-stmt/m-p/1996778#M406061</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-07T07:03:45Z</dc:date>
    </item>
    <item>
      <title>Re: regarding Split stmt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-split-stmt/m-p/1996779#M406062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Prince,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;types: begin of t_text,&lt;/P&gt;&lt;P&gt;        text1(40) type c,&lt;/P&gt;&lt;P&gt;        text2(40) type c,&lt;/P&gt;&lt;P&gt;        text3(40) type c,&lt;/P&gt;&lt;P&gt;      end of t_text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : i_text type table of t_text,&lt;/P&gt;&lt;P&gt;       wa_text type t_text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : word(100) type c value 'CALL FUNCTION ''GUI_DOWNLOAD'''.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;split word at space into wa_text-text1 wa_text-text2 wa_text-text3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;append wa_text to i_text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i_text-text3 contains the word GUI_DOWNLOAD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;George&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;reward points to helpful answers&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Mar 2007 07:15:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-split-stmt/m-p/1996779#M406062</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-07T07:15:11Z</dc:date>
    </item>
    <item>
      <title>Re: regarding Split stmt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-split-stmt/m-p/1996780#M406063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Prince,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can use the following logics.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data lv_string2(100). 
data lv_string1(100). 
data lv_string3(100).

lv_string = 'CALL&amp;lt;SPACE&amp;gt;FUNCTION ''GUI_DOWNLOAD'''.
split lv_string at '''' into lv_string1 lv_string2 lv_string3.
write:/ lv_string2.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;              OR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data lv_string(100).

lv_string = 'CALL&amp;lt;SPACE&amp;gt;FUNCTION ''GUI_DOWNLOAD'''.
search lv_string for ''''.
lv_string = lv_string+sy-fdpos
write:/ lv_string.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Sajan Joseph.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Mar 2007 07:39:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-split-stmt/m-p/1996780#M406063</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-07T07:39:43Z</dc:date>
    </item>
    <item>
      <title>Re: regarding Split stmt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-split-stmt/m-p/1996781#M406064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;U can do it with split and search also.&lt;/P&gt;&lt;P&gt;See the examples below for understadning it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For split  :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: string10(60) TYPE c ,&lt;/P&gt;&lt;P&gt;      p1(20) TYPE c VALUE '++++++++++++++++++++',&lt;/P&gt;&lt;P&gt;      p2(20) TYPE c VALUE '++++++++++++++++++++',&lt;/P&gt;&lt;P&gt;      p3(20) TYPE c VALUE '++++++++++++++++++++',&lt;/P&gt;&lt;P&gt;      p4(20) TYPE c VALUE '++++++++++++++++++++',&lt;/P&gt;&lt;P&gt;      del10(3) TYPE c VALUE '***'.&lt;/P&gt;&lt;P&gt;string10 = ' Part 1 *** Part 2 *** Part 3 *** Part 4 *** Part 5'.&lt;/P&gt;&lt;P&gt;WRITE string10.&lt;/P&gt;&lt;P&gt;SPLIT string10 AT del10 INTO p1 p2 p3 p4.&lt;/P&gt;&lt;P&gt;WRITE / p1.&lt;/P&gt;&lt;P&gt;WRITE / p2.&lt;/P&gt;&lt;P&gt;WRITE / p3.&lt;/P&gt;&lt;P&gt;WRITE / p4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using Search :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA string7(30) TYPE c VALUE 'This is a little sentence.'.&lt;/P&gt;&lt;P&gt;WRITE: / 'Searched', 'SY-SUBRC', 'SY-FDPOS'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ULINE /1(26).&lt;/P&gt;&lt;P&gt;SEARCH string7 FOR 'X'.&lt;/P&gt;&lt;P&gt;WRITE: / 'X', sy-subrc UNDER 'SY-SUBRC',&lt;/P&gt;&lt;P&gt;               sy-fdpos UNDER 'SY-FDPOS'.&lt;/P&gt;&lt;P&gt;SEARCH string7 FOR 'itt   '.&lt;/P&gt;&lt;P&gt;WRITE: / 'itt   ', sy-subrc UNDER 'SY-SUBRC',&lt;/P&gt;&lt;P&gt;                   sy-fdpos UNDER 'SY-FDPOS'.&lt;/P&gt;&lt;P&gt;SEARCH string7 FOR '.e .'.&lt;/P&gt;&lt;P&gt;WRITE: / '.e .', sy-subrc UNDER 'SY-SUBRC',&lt;/P&gt;&lt;P&gt;                  sy-fdpos UNDER 'SY-FDPOS'.&lt;/P&gt;&lt;P&gt;SEARCH string7 FOR '*e'.&lt;/P&gt;&lt;P&gt;WRITE: / '*e ', sy-subrc UNDER 'SY-SUBRC',&lt;/P&gt;&lt;P&gt;                sy-fdpos UNDER 'SY-FDPOS'.&lt;/P&gt;&lt;P&gt;SEARCH string7 FOR 's*'.&lt;/P&gt;&lt;P&gt;WRITE: / 's* ', sy-subrc UNDER 'SY-SUBRC',&lt;/P&gt;&lt;P&gt;                sy-fdpos UNDER 'SY-FDPOS'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prasanth&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Reward all the helpful answers&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Mar 2007 07:47:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-split-stmt/m-p/1996781#M406064</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-07T07:47:46Z</dc:date>
    </item>
    <item>
      <title>Re: regarding Split stmt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-split-stmt/m-p/1996782#M406065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;pls go through this code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
data : text(40).
data : textsp(40).
data : text1(15),text2(15),text3(15).
data : spaces(2) value '  '.
concatenate 'call function'  '''gui_upload'''  into text separated by space.
concatenate 'call function'  '''gui_upload'''  into textsp separated by spaces.

*replace '''' in text with '/'.
split text at '''' into text1 text2 text3.
write : / text2.

split textsp at '''' into text1 text2 text3.

write : / text2.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;shiba dutta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Mar 2007 08:18:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-split-stmt/m-p/1996782#M406065</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-07T08:18:12Z</dc:date>
    </item>
  </channel>
</rss>

