<?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: data type Help in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-type-help/m-p/1074736#M95920</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What do you have to do if the value is space? Why can't you move and do your addition only if the value is a number? What are the lengths of the fields? Are the values left-justified or right-justified?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 04 Dec 2005 22:44:51 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-12-04T22:44:51Z</dc:date>
    <item>
      <title>data type Help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-type-help/m-p/1074734#M95918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have values a1,a2,a3...a12 and b1,b2,b3...b12. All of them are char type. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The values in them can be non-zero,zero or space and  negative values are also possible. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My requirement is add a1,a2 and a3 in to a variable W1, add b1 , b2 and b3 to a variable W2. Follow the same to other values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to compare W1 to W2 , If W1 &amp;gt; W2 I need to print W1 in the report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My query is as follows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. How do sum up these values and compare these char based values using &amp;gt; expression.&lt;/P&gt;&lt;P&gt;2. If move them to Integer and If the value is space it treats them as 0 and prints zero.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any thoughts on this, will be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Har.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Dec 2005 21:36:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-type-help/m-p/1074734#M95918</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-04T21:36:43Z</dc:date>
    </item>
    <item>
      <title>Re: data type Help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-type-help/m-p/1074735#M95919</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Harpit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can move these values to Integer and perform your operation.&lt;/P&gt;&lt;P&gt;While displaying the value of W1 which should be displayed if W1 &amp;gt; W2. Also add a check that W1 is not equal to zero. If you add this condition also to the existing IF statement, evenif W1 is equal to 0, it will not print 0.&lt;/P&gt;&lt;P&gt;Let me know if this is okay.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Dec 2005 22:42:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-type-help/m-p/1074735#M95919</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-04T22:42:19Z</dc:date>
    </item>
    <item>
      <title>Re: data type Help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-type-help/m-p/1074736#M95920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What do you have to do if the value is space? Why can't you move and do your addition only if the value is a number? What are the lengths of the fields? Are the values left-justified or right-justified?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Dec 2005 22:44:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-type-help/m-p/1074736#M95920</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-04T22:44:51Z</dc:date>
    </item>
  </channel>
</rss>

