<?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: problem in displaying the data in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-displaying-the-data/m-p/4500974#M1064992</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Rick,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I meant dont compare string with numbers and use packed decimals.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
if vv-tot1 &amp;gt; 0 and vv-tot2 &amp;gt; 0. "Wrong
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following is correct format&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
if vv-toleranzob &amp;gt; 0 and vv-toleranzun &amp;gt; 0. "Correct
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Kothand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Sep 2008 07:03:47 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-09-24T07:03:47Z</dc:date>
    <item>
      <title>problem in displaying the data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-displaying-the-data/m-p/4500963#M1064981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am working on a report which is previously developed ,this is basically code for the smartforms in which it is showing the upper limit and the lower limit which are present in the table QPMK having the fields toleranzun and toleranzob. i.e. if the lower limit is specified and the upper limit is specified i.e. 0.15 and the lower limit is not then it is picking up the default value 0 and showing the data as :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;carbon -&amp;gt; 0.15 - 0.00&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i want to show the data that if its lower limit or upper limit is not defined then it should display the only value which is defined .&lt;/P&gt;&lt;P&gt;for example,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if upper limit is defined as 0.15 and the lower limit is not told then it should display the data as :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;carbon -&amp;gt; 0.15&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i had tried to modify the code but it is able to display it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here's d code:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT vv.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT SINGLE toleranzob FROM qpmk INTO vv-toleranzob WHERE mkmnr = vv-verwmerkm AND toleranzob GT 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT SINGLE toleranzun FROM qpmk INTO vv-toleranzun WHERE mkmnr = vv-verwmerkm AND toleranzun GT 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if vv-toleranzun &amp;gt; 0 and vv-toleranzob &amp;gt; 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODIFY vv FROM vv INDEX sy-tabix TRANSPORTING toleranzob toleranzun.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;elseif vv-toleranzun &amp;gt; 0 and vv-toleranzob = 0.&lt;/P&gt;&lt;P&gt;MODIFY vv FROM vv INDEX sy-tabix TRANSPORTING toleranzun.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;elseif vv-toleranzun = 0 and vv-toleranzob &amp;gt; 0.&lt;/P&gt;&lt;P&gt;MODIFY vv FROM vv INDEX sy-tabix TRANSPORTING toleranzob.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it is still giving the same output..&lt;/P&gt;&lt;P&gt;even i had debugged it the statements are getting fetched.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2008 03:31:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-displaying-the-data/m-p/4500963#M1064981</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-24T03:31:55Z</dc:date>
    </item>
    <item>
      <title>Re: problem in displaying the data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-displaying-the-data/m-p/4500964#M1064982</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;Try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of checking for greater than 0, check whether the lower limit is initial or equal to space. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sharin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2008 03:42:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-displaying-the-data/m-p/4500964#M1064982</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-24T03:42:27Z</dc:date>
    </item>
    <item>
      <title>Re: problem in displaying the data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-displaying-the-data/m-p/4500965#M1064983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi sharin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had checked in the tcode that it is not compulsory that the upper limit or lower limit is must required.It is picking up the by default 0,and i am trying that if there is no value of upper limit or lower limit is not defined it should not display by default 0,it shows only the value whic is defined in it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Till now i am not able to do it with the code ii had defined, plzz provide me guidelines for solving this problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: ricx .s on Sep 24, 2008 6:09 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2008 04:09:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-displaying-the-data/m-p/4500965#M1064983</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-24T04:09:45Z</dc:date>
    </item>
    <item>
      <title>Re: problem in displaying the data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-displaying-the-data/m-p/4500966#M1064984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rick,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Is this problem in display is for Report or Smartforms? you have mentioned both &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
