<?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 Problem with Describing internal table. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-describing-internal-table/m-p/1094115#M101618</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;Presently i am working in travel module,&lt;/P&gt;&lt;P&gt;my internal table have: application numbers, type of visa, country, i am able to get total number of applications by describing table,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But my need is to get the total number applcaitions based on individual coutnry wise and visa type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to get total total numebr of application coutry wise and by visa type.An individual country may have  different visa type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pelase give the logic it is quite urgent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance &lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Irfan Hussain&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 15 Oct 2005 05:25:17 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-10-15T05:25:17Z</dc:date>
    <item>
      <title>Problem with Describing internal table.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-describing-internal-table/m-p/1094115#M101618</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;Presently i am working in travel module,&lt;/P&gt;&lt;P&gt;my internal table have: application numbers, type of visa, country, i am able to get total number of applications by describing table,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But my need is to get the total number applcaitions based on individual coutnry wise and visa type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to get total total numebr of application coutry wise and by visa type.An individual country may have  different visa type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pelase give the logic it is quite urgent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance &lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Irfan Hussain&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Oct 2005 05:25:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-describing-internal-table/m-p/1094115#M101618</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-15T05:25:17Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Describing internal table.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-describing-internal-table/m-p/1094116#M101619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;One way of doing this will be create 2 itabs with same fields but in 1st itab keep country as 1st field and in 2nd Visa type as 1st field.With this u can get total apps by country and by visa type as seperate figures.&lt;/P&gt;&lt;P&gt;If you need it by country and visa type,in an itab create a key field by concatenating country and visa type.This key field will be the 1st field in the itab.&lt;/P&gt;&lt;P&gt;In the loop use at end of to sum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please reply if this works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Regards&lt;/P&gt;&lt;P&gt;&amp;lt;u&amp;gt;Abhijit Moholkar&amp;lt;/u&amp;gt;&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Oct 2005 05:38:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-describing-internal-table/m-p/1094116#M101619</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-15T05:38:57Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Describing internal table.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-describing-internal-table/m-p/1094117#M101620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Irfan &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Define another internal table and use collect statement .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;DATA BEGIN of itab occurs 0.&lt;/P&gt;&lt;P&gt;  APPL ...&lt;/P&gt;&lt;P&gt;  VISATYP ...&lt;/P&gt;&lt;P&gt;  COUNTRY ...&lt;/P&gt;&lt;P&gt;  END of ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA begin of itab1 occurs 0,&lt;/P&gt;&lt;P&gt;    visatyp ...&lt;/P&gt;&lt;P&gt;    country ...&lt;/P&gt;&lt;P&gt;    count type i,&lt;/P&gt;&lt;P&gt;    end of itab1 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Assuming your itab has all the data.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at itab .&lt;/P&gt;&lt;P&gt;  move itab-visatyp to itab1-visatyp.&lt;/P&gt;&lt;P&gt;  move itab-country to itab1-country.&lt;/P&gt;&lt;P&gt;  itab1-count = 1.&lt;/P&gt;&lt;P&gt;  collect itab1.&lt;/P&gt;&lt;P&gt;endloop.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;( Now in itab1 you will have unique combination of country + visatype , with the number of applications in count field.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;( dont forget to reward if answers were helpful )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Oct 2005 05:43:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-describing-internal-table/m-p/1094117#M101620</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-15T05:43:50Z</dc:date>
    </item>
  </channel>
</rss>

