<?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 Reverse in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-reverse/m-p/3015723#M712695</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Khanna,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  What does the dump say??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Declare the string of type CHAR, it will work&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Nov 2007 13:34:12 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-11-13T13:34:12Z</dc:date>
    <item>
      <title>String Reverse</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-reverse/m-p/3015717#M712689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried to reverse the string using 'string_reverse' fm.But it won't work.Pls give me n eg to use this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Nov 2007 13:05:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/string-reverse/m-p/3015717#M712689</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-13T13:05:28Z</dc:date>
    </item>
    <item>
      <title>Re: String Reverse</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-reverse/m-p/3015718#M712690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;Hi Khanna,

 try this

REPORT ychatest2.

DATA : v_str(100) VALUE 'SDN',
       v_rev(100).


CALL FUNCTION 'STRING_REVERSE'
  EXPORTING
    string    = v_str
    lang      = sy-langu
  IMPORTING
    rstring   = v_rev
  EXCEPTIONS
    too_small = 1
    OTHERS    = 2.

WRITE : v_rev.&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Nov 2007 13:13:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/string-reverse/m-p/3015718#M712690</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-13T13:13:44Z</dc:date>
    </item>
    <item>
      <title>Re: String Reverse</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-reverse/m-p/3015719#M712691</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;&amp;lt;b&amp;gt;STRING_REVERSE&amp;lt;/b&amp;gt; Returns a string in reverse order&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Functionality&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;The function module returns the character string entered in reverse sequence.  Leading blanks are taken into account, trailing blanks are not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All exceptions are generated with RAISE and must be handled in the calling program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Examples&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;' abc      '  becomes 'cba ' . (If the actual parameter assigned to the formal parameter RSTRING is longer than 4 characters as shown in this example, the remaining places are padded with blanks.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sample call:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA:   REVERSESTRING(10).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'STRING_REVERSE'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;              EXPORTING     STRING      =     '  abcdef     '&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;              IMPORTING     RSTRING     =     REVERSESTRING&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;               EXCEPTIONS    TOO_SMALL   =     1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       The reverse string is in RSTRING&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     ELSE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       RSTRING zu kurz&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward if usefull&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Nov 2007 13:14:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/string-reverse/m-p/3015719#M712691</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-13T13:14:59Z</dc:date>
    </item>
    <item>
      <title>Re: String Reverse</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-reverse/m-p/3015720#M712692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Khanna,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;by import parameter LANG you have to give the language to the system. This should be system wise, so you have to take care about conversions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ec&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Nov 2007 13:15:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/string-reverse/m-p/3015720#M712692</guid>
      <dc:creator>JozsefSzikszai</dc:creator>
      <dc:date>2007-11-13T13:15:05Z</dc:date>
    </item>
    <item>
      <title>Re: String Reverse</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-reverse/m-p/3015721#M712693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;data : v_string1(20) type C.&lt;/P&gt;&lt;P&gt;data : v_string2(20) type C.&lt;/P&gt;&lt;P&gt;initialization.&lt;/P&gt;&lt;P&gt;v_string1 = 'RAMA'.&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 = v_string1&lt;/P&gt;&lt;P&gt;lang = sy-langu&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;rstring = v_string2&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;&lt;/P&gt;&lt;P&gt;write &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; v_string1,v_string2.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Nov 2007 13:15:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/string-reverse/m-p/3015721#M712693</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-13T13:15:12Z</dc:date>
    </item>
    <item>
      <title>Re: String Reverse</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-reverse/m-p/3015722#M712694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i tried but it gives short dump error.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Nov 2007 13:15:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/string-reverse/m-p/3015722#M712694</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-13T13:15:44Z</dc:date>
    </item>
    <item>
      <title>Re: String Reverse</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-reverse/m-p/3015723#M712695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Khanna,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  What does the dump say??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Declare the string of type CHAR, it will work&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Nov 2007 13:34:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/string-reverse/m-p/3015723#M712695</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-13T13:34:12Z</dc:date>
    </item>
  </channel>
</rss>