I am working on a report which is previously developed ,
this is basically code for the smartforms
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually the problem is not with this piece of code (even though this is poorly constructed logic)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it is a ALV report then you need to set a flag in the Fieldcatalog &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;slis_fieldcat_alv-no_zero = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Kothand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2008 04:12:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-displaying-the-data/m-p/4500966#M1064984</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-24T04:12:42Z</dc:date>
    </item>
    <item>
      <title>Re: problem in displaying the data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-displaying-the-data/m-p/4500967#M1064985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Ricx ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The data type of the fields might be packed with decimals 2 , when ever the value is initial , it will display the initial value only , for example for char type : ' ' , numeric : 0 etc , best way to approch this is when ever ur lower value is initial move that value into a charcter type value and display that , which obviously give u space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this Helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ramesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2008 04:20:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-displaying-the-data/m-p/4500967#M1064985</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-24T04:20:06Z</dc:date>
    </item>
    <item>
      <title>Re: problem in displaying the data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-displaying-the-data/m-p/4500968#M1064986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ricx,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do it as follows u will get the required result:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Data: v_toleranzob type string,&lt;/P&gt;&lt;P&gt;          v_val type string.&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt; if vv-toleranzob = '0'.&lt;/P&gt;&lt;P&gt; v_toleranzob = space.&lt;/P&gt;&lt;P&gt; else.&lt;/P&gt;&lt;P&gt; v_val = vv-toleranzob .&lt;/P&gt;&lt;P&gt; concatenate '-'  v_val into v_toleranzob.&lt;/P&gt;&lt;P&gt; endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write:/ 'Carbon -&amp;gt;', vv-toleranzob, v_toleranzob.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try this code in ur program. Here if the value of vv-toleranzob is 0  and vv-toleranzun = '0.15'then output will come as  &lt;/P&gt;&lt;P&gt;Carbon-&amp;gt;0.15&lt;/P&gt;&lt;P&gt;otherwise if vv-toleranzob is not 0 , its some value say 0.17 output will come as:&lt;/P&gt;&lt;P&gt;Carbon-&amp;gt;0.15 - 0.17&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regds.&lt;/P&gt;&lt;P&gt;Shweta.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2008 04:52:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-displaying-the-data/m-p/4500968#M1064986</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-24T04:52:36Z</dc:date>
    </item>
    <item>
      <title>Re: problem in displaying the data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-displaying-the-data/m-p/4500969#M1064987</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;It is basically a ABAP Program and it is passing the values to the SMARTFORMS and yes the values of the following is:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;toleranzob TYPE p DECIMALS 2,&lt;/P&gt;&lt;P&gt;toleranzun TYPE p DECIMALS 2,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u want to say that i should convert it into the char type ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2008 04:58:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-displaying-the-data/m-p/4500969#M1064987</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-24T04:58:26Z</dc:date>
    </item>
    <item>
      <title>Re: problem in displaying the data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-displaying-the-data/m-p/4500970#M1064988</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; Well. If it is report and passing value to smartforms then Ramesh is right. You need to declare these values as type 'C'. ( If there is no value calculation involved with this, then no problem in declaring it as 'C'. )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also in smartform make these variables as Character type&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Kothand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2008 05:39:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-displaying-the-data/m-p/4500970#M1064988</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-24T05:39:24Z</dc:date>
    </item>
    <item>
      <title>Re: problem in displaying the data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-displaying-the-data/m-p/4500971#M1064989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi kothand,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am doing the code for it as:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; DATA : BEGIN OF vv OCCURS 0,&lt;/P&gt;&lt;P&gt;         verwmerkm LIKE plmk-verwmerkm ,&lt;/P&gt;&lt;P&gt;         toleranzob TYPE p DECIMALS 2,&lt;/P&gt;&lt;P&gt;         toleranzun TYPE p DECIMALS 2,&lt;/P&gt;&lt;P&gt;         tot1 type string,          "tot1 for the toleranzob&lt;/P&gt;&lt;P&gt;         tot2 type string,          "tot2 for the toleranzun&lt;/P&gt;&lt;P&gt;         kurztext LIKE qpmt-kurztext,&lt;/P&gt;&lt;P&gt;         END OF vv.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT vv.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT SINGLE toleranzob FROM qpmk INTO vv-toleranzob WHERE mkmnr = vv-verwmerkm. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT SINGLE toleranzun FROM qpmk INTO vv-toleranzun WHERE mkmnr = vv-verwmerkm . "AND toleranzun GT 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vv-tot1 = vv-toleranzun.&lt;/P&gt;&lt;P&gt;vv-tot2 = vv-toleranzob.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if vv-tot1 &amp;gt; 0 and vv-tot2 &amp;gt; 0.&lt;/P&gt;&lt;P&gt;MODIFY vv FROM vv INDEX sy-tabix TRANSPORTING tot1 tot2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;elseif vv-tot1 &amp;gt; 0 and vv-tot2 = 0.&lt;/P&gt;&lt;P&gt;MODIFY vv FROM vv INDEX sy-tabix TRANSPORTING tot1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;elseif vv-tot1 = 0 and vv-tot2 &amp;gt; 0.&lt;/P&gt;&lt;P&gt;MODIFY vv FROM vv INDEX sy-tabix TRANSPORTING tot2.&lt;/P&gt;&lt;P&gt;&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;but i have to convert declare the variables in the smartform (tot1,tot2) so dat it can show the data .... tell me if anything i am doing wrong ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2008 06:12:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-displaying-the-data/m-p/4500971#M1064989</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-24T06:12:37Z</dc:date>
    </item>
    <item>
      <title>Re: problem in displaying the data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-displaying-the-data/m-p/4500972#M1064990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rick,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Yes. You need to convert the variables that are displayed in the smartform also to String to avoid zero.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also the code you have written can be tuned as follows&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
