<?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: Describe statement.... in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/describe-statement/m-p/1517663#M238089</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;DESCRIBE keyword is used to determine the attributes of a field, itab or a list at runtime ex:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DESCRIBE FIELD f length len type typ. &lt;/P&gt;&lt;P&gt;This will put the length of the field in the variable len &amp;amp; data type in typ.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DESCRIBE TABLE itab lines len occurs n.&lt;/P&gt;&lt;P&gt;This will put the number of lines of the itab in the variable len &amp;amp; the value of occurs parameter in variable n.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DESCRIBE LIST NUMBER OF LINES lin. &lt;/P&gt;&lt;P&gt;this Returns the number of lines in the list. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Sep 2006 00:38:33 GMT</pubDate>
    <dc:creator>suresh_datti</dc:creator>
    <dc:date>2006-09-01T00:38:33Z</dc:date>
    <item>
      <title>Describe statement....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/describe-statement/m-p/1517657#M238083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the use od describe statement ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Aug 2006 22:19:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/describe-statement/m-p/1517657#M238083</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-31T22:19:44Z</dc:date>
    </item>
    <item>
      <title>Re: Describe statement....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/describe-statement/m-p/1517658#M238084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It returns the attributes of a field, intenal table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Aug 2006 22:23:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/describe-statement/m-p/1517658#M238084</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-31T22:23:21Z</dc:date>
    </item>
    <item>
      <title>Re: Describe statement....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/describe-statement/m-p/1517659#M238085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So where does those returned attributes get stored ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Aug 2006 22:43:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/describe-statement/m-p/1517659#M238085</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-31T22:43:21Z</dc:date>
    </item>
    <item>
      <title>Re: Describe statement....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/describe-statement/m-p/1517660#M238086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This explains on using the DESCRIBE Statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://saphelp47.pe-c.com//saphelp47/helpdata/EN/fc/eb3145358411d1829f0000e829fbfe/frameset.htm" target="test_blank"&gt;http://saphelp47.pe-c.com//saphelp47/helpdata/EN/fc/eb3145358411d1829f0000e829fbfe/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Aug 2006 22:52:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/describe-statement/m-p/1517660#M238086</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-31T22:52:01Z</dc:date>
    </item>
    <item>
      <title>Re: Describe statement....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/describe-statement/m-p/1517661#M238087</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;  If you use the DESCRIBE for an internal table..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DESCRIBE TABLE ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Then the number of the lines will be stored in &lt;/P&gt;&lt;P&gt;  SY-TFILL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Or you can directly a variable in the LINES addition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DESCRIBE TABLE ITAB LINES V_LINES.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Aug 2006 22:53:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/describe-statement/m-p/1517661#M238087</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-31T22:53:20Z</dc:date>
    </item>
    <item>
      <title>Re: Describe statement....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/describe-statement/m-p/1517662#M238088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you give a simple example when we need to use it ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Aug 2006 23:54:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/describe-statement/m-p/1517662#M238088</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-31T23:54:14Z</dc:date>
    </item>
    <item>
      <title>Re: Describe statement....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/describe-statement/m-p/1517663#M238089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;DESCRIBE keyword is used to determine the attributes of a field, itab or a list at runtime ex:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DESCRIBE FIELD f length len type typ. &lt;/P&gt;&lt;P&gt;This will put the length of the field in the variable len &amp;amp; data type in typ.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DESCRIBE TABLE itab lines len occurs n.&lt;/P&gt;&lt;P&gt;This will put the number of lines of the itab in the variable len &amp;amp; the value of occurs parameter in variable n.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DESCRIBE LIST NUMBER OF LINES lin. &lt;/P&gt;&lt;P&gt;this Returns the number of lines in the list. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Sep 2006 00:38:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/describe-statement/m-p/1517663#M238089</guid>
      <dc:creator>suresh_datti</dc:creator>
      <dc:date>2006-09-01T00:38:33Z</dc:date>
    </item>
    <item>
      <title>Re: Describe statement....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/describe-statement/m-p/1517664#M238090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi tushar,&lt;/P&gt;&lt;P&gt;   DESCRIBE stmt is used to describe the attributes.&lt;/P&gt;&lt;P&gt;DESCRIBE  FIELD - Describes the attributes of a field.&lt;/P&gt;&lt;P&gt;DESCRIBE LIST - Describes the attributes of a list.&lt;/P&gt;&lt;P&gt;DESCRIBE TABLE - Describes the attributes of the internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Think of this scenario in dialog programming. While using Table control we need to find the number of lines , so that we can able to position our cursor for the deletion or updation of a record. To get the number of lines we use that Describe stmt. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope u understood. If my suggestion is valid, don't forget to award points.&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;Arun.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Sep 2006 01:02:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/describe-statement/m-p/1517664#M238090</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-01T01:02:20Z</dc:date>
    </item>
    <item>
      <title>Re: Describe statement....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/describe-statement/m-p/1517665#M238091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. If you want to know the no of records in an internal table and to know internal tabe type ,&lt;/P&gt;&lt;P&gt; we use&lt;/P&gt;&lt;P&gt;  DESCRIBE TABLE ITAB LINES V_LINES&lt;/P&gt;&lt;P&gt;                      TYPE  V_TYPE.&lt;/P&gt;&lt;P&gt;DATA : V_LINES TYPE I.&lt;/P&gt;&lt;P&gt; now you can use V_LINES to print total no of records in that table.&lt;/P&gt;&lt;P&gt; V_TYPE to know the table is standard or sorted or hashed table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. FOR  a FIELD&lt;/P&gt;&lt;P&gt;   DESCRIBE FIELD V_FIELD LENGH V_LENGTH IN CHARACTER MODE.&lt;/P&gt;&lt;P&gt;to know the length of the variable (while defining) it will come to V_LENGTH.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;srikanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Sep 2006 03:25:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/describe-statement/m-p/1517665#M238091</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-01T03:25:16Z</dc:date>
    </item>
  </channel>
</rss>

