<?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: Type conversion from chac to number in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/type-conversion-from-chac-to-number/m-p/3347344#M802702</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;I think for ur selection criteria the table contains the record with the EXNUM as space , so u r getting space as minimum value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For this scenario add one more condition in the select query like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXNUM NE SPACE in the where clause&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now u will get the required value at the select query output.&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;Manikumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Feb 2008 10:07:27 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-07T10:07:27Z</dc:date>
    <item>
      <title>Type conversion from chac to number</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/type-conversion-from-chac-to-number/m-p/3347340#M802698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to select the maximum and minimum excise number from the the excise header table J_1IEXCHDR. But the field j_1iexchdr-exnum field is of chac type . If i am writing select qurey such as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select MIN ( exnum ) as exnum MAX( exnum ) as exnum1 from j_1iexchdr into corresponding fields of table it_J_1iexchdr where  werks =  '1010' and&lt;/P&gt;&lt;P&gt;          exgrp = '11' and&lt;/P&gt;&lt;P&gt;          exdat in s_budat and&lt;/P&gt;&lt;P&gt;          srgrp = '60'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am getting one record in internal table  it_j_1iexchdr with only max number but  min number is getting blank. what is the problem acutally? i am thinking becasue of the exnum is chac type field it is not taking min number . if so wht to do? how to convert that and write the qurey to select max and min excise number?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any suggestions.... will be helpful.&lt;/P&gt;&lt;P&gt;please help its urget.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;points will be rewarded for useful answers &amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regars,&lt;/P&gt;&lt;P&gt;priyanka reddy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Feb 2008 09:01:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/type-conversion-from-chac-to-number/m-p/3347340#M802698</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-07T09:01:13Z</dc:date>
    </item>
    <item>
      <title>Re: Type conversion from chac to number</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/type-conversion-from-chac-to-number/m-p/3347341#M802699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How about SELECT all the data in an internal table and then SORT the table on required field in Descending Order. Then, first row will contain MAX value and last row MIN value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Feb 2008 09:03:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/type-conversion-from-chac-to-number/m-p/3347341#M802699</guid>
      <dc:creator>amit_khare</dc:creator>
      <dc:date>2008-02-07T09:03:52Z</dc:date>
    </item>
    <item>
      <title>Re: Type conversion from chac to number</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/type-conversion-from-chac-to-number/m-p/3347342#M802700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try to add a search condition&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;exnum NE SPACE.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Feb 2008 09:07:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/type-conversion-from-chac-to-number/m-p/3347342#M802700</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-07T09:07:34Z</dc:date>
    </item>
    <item>
      <title>Re: Type conversion from chac to number</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/type-conversion-from-chac-to-number/m-p/3347343#M802701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think the minimum value in the exnum would be a space&lt;/P&gt;&lt;P&gt;in the table ..&lt;/P&gt;&lt;P&gt;and it is getting a space  .. get all the entries sort by ascending&lt;/P&gt;&lt;P&gt;and take the min value(other than space)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Feb 2008 09:23:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/type-conversion-from-chac-to-number/m-p/3347343#M802701</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-07T09:23:35Z</dc:date>
    </item>
    <item>
      <title>Re: Type conversion from chac to number</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/type-conversion-from-chac-to-number/m-p/3347344#M802702</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;I think for ur selection criteria the table contains the record with the EXNUM as space , so u r getting space as minimum value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For this scenario add one more condition in the select query like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXNUM NE SPACE in the where clause&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now u will get the required value at the select query output.&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;Manikumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Feb 2008 10:07:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/type-conversion-from-chac-to-number/m-p/3347344#M802702</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-07T10:07:27Z</dc:date>
    </item>
    <item>
      <title>Re: Type conversion from chac to number</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/type-conversion-from-chac-to-number/m-p/3347345#M802703</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;I think for ur selection criteria the table contains the record with the EXNUM as space , so u r getting space as minimum value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For this scenario add one more condition in the select query like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXNUM NE SPACE in the where clause&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now u will get the required value at the select query output.&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;Manikumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Feb 2008 10:08:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/type-conversion-from-chac-to-number/m-p/3347345#M802703</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-07T10:08:21Z</dc:date>
    </item>
  </channel>
</rss>

