<?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: string operation in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-operation/m-p/4523889#M1069465</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HERE you will see in upload method set it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   HAS_FIELD_SEPARATOR           = 'X'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Sep 2008 10:22:14 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-09-25T10:22:14Z</dc:date>
    <item>
      <title>string operation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-operation/m-p/4523888#M1069464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How to extract  string  seperately into different units .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i need CALL FUNCTION into one and then the remanining part into other.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is the string may be not be of same size.But it will always  hold 'CALL FUNCTION'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'UPLOAD'&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'WS_UPLOAD'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PLEASE HELP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Sep 2008 10:19:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/string-operation/m-p/4523888#M1069464</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-25T10:19:43Z</dc:date>
    </item>
    <item>
      <title>Re: string operation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-operation/m-p/4523889#M1069465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HERE you will see in upload method set it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   HAS_FIELD_SEPARATOR           = 'X'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Sep 2008 10:22:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/string-operation/m-p/4523889#M1069465</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-25T10:22:14Z</dc:date>
    </item>
    <item>
      <title>Re: string operation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-operation/m-p/4523890#M1069466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this sample:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: STR TYPE STRING,
      STR1 LIKE STR,
      STR2 LIKE STR.
STR = 'CALL FUNCTION `WS_UPLOAD'.

SPLIT STR AT '`' INTO STR1 STR2.
WRITE:/ STR1,
      /  STR2.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Vasanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Sep 2008 10:26:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/string-operation/m-p/4523890#M1069466</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-25T10:26:44Z</dc:date>
    </item>
    <item>
      <title>Re: string operation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-operation/m-p/4523891#M1069467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi look at this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/7f4fb0bd-0701-0010-6c80-b68c17674591" target="test_blank"&gt;https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/7f4fb0bd-0701-0010-6c80-b68c17674591&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or use this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HR_EFI_CONVERT_STRING_TO_TABLE&lt;/P&gt;&lt;P&gt;SWA_STRING_TO_TABLE&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Sep 2008 10:27:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/string-operation/m-p/4523891#M1069467</guid>
      <dc:creator>former_member203501</dc:creator>
      <dc:date>2008-09-25T10:27:17Z</dc:date>
    </item>
    <item>
      <title>Re: string operation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-operation/m-p/4523892#M1069468</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;PRE&gt;&lt;CODE&gt;PARAMETERS :
   p_str(35) TYPE c.

DATA :
  w_cf TYPE string VALUE 'CALL FUNCTION',
  w_str TYPE string,
  w_str1 TYPE string,
  w_str2 TYPE string,
  w_len TYPE i,
  w_temp TYPE i.


CONCATENATE w_cf ' ''' p_str '''' INTO w_str.


w_len = STRLEN( w_str ).

w_temp = w_len - 13.

WRITE :
  / w_str.

w_str1  = w_str+0(13).
w_str2 = w_str+13.


WRITE /:
   w_str1 , w_str2.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pavan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Sep 2008 10:27:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/string-operation/m-p/4523892#M1069468</guid>
      <dc:creator>bpawanchand</dc:creator>
      <dc:date>2008-09-25T10:27:28Z</dc:date>
    </item>
    <item>
      <title>Re: string operation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-operation/m-p/4523893#M1069469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;get the string length&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;v_strlen = strlen ( field ).&lt;/P&gt;&lt;P&gt;v_strlen = v_strlen - 14.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;v_val1 = field+0(13).&lt;/P&gt;&lt;P&gt;v_val2 = field+14(v_strlen).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Sep 2008 10:27:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/string-operation/m-p/4523893#M1069469</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-25T10:27:42Z</dc:date>
    </item>
    <item>
      <title>Re: string operation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-operation/m-p/4523894#M1069470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Susmitha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;PARAMETER p_str TYPE string.

DATA : abc TYPE i.

abc = STRLEN( p_str ).

abc = abc - 13.

WRITE :/ p_str+abc.
WRITE :/ p_str+0(13).&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Sep 2008 10:36:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/string-operation/m-p/4523894#M1069470</guid>
      <dc:creator>Mohamed_Mukhtar</dc:creator>
      <dc:date>2008-09-25T10:36:54Z</dc:date>
    </item>
    <item>
      <title>Re: string operation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-operation/m-p/4523895#M1069471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;just check this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:prefix type string value 'CALL FUNCTION'.&lt;/P&gt;&lt;P&gt;data:suffix type string.&lt;/P&gt;&lt;P&gt;data:split_string type tring 'CALL FUNCTION WS_UPLOAD'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:length type i.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;length = strlen( split_string ).&lt;/P&gt;&lt;P&gt;length = length - 1.&lt;/P&gt;&lt;P&gt;suffix = split_string+13(length).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write prefix&lt;/P&gt;&lt;P&gt;write suffix.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Sep 2008 10:46:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/string-operation/m-p/4523895#M1069471</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2008-09-25T10:46:57Z</dc:date>
    </item>
    <item>
      <title>Re: string operation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-operation/m-p/4523896#M1069472</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;first find the length(say x)  and then deduct 13 from that(y = x-13) and copy the remaining string to another string like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:c type string value 'CALL FUNCTION XYZ' ,&lt;/P&gt;&lt;P&gt;     a type string ,&lt;/P&gt;&lt;P&gt;     b type string,&lt;/P&gt;&lt;P&gt;     x type i,&lt;/P&gt;&lt;P&gt;     y type i.&lt;/P&gt;&lt;P&gt; x = STRLEN( c ) .&lt;/P&gt;&lt;P&gt; y = x - 13.&lt;/P&gt;&lt;P&gt; a = c+13(y). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rhea.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Sep 2008 10:55:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/string-operation/m-p/4523896#M1069472</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-25T10:55:14Z</dc:date>
    </item>
  </channel>
</rss>

