<?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: reverse or oposit  help in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/reverse-or-oposit-help/m-p/2740599#M636697</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but i get ) 8 - 3 (&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can i handle with ()&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Sep 2007 09:42:57 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-09-03T09:42:57Z</dc:date>
    <item>
      <title>reverse or oposit  help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reverse-or-oposit-help/m-p/2740597#M636695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have field  ( 3 - 8 )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i need to look like ( 8 - 3 )  how i can do it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Sep 2007 09:29:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reverse-or-oposit-help/m-p/2740597#M636695</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-03T09:29:41Z</dc:date>
    </item>
    <item>
      <title>Re: reverse or oposit  help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reverse-or-oposit-help/m-p/2740598#M636696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;do you mean reversing a string of characters? If so, please try function module STRING_REVERSE.&lt;/P&gt;&lt;P&gt;I hope it helps. Best regards,&lt;/P&gt;&lt;P&gt;Alvaro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Sep 2007 09:32:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reverse-or-oposit-help/m-p/2740598#M636696</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-03T09:32:40Z</dc:date>
    </item>
    <item>
      <title>Re: reverse or oposit  help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reverse-or-oposit-help/m-p/2740599#M636697</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but i get ) 8 - 3 (&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can i handle with ()&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Sep 2007 09:42:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reverse-or-oposit-help/m-p/2740599#M636697</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-03T09:42:57Z</dc:date>
    </item>
    <item>
      <title>Re: reverse or oposit  help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reverse-or-oposit-help/m-p/2740600#M636698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again,&lt;/P&gt;&lt;P&gt;I know it might sound funny &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;    but you may try to do TRANSLATE ... USING '())(' after the string reversal. If the string is well-built (I mean, if the parentheses make sense), this should work, doesn't it?&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Alvaro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Sep 2007 09:46:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reverse-or-oposit-help/m-p/2740600#M636698</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-03T09:46:02Z</dc:date>
    </item>
    <item>
      <title>Re: reverse or oposit  help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reverse-or-oposit-help/m-p/2740601#M636699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi little richi&lt;/P&gt;&lt;P&gt;               Please try to use this code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA v_text(20) TYPE c.&lt;/P&gt;&lt;P&gt;DATA v_new_text(20) TYPE c.&lt;/P&gt;&lt;P&gt;DATA v_num TYPE i.&lt;/P&gt;&lt;P&gt;DATA v_i TYPE i.&lt;/P&gt;&lt;P&gt;DATA v_2i TYPE i.&lt;/P&gt;&lt;P&gt;v_text = '( 8- 3 )'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;v_num = STRLEN( v_text ).&lt;/P&gt;&lt;P&gt;v_2i = 0.&lt;/P&gt;&lt;P&gt;v_i = v_num - 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DO v_num TIMES.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF v_text&lt;EM&gt;v_i(1) &amp;lt;&amp;gt; '(' AND v_text&lt;/EM&gt;v_i(1) &amp;lt;&amp;gt; ')'.&lt;/P&gt;&lt;P&gt;    WRITE v_text&lt;EM&gt;v_i(1) TO  v_new_text&lt;/EM&gt;v_2i(1).&lt;/P&gt;&lt;P&gt;    v_i = v_i  - 1.&lt;/P&gt;&lt;P&gt;  ELSE.&lt;/P&gt;&lt;P&gt;    WRITE v_text&lt;EM&gt;v_i(1) TO  v_new_text&lt;/EM&gt;v_i(1).&lt;/P&gt;&lt;P&gt;    v_i = v_i  - 1.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;  v_2i = v_2i + 1.&lt;/P&gt;&lt;P&gt;ENDDO.&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_text.&lt;/P&gt;&lt;P&gt;WRITE: / v_new_text.&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;Wiboon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Sep 2007 10:08:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reverse-or-oposit-help/m-p/2740601#M636699</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-03T10:08:40Z</dc:date>
    </item>
    <item>
      <title>Re: reverse or oposit  help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reverse-or-oposit-help/m-p/2740602#M636700</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;use this .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write : '(',field,')'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards &lt;/P&gt;&lt;P&gt;prajwal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Sep 2007 10:35:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reverse-or-oposit-help/m-p/2740602#M636700</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-03T10:35:10Z</dc:date>
    </item>
    <item>
      <title>Re: reverse or oposit  help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reverse-or-oposit-help/m-p/2740603#M636701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this it may help you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
data : text(10) value '( 3 - 8 )',
       text1(10),
       text2(10),
       text3(10).

split text at '(' into text1 text2.
split text2 at ')' into text3 text1.

CALL FUNCTION 'STRING_REVERSE'
  EXPORTING
    STRING          = text3
    LANG            = sy-langu
 IMPORTING
   RSTRING         = text3
 EXCEPTIONS
   TOO_SMALL       = 1
   OTHERS          = 2
          .
IF SY-SUBRC &amp;lt;&amp;gt; 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.

concatenate '(' text3 ')' into text separated by space.
write : / text.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;shiba dutta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Sep 2007 10:44:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reverse-or-oposit-help/m-p/2740603#M636701</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-03T10:44:44Z</dc:date>
    </item>
  </channel>
</rss>