LOOP AT vv.

SELECT SINGLE toleranzob toleranzun FROM qpmk INTO ( vv-toleranzob, vv-toleranzun ) WHERE mkmnr = vv-verwmerkm. 

vv-tot1 = vv-toleranzun.
vv-tot2 = vv-toleranzob.

if vv-toleranzun &amp;gt; 0 and vv-toleranzob &amp;gt; 0.  "Dont compare string type with numbers
MODIFY vv FROM vv INDEX sy-tabix TRANSPORTING tot1 tot2.

elseif vv-toleranzun &amp;gt; 0 and vv-toleranzob = 0.
MODIFY vv FROM vv INDEX sy-tabix TRANSPORTING tot1.

elseif vv-toleranzun = 0 and vv-toleranzob &amp;gt; 0.
MODIFY vv FROM vv INDEX sy-tabix TRANSPORTING tot2.

endif.

clear w.
endloop.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Kothand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2008 06:46:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-displaying-the-data/m-p/4500972#M1064990</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-24T06:46:08Z</dc:date>
    </item>
    <item>
      <title>Re: problem in displaying the data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-displaying-the-data/m-p/4500973#M1064991</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;actually i pasted the wrong code ,this is the code which i am using right now,yes will declare the variables in the smartform also. &lt;/P&gt;&lt;P&gt;but if i will not compare them how it will show the desired result,is it possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here's d code :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT vv.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;SELECT SINGLE toleranzob toleranzun FROM qpmk INTO ( vv-toleranzob, vv-toleranzun ) WHERE mkmnr = vv-verwmerkm. &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;vv-tot1 = vv-toleranzun.&lt;/P&gt;&lt;P&gt;vv-tot2 = vv-toleranzob.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;if vv-tot1 &amp;gt; 0 and vv-tot2 &amp;gt; 0.  &lt;/P&gt;&lt;P&gt;MODIFY vv FROM vv INDEX sy-tabix TRANSPORTING tot1 tot2.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;elseif vv-tot1 &amp;gt; 0 and vv-tot2 = 0.&lt;/P&gt;&lt;P&gt;MODIFY vv FROM vv INDEX sy-tabix TRANSPORTING tot1.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;elseif vv-tot1 = 0 and vv-tot2 &amp;gt; 0.&lt;/P&gt;&lt;P&gt;MODIFY vv FROM vv INDEX sy-tabix TRANSPORTING tot2.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;clear w.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2008 07:00:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-displaying-the-data/m-p/4500973#M1064991</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-24T07:00:04Z</dc:date>
    </item>
    <item>
      <title>Re: problem in displaying the data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-displaying-the-data/m-p/4500974#M1064992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Rick,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I meant dont compare string with numbers and use packed decimals.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
if vv-tot1 &amp;gt; 0 and vv-tot2 &amp;gt; 0. "Wrong
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following is correct format&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
if vv-toleranzob &amp;gt; 0 and vv-toleranzun &amp;gt; 0. "Correct
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Kothand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2008 07:03:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-displaying-the-data/m-p/4500974#M1064992</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-24T07:03:47Z</dc:date>
    </item>
    <item>
      <title>Re: problem in displaying the data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-displaying-the-data/m-p/4500975#M1064993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;oh ok ok ,i mistaken. anyways thanks for your guidance and i am looking for that smartforms now and change the values in it . &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2008 07:15:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-displaying-the-data/m-p/4500975#M1064993</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-24T07:15:23Z</dc:date>
    </item>
  </channel>
</rss>

