<?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 Facing problems while Adding a Character &amp; a Integer in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/facing-problems-while-adding-a-character-a-integer/m-p/1345474#M174136</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a problem when additing a Character and a interger&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My requirement:&lt;/P&gt;&lt;P&gt;I have to build a range ..... with only option = 'EQ'&lt;/P&gt;&lt;P&gt;So if iam encoutering any 'BT' iam changing it to 'EQ'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following is my code and the problem ;-(&lt;/P&gt;&lt;P&gt;*********************************&lt;/P&gt;&lt;P&gt;  LOOP AT I_SETLEAF.&lt;/P&gt;&lt;P&gt;    CLEAR L_LOW_SETLEAF.&lt;/P&gt;&lt;P&gt;    R_SETLEAF-SIGN = I_SETLEAF-VALSIGN.&lt;/P&gt;&lt;P&gt;    R_SETLEAF-OPTION = I_SETLEAF-VALOPTION.&lt;/P&gt;&lt;P&gt;    IF R_SETLEAF-OPTION EQ 'BT'.&lt;/P&gt;&lt;P&gt;      L_LOW_SETLEAF = I_SETLEAF-VALFROM.&lt;/P&gt;&lt;P&gt;      WHILE L_LOW_SETLEAF LE I_SETLEAF-VALTO.&lt;/P&gt;&lt;P&gt;        R_SETLEAF-SIGN = I_SETLEAF-VALSIGN.&lt;/P&gt;&lt;P&gt;        R_SETLEAF-OPTION = 'EQ'.&lt;/P&gt;&lt;P&gt;        R_SETLEAF-LOW = L_LOW_SETLEAF  .&lt;/P&gt;&lt;P&gt;        R_SETLEAF-HIGH = L_LOW_SETLEAF.&lt;/P&gt;&lt;P&gt;        L_LOW_SETLEAF = L_LOW_SETLEAF + '1'.  ---&amp;gt; 1&lt;/P&gt;&lt;P&gt;        L_LOW_SETLEAF = L_LOW_SETLEAF + '1'.  ---&amp;gt; 2&lt;/P&gt;&lt;P&gt;        APPEND R_SETLEAF.&lt;/P&gt;&lt;P&gt;        CLEAR  R_SETLEAF.&lt;/P&gt;&lt;P&gt;      ENDWHILE.&lt;/P&gt;&lt;P&gt;    ELSE.&lt;/P&gt;&lt;P&gt;      R_SETLEAF-LOW = I_SETLEAF-VALFROM.&lt;/P&gt;&lt;P&gt;      R_SETLEAF-HIGH = I_SETLEAF-VALTO.&lt;/P&gt;&lt;P&gt;      APPEND R_SETLEAF.&lt;/P&gt;&lt;P&gt;      CLEAR  R_SETLEAF.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My L_LOW_SETLEAF is LIKE I_SETLEAF-VALFROM.&lt;/P&gt;&lt;P&gt;**************************************&lt;/P&gt;&lt;P&gt;I ve tried with both ...... 1 &amp;amp; 2  but still the loop goes to endless loop ;-(&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXPECTING  ur replies .....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;R.Kripa.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 May 2006 04:54:22 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-05-29T04:54:22Z</dc:date>
    <item>
      <title>Facing problems while Adding a Character &amp; a Integer</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/facing-problems-while-adding-a-character-a-integer/m-p/1345474#M174136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a problem when additing a Character and a interger&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My requirement:&lt;/P&gt;&lt;P&gt;I have to build a range ..... with only option = 'EQ'&lt;/P&gt;&lt;P&gt;So if iam encoutering any 'BT' iam changing it to 'EQ'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following is my code and the problem ;-(&lt;/P&gt;&lt;P&gt;*********************************&lt;/P&gt;&lt;P&gt;  LOOP AT I_SETLEAF.&lt;/P&gt;&lt;P&gt;    CLEAR L_LOW_SETLEAF.&lt;/P&gt;&lt;P&gt;    R_SETLEAF-SIGN = I_SETLEAF-VALSIGN.&lt;/P&gt;&lt;P&gt;    R_SETLEAF-OPTION = I_SETLEAF-VALOPTION.&lt;/P&gt;&lt;P&gt;    IF R_SETLEAF-OPTION EQ 'BT'.&lt;/P&gt;&lt;P&gt;      L_LOW_SETLEAF = I_SETLEAF-VALFROM.&lt;/P&gt;&lt;P&gt;      WHILE L_LOW_SETLEAF LE I_SETLEAF-VALTO.&lt;/P&gt;&lt;P&gt;        R_SETLEAF-SIGN = I_SETLEAF-VALSIGN.&lt;/P&gt;&lt;P&gt;        R_SETLEAF-OPTION = 'EQ'.&lt;/P&gt;&lt;P&gt;        R_SETLEAF-LOW = L_LOW_SETLEAF  .&lt;/P&gt;&lt;P&gt;        R_SETLEAF-HIGH = L_LOW_SETLEAF.&lt;/P&gt;&lt;P&gt;        L_LOW_SETLEAF = L_LOW_SETLEAF + '1'.  ---&amp;gt; 1&lt;/P&gt;&lt;P&gt;        L_LOW_SETLEAF = L_LOW_SETLEAF + '1'.  ---&amp;gt; 2&lt;/P&gt;&lt;P&gt;        APPEND R_SETLEAF.&lt;/P&gt;&lt;P&gt;        CLEAR  R_SETLEAF.&lt;/P&gt;&lt;P&gt;      ENDWHILE.&lt;/P&gt;&lt;P&gt;    ELSE.&lt;/P&gt;&lt;P&gt;      R_SETLEAF-LOW = I_SETLEAF-VALFROM.&lt;/P&gt;&lt;P&gt;      R_SETLEAF-HIGH = I_SETLEAF-VALTO.&lt;/P&gt;&lt;P&gt;      APPEND R_SETLEAF.&lt;/P&gt;&lt;P&gt;      CLEAR  R_SETLEAF.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My L_LOW_SETLEAF is LIKE I_SETLEAF-VALFROM.&lt;/P&gt;&lt;P&gt;**************************************&lt;/P&gt;&lt;P&gt;I ve tried with both ...... 1 &amp;amp; 2  but still the loop goes to endless loop ;-(&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXPECTING  ur replies .....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;R.Kripa.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 May 2006 04:54:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/facing-problems-while-adding-a-character-a-integer/m-p/1345474#M174136</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-29T04:54:22Z</dc:date>
    </item>
    <item>
      <title>Re: Facing problems while Adding a Character &amp; a Integer</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/facing-problems-while-adding-a-character-a-integer/m-p/1345475#M174137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The only way to do it right is to use a SELECT statement on table concerned by your range and get list of items.&lt;/P&gt;&lt;P&gt;Then you put those items in your own range with EQ.&lt;/P&gt;&lt;P&gt;If you don't do that, you will potentially fill your range with values not existing in the database and this is not efficient.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 May 2006 09:16:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/facing-problems-while-adding-a-character-a-integer/m-p/1345475#M174137</guid>
      <dc:creator>franois_henrotte</dc:creator>
      <dc:date>2006-05-29T09:16:52Z</dc:date>
    </item>
    <item>
      <title>Re: Facing problems while Adding a Character &amp; a Integer</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/facing-problems-while-adding-a-character-a-integer/m-p/1345476#M174138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kripa,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you try the last code that I had sent in your previous post? Did not that work?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;YOu can also try this. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select-options s_datum1 for char24.&lt;/P&gt;&lt;P&gt;ranges s_datum2 for char24.&lt;/P&gt;&lt;P&gt;data : value type char24.&lt;/P&gt;&lt;P&gt;loop at s_datum1.&lt;/P&gt;&lt;P&gt;  if s_datum1-option = 'EQ'.&lt;/P&gt;&lt;P&gt;    s_datum2 = s_datum1.&lt;/P&gt;&lt;P&gt;    append s_datum2.&lt;/P&gt;&lt;P&gt;  elseif s_datum1-option = 'BT'.&lt;/P&gt;&lt;P&gt;    value = s_datum1-low.&lt;/P&gt;&lt;P&gt;    do.&lt;/P&gt;&lt;P&gt;    s_datum2-sign = s_datum1-sign.&lt;/P&gt;&lt;P&gt;    s_datum2-option = 'EQ'.&lt;/P&gt;&lt;P&gt;    s_datum2-low = value.&lt;/P&gt;&lt;P&gt;    append s_datum2.&lt;/P&gt;&lt;P&gt;    if value = s_datum1-high.&lt;/P&gt;&lt;P&gt;      exit.&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;    value = value + 1.&lt;/P&gt;&lt;P&gt;    condense value.&lt;/P&gt;&lt;P&gt;    enddo.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please do reply if it works for you? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, &lt;/P&gt;&lt;P&gt;Susmitha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 May 2006 09:37:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/facing-problems-while-adding-a-character-a-integer/m-p/1345476#M174138</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-29T09:37:26Z</dc:date>
    </item>
    <item>
      <title>Re: Facing problems while Adding a Character &amp; a Integer</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/facing-problems-while-adding-a-character-a-integer/m-p/1345477#M174139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try &lt;/P&gt;&lt;P&gt;CONDENSE L_LOW_SETLEAF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after&lt;/P&gt;&lt;P&gt;L_LOW_SETLEAF = L_LOW_SETLEAF + 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Susmitha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 May 2006 09:41:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/facing-problems-while-adding-a-character-a-integer/m-p/1345477#M174139</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-29T09:41:34Z</dc:date>
    </item>
  </channel>
</rss>

