<?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: Get file patch from string in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-file-patch-from-string/m-p/4706539#M1105771</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Eric,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Oct 2008 08:53:34 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-29T08:53:34Z</dc:date>
    <item>
      <title>Get file patch from string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-file-patch-from-string/m-p/4706536#M1105768</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;i  have this string and i always want the last charter in it,&lt;/P&gt;&lt;P&gt;after the last ' \ ' what is the best way to do that &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;C:\Documents and Settings\P508635\Desktop\*Book1.xls*&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g. &lt;/P&gt;&lt;P&gt;here i want to get in &lt;STRONG&gt;tmp = Book1.xls&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Oct 2008 08:34:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-file-patch-from-string/m-p/4706536#M1105768</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-29T08:34:49Z</dc:date>
    </item>
    <item>
      <title>Re: Get file patch from string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-file-patch-from-string/m-p/4706537#M1105769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;DATA : gv_lies TYPE i.
SPLIT file INTO TABLE itab AT '/'. "split the file name into internal table
gv_lines = lines( itab ). "determine the number of lines
READ TABLE itab INDEX gv_lines. "last line is what we need&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Oct 2008 08:37:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-file-patch-from-string/m-p/4706537#M1105769</guid>
      <dc:creator>JozsefSzikszai</dc:creator>
      <dc:date>2008-10-29T08:37:50Z</dc:date>
    </item>
    <item>
      <title>Re: Get file patch from string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-file-patch-from-string/m-p/4706538#M1105770</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;There are many Function Modules, &lt;/P&gt;&lt;P&gt;One on that is &lt;STRONG&gt;SO_SPLIT_FILE_AND_PATH&lt;/STRONG&gt;&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;Kumar M&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Oct 2008 08:42:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-file-patch-from-string/m-p/4706538#M1105770</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-29T08:42:59Z</dc:date>
    </item>
    <item>
      <title>Re: Get file patch from string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-file-patch-from-string/m-p/4706539#M1105771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Eric,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Oct 2008 08:53:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-file-patch-from-string/m-p/4706539#M1105771</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-29T08:53:34Z</dc:date>
    </item>
    <item>
      <title>Re: Get file patch from string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-file-patch-from-string/m-p/4706540#M1105772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Eric,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I try your soltion and in the line :&lt;/P&gt;&lt;P&gt;SPLIT file INTO TABLE itab AT '/'. "split the file name into internal table&lt;/P&gt;&lt;P&gt;i change it to : SPLIT gv_filename AT '/' INTO TABLE itab. for avoid error .&lt;/P&gt;&lt;P&gt;but it don't split it u have idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Oct 2008 08:55:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-file-patch-from-string/m-p/4706540#M1105772</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-29T08:55:21Z</dc:date>
    </item>
    <item>
      <title>Re: Get file patch from string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-file-patch-from-string/m-p/4706541#M1105773</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;i think in place of forward slash '/' u have to use backward slash '\' i suppose....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds.,&lt;/P&gt;&lt;P&gt;subash&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Oct 2008 08:58:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-file-patch-from-string/m-p/4706541#M1105773</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-29T08:58:00Z</dc:date>
    </item>
    <item>
      <title>Re: Get file patch from string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-file-patch-from-string/m-p/4706542#M1105774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sorry, my mistake, it has to be '\' (not '/')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Oct 2008 09:00:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-file-patch-from-string/m-p/4706542#M1105774</guid>
      <dc:creator>JozsefSzikszai</dc:creator>
      <dc:date>2008-10-29T09:00:42Z</dc:date>
    </item>
    <item>
      <title>Re: Get file patch from string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-file-patch-from-string/m-p/4706543#M1105775</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 below code works...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;p_str  = &lt;/P&gt;&lt;P&gt;   C:\Documents and Settings\P508635  \Desktop\*Book1.xls*&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; data:str2(100) type c,&lt;/P&gt;&lt;P&gt;       str3(100) type c,&lt;/P&gt;&lt;P&gt;       str4(100) type c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  call function 'STRING_REVERSE'&lt;/P&gt;&lt;P&gt;    exporting&lt;/P&gt;&lt;P&gt;      string    = p_str&lt;/P&gt;&lt;P&gt;      lang      = 'E'&lt;/P&gt;&lt;P&gt;    importing&lt;/P&gt;&lt;P&gt;      rstring   = str2&lt;/P&gt;&lt;P&gt;    exceptions&lt;/P&gt;&lt;P&gt;      too_small = 1&lt;/P&gt;&lt;P&gt;      others    = 2.&lt;/P&gt;&lt;P&gt;  if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    clear str2.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  split str2 at '\' into str3 str4.&lt;/P&gt;&lt;P&gt;  clear str4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  call function 'STRING_REVERSE'&lt;/P&gt;&lt;P&gt;    exporting&lt;/P&gt;&lt;P&gt;      string    = str3&lt;/P&gt;&lt;P&gt;      lang      = 'E'&lt;/P&gt;&lt;P&gt;    importing&lt;/P&gt;&lt;P&gt;      rstring   = str4&lt;/P&gt;&lt;P&gt;    exceptions&lt;/P&gt;&lt;P&gt;      too_small = 1&lt;/P&gt;&lt;P&gt;      others    = 2.&lt;/P&gt;&lt;P&gt;  if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    clear str4.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;p_str  = str4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kiran Bovindala.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Oct 2008 09:10:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-file-patch-from-string/m-p/4706543#M1105775</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-29T09:10:40Z</dc:date>
    </item>
  </channel>
</rss>

