<?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: HI simple query in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/hi-simple-query/m-p/2868896#M673096</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;split v_data at SPACE into text1 text2 text3 text4.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;You can make use of the SPLIT command&lt;/P&gt;&lt;P&gt;Check thsi sample code&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA: names(30)    TYPE c VALUE 'You Me SAP',
      one(10)      TYPE c,
      two(10)      TYPE c,
      three(10)    TYPE c.

SPLIT names AT space INTO one two three.

WRITE : one.
WRITE : two.
WRITE : three.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Gopi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Oct 2007 08:04:56 GMT</pubDate>
    <dc:creator>gopi_narendra</dc:creator>
    <dc:date>2007-10-08T08:04:56Z</dc:date>
    <item>
      <title>HI simple query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hi-simple-query/m-p/2868895#M673095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guru,s&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had a requirement my string has data &lt;/P&gt;&lt;P&gt;ie V_data = REL  FRE  CTRD VRT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to store thm in a internal table as my internal table contains REL as seprate FRE as seperate ie&lt;/P&gt;&lt;P&gt;IT_DATA contains&lt;/P&gt;&lt;P&gt;REL&lt;/P&gt;&lt;P&gt;FRE&lt;/P&gt;&lt;P&gt;CTRD&lt;/P&gt;&lt;P&gt;VRT&lt;/P&gt;&lt;P&gt;Is there any FM which can perform this and after space it treats seprate character&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please send me dummy code &lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Hitesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Oct 2007 08:01:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hi-simple-query/m-p/2868895#M673095</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-08T08:01:47Z</dc:date>
    </item>
    <item>
      <title>Re: HI simple query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hi-simple-query/m-p/2868896#M673096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;split v_data at SPACE into text1 text2 text3 text4.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;You can make use of the SPLIT command&lt;/P&gt;&lt;P&gt;Check thsi sample code&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA: names(30)    TYPE c VALUE 'You Me SAP',
      one(10)      TYPE c,
      two(10)      TYPE c,
      three(10)    TYPE c.

SPLIT names AT space INTO one two three.

WRITE : one.
WRITE : two.
WRITE : three.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Gopi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Oct 2007 08:04:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hi-simple-query/m-p/2868896#M673096</guid>
      <dc:creator>gopi_narendra</dc:creator>
      <dc:date>2007-10-08T08:04:56Z</dc:date>
    </item>
    <item>
      <title>Re: HI simple query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hi-simple-query/m-p/2868897#M673097</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;The string you mentioned  is the system status. If yes you can get the text as it is by calling a BAPI in which you can find the description of the field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this is the system status than this is a good way to do it else you have to hit two tables to get the description.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mohit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Oct 2007 08:24:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hi-simple-query/m-p/2868897#M673097</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-08T08:24:37Z</dc:date>
    </item>
    <item>
      <title>Re: HI simple query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hi-simple-query/m-p/2868898#M673098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;data: begin of istruc,&lt;/P&gt;&lt;P&gt;one type string,&lt;/P&gt;&lt;P&gt;two type string,&lt;/P&gt;&lt;P&gt;three type string,&lt;/P&gt;&lt;P&gt;four type string,&lt;/P&gt;&lt;P&gt;end of istruc.&lt;/P&gt;&lt;P&gt;data: itab like table of istruc.&lt;/P&gt;&lt;P&gt;data: v_data type string value 'REL FRE CTRD VRT'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;split v_data at ' ' into istruc-one istruc-two istruc-three istruc-four.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;append istruc to itab.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Oct 2007 08:35:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hi-simple-query/m-p/2868898#M673098</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-08T08:35:40Z</dc:date>
    </item>
    <item>
      <title>Re: HI simple query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hi-simple-query/m-p/2868899#M673099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this code...&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
PARAMETERS : P_TEXT(90).

DATA : BEGIN OF ITAB OCCURS 0,
       TEXT(15),
       END OF ITAB.

DATA : TEXT1(15)  ,TEXT2(30).
DATA : LEN TYPE I.

START-OF-SELECTION.
LEN = STRLEN( P_TEXT ).
DO LEN TIMES.
SPLIT P_TEXT AT SPACE INTO TEXT1 TEXT2.
REPLACE FIRST OCCURRENCE OF TEXT1 IN P_TEXT WITH SPACE.
CONDENSE P_TEXT.
ITAB-TEXT = TEXT1.
APPEND ITAB.
IF TEXT2 IS INITIAL.
 EXIT.
ENDIF.
ENDDO.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it may be helpful.&lt;/P&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>Mon, 08 Oct 2007 09:36:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hi-simple-query/m-p/2868899#M673099</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-08T09:36:20Z</dc:date>
    </item>
  </channel>
</rss>

