<?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: Write a program to write your name in reverse order in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-a-program-to-write-your-name-in-reverse-order/m-p/3574778#M860461</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;e&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Mar 2008 13:34:42 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-19T13:34:42Z</dc:date>
    <item>
      <title>Write a program to write your name in reverse order</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-a-program-to-write-your-name-in-reverse-order/m-p/3574777#M860460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi &lt;/P&gt;&lt;P&gt;This is ravinder&lt;/P&gt;&lt;P&gt;kindly help me with  solution for the following&lt;/P&gt;&lt;P&gt; &amp;amp;#9632;        Design selection-screen that accepts a number and default to &amp;#145;5&amp;#146;&lt;/P&gt;&lt;P&gt;&amp;amp;#9632;        Write a program to write your name in reverse order&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;#9632;        The writing should be restricted to only those many characters as number given in the selection screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example assume the user gives 5 in the selection screen. Then the output should be-&lt;/P&gt;&lt;P&gt;R&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;E&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;D&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;N&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2008 13:28:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/write-a-program-to-write-your-name-in-reverse-order/m-p/3574777#M860460</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-19T13:28:55Z</dc:date>
    </item>
    <item>
      <title>Re: Write a program to write your name in reverse order</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-a-program-to-write-your-name-in-reverse-order/m-p/3574778#M860461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;e&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2008 13:34:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/write-a-program-to-write-your-name-in-reverse-order/m-p/3574778#M860461</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-19T13:34:42Z</dc:date>
    </item>
    <item>
      <title>Re: Write a program to write your name in reverse order</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-a-program-to-write-your-name-in-reverse-order/m-p/3574779#M860462</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_NUM      TYPE I DEFAULT 5,
            P_NAME(30) TYPE C.

DATA: V_LEN   TYPE I,
      V_TIMES TYPE I,
      V_POS   TYPE I.

START-OF-SELECTION.

  V_LEN = STRLEN( P_NAME ).

  IF V_LEN &amp;lt;= P_NUM.
    V_TIMES = V_LEN.
  ELSE.
    V_TIMES = P_NUM.
  ENDIF.

  V_POS = V_LEN - 1.

  DO V_TIMES TIMES.
    WRITE: / P_NAME+V_POS(1).
    V_POS = V_POS - 1.
  ENDDO.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Max&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: max bianchi on Mar 19, 2008 2:39 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2008 13:35:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/write-a-program-to-write-your-name-in-reverse-order/m-p/3574779#M860462</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-19T13:35:18Z</dc:date>
    </item>
    <item>
      <title>Re: Write a program to write your name in reverse order</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-a-program-to-write-your-name-in-reverse-order/m-p/3574780#M860463</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;You can make use of FM &lt;STRONG&gt;STRING_REVERSE&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sriram Ponna.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2008 13:38:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/write-a-program-to-write-your-name-in-reverse-order/m-p/3574780#M860463</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-19T13:38:14Z</dc:date>
    </item>
    <item>
      <title>Re: Write a program to write your name in reverse order</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-a-program-to-write-your-name-in-reverse-order/m-p/3574781#M860464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi use this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: test type string,&lt;/P&gt;&lt;P&gt;      strlen type i,&lt;/P&gt;&lt;P&gt;      i type i.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; data: name(10)  value 'reverse'.&lt;/P&gt;&lt;P&gt;i =  strlen( name ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; do i times.&lt;/P&gt;&lt;P&gt; i  = i - 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; write:/ name+i(1).&lt;/P&gt;&lt;P&gt; if i le 6.&lt;/P&gt;&lt;P&gt; else.&lt;/P&gt;&lt;P&gt; exit.&lt;/P&gt;&lt;P&gt; endif.&lt;/P&gt;&lt;P&gt; enddo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;venkat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2008 13:39:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/write-a-program-to-write-your-name-in-reverse-order/m-p/3574781#M860464</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-19T13:39:37Z</dc:date>
    </item>
    <item>
      <title>Re: Write a program to write your name in reverse order</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-a-program-to-write-your-name-in-reverse-order/m-p/3574782#M860465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use ... STRING_REVERSE fm to achieve that ...&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
CALL FUNCTION 'STRING_REVERSE'
      EXPORTING
        string  = descr
        lang    = 'E'
      IMPORTING
        rstring = descr.  &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2008 13:41:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/write-a-program-to-write-your-name-in-reverse-order/m-p/3574782#M860465</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-19T13:41:55Z</dc:date>
    </item>
  </channel>
</rss>

