<?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: Character string operation in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/character-string-operation/m-p/5001001#M1164522</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Aparna!!!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Jan 2009 08:06:53 GMT</pubDate>
    <dc:creator>Anindya</dc:creator>
    <dc:date>2009-01-07T08:06:53Z</dc:date>
    <item>
      <title>Character string operation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/character-string-operation/m-p/5000997#M1164518</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 need to read only the file name from a variable which contains the entire path and also the name of the  file at the end of it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eg:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lh_path is a character variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lh_path = E:\xxxxx\yyyyyy\zzzz\........\Objects.csv&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this example, i need to read only the file name(i.e Objects.csv)  from lh_path.What will be the best logic to implement this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Anindya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2009 07:37:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/character-string-operation/m-p/5000997#M1164518</guid>
      <dc:creator>Anindya</dc:creator>
      <dc:date>2009-01-07T07:37:28Z</dc:date>
    </item>
    <item>
      <title>Re: Character string operation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/character-string-operation/m-p/5000998#M1164519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anindya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refer to this link as per your requirement:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="6346927"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope solves your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2009 07:40:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/character-string-operation/m-p/5000998#M1164519</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-07T07:40:59Z</dc:date>
    </item>
    <item>
      <title>Re: Character string operation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/character-string-operation/m-p/5000999#M1164520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Use the SPLIT statment. Use an internal table as the target and read the last record of the target internal table. This will always be the file name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Advait&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2009 07:45:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/character-string-operation/m-p/5000999#M1164520</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-07T07:45:12Z</dc:date>
    </item>
    <item>
      <title>Re: Character string operation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/character-string-operation/m-p/5001000#M1164521</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;Try with this FM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PC_SPLIT_COMPLETE_FILENAME.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Suresh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2009 07:45:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/character-string-operation/m-p/5001000#M1164521</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-07T07:45:38Z</dc:date>
    </item>
    <item>
      <title>Re: Character string operation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/character-string-operation/m-p/5001001#M1164522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Aparna!!!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2009 08:06:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/character-string-operation/m-p/5001001#M1164522</guid>
      <dc:creator>Anindya</dc:creator>
      <dc:date>2009-01-07T08:06:53Z</dc:date>
    </item>
    <item>
      <title>Re: Character string operation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/character-string-operation/m-p/5001002#M1164523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Try this code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
data:text1 type string,itab type table of string.
parameters : text type string. "file name
split text at '\' into table itab.
loop at itab into text1 .
*  text1 = itab.
  endloop.
  write : text1.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vasavi Kotha&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Code Formatted by: Alvaro Tejada Galindo on Jan 7, 2009 3:20 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2009 08:18:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/character-string-operation/m-p/5001002#M1164523</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-07T08:18:58Z</dc:date>
    </item>
  </channel>
</rss>

