<?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 Is length must while declaring TYPE 'P' variable in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/is-length-must-while-declaring-type-p-variable/m-p/3899471#M935767</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;While declaring the type 'P' (Packed decimal) variable, should we provide the length. If we do not provide the length how munch length will it consider by default..?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I declared like below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: w_matprice              TYPE   P   DECIMALS 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It didn't give any syntax error. So, will it provide length by default.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Paddu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 May 2008 14:57:08 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-29T14:57:08Z</dc:date>
    <item>
      <title>Is length must while declaring TYPE 'P' variable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/is-length-must-while-declaring-type-p-variable/m-p/3899471#M935767</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;While declaring the type 'P' (Packed decimal) variable, should we provide the length. If we do not provide the length how munch length will it consider by default..?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I declared like below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: w_matprice              TYPE   P   DECIMALS 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It didn't give any syntax error. So, will it provide length by default.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Paddu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 May 2008 14:57:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/is-length-must-while-declaring-type-p-variable/m-p/3899471#M935767</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-29T14:57:08Z</dc:date>
    </item>
    <item>
      <title>Re: Is length must while declaring TYPE 'P' variable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/is-length-must-while-declaring-type-p-variable/m-p/3899472#M935768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;By default the Packed type (P) has a length of 8.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From the TYPE help in SAP&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
   Type   Description of type        SL     Initial value 

    C     Character                  1      Space 
    N     Numeric string             1      '00...0' 
    D     Date        (YYYYMMDD)     8      '00000000' 
    T     Time:            HHMMSS)   6      '000000' 
    X     Byte (hexadecimal)         1      X'00' 
    I     Integer                    4      0 
    P     Packed number              8      0 
    F     Floating point number      8      '0.0' 
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 May 2008 15:00:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/is-length-must-while-declaring-type-p-variable/m-p/3899472#M935768</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-29T15:00:04Z</dc:date>
    </item>
    <item>
      <title>Re: Is length must while declaring TYPE 'P' variable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/is-length-must-while-declaring-type-p-variable/m-p/3899473#M935769</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; Check out the below details for your declaration ...&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
Type                 P
Length               8
Output length       17
Decimal places       3 &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 May 2008 15:03:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/is-length-must-while-declaring-type-p-variable/m-p/3899473#M935769</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-29T15:03:17Z</dc:date>
    </item>
    <item>
      <title>Re: Is length must while declaring TYPE 'P' variable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/is-length-must-while-declaring-type-p-variable/m-p/3899474#M935770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i'm not sure...........&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 May 2008 15:03:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/is-length-must-while-declaring-type-p-variable/m-p/3899474#M935770</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-29T15:03:36Z</dc:date>
    </item>
  </channel>
</rss>

